Commit Graph

1445 Commits

Author SHA1 Message Date
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
rubidium 991996eb36 (svn r10153) -Fix [FS#869]: vehicles disappear when crossing certain tiles. Fix by B. N. SmatZ!. 2007-06-13 23:14:08 +00:00
truelight ab6883bc19 (svn r10150) -Fix r10148: show a message to users when using 32bpp blitter and no libpng available 2007-06-13 19:34:33 +00:00
truelight 79817428b1 (svn r10149) -Fix r10143: MSVC warnings... (tnx boekabart and glx) 2007-06-13 19:05:42 +00:00
truelight 4b51ea375b (svn r10148) -Fix r10143: make --without-png to compile again 2007-06-13 18:52:06 +00:00
rubidium 2c6bf89e02 (svn r10147) -Fix: the oldloader did clear some bits for road vehicles that shouldn't be cleared in some cases. 2007-06-13 18:36:04 +00:00
belugas 0b65070b36 (svn r10146) -Codechange: Silence a compiler warning
-Codechange: Comment style beautifying
-Codechange: define (tentatively) var 0x44 and 0x61 for industry tiles
2007-06-13 18:35:06 +00:00
rubidium 197a8fd5f3 (svn r10145) -Fix: make compiling with networking disabled (again) possible. 2007-06-13 17:34:05 +00:00
truelight b7443d800b (svn r10143) -Add: store the filename of the grfs opened and allow easy access to the name
-Codechange: store the SpriteID in the spritecache too
-Add: add a PNG loader for graphical files
-Documentation: added a document to explain the PNG format
2007-06-13 16:21:11 +00:00
truelight 4185c4afcd (svn r10142) -Fix r10132: do something useful with the alpha channel instead of ignoring it 2007-06-13 16:04:35 +00:00
celestar 5f1791bfb1 (svn r10141) -Fix (FS#848, r8973): Set the newgrf bit for realistic plane speeds (bulb) 2007-06-13 15:24:40 +00:00
rubidium 91420c0d8d (svn r10140) -Fix [FS#867]: an industry could overbuild a bridge. 2007-06-13 15:22:28 +00:00
rubidium a702f6b3a8 (svn r10139) -Fix: all inner parts of OpenTTD assume that the resolution is at least 1 by 1, so force the resolution to be always at least 1 by 1. 2007-06-13 14:57:42 +00:00
rubidium 504d93c499 (svn r10138) -Fix: when you got a sufficiently small resolution, there is a possibility for a division by zero when a sound is played. 2007-06-13 14:56:27 +00:00
rubidium 112f05e705 (svn r10137) -Add: console command to get the current game date. 2007-06-13 14:52:41 +00:00
truelight e7221d1fa9 (svn r10132) -Codechange: split out the last direct video-buffer read access to the blitter-layer
-Add: added a new renderer and blitter to make room for some optimized bpp
-Fix: fill the alpha channel in the grf-spriteloader
2007-06-13 10:31:40 +00:00
rubidium 97b74fe4f2 (svn r10131) -Fix [FS#810]: when removing a dock, a ship will always try to reach the old location of the dock even when it cannot anymore because it the old location of the dock is now land instead of water. 2007-06-13 09:12:10 +00:00
maedhros 860fe49b80 (svn r10130) -Fix (r4493): SetCurrentGrfLangID returned the wrong language ids for most languages. 2007-06-13 07:59:20 +00:00
peter1138 f477075a0b (svn r10129) -Fix (r10111): Test for x == INVALID_COORD instead of v->tile == INVALID_TILE to determine if a vehicle should be removed from the has. 2007-06-13 07:14:42 +00:00
peter1138 f7e4d4d6e7 (svn r10128) -Fix (r4811): missing printf parameters in newgrf debug message 2007-06-13 06:42:43 +00:00
belugas 30863358f9 (svn r10127) -Add: Addition of basic structure for industry tiles callbacks (unfinished).
-Codechange: ResolverObject receives member gfx, making it compatible for both industries and industry tiles
-Codechange: NewIndustryResolver now has his randombits and triggers (even if not implemented)
2007-06-13 02:29:08 +00:00
glx da1743e980 (svn r10126) -Fix (r10111, FS#864): old_new_hash cache was not reset when the position hash were 2007-06-13 01:38:00 +00:00
rubidium 031565527e (svn r10125) -Fix [FS#865]: under some circumstances the wagons of a train didn't get loaded properly. 2007-06-12 23:35:10 +00:00
truelight 2f5c49abc2 (svn r10124) -Fix r10123: fix the OSX video driver properly 2007-06-12 23:10:47 +00:00
bjarni ee4208ffe9 (svn r10123) -Fix r10121: the 8 bpp cocoa video driver works again 2007-06-12 23:06:56 +00:00
maedhros 12be876131 (svn r10122) -Codechange: Add a CountBitsSet function and use it to replace some less efficient loops. 2007-06-12 22:13:49 +00:00
truelight f3f744d36a (svn r10121) -Codechange: split renderer from rest of code; no longer any code directly accesses the video-buffer
-Add: added NULL blitter and renderer, which are always used for -vnull
-Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized)
-Remove: removed CTRL+D from win32, which is incompatible with above
-Add: extended screenshot support for PNG and BMP
-Codechange: remove all hardcoded 8bpp references and replace them with more dynamic ones
-Codechange: minor stuff in blitters
2007-06-12 20:24:12 +00:00
miham 381b11c979 (svn r10119) -Update: WebTranslator2 update to 2007-06-12 20:09:56
bulgarian  - 1 fixed by thetitan (1)
estonian   - 23 changed by kristjans (23)
italian    - 2 fixed by lorenzodv (2)
korean     - 2 fixed by darkttd (2)
romanian   - 28 fixed, 59 changed by CrystyB (87)
swedish    - 31 fixed by giddorah (31)
ukrainian  - 3 fixed by mad (3)
2007-06-12 18:10:14 +00:00
maedhros 49ba521e77 (svn r10117) -Fix [FS#863]: When deleting the vehicles of bankrupt players, delete trains as
a whole rather than each part individually, as that leads to invalid tests on
parts that have already been deleted.
2007-06-12 17:10:52 +00:00
rubidium 73790d9cd6 (svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh. 2007-06-12 15:46:34 +00:00
belugas 4df44a4dff (svn r10115) -Codechange: Create accessors to triggers and random bits for industries.
Implementation will follow soon.
2007-06-12 14:22:28 +00:00
maedhros 109dd33c4a (svn r10114) -Fix: Only load newgrf error messages if the language matches the current
language. Since only one error can be loaded anyway, if the language didn't
match you'd get "Undefined string". Also since we're only loading one language
there's no need to use AddGRFString any more.
2007-06-12 13:22:14 +00:00
peter1138 d1e71eb34e (svn r10113) -Fix (r10092): Missing svn properties and some Id/@file comments 2007-06-12 12:27:40 +00:00
peter1138 78d797a6b7 (svn r10111) -Codechange: Add new vehicle hash table for collision detection and finding vehicles on a tile. The hash area scanned is far smaller than the old hash table, which is now used for viewport updates only. This should give a significant performance improvement for games with many vehicles. (Based on work by 'B. N. SmatZ!' and 'madman2003') 2007-06-12 11:22:32 +00:00
maedhros 105c7455ae (svn r10110) -Fix: Reset NewGRF errors along with all the other NewGRF data so that errors get loaded again when pressing "Apply". 2007-06-12 09:41:12 +00:00
rubidium be0539cb43 (svn r10109) -Fix [FS#838]: some NewGRFs use the same (unused in the "current" climate) sprite IDs. Normally this gives some artefacts, but when one NewGRF expects it to be a sprite and another NewGRF overwrites it with a non-sprite nasty things happen (drawing a non-sprite crashes OTTD). 2007-06-12 09:40:50 +00:00
belugas 8efb7e53ec (svn r10108) -Codechange: implement variable 0x60 (Get industry tile ID at offset) for industries.
It is exposed for for industry tiles who will reuse it too, for variable 0x62.
2007-06-12 00:49:50 +00:00
peter1138 28c5730583 (svn r10107) -Fix (r10092): Missing 'i' in 'optimized' 2007-06-11 21:17:02 +00:00
rubidium 01593bdb6a (svn r10106) -Fix (r10098): there's always a compiler complaining about something... 2007-06-11 19:29:42 +00:00
truelight d0250f6108 (svn r10105) -Fix r10092: fix sprite 4845 till 4881 (inclusive), so they store the data as on the disk in the memory, as the old landscape generate assumes this. Talking about ugly hacks... 2007-06-11 18:49:55 +00:00
miham 30627e6eeb (svn r10104) -Update: WebTranslator2 update to 2007-06-11 19:45:13
catalan    - 4 changed by arnaullv (4)
czech      - 3 fixed, 1 changed by Hadez (4)
danish     - 2 fixed by MiR (2)
dutch      - 1 fixed by habell (1)
estonian   - 2 fixed, 15 changed by kristjans (17)
french     - 3 fixed by glx (3)
hungarian  - 2 fixed by miham (2)
2007-06-11 17:45:32 +00:00
maedhros 560a542354 (svn r10103) -Fix (r10086): TrackBitsToTrack doesn't cope well with TRACK_BIT_NONE (e.g. non-rail tiles), so use FindFirstTrack instead. 2007-06-11 16:41:34 +00:00
truelight 4ad6639475 (svn r10102) -Documentation: @file header was wrong 2007-06-11 15:14:57 +00:00
truelight d2d25295ce (svn r10101) -Codechange: the class is named 8bppSimple, so name the files like that too 2007-06-11 15:13:30 +00:00
truelight 31ade47910 (svn r10100) -Fix r10093: some code now became obsolete as it never did something 2007-06-11 14:45:26 +00:00
belugas 81c7c87ed7 (svn r10099) -Fix(r9867, FS860): Use the specs of the to-be-created industry instead of the scanned industry
Spotted by Oxygene
2007-06-11 14:25:38 +00:00
rubidium cc4d18ecc4 (svn r10098) -Codechange: bilbo cared about the performance of the AI with respect to the airport placement, so he rewrote the aircraft handling of the AI; now it can actually make lots of money again :) 2007-06-11 14:23:04 +00:00
maedhros 3e326085fa (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
2007-06-11 14:00:16 +00:00
truelight be0f5cf877 (svn r10096) -Fix r10092: freetype bypassed the Blitter::Encode, making fonts look weird 2007-06-11 13:38:11 +00:00
truelight 9d570fa018 (svn r10095) -Fix: avoid reading outside the buffer because of scaling problems 2007-06-11 12:51:27 +00:00
rubidium f98b175cf5 (svn r10094) -Fix: some really broken strings got in. 2007-06-11 12:44:02 +00:00
truelight a391f03ae2 (svn r10093) -Revert: removed 16x zoom-out as it is broken beyond repair 2007-06-11 11:59:36 +00:00
truelight 6b101cc177 (svn r10092) -Codechange: code-seperated the spriteloader and blitter from the rest of the code
-Add: make it possible to pick your own blitter (-b <blitter>, -h for overview)
-Add: added a new optimized 8bpp blitter (default, caches sprites of all zoom-levels)
-Add: added a debug 8bpp blitter and a very slow normal 8bpp blitter
2007-06-11 11:50:49 +00:00
maedhros 96a3a89c86 (svn r10089) -Fix (r10040): Use GetTileZ instead of GetClearGround in GetTerrainType as
GetTileZ is valid for any tile type. Also use GetTerrainType for stations.
2007-06-11 04:52:51 +00:00
belugas 94200b63b8 (svn r10088) -Codechange: A typo and a code-style 2007-06-10 23:40:29 +00:00
rubidium 5f5ab6cc87 (svn r10087) -Fix [FS#834]: multiple subsequent "give money" actions could result in duplicate messages that money has been transfered when it only happened once. 2007-06-10 21:34:45 +00:00
maedhros fe3a7cc5ed (svn r10086) -Codechange: Use more sensible types and functions in GenericPlaceSignals. 2007-06-10 21:28:20 +00:00
rubidium a0ffa793cc (svn r10085) -Fix [FS#839]: message that you had given money appeared even when an error occured. 2007-06-10 20:49:11 +00:00
rubidium 77b06e922f (svn r10084) -Fix [FS#855]: reversing a train when loading at a station crashed. 2007-06-10 20:27:28 +00:00
rubidium d0ad020dc6 (svn r10082) -Fix [FS#846]: another memory leak in the networking code (benc). 2007-06-10 19:59:08 +00:00
rubidium 7767e466e5 (svn r10081) -Fix [FS851]: towns/AIs didn't build bridges anymore (boekabart). 2007-06-10 10:52:19 +00:00
bjarni ff40914740 (svn r10080) -Cleanup: replaced magic numbers in SubtractMoneyFromAnyPlayer() with enum values 2007-06-10 09:37:09 +00:00
miham ab89ee7770 (svn r10079) -Update: WebTranslator2 update to 2007-06-10 08:31:40
bulgarian  - 29 fixed by thetitan (29)
catalan    - 1 fixed by arnaullv (1)
estonian   - 159 changed by kristjans (159)
2007-06-10 06:31:51 +00:00
belugas 08c9365971 (svn r10078) -Codechange: Centralize all industry counts data and access 2007-06-10 01:25:21 +00:00
bjarni 3afea2d673 (svn r10077) -Fix: FS#845 Cloning Trains Longer Than 8 Units Causes Crash
The problem was that if adding units to the clone (wagon by wagon) failed, then cloning wouldn't notice it and it made two half trains
  Now it detects this case and it will make cloning fail. The string with the explanation for the failed move will be used in the error message so the user will know why it failed.
2007-06-09 18:31:04 +00:00
miham ec25b71bd4 (svn r10076) -Update: WebTranslator2 update to 2007-06-09 10:29:27
danish     - 1 fixed by ThomasA (1)
estonian   - 1 fixed, 96 changed by kristjans (97)
german     - 29 fixed by Neonox (29)
hungarian  - 1 fixed by miham (1)
italian    - 1 fixed by lorenzodv (1)
japanese   - 1 fixed by ickoonite (1)
korean     - 1 fixed by darkttd (1)
2007-06-09 08:31:41 +00:00
rubidium 02146b13c8 (svn r10075) -Fix [FS#844]: small memory leak on some early returns. 2007-06-09 04:01:40 +00:00
belugas 9a4a911bde (svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic (and unfinished) support for callbacks for industries 2007-06-09 02:05:51 +00:00
rubidium 142f2aba15 (svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again). 2007-06-08 21:16:17 +00:00
truelight 653b343018 (svn r10072) -Fix r10070: typo in zoom.hpp 2007-06-08 19:06:35 +00:00
rubidium 6b1cb3aaae (svn r10071) -Feature [FS#828]: moving of orders (skidd13). 2007-06-08 18:59:29 +00:00
truelight 98c3056aa6 (svn r10070) -Fix: fix the rounding problem of zoom-levels in zoom.hpp, so it is global for every call 2007-06-08 18:45:14 +00:00
truelight d3a7fb8d73 (svn r10069) -Documentation: some documentation for TIC/TOC, as it isn't what I expected... 2007-06-08 18:23:26 +00:00
rubidium 5b972a1d58 (svn r10068) -Fix [FS#835]: coverage area highlight was still show when it was turned off for docks. 2007-06-08 18:15:11 +00:00
belugas e8c6d57150 (svn r10066) -Codechange: Expose function GetNearbyTile by moving it to newgrf_commons.[cpp|h]. Will be used by industries in a few. 2007-06-08 17:54:18 +00:00
glx 6983d0b547 (svn r10065) -Cleanup (r9850): remove now unneeded stuff 2007-06-08 16:53:21 +00:00
belugas f51b869e69 (svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run 2007-06-08 15:59:03 +00:00
belugas 7586143e3b (svn r10063) -Codechange: Change VARDEF for extern
-CodeChange: Add the count of industries, basic support for variable 67, var action02 forindustries
2007-06-08 15:48:48 +00:00
peter1138 9c66082b07 (svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics. 2007-06-08 09:35:39 +00:00
peter1138 29f6ae952c (svn r10061) -Codechange: [NewGRF] Add common cargo subtype support to vehicle var 42 2007-06-08 06:27:58 +00:00
miham 246791424b (svn r10060) -Update: WebTranslator2 update to 2007-06-08 07:51:39
estonian   - 228 changed by kristjans (228)
japanese   - 13 fixed by ickoonite (13)
portuguese - 2 fixed by izhirahider (2)
slovenian  - 99 fixed by Necrolyte (99)
2007-06-08 05:51:57 +00:00
peter1138 c1df3a8aa6 (svn r10059) -Fix (r10045): Pretend GRF is still in initialisation state when leaving reservation stage. This fixes action 7/9 tests for grfs that will be active. 2007-06-07 18:13:31 +00:00
rubidium 8a74b2ebe1 (svn r10058) -Codechange: give some industry variable sensible names (like not telling "last_mo_production" when it is the production of the current month). 2007-06-07 14:38:45 +00:00
rubidium 622a4d10b9 (svn r10056) -Revert (r10049): removing SLE_WRITEBYTE didn't work as expected :(. Somehow SlIterateArray and SlObject depend on eachother and adding a some arbitrary data before the SlObject makes it go crazy. 2007-06-07 12:37:48 +00:00
miham 9a81f009a0 (svn r10055) -Update: WebTranslator2 update to 2007-06-07 14:37:06
brazilian_portuguese - 3 fixed by tucalipe (3)
catalan    - 3 fixed by arnaullv (3)
danish     - 1 fixed by ThomasA (1)
estonian   - 99 fixed by kristjans (99)
galician   - 8 fixed by Condex (8)
norwegian_nynorsk - 35 fixed by pollux (35)
2007-06-07 12:37:27 +00:00
rubidium 40cea6c3ef (svn r10054) -Codechange: make the industries cost modifier look more like the original one, so it's much easier to support industries that use this original format. 2007-06-07 09:20:04 +00:00
rubidium 770d7188ac (svn r10053) -Fix: could not clear a level-crossing tile with tram tracks. 2007-06-07 08:58:21 +00:00
peter1138 041c946119 (svn r10052) -Codechange: Support reserve/activate stage bits of action 7/9 variable 84. 2007-06-07 07:20:44 +00:00
rubidium eab8ac49ce (svn r10049) -Codechange: get rid of the SLE_WRITEBYTE obfuscation. 2007-06-06 23:57:21 +00:00
peter1138 07c34b2628 (svn r10048) -Fix (r6455): Don't use override engine type for articulated wagon parts. 2007-06-06 10:51:11 +00:00
miham 4ffe147bd4 (svn r10047) -Update: WebTranslator2 update to 2007-06-06 07:59:17
croatian   - 58 fixed by knovak (58)
czech      - 3 fixed by Hadez (3)
danish     - 28 fixed by ThomasA (28)
dutch      - 23 fixed by habell (23)
italian    - 3 fixed by lorenzodv (3)
korean     - 3 fixed by darkttd (3)
ukrainian  - 3 fixed by mad (3)
2007-06-06 05:59:32 +00:00
rubidium 2045611078 (svn r10046) -Documentation: add some documentation in order_gui (skidd13). 2007-06-05 22:17:03 +00:00
peter1138 fdb7ef8703 (svn r10045) -Codechange: Process Action 8 during GLS_RESERVATION to allow Action 7/Action 9s to work properly 2007-06-05 21:41:31 +00:00
peter1138 4258139a52 (svn r10044) -Fix: Minor NewGRF debug message fixes, and skip sprites of an unsupported Action 5 feature. 2007-06-05 20:49:32 +00:00
truelight 7d0a1c91d4 (svn r10043) -Change: make templates of the blitters, based on zoom and mode, which makes the optimizing better, and therefor a higher blitter speed (tnx boekabart)
-Codechange: unify the MainBlitter a bit more
2007-06-05 12:01:50 +00:00
peter1138 4403d41934 (svn r10042) -Codechange: Replace hardcoded spritecache size with a configuration
option, sprite_cache_size. The default size is 2MB and the value can 
range from 1 to 64MB. If you experience slow-downs when scrolling the 
map, try increasing this setting.
2007-06-05 10:40:29 +00:00
miham 959eaae6a4 (svn r10041) -Update: WebTranslator2 update to 2007-06-05 08:19:09
czech      - 34 fixed by Hadez (34)
french     - 3 fixed by glx (3)
hungarian  - 4 fixed by miham (4)
ukrainian  - 4 fixed by mad (4)
2007-06-05 06:19:27 +00:00
belugas a95fdc8bb5 (svn r10040) -Codechange: Make the function GetTerrainType public, as other functions require it 2007-06-05 01:49:08 +00:00
bjarni 9f44031a27 (svn r10039) -Fix: [autoreplace] when trying to replace an engine that can't carry the wagons the old one carries (GRF restrictoin), then don't try to replace at all 2007-06-04 20:46:01 +00:00
peter1138 18b98ad6aa (svn r10038) -Fix (r8634): Sprite resulting from '?' substitution was reloaded into the cache entry for SPR_IMG_QUERY instead of the original sprite cache entry. This resulted in unaccounted missing sprite cache memory, and was exacerbated because the original missing sprite was not cached, so it did it again and again and again. Slowdowns and boom. Etc. 2007-06-04 20:42:49 +00:00
glx 32a04368b3 (svn r10037) -Fix (r10035, r10036): silence some 'may be used uninitialized' warnings 2007-06-04 20:06:54 +00:00