Commit Graph

6980 Commits

Author SHA1 Message Date
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
glx a1942409da (svn r10231) -Cleanup: MSVC project files 2007-06-20 03:01:27 +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 3771d666c0 (svn r10204) -Fix: copy docs/32bpp.txt at 'make bundle' 2007-06-18 19:42:48 +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
truelight b0b4820387 (svn r10189) -Add: added a safety check in MSVC project generate script to make sure we do not use filenames with the same name in different directories, as MSVC is plain stupid and can't handle that (go wine to Billy or something if you want it fixed properly) 2007-06-17 20:14:38 +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 4e75c8c181 (svn r10183) -Fix (r10182): some bashism sneaked in. 2007-06-17 15:55:52 +00:00