Commit Graph

1445 Commits

Author SHA1 Message Date
glx 8dff21e421 (svn r10267) -Add: enable double clic to add in 'add newgrf' window 2007-06-22 13:10:56 +00:00
rubidium e5c352818d (svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it. 2007-06-22 11:58:59 +00:00
truelight 6159f58948 (svn r10265) -Feature: allow double-clicking on certain places: build-vehicle and town-action 2007-06-22 10:57:53 +00:00
rubidium 046b6f18da (svn r10263) -Fix (r10262): due to 64 bits alignment a struct became a little too large. 2007-06-21 19:18:49 +00:00
rubidium 0b34c9aefe (svn r10262) -Fix (r10258): some places that needed to be changed to uint64 were hidden/forgotten, which caused memory corruptions and that in caused all kinds of assertions to trigger. 2007-06-21 19:08:47 +00:00
rubidium fb7964e902 (svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, because everything is already 64 bits by default. 2007-06-21 17:38:59 +00:00
miham e432c7459e (svn r10260) -Update: WebTranslator2 update to 2007-06-21 19:36:07
piglatin   - 12 fixed by adammw (12)
2007-06-21 17:36:16 +00:00
rubidium 9feb9f84fc (svn r10259) -Fix (r10258): committed a little too much.. would've made pretty cheap tunnels though :) 2007-06-21 17:27:21 +00:00
rubidium 9c0944aa09 (svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
-Fix: some displays of money were wrong.
2007-06-21 17:25:17 +00:00
miham c5225992c1 (svn r10257) -Update: WebTranslator2 update to 2007-06-21 19:15:05
danish     - 25 fixed, 50 changed by ThomasA (75)
finnish    - 117 fixed by habazi (117)
hungarian  - 6 fixed by miham (6)
romanian   - 8 fixed, 9 changed by CrystyB (17)
spanish    - 7 fixed by jfrank (7)
ukrainian  - 28 fixed by mad (25), fevral13 (3)
2007-06-21 17:18:33 +00:00
belugas 240bba540e (svn r10256) -Add: Addition of IndustryTileOverrideManager 2007-06-21 17:09:10 +00:00
truelight af8a234db0 (svn r10255) -Codechange: remove some old debug code nobody was using anymore 2007-06-21 16:53:57 +00:00
truelight 56eb1738ee (svn r10254) -Feature: loading indicator, which shows in % how full a vehicle is while loading/unloading (TheJosh) 2007-06-21 16:17:47 +00:00
rubidium 2792019b78 (svn r10253) -Fix (r10249): putting the < the wrong way around made the new towns pretty small. 2007-06-21 16:12:31 +00:00
rubidium 02154f38b8 (svn r10252) -Fix: never overflow when applying exchange rates before drawing the amount of money. 2007-06-21 15:57:14 +00:00
glx 3fe19238b2 (svn r10251) -Fix (r10186, FS#907): alt-tab back into openttd could leave the taskbar visible 2007-06-21 15:48:00 +00:00
rubidium bc01e53967 (svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits. 2007-06-21 15:37:05 +00:00
rubidium b6cbd30c3f (svn r10249) -Fix [FS#906]: town tried to gather information about the neighbourhood of a tile when it couldn't even *ever* build on that tile. 2007-06-21 15:13:09 +00:00
rubidium 709ec29563 (svn r10248) -Codechange: don't limit the cost of tunnels. 2007-06-21 14:58:30 +00:00
rubidium eb1472a82d (svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string. 2007-06-21 14:54:51 +00:00
rubidium f806b46cc9 (svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch. 2007-06-21 14:32:27 +00:00
truelight 06fded123a (svn r10245) -Codechange: added GetName also to all Blitters, instead of only the Factory 2007-06-21 13:56:59 +00:00
truelight e8f9332af9 (svn r10244) -Fix: make sure to let 32bpp-anim report the increased buffer-size it needs 2007-06-21 13:31:41 +00:00
glx edf68a04b0 (svn r10243) -Fix: crash when resizing with 32bpp and 'broken' display with 'non-standard' resolutions 2007-06-21 13:30:23 +00:00
truelight 1fa725ecae (svn r10242) -Fix: avoid a segfault if you move your mouse at startup with 32bpp-anim 2007-06-21 12:45:41 +00:00
truelight 3fa3d2e365 (svn r10241) -Codechange: CopyToBuffer now produces a buffer that is unreadable from outside the blitter, so the blitter can store anything he likes
-Codechange: added CopyImageToBuffer, which produces a readable buffer for screenshots
-Fix: 32bpp-anim now holds animation on transparent objects to avoid strange graphical effects
-Fix: 32bpp-anim now works correct on mouse-movement (it holds the palette animation correctly)
2007-06-21 12:36:46 +00:00
miham 3b12e7b6b0 (svn r10240) -Update: WebTranslator2 update to 2007-06-21 08:03:49
american   - 30 fixed, 1 changed by WhiteRabbit (31)
bulgarian  - 1 fixed by thetitan (1)
dutch      - 1 fixed by habell (1)
estonian   - 25 fixed by kristjans (25)
french     - 1 fixed by glx (1)
german     - 15 fixed by Neonox (15)
hungarian  - 24 fixed by miham (24)
italian    - 1 fixed by lorenzodv (1)
japanese   - 25 fixed by ickoonite (25)
korean     - 1 fixed by darkttd (1)
slovenian  - 1 fixed by Necrolyte (1)
2007-06-21 06:09:50 +00:00
maedhros e93d82d4b2 (svn r10239) -Fix (r10236): The pin button didn't move when resizing the timetable gui. 2007-06-20 20:02:30 +00:00
maedhros 996fde1699 (svn r10238) -Fix (r10236): Resizing the timetable window caused it to think it could only show one line at a time. 2007-06-20 19:57:18 +00:00
maedhros b2609653e4 (svn r10237) -Fix (r10236): It helps if you use svn add with new files... 2007-06-20 19:26:25 +00:00
maedhros cf0118ee63 (svn r10236) -Feature: Introduce a form of timetabling for vehicles. 2007-06-20 19:17:22 +00:00
truelight a982fe2e80 (svn r10235) -Fix: the 32bpp-anim blitter repainted pixel color 0, which is transparency and therefor should never be repainted (spotted by Rubidium) 2007-06-20 12:09:47 +00:00
truelight 636db862a5 (svn r10234) -Fix r10233: make peter1138 happy 2007-06-20 10:30:25 +00:00
truelight d7acd238ac (svn r10233) -Fix: 8bpp-optimized encoder fucked up if 255+ pixels in a row were non-transparent (tnx boekabart) 2007-06-20 10:26:39 +00:00
belugas 436eb69a39 (svn r10232) -Fix(r1): _numof_industry_table never was composed of 12 entries. Only 11.
It never hurt before, but it would have...
2007-06-20 03:03:00 +00:00
rubidium 55b93b1c05 (svn r10230) -Fix [FS#594]: terraforming wipes out canals. Now you always have to remove the canal before terraforming, instead of "just" removing the canal. 2007-06-19 21:15:14 +00:00
glx 6e4264237e (svn r10229) -Cleanup: removed duplicate include (dihedral) 2007-06-19 19:49:03 +00:00
rubidium aec52c4ebd (svn r10228) -Fix [FS#894]: why MSVC must always bitch about stuff? 2007-06-19 19:04:25 +00:00
truelight b2bd361dae (svn r10227) -Add: added 32bpp-anim blitter, a 32bpp blitter that does palette animation (at the cost of an animation-buffer to keep track of the 'm'-channel of all sprites) 2007-06-19 17:43:30 +00:00
belugas 2ad0d708cc (svn r10226) -Codechange: Add support for newindustry tiles drawing.
Heavily based on Maedhros's newhouses implementation
2007-06-19 17:33:12 +00:00
truelight 2a6b7e4e02 (svn r10225) -Codechange: move common Colour routines for 32bpp to the base class (and nick it colour, not color) 2007-06-19 17:32:01 +00:00
rubidium b11bf3e157 (svn r10224) -Fix [FS#891]: the town road belongs to didn't get set properly when a town builds road over tram bits. 2007-06-19 17:27:59 +00:00
glx 9e2e73f30b (svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared 2007-06-19 17:13:25 +00:00
peter1138 e7191fc57a (svn r10222) -Fix [FS#892]: Only 2 trains could crash at one time as collision checking stopped on the first hit. This could cause desyncs in network games as the collision hash order is not guaranteed. (patch by B. N. Smatz) 2007-06-19 16:40:59 +00:00
rubidium e51a513eb8 (svn r10221) -Fix: the one way sprites weren't drawn in the correct order, so they could remove the tramtrack in some cases. 2007-06-19 15:56:03 +00:00
truelight 65a3abe1c1 (svn r10220) -Fix r10216: even more fuck-ups for non-SDL video backends 2007-06-19 15:40:27 +00:00
rubidium 265f8b7d5d (svn r10219) -Fix [FS#882,FS#890]: land under foundations was terraform when it shouldn't be terraformed. 2007-06-19 15:34:43 +00:00
glx fc3ec8689b (svn r10218) -Fix r10216: more compile errors 2007-06-19 15:26:10 +00:00
truelight a7dd710f06 (svn r10217) -Fix r10216: forgot to declare 'blitter' in win32 and cocoa driver (tnx glx) 2007-06-19 15:18:26 +00:00
truelight 1c4760ee06 (svn r10216) -Fix: palette animation always redid all palette entries, where in fact only a few indexes were needed
-Codechange: allow blitters to handle palette animation internally or even disable it; 8bpp uses video-backend for palette animation
2007-06-19 15:04:08 +00:00
truelight 9ad02c11c6 (svn r10215) -Fix r10214: forgot 2 cases of the same mistake 2007-06-19 12:19:31 +00:00
truelight b98e0ea648 (svn r10214) -Fix: off-by-one in draw-rect-color-remapping (peter1138) 2007-06-19 12:18:24 +00:00
rubidium 16ce2192e4 (svn r10212) -Fix [FS#723]: money overflow bugs in many locations. 2007-06-19 00:05:26 +00:00
glx 23af871615 (svn r10211) -Feature: [NewGRF] Add support for action 0F 2007-06-18 23:00:55 +00:00
rubidium 7d6c255044 (svn r10210) -Codechange: make all money related variables 64 bits, so overflowing them should become a little harder. 2007-06-18 22:49:55 +00:00
rubidium fbb22487fc (svn r10209) -Fix/Codechange: forgot a few changes of int32 -> Money in the previous commit 2007-06-18 22:09:54 +00:00
rubidium 2ee73b50b8 (svn r10208) -Codechange: replace int32 with Money where appropriate. 2007-06-18 21:44:47 +00:00
rubidium 7a72dcb3b5 (svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money. 2007-06-18 21:00:14 +00:00
truelight 26e9b5ca5f (svn r10206) -Codechange: more moving things to blitter-layer: ScrollBuffer 2007-06-18 20:08:21 +00:00
rubidium 49220cc6f1 (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified. 2007-06-18 19:53:50 +00:00
truelight 09879ea308 (svn r10203) -Codechange: more moving things to blitter-layer: DrawLine 2007-06-18 19:38:23 +00:00
peter1138 c31ff284c3 (svn r10201) -Codechange: Replace Blitter::SetHorizontalLine with Blitter::DrawRect, as the former was only used by the rectangle drawing code anyway. This lets us draw rectangles in one go. 2007-06-18 18:45:12 +00:00
rubidium b09431478d (svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded). 2007-06-18 16:42:40 +00:00
KUDr fad2a36b8f (svn r10199) -Fix [FS#884, YAPF]: 'target_seen' flag that is set prematurely in some cases (1 tile long cached segment followed by target station) stops on assert (immeR) 2007-06-18 14:40:07 +00:00
rubidium 0c369c21e0 (svn r10198) -Fix (r10194): did not search all search paths. 2007-06-18 11:04:12 +00:00
rubidium 966e2738b9 (svn r10197) -Codechange: replace int32 with CommandCost where appropriate. 2007-06-18 10:48:15 +00:00
miham f6be61bb34 (svn r10196) -Update: WebTranslator2 update to 2007-06-18 10:15:44
japanese   - 2 fixed by ickoonite (2)
slovenian  - 3 fixed by Necrolyte (3)
2007-06-18 08:17:31 +00:00
rubidium 5938dea88d (svn r10194) -Codechange: prefer the current working directory above the user's home directory when openttd.cfg exists in the current working directory, otherwise prefer the home directory. 2007-06-17 21:26:57 +00:00
truelight f5776a8c6b (svn r10193) -Fix r10190: somehow an other partly-patch was applied too 2007-06-17 20:47:11 +00:00
truelight 9a93a6006b (svn r10192) -Fix r10190: forgot to change the includes of win32 and cocoa video-driver 2007-06-17 20:40:02 +00:00
rubidium 6680a6a0e6 (svn r10191) -Backport (r9148 from NoAI): detecting of CPU type (32 vs 64 bits). 2007-06-17 20:36:14 +00:00
truelight 003375d375 (svn r10190) -Codechange: merged renderer and blitter to one single class API: blitter
-Codechange: introduced a hierachy of blitters to avoid a lot of code duplication
 Note: this allows much easier adding other types of video-drivers, like OpenGL
2007-06-17 20:30:28 +00:00
rubidium b2799961bc (svn r10188) -Codechange: make it a little easier to load a savegame from the console:
-g <absolute path>
 -g <relative path from current working directory>
 -g <relative path from within the savegame directory>
2007-06-17 20:09:05 +00:00
rubidium 6d9393cb60 (svn r10187) -Fix: don't do a 270 degree turn on the international airport when a 90 degree turn is enough. 2007-06-17 19:46:01 +00:00
glx 22257f46c2 (svn r10186) -Fix (FS#876): don't mess desktop when using alt-tab (win32) 2007-06-17 19:00:45 +00:00
rubidium 3afa69052d (svn r10185) -Codechange: make the bounding boxes of the drive through road stops a little larger so NewGRFs authors have more possibilities when replacing them (minime). 2007-06-17 18:22:43 +00:00
rubidium 28b1809725 (svn r10184) -Fix: remove empty strings that are clearly bad. WT2 shouldn't add them anymore. 2007-06-17 18:18:18 +00:00
rubidium 347c28b71a (svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
2007-06-17 15:48:57 +00:00
rubidium 5fdde681c2 (svn r10181) -Fix (r10093): clamp the zoom level so it won't try to use a wrong zoom level when loading an old savegame. 2007-06-17 13:27:50 +00:00
rubidium 6c67bdcc71 (svn r10180) -Fix (r10167): do not reset the 2cc loaded feature setting when a (later) newgrf does not have 2cc. 2007-06-17 13:26:19 +00:00
maedhros 5a9c7b5899 (svn r10178) -Fix: Don't deactivate newgrf files when skipping the rest of the file during the initialisation stage. 2007-06-17 11:01:58 +00:00
peter1138 94bd08fc17 (svn r10177) -Fix: Passengers has one A and two Es (ln) 2007-06-17 10:47:30 +00:00
maedhros cf4911ddaf (svn r10176) -Fix (r10071): Deselect the currently selected order when clicking on an empty part of the orders window. 2007-06-17 10:14:47 +00:00
miham f177c1769f (svn r10175) -Fix: [Translations] Stupid me, {STRINGx} can only be used in english... 2007-06-17 07:24:39 +00:00
miham 4507044cbb (svn r10174) -Fix: [Translations]: piglatin plural forms had some problem.. 2007-06-17 07:21:02 +00:00
miham f8a5775a6c (svn r10173) -Add: Translations: added new language "Pig Latin". Already "pre-translated", only needs checking. Idea of Piglatin language was from Adam M-W 2007-06-17 05:45:05 +00:00
belugas 0b2b435c44 (svn r10172) -Fix(r10127): Wrong evaluation order on variable 0x41 for industry tile.
The industry's xy (northernmost tile) should be checked against the relative tile, not the other way around.
2007-06-17 01:01:15 +00:00
rubidium 9f01009b39 (svn r10170) -Codechange: remove some duplication of code. 2007-06-16 12:03:36 +00:00
rubidium f4c0bfc3a4 (svn r10169) -Fix [FS#875]: trunk did still tell Windows that it was version 0.5.0(.0), so now we use a "bogus" version number to tell it's not a real release. The version number that will be shown in-game will not change, only the version number in the file properties. 2007-06-16 11:13:30 +00:00
rubidium d58d721fab (svn r10168) -Fix [FS#879]: cannot build airport when an aircraft is flying over it. 2007-06-16 10:10:22 +00:00
belugas 108ee9bc3e (svn r10167) -Codechange: Change the flagging system of grf loaded feature from a bitset to a bool evaluation.
Like easier to read and faster to evaluate :)
2007-06-15 23:55:52 +00:00
peter1138 ef099dbc27 (svn r10166) -Feature(tte): Add support for antialiased typefaces via FreeType. This is configurable for each font size in the configuration settings and requires using the 32bpp blitter and suitable fonts. 2007-06-15 16:21:56 +00:00
rubidium d6267f5539 (svn r10165) -Fix [FS#874]: crash when trying to get the aircraft movement state of an aircraft going to a just deleted airport. 2007-06-15 08:05:24 +00:00
miham 54fbad017e (svn r10164) -Update: WebTranslator2 update to 2007-06-15 07:44:28
catalan    - 2 fixed by arnaullv (2)
dutch      - 2 fixed by habell (2)
esperanto  - 1 fixed by LaPingvino (1)
norwegian_bokmal - 24 fixed by oletk (24)
turkish    - 16 fixed by jnmbk (16)
2007-06-15 05:44:45 +00:00
belugas 402cf772f0 (svn r10163) -Fix(r8128): Industries had lost their random recoloring. A test was removed and is now reintroduced in another way. 2007-06-15 01:53:43 +00:00
rubidium 0e2978720d (svn r10158) -Codechange: port some changes from NoAI and FS#872 to make the loan commands a little better readable. 2007-06-14 15:24:34 +00:00
truelight 144035bf5c (svn r10157) -Fix: use as indentified for PNGs, the place of the image as it was in the grf, not the internal SpriteID 2007-06-14 14:31:48 +00:00
truelight a61f0d9049 (svn r10156) -Fix: PNG loader can now load 8bpp palette images and greyscale images 2007-06-14 14:11:08 +00:00
rubidium 0e5a6661f7 (svn r10155) -Fix [FS#601]: Airports didn't flood when there are aircraft on the airport. 2007-06-14 08:39:27 +00:00
rubidium 3b5203dbc6 (svn r10154) -Fix [FS#870]: some vehicles were not drawn when having a high resolution and a high zoom-out level. Patch by B. N. SmatZ!. 2007-06-13 23:43:00 +00:00