summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-06-13(svn r10130) -Fix (r4493): SetCurrentGrfLangID returned the wrong language ↵maedhros
ids for most languages.
2007-06-13(svn r10129) -Fix (r10111): Test for x == INVALID_COORD instead of v->tile ↵peter1138
== INVALID_TILE to determine if a vehicle should be removed from the has.
2007-06-13(svn r10128) -Fix (r4811): missing printf parameters in newgrf debug messagepeter1138
2007-06-13(svn r10127) -Add: Addition of basic structure for industry tiles callbacks ↵belugas
(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(svn r10126) -Fix (r10111, FS#864): old_new_hash cache was not reset when ↵glx
the position hash were
2007-06-12(svn r10125) -Fix [FS#865]: under some circumstances the wagons of a train ↵rubidium
didn't get loaded properly.
2007-06-12(svn r10124) -Fix r10123: fix the OSX video driver properlytruelight
2007-06-12(svn r10123) -Fix r10121: the 8 bpp cocoa video driver works againbjarni
2007-06-12(svn r10122) -Codechange: Add a CountBitsSet function and use it to replace ↵maedhros
some less efficient loops.
2007-06-12(svn r10121) -Codechange: split renderer from rest of code; no longer any ↵truelight
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(svn r10119) -Update: WebTranslator2 update to 2007-06-12 20:09:56miham
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(svn r10117) -Fix [FS#863]: When deleting the vehicles of bankrupt players, ↵maedhros
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(svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) ↵rubidium
from savegame names. Based on a patch by TheJosh.
2007-06-12(svn r10115) -Codechange: Create accessors to triggers and random bits for ↵belugas
industries. Implementation will follow soon.
2007-06-12(svn r10114) -Fix: Only load newgrf error messages if the language matches ↵maedhros
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(svn r10113) -Fix (r10092): Missing svn properties and some Id/@file commentspeter1138
2007-06-12(svn r10111) -Codechange: Add new vehicle hash table for collision detection ↵peter1138
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(svn r10110) -Fix: Reset NewGRF errors along with all the other NewGRF data ↵maedhros
so that errors get loaded again when pressing "Apply".
2007-06-12(svn r10109) -Fix [FS#838]: some NewGRFs use the same (unused in the ↵rubidium
"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(svn r10108) -Codechange: implement variable 0x60 (Get industry tile ID at ↵belugas
offset) for industries. It is exposed for for industry tiles who will reuse it too, for variable 0x62.
2007-06-11(svn r10107) -Fix (r10092): Missing 'i' in 'optimized'peter1138
2007-06-11(svn r10106) -Fix (r10098): there's always a compiler complaining about ↵rubidium
something...
2007-06-11(svn r10105) -Fix r10092: fix sprite 4845 till 4881 (inclusive), so they ↵truelight
store the data as on the disk in the memory, as the old landscape generate assumes this. Talking about ugly hacks...
2007-06-11(svn r10104) -Update: WebTranslator2 update to 2007-06-11 19:45:13miham
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(svn r10103) -Fix (r10086): TrackBitsToTrack doesn't cope well with ↵maedhros
TRACK_BIT_NONE (e.g. non-rail tiles), so use FindFirstTrack instead.
2007-06-11(svn r10102) -Documentation: @file header was wrongtruelight
2007-06-11(svn r10101) -Codechange: the class is named 8bppSimple, so name the files ↵truelight
like that too
2007-06-11(svn r10100) -Fix r10093: some code now became obsolete as it never did ↵truelight
something
2007-06-11(svn r10099) -Fix(r9867, FS860): Use the specs of the to-be-created industry ↵belugas
instead of the scanned industry Spotted by Oxygene
2007-06-11(svn r10098) -Codechange: bilbo cared about the performance of the AI with ↵rubidium
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(svn r10097) -Feature: Add support for articulated road vehicles, or ↵maedhros
callbacks 11 and 17 for road vehicles for those who prefer the technical explanation.
2007-06-11(svn r10096) -Fix r10092: freetype bypassed the Blitter::Encode, making ↵truelight
fonts look weird
2007-06-11(svn r10095) -Fix: avoid reading outside the buffer because of scaling problemstruelight
2007-06-11(svn r10094) -Fix: some really broken strings got in.rubidium
2007-06-11(svn r10093) -Revert: removed 16x zoom-out as it is broken beyond repairtruelight
2007-06-11(svn r10092) -Codechange: code-seperated the spriteloader and blitter from ↵truelight
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(svn r10089) -Fix (r10040): Use GetTileZ instead of GetClearGround in ↵maedhros
GetTerrainType as GetTileZ is valid for any tile type. Also use GetTerrainType for stations.
2007-06-10(svn r10088) -Codechange: A typo and a code-stylebelugas
2007-06-10(svn r10087) -Fix [FS#834]: multiple subsequent "give money" actions could ↵rubidium
result in duplicate messages that money has been transfered when it only happened once.
2007-06-10(svn r10086) -Codechange: Use more sensible types and functions in ↵maedhros
GenericPlaceSignals.
2007-06-10(svn r10085) -Fix [FS#839]: message that you had given money appeared even ↵rubidium
when an error occured.
2007-06-10(svn r10084) -Fix [FS#855]: reversing a train when loading at a station crashed.rubidium
2007-06-10(svn r10082) -Fix [FS#846]: another memory leak in the networking code (benc).rubidium
2007-06-10(svn r10081) -Fix [FS851]: towns/AIs didn't build bridges anymore (boekabart).rubidium
2007-06-10(svn r10080) -Cleanup: replaced magic numbers in ↵bjarni
SubtractMoneyFromAnyPlayer() with enum values
2007-06-10(svn r10079) -Update: WebTranslator2 update to 2007-06-10 08:31:40miham
bulgarian - 29 fixed by thetitan (29) catalan - 1 fixed by arnaullv (1) estonian - 159 changed by kristjans (159)
2007-06-10(svn r10078) -Codechange: Centralize all industry counts data and accessbelugas
2007-06-09(svn r10077) -Fix: FS#845 Cloning Trains Longer Than 8 Units Causes Crashbjarni
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(svn r10076) -Update: WebTranslator2 update to 2007-06-09 10:29:27miham
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(svn r10075) -Fix [FS#844]: small memory leak on some early returns.rubidium