Peter Nelson
bd1a20f6ee
Codechange: Use std::vector for NewGRF station platform layouts.
...
This avoids the need to custom memory management and additional members.
This also resolves use-after-free if modifying copied layouts, so presumably nobody has ever done that.
3 years ago
Niels Martin Hansen
c8779fb311
Feature: NewGRF callback profiling ( #7868 )
...
Adds a console command newgrf_profile to collect some profiling data about NewGRF action 2 callbacks and produce a CSV file.
5 years ago
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
5 years ago
Charles Pigott
fcf06ba4c4
Codechange: Remove StationClassIDByte, and drop STAT_CLASS_MAX by one
6 years ago
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
6 years ago
Henry Wilson
af7d9020a1
Codechange: Use override specifer for overriding member declarations
...
This is a C++11 feature that allows the compiler to check that a virtual
member declaration overrides a base-class member with the same signature.
Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked
as virtual despite being a template.
6 years ago
PeterN
4cebebcf68
Change: Add CargoTypes type for cargo masks. ( #6790 )
6 years ago
J0an Josep
cfb8092397
Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation.
7 years ago
frosch
d9d669dcf8
(svn r27984) -Codechange: Make ScopeResolver constructors/destructors inlineable. Speedup sprite resolving by about 8 percent.
7 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
13 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.
14 years ago
frosch
20e86fd5ea
(svn r22454) -Codechange: Deduplicate GetCustomStationGroundRelocation() into GetCustomStationRelocation() and only call it if actually needed.
14 years ago
frosch
fdd2f8447e
(svn r22453) -Feature(ette): Implement variable 18 for custom station foundations.
14 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.
15 years ago
smatz
53aaabe6e9
(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET
15 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.
16 years ago
peter1138
679248fb51
(svn r15956) -Codechange: Enumorize station spec flags.
16 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