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
rubidium
68c369ea98
(svn r10091) -Add: make time detection whether you are using -jN when having distcc enabled.
2007-06-11 10:29:07 +00:00
truelight
719395f216
(svn r10090) -Add: add --with-distcc to configure, to enable distcc compiles. Not used by default
2007-06-11 10:01:03 +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