Commit Graph

61 Commits (59a1614ba0724bf5240b91d8cd2b90ff7eeb286c)

Author SHA1 Message Date
PeterN 4cebebcf68
Change: Add CargoTypes type for cargo masks. (#6790) 6 years ago
J0an Josep cfb8092397 Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation. 6 years ago
frosch d9d669dcf8 (svn r27984) -Codechange: Make ScopeResolver constructors/destructors inlineable. Speedup sprite resolving by about 8 percent. 6 years ago
frosch 82ae414e8d (svn r27928) -Fix: [NewGRF] While executing random triggers, var 5F should include the new triggers.
-Fix: [NewGRF] Reset used random triggers only after all A123 chains have been resolved, so that all RA2 in all chains can test the shard triggers. This also includes multiple RA2 in the same A123 chain.
-Fix: [NewGRF] Industry random triggers are stored per tile, even when randomising the shared random bits of the parent industry.
7 years ago
frosch b4b98e5165 (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) 7 years ago
frosch db894b0b3f (svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL. 11 years ago
peter1138 c00a400cc7 (svn r24905) -Feature(ish): Implement station randomisation triggers. 12 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
alberth 33ff55a8f1 (svn r24693) -Doc: Add some doxymentation into the newgrf code. 12 years ago
alberth 4c9bea2a71 (svn r24692) -Cleanup: Cleanup final parts of the old resolver code. 12 years ago
alberth c417efc962 (svn r24684) -Codechange: Add resolver classes for stations. 12 years ago
yexo 620a96f77f (svn r24031) -Feature: increase the station class limit from 32 to 256 12 years ago
rubidium e40eb8177a (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 13 years ago
michi_cc d579af11e8 (svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations. 13 years ago
terkhen e8df5563db (svn r22559) -Codechange: Remove constness from Station in ResolverObject. 13 years ago
terkhen c98a8308cc (svn r22558) -Codechange: Remove constness from BaseStation in ResolverObject. 13 years ago
terkhen e127fca384 (svn r22557) -Codechange: Remove constness from AnimationBase callbacks. 13 years ago
frosch 7415b9cca2 (svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for spritelayouts allocated on the heap, and make use of constructors and destructors. 13 years ago
frosch 20e86fd5ea (svn r22454) -Codechange: Deduplicate GetCustomStationGroundRelocation() into GetCustomStationRelocation() and only call it if actually needed. 13 years ago
frosch fdd2f8447e (svn r22453) -Feature(ette): Implement variable 18 for custom station foundations. 13 years ago
yexo 261b34b705 (svn r22175) -Fix: [NewGRF] memory leak if a station newgrf contains prop 09 twice for the same station id 14 years ago
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
rubidium e2e26190d5 (svn r20623) -Codechange: unify the storing of animation related information 14 years ago
rubidium 3d21fb44aa (svn r20436) -Codechange: use GRFFilePropsBase's spritegroup for stations. 14 years ago
rubidium ca7a067b7a (svn r20435) -Codechange: move spritegroup to GRFFilePropsBase and prepare it for more spritegroups 14 years ago
rubidium edbadde301 (svn r20406) -Codechange: make StationClass use the new generic class 14 years ago
rubidium 2b645d1b0d (svn r20404) -Codechange: remove the need for StationSpec::allocated 14 years ago
rubidium 2d3ee123af (svn r20402) -Codechange: rename the airport/station class id to something slightly more generic 14 years ago
rubidium b6a0806948 (svn r20400) -Codechange: let StationSpec use GRFFilePropsBase 14 years ago
alberth 5556955960 (svn r20318) -Doc: Doxygen additions. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
frosch 75d4bc947d (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
smatz 53aaabe6e9 (svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET 14 years ago
rubidium 82fc28f77f (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 5ab64809fe (svn r18708) -Feature: [NewGRF] Add support for custom station foundation graphics. 15 years ago
frosch 79627b4f89 (svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h 15 years ago
rubidium 64bafcbe18 (svn r17534) -Codechange: unify the naming of callback masks/flags 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 43eda3dfbf (svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints 15 years ago
rubidium 84df3ba2b4 (svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints. 15 years ago
rubidium b19d0e0254 (svn r16428) -Codechange: use the less bloated SimpleTinyEnumT instead of TinyEnumT if the stuff provided by TinyEnumT but not SimpleTinyEnumT is not used. 15 years ago
peter1138 679248fb51 (svn r15956) -Codechange: Enumorize station spec flags. 15 years ago
peter1138 ad30a3c4ca (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 11da45ee55 (svn r14949) -Cleanup: pointer coding style 16 years ago
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
smatz 05c2a8eba4 (svn r13830) -Feature: show additional NewGRF info in the Tile Info window for stations, houses and industries 16 years ago
peter1138 210d757499 (svn r12798) -Feature: Add some support for NewGRF station animation. (Thanks to mart3p for samples and fixes) 16 years ago
rubidium 6f15d34fe5 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 16 years ago
rubidium ef2be7d0fc (svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h. 16 years ago
rubidium 2edd403656 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago