summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
2008-07-30(svn r13881) -Cleanup (r12751): Remove some dead code.frosch
2008-07-26(svn r13831) -Codechange: Make purchase list order NewGRF property an ↵peter1138
extended byte.
2008-07-21(svn r13774) -Codechange: Add support for changing vehicle purchase list ↵peter1138
position for all vehicle types.
2008-07-20(svn r13761) -Codechange: Remove dependency on rail for altering purchase ↵peter1138
list position (mostly function renaming)
2008-07-04(svn r13675) -Fix: memory leak when NewGRFs got forcefully disabled and they ↵rubidium
defined GOTO labels.
2008-06-20(svn r13594) -Feature(ette)[FS#2093]: Supply newgrfs with 'day of month', ↵frosch
'leap year' and 'day of year'.
2008-06-19(svn r13576) -Codechange: disable static NewGRFs when non-static NewGRFs ↵rubidium
query them in the context of network games. This makes it impossible for static NewGRFs to disable non-static NewGRFs and 'bad' things happening because the non-static NewGRF doesn't know about the static NewGRF.
2008-06-12(svn r13482) -Codechange: Use "extended bytes" in Actions 3 and 4 for vehiclespeter1138
2008-06-11(svn r13469) -Codechange: add support for loading Action 0x05, type 0F: ↵rubidium
"tracks for slopes". It's not useful right now, but it will be in the future.
2008-06-11(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.rubidium
2008-06-10(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most placessmatz
2008-06-10(svn r13437) -Feature[newGRF]: Add long format introduction and maximum ↵belugas
construction year for house.
2008-06-05(svn r13390) -Codechange: introduce usererror() for fatal but not openttd ↵glx
related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
2008-06-05(svn r13388) -Codechange: Remove "my invented flag for something that is a ↵peter1138
wagon"
2008-06-04(svn r13376) -Feature: Add access to current long year and date from Action ↵belugas
7/9/D and VarAction2 (23/24 or A3/A4) Add access to (long format) building year, in Variational Action2 Variable 49 for Vehicles
2008-06-03(svn r13374) -Fix (r13364): Some common compilers do not yet support 9 year ↵peter1138
old specifications.
2008-06-03(svn r13372) -Cleanup: Excessive whitespacepeter1138
2008-06-03(svn r13371) -Fix (r4510 ... r12924): Engine array size is not related to ↵peter1138
the ID used when setting a vehicle's name (it is vehicle type specific). Instead just test for a generic string.
2008-06-03(svn r13368) -Codechange: give house's min/max_date a better name, as it is ↵belugas
really year, not date
2008-06-02(svn r13364) -Codechange: Refactor action 3 mapping to use grf_load_*() ↵peter1138
instead of direct byte array access.
2008-06-02(svn r13363) -Codechange: Code duplication tidy uppeter1138
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-27(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.rubidium
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-24(svn r13226) -Feature: Allow to have more than only two airports per town. ↵belugas
The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is. Initial concept : TTDPatch (moreairpots), Initial code : Pasky Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
2008-05-13(svn r13074) -Fix: For multiheaded engines, halve power and running cost ↵peter1138
when used instead of when loading, to allow callback values to work properly.
2008-05-08(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warningsglx
2008-05-06(svn r12973) -Codechange: Rename GRMSpriteEntry to GRFLocation, as it is not ↵peter1138
necessarily specific to GRM sprites...
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-05-05(svn r12958) -Codechange: Allocate sprites reserved by GRM in advance of ↵peter1138
'Action 1' sprites, giving much less chance of GRM reservation failure if lots of NewGRF sets are loaded.
2008-05-05(svn r12950) -Fix: two includes is one too muchbelugas
2008-05-04(svn r12944) -Codechange: use rev.h instead of externs at many placessmatz
2008-04-30(svn r12932) -Fix [FS#1970]: Articulated engines ignored GRF engine overrides.peter1138
2008-04-29(svn r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-22(svn r12839) -Codechange: Allocate temporary engine data when loading GRFs ↵peter1138
as needed instead of statically.
2008-04-19(svn r12798) -Feature: Add some support for NewGRF station animation. ↵peter1138
(Thanks to mart3p for samples and fixes)
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-17(svn r12751) -Codechange: do what has been done in r11862 in a different way ↵rubidium
so it uses less memory.
2008-04-10(svn r12648) -Feature: allow four different non-stop types in a single game ↵rubidium
instead of two. The "TTDP compatible order" setting now only sets the default behaviour of new trains. -Feature: allow three different load type in a single game instead of two. One can choose full load all and full load any instead of full load being governed by the "full load any" patch setting.
2008-03-31(svn r12495) -Codechange: reduce the dependency on newgrf_station.h ↵rubidium
(especially because newgrf_station.h includes a lot of stuff).
2008-03-31(svn r12490) -Codechange: rename engine.h to engine_func.h and remove ↵rubidium
unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-03-28(svn r12454) -Fix (r12452): incorrect calculation for 'first vehicle in this ↵glx
chain of vehicles with the same ID' (thx DaleStan) -Fix (r12452): wrong loading of random action 2 type 84 for non vehicle (though it shouldn't happen, but who knows ;))
2008-03-27(svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only.glx
2008-03-27(svn r12450) -Codechange: Use a pointer instead of several array dereferences.peter1138
2008-03-27(svn r12449) -Feature[newGRF]: Add support for var A2/22 for action 7/9/D: ↵belugas
Diificulty level
2008-03-15(svn r12368) -Codechange: use explicit body for loops and conditions and ↵smatz
remove -Wno-empty-body from the configure script
2008-03-05(svn r12341) -Fix (r11224) [FS#1827]: GRM buffer for cargos was incorrect size.peter1138
2008-03-04(svn r12333) -Fix: Switch grfstatus from 'activated' back to ↵frosch
'will-be-active' between reservation- and activation-stage. This fixes action7/9 conditions 0x06 to 0x0A to return the same in those two stages.