Commit Graph

58 Commits (8d60206684a3322f7274cf4a7bf612e428558a31)

Author SHA1 Message Date
rubidium 2b85217bfe (svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code. 16 years ago
rubidium 5a17e6b395 (svn r12817) -Feature: the ability to play NewGRF sounds for industries and stations. 16 years ago
rubidium d010ae9408 (svn r12801) -Codechange: remove the dependency of function.h in town_map.h 16 years ago
rubidium ba0532b595 (svn r12800) -Codechange: move the animated tile related functions out of texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions. 16 years ago
peter1138 61ba65846a (svn r12799) -Fix (r12798): Empty for-loop warnings from gcc 4.3+ 16 years ago
peter1138 3b7558b89c (svn r12798) -Feature: Add some support for NewGRF station animation. (Thanks to mart3p for samples and fixes) 16 years ago
peter1138 9c3725827a (svn r12747) -Codechange: Add varaction retrieval of station animation frame 16 years ago
peter1138 5d755429b4 (svn r12674) -Fix [FS#1902]: Colour remaps on station sprites only worked for company colours. 16 years ago
rubidium c51b81c247 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
glx 90616adcb0 (svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only. 16 years ago
smatz 1f13638d03 (svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script 17 years ago
frosch 7f3d56041b (svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus(). 17 years ago
frosch a13899ee8e (svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID 17 years ago
frosch ae996a270b (svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID 17 years ago
frosch 90ee6a16ab (svn r12028) -Codechange: Split common part of station var 0x67, house var 0x62, indtile var 0x60 and industry var 0x62 to 'newgrf_commons.cpp'. 17 years ago
peter1138 df7286e7c1 (svn r11881) -Cleanup: Code style for global variables. 17 years ago
peter1138 b4d476b7d1 (svn r11859) -Codechange: Update newgrf station class dropdown to use new method of generating list. 17 years ago
rubidium 90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium 2fc62eab05 (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
rubidium c004cc1fd9 (svn r11801) -Codechange: remove some unneeded includes from some header files. 17 years ago
rubidium db73addb43 (svn r11702) -Codechange: move all date related stuff to date*. 17 years ago
rubidium 00c9d3ef20 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 17 years ago
rubidium 507463e420 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
rubidium 1f6043458c (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 17 years ago
rubidium 3074bca136 (svn r11680) -Codechange: refactor more out of openttd.h and functions.h. 17 years ago
glx 4fc66235cb (svn r11679) -Add: [newgrf] support for station vars 67 and 68 17 years ago
skidd13 3ae50673a3 (svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 c0a2c0c23e (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
skidd13 98f66552be (svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style 17 years ago
rubidium a28b307c95 (svn r11173) -Codechange: rename some callback enums so they are more uniform. 17 years ago
rubidium d5bc4d8b2a (svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted cargo too. 17 years ago
rubidium feb91ab5ea (svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer. 17 years ago
rubidium 45b0b7755d (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs. 17 years ago
peter1138 556a5ebcc3 (svn r10509) -Codechange: cache expensive newgrf station variables during
sprite lookups/callbacks.
17 years ago
peter1138 855e9d0751 (svn r10470) -Fix: clamp station build date to 16 bit value for newgrf, preventing overflow and incorrect graphics shown past a certain date. 17 years ago
peter1138 2fa2da4070 (svn r10431) -Codechange: constness on static array 17 years ago
rubidium fc201d4ad8 (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. 17 years ago
maedhros 41443a26a6 (svn r10089) -Fix (r10040): Use GetTileZ instead of GetClearGround in GetTerrainType as
GetTileZ is valid for any tile type. Also use GetTerrainType for stations.
17 years ago
rubidium 821e58ac95 (svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile. 17 years ago
belugas 097b3b3c7b (svn r9662) -Documentation: Doxygen corrections and @file omissions 17 years ago
peter1138 ed8a66e3d1 (svn r9620) -Codechange: apply cargo translation table to newstation variables 0x60..0x65 17 years ago
peter1138 3148fdca59 (svn r9601) -Codechange: Store grf file reference in station spec, not just GRF ID 17 years ago
belugas 691f8578fd (svn r9400) -Codechange: Use some more representative enum names for landscape types. 18 years ago
peter1138 3c6e6a1d99 (svn r9393) -Codechange: Use newgrf town resolver as station parent scope handler 18 years ago
belugas 8952924c64 (svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N. 18 years ago
maedhros 94db6aa1a2 (svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
by newgrf files. When this is enabled forests cannot be built below the highest
snow line, and farms can't be built above it. Houses still use the
_opt.snow_line so they are all consistent, so to make them respect the snowline
you may want to use some newhouses features as well.
18 years ago
rubidium 4169bfba06 (svn r9050) -Codechange: Foo(void) -> Foo() 18 years ago
peter1138 6b7a4ba448 (svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible. 18 years ago
peter1138 b3efec2e7d (svn r8858) -Codechange: Replace magic number test with class method for determining if a cargo is valid/active. 18 years ago
belugas b1b5aecae9 (svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style 18 years ago