summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
2007-07-19(svn r10628) -Fix (r10606,FS#1055): Revert r10606 and fix the plural problem ↵peter1138
another way.
2007-07-17(svn r10606) -Fix (r8826): plural and single cargo names were mixed up.peter1138
2007-07-12(svn r10521) -Fix: some NewGRFs did not check whether the newindustries bit ↵rubidium
was set, which breaks with a not-yet-finished-implementation of newindustries.
2007-07-11(svn r10514) -Codechange: add support for getting the nearest industry with ↵rubidium
a given type.
2007-07-11(svn r10508) -Codechange: allow customizable animation schemes for industries.rubidium
2007-07-10(svn r10495) -Codechange: Add the Action 00 property handlers for Industries ↵belugas
and Industry tiles
2007-07-06(svn r10457) -Codechange: Load the newly read definitions of Industries and ↵belugas
Industry tiles. No, this is not the final commit for newindustries (far from it), just another step.
2007-07-06(svn r10456) -Codechange: Enable loading newgrf strings for Industriesbelugas
2007-07-05(svn r10448) -Codechange: Industry Tiles and Houses share almost the same ↵belugas
spritegroup format.
2007-07-05(svn r10442) -Codechange: implement the industry production callback.rubidium
2007-07-04(svn r10436) -Cleanup: Doxygenise some comments, update others, and make a ↵maedhros
few statements more consistent with everything else.
2007-07-04(svn r10435) -Fix (r9315): numinfo starts from 1, not 0, so make it possible ↵maedhros
to define a house with a local id of 255.
2007-07-04(svn r10434) -Fix (r9315): When setting multiple house overrides in one ↵maedhros
Action 0, don't override them all with the first ID.
2007-07-04(svn r10433) -Codechange: Remove FOR_EACH_OBJECT by moving the for loops in ↵maedhros
the Action 0 handlers outside the switch statements. This allows ignoring only the invalid IDs when changing the properties for many objects, rather than ignoring the whole block if one ID is invalid.
2007-06-23(svn r10298) -Fix [FS#903]: show the subdirectory below the default data ↵rubidium
directory in this filename in the newgrf list. The directory was removed in r9560 because then it used to full path instead of the path relative to the data directory, but since the inclusion of "search paths" that is not necessary anymore.
2007-06-18(svn r10211) -Feature: [NewGRF] Add support for action 0Fglx
2007-06-17(svn r10180) -Fix (r10167): do not reset the 2cc loaded feature setting when ↵rubidium
a (later) newgrf does not have 2cc.
2007-06-17(svn r10178) -Fix: Don't deactivate newgrf files when skipping the rest of ↵maedhros
the file during the initialisation stage.
2007-06-15(svn r10167) -Codechange: Change the flagging system of grf loaded feature ↵belugas
from a bitset to a bool evaluation. Like easier to read and faster to evaluate :)
2007-06-14(svn r10157) -Fix: use as indentified for PNGs, the place of the image as it ↵truelight
was in the grf, not the internal SpriteID
2007-06-13(svn r10141) -Fix (FS#848, r8973): Set the newgrf bit for realistic plane ↵celestar
speeds (bulb)
2007-06-13(svn r10128) -Fix (r4811): missing printf parameters in newgrf debug messagepeter1138
2007-06-12(svn r10114) -Fix: Only load newgrf error messages if the language matches ↵maedhros
the current language. Since only one error can be loaded anyway, if the language didn't match you'd get "Undefined string". Also since we're only loading one language there's no need to use AddGRFString any more.
2007-06-12(svn r10110) -Fix: Reset NewGRF errors along with all the other NewGRF data ↵maedhros
so that errors get loaded again when pressing "Apply".
2007-06-11(svn r10097) -Feature: Add support for articulated road vehicles, or ↵maedhros
callbacks 11 and 17 for road vehicles for those who prefer the technical explanation.
2007-06-10(svn r10088) -Codechange: A typo and a code-stylebelugas
2007-06-08(svn r10073) -Codechange: make the NewGRF paths in the config file without ↵rubidium
any full paths (again).
2007-06-07(svn r10059) -Fix (r10045): Pretend GRF is still in initialisation state ↵peter1138
when leaving reservation stage. This fixes action 7/9 tests for grfs that will be active.
2007-06-07(svn r10052) -Codechange: Support reserve/activate stage bits of action 7/9 ↵peter1138
variable 84.
2007-06-05(svn r10045) -Codechange: Process Action 8 during GLS_RESERVATION to allow ↵peter1138
Action 7/Action 9s to work properly
2007-06-05(svn r10044) -Fix: Minor NewGRF debug message fixes, and skip sprites of an ↵peter1138
unsupported Action 5 feature.
2007-06-02(svn r10019) -Codechange: Implement GRM for newcargospeter1138
2007-05-31(svn r10005) -Codechange: Merge two flags (2cc and newhouses) indicating ↵belugas
some newgrf features have been loaded, and introduce the newindustry one.
2007-05-31(svn r10001) -Codechange: Add support for removing dynamically allocated ↵belugas
newgrf data
2007-05-31(svn r9999) -Feature: make it possible to disallow busses and lorries to go ↵rubidium
a specific way on straight pieces of road.
2007-05-31(svn r9994) -Codechange: Add pointers for Industry and Industry Tiles in the ↵belugas
grf file.
2007-05-29(svn r9976) -Codechange: Declare a writable array of specs for industry and ↵belugas
industry tiles. It will be initialized by the original data upon game start. Rename some enums to be more consistent too
2007-05-25(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.rubidium
2007-05-25(svn r9918) -Fix: the available roadtypes/railtypes were not updated on GRF ↵rubidium
updates.
2007-05-25(svn r9916) -Codechange: Free memory used by cargo translation tablespeter1138
2007-05-20(svn r9890) -Codechange: Don't allocate space for 0 spriteset rangespeter1138
2007-05-19(svn r9883) -Fix (r4965): [NewGRF] Check for overflow and carry over when ↵peter1138
adding to the existing value.
2007-05-19(svn r9880) -Add: [NewGRF] Add action 7/9 condition 0B/0C (cargo type ↵glx
availability)
2007-05-19(svn r9877) -Revert (r9876): one file too many...peter1138
2007-05-19(svn r9876) -Codechange: [NewHouses] Add support for callback 2E (cargo ↵peter1138
production)
2007-05-18(svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type ↵rubidium
strictness.
2007-05-15(svn r9850) -Codechange: Introduction of the Override/Substitute manager. ↵belugas
Currently only used for newhouses. Basically, it is more a gathering of IDs from grf files and ingame data.
2007-05-15(svn r9843) -Fix (r9838): tell the newgrfs that we now support proper FIFO ↵rubidium
loading.
2007-05-11(svn r9827) -Codechange/Fix: [NewGRF] Text strings of 1 character are ↵peter1138
perfectly valid... (fixes dbsetxl refits again...)
2007-05-10(svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement.peter1138