Commit Graph

116 Commits (f292a2274ae45d7171d5f98267b1f6d7d545f457)

Author SHA1 Message Date
rubidium 5f39601d0c (svn r19707) -Add: helper functions to instantiate/fill ResolverObjects 14 years ago
yexo 22a27d3b62 (svn r19455) -Codechange: split all airport information in Station to a seperate class 14 years ago
yexo 446372fe9f (svn r19299) -Codechange: store the most compatible ttd airport type in AirportSpec
-Fix: [NewGRF] return the ttd airport type in station var 0xF1
15 years ago
yexo 9c77ff3352 (svn r19298) -Fix: [NewGRF] segfault when station vars 0xF2/0xF3 is accessed when there is no truck/bus stop 15 years ago
peter1138 7cc76dcbda (svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...) 15 years ago
rubidium 7127338414 (svn r18872) -Codechange: introduce PaletteID and use it 15 years ago
frosch eded89633c (svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq. 15 years ago
frosch 9bbabadd29 (svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE(). 15 years ago
frosch 6c72390087 (svn r18839) -Codechange: Detriplicate drawing of spritelayouts in the GUI. 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
peter1138 4dbc81f955 (svn r18737) -Fix (r12028): Var67 data wasn't swapped properly for orientation. 15 years ago
rubidium e48416ad4e (svn r18718) -Codechange: make a wrapper macro for looping TileAreas 15 years ago
peter1138 cb74d8ef20 (svn r18708) -Feature: [NewGRF] Add support for custom station foundation graphics. 15 years ago
peter1138 f71eb6b0d6 (svn r18681) -Codechange: Use existing TILE_LOOP method for iterating trigger area. 15 years ago
peter1138 e9d778626d (svn r18680) -Fix: Whole station area is already correct size. 15 years ago
frosch 3cb949a17d (svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h 15 years ago
rubidium c2c0f4403e (svn r17534) -Codechange: unify the naming of callback masks/flags 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium e751513aa1 (svn r17050) -Codechange: replace custom implementation of TILE_LOOP with TILE_LOOP. 15 years ago
rubidium 58563eafa7 (svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h. 15 years ago
rubidium 196856f54e (svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written. 15 years ago
rubidium 00a9b2fd3d (svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile 15 years ago
rubidium 6435dc89fe (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 15 years ago
rubidium 100cb17fa8 (svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
15 years ago
rubidium 9eaee690bc (svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/ 15 years ago
rubidium f1d6561cc4 (svn r16907) -Codechange: make a more clear distinction between reservation functions that return a bool and that return TrackBits; GetRailStationReservation vs GetRailwayStationReservation, which one returns the bool and which one the TrackBits? 15 years ago
rubidium 4d3072ec67 (svn r16897) -Codechange: use the 'generic' station spec to station allocation for waypoints too 15 years ago
rubidium 6670fae515 (svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints 15 years ago
rubidium 8c9965fd44 (svn r16888) -Fix (r16864): crash when trying to build (some?) NewGRF waypoints 15 years ago
rubidium 3927fd6be7 (svn r16864) -Codechange: make Waypoints a subclass of BaseStation. 15 years ago
rubidium 46d94fdfed (svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints. 15 years ago
smatz cb13cf2543 (svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs 15 years ago
smatz 8718babe90 (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() 15 years ago
smatz c113303593 (svn r16655) -Codechange: use IsRailwayStationTile() more 15 years ago
smatz f6a4d61cca (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() 15 years ago
smatz 61a42f42c1 (svn r16640) -Codechange: move roadstop stuff to separate files 15 years ago
rubidium 2832d69272 (svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts. 15 years ago
rubidium 846382a0f3 (svn r16402) -Codechange: make Resolve a function of SpriteGroup 15 years ago
rubidium 730b411878 (svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union 15 years ago
peter1138 2dc1e1aea0 (svn r15957) -Fix (r4767): Set callback_param1 (var 10) to 1 only when requested. 15 years ago
peter1138 dd24d9524e (svn r15956) -Codechange: Enumorize station spec flags. 15 years ago
peter1138 4b1728079c (svn r15436) -Codechange: Return index of station spec within station class as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern... 16 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
truebrain c2406cd42d (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
rubidium 70b434355d (svn r14956) -Fix [FS#1832]: building new station parts didn't allocate a new station spec effectively breaking variable 41. This was due to the limited number of station specs that we can have per station. This fix makes newly build station parts create a new spec until one cannot allocate new station specs anymore and it'll revert to the old behaviour (sharing station specs). 16 years ago
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 16 years ago
frosch a64298ebb9 (svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and PALETTE_MODIFIER_COLOR in spritelayout drawing.
-Fix [FS#2419]: The modifiers were not applied in all cases.
16 years ago
frosch 3d7ab65557 (svn r14487) -Fix: The station picker preview did not draw child sprites. 16 years ago