Commit Graph

55 Commits (c8779fb311c2665d3fc45c18b2f3460cd998d179)

Author SHA1 Message Date
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.
4 years ago
S. D. Cloudt 13cc8a0cee Cleanup: Removed SVN headers 5 years ago
JMcKiern 04f659e768 Fix: Some typos found using codespell 5 years ago
Henry Wilson 7c8e7c6b6e Codechange: Use null pointer literal instead of the NULL macro 5 years ago
PeterN e1069eee05
Codechange: Check airport layout would fit within map bounds before iterating tiles. (#7429) 5 years ago
glx22 e93630541d
Fix #7433: don't use AirportSpec substitute if it's not set (#7435) 5 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.
5 years ago
Charles Pigott f5b1115039 Doc: Lots and lots of doxymentation fixes 6 years ago
frosch d9d669dcf8 (svn r27984) -Codechange: Make ScopeResolver constructors/destructors inlineable. Speedup sprite resolving by about 8 percent. 6 years ago
rubidium 0463dbdc9e (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 10 years ago
frosch 6b61c4608f (svn r26388) -Codechange: Move resolving of Action 3 into ResolverObject constructor. 10 years ago
frosch 49852e3dac (svn r26175) -Add: Log in desync output when persistent storage is discarded. 11 years ago
frosch db894b0b3f (svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL. 11 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 c83db1395b (svn r24687) -Codechange: Add resolver classes for airports. 12 years ago
alberth 438495b433 (svn r24678) -Codechange: Introduce scope resolver base class and prepare for adding derived classes. 12 years ago
frosch 34969178db (svn r24169) -Add: Make NewGRFClass distinguish between defined specs and specs visible for the user. 12 years ago
frosch 6f4d2160c2 (svn r24162) -Codechange: Remove NewGRFClass::GetName() and SetName() in favour of using Get() and direct member access (which is needed anyway for GRF string resolving). 12 years ago
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
frosch d8f8909f85 (svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks returning D0xx texts. 13 years ago
frosch 1ad7239247 (svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60. 13 years ago
frosch 412cbe133d (svn r22636) -Fix: Airports should not expose the tile specific random bits of the north tile. Only airport tiles should access those. 13 years ago
frosch 8b18292a2e (svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' is intentionally removed, it is only used together with 'scope'. 13 years ago
terkhen 00e5c1df18 (svn r22567) -Codechange: Store persistent storages inside a pool. 13 years ago
terkhen 0749c65d74 (svn r22564) -Codechange: Rename Get and Store persistent storage functions to GetValue and StoreValue. 13 years ago
terkhen dc6218aa49 (svn r22563) -Codechange: Use a function for storing values inside the persistent storage. 13 years ago
yexo 00e65d1a4d (svn r22496) -Fix: callback result for airport layout name was incorrectly used 13 years ago
alberth 28092366ec (svn r22459) -Doc: Typo fixes and doxygen markup improvements. 13 years ago
rubidium 4d5dbf5170 (svn r22410) -Document: some more bits ;) 13 years ago
alberth fa13971337 (svn r21088) -Doc: Additions/corrections of doxygen comments. 14 years ago
yexo c07fdab16c (svn r20716) -Feature: add airport class and airport name to the land info tool 14 years ago
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium ca7a067b7a (svn r20435) -Codechange: move spritegroup to GRFFilePropsBase and prepare it for more spritegroups 14 years ago
rubidium ef50a89ca5 (svn r20407) -Codechange: make AirportClass use the new generic class 14 years ago
rubidium 2d3ee123af (svn r20402) -Codechange: rename the airport/station class id to something slightly more generic 14 years ago
yexo 2e6713ce95 (svn r20374) -Codechange: add persistant storage for airports 14 years ago
yexo 5bacbba9f2 (svn r20371) -Codechange: add general function to call text callbacks for airports 14 years ago
yexo 3e6f8165d4 (svn r20369) -Feature: preview sprites for airports 14 years ago
yexo 330c2f979e (svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number 14 years ago
yexo 6321eb5a00 (svn r20364) -Codechange: add infrastructure for airport callbacks 14 years ago
yexo 689d4bef04 (svn r20331) -Doc: some more airport-related code 14 years ago
rubidium 6bb0d06668 (svn r20203) -Fix: some file "headers" were incorrect, including doxygen @file so they wouldn't be picked up by doxygen. 14 years ago
yexo 81ca0e28c4 (svn r19462) -Codechange: use the AS_GENERIC macro also for the dummy airport 14 years ago
yexo 38f4cb6469 (svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found 14 years ago
yexo a99a7e7a37 (svn r19456) -Codechange; increase the maximum number of airports 14 years ago
yexo f7691a95d7 (svn r19354) -Codechange: store the number of layouts in AirportSpec 14 years ago
yexo 20e05f878c (svn r19353) -Codechange: use static objects for the airport statemachines instead of new/delete at the start/end of the game
-Codechange: store the fta in AirportSpec
14 years ago
yexo 585b036c90 (svn r19327) -Codechange: make the oilrig a part of the original airports array so some special cases can be removed 14 years ago
yexo c42e2a9bfc (svn r19326) -Codechange: store the airport name as property in AirportSpec 14 years ago