summaryrefslogtreecommitdiff
path: root/src/newgrf_spritegroup.cpp
AgeCommit message (Collapse)Author
2010-03-21(svn r19497) -Fix: [NewGRF] Bytes and words get sign-extended for ↵frosch
temporary/persistent storage. (Spotted by yexo)
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-03(svn r18699) -Fix [FS#PlanetAndy]: GRF parameters were not properly ↵frosch
initialised to zero, and not always checked for valid range.
2009-09-30(svn r17672) -Revert (r8081): 'last_value' and 'reseed' are shared between ↵frosch
procedure and main chain. -Fix (r8075): 'scope' and 'count' are not.
2009-09-30(svn r17670) -Cleanup (r12819): ResolverObject::procedure_call is not used ↵frosch
anymore.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-05-26(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be ↵rubidium
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
2009-05-24(svn r16421) -Codechange: do not unnecessarily remove constness or ↵rubidium
unnecessarily add it.
2009-05-23(svn r16402) -Codechange: make Resolve a function of SpriteGrouprubidium
2009-05-23(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses ↵rubidium
instead of using a big union
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-17(svn r16336) -Codechange: make the SpriteGroup pool more like the 'normal' poolsrubidium
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2008-07-30(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.frosch
2008-06-17(svn r13544) -Codechange: Add support for NewGRF varaction2 variable 5F.peter1138
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-04(svn r12947) -Fix: keep only first 15 bits for non failed callback resultsglx
2008-04-21(svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does ↵rubidium
it, i.e. testing the low bits for 0xFF or 0 instead of all bits.
2008-04-18(svn r12760) -Fix(r12759): Remove a now useless commentbelugas
2008-03-27(svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only.glx
2008-03-21(svn r12388) -Fix (r12352): Callback 14 (station sprite layout) is a 15-bit ↵maedhros
callback.
2008-03-11(svn r12358) -Fix: Callback 2F returns 15 bit results starting from grf ↵frosch
version 7.
2008-03-10(svn r12352) -Fix: Some callback-results were treated as 8 bit, when they ↵frosch
were 15 bit, and vice versa. Var 0x7E procedure-results are always 15 bit. Callbacks 0x2A, 0x2C, 0x36 (sometimes), 0x39 and 0x145 are 15 bit. Non-varaction2-calculated callback-results are also affected by the 8bit masking.
2008-02-14(svn r12139) -Fix (r12124): The global variable value should be returned, ↵peter1138
not the variable.
2008-02-12(svn r12124) -Codechange: Move newgrf-variables that are common to ↵frosch
VarAction2 and Action7/9/D to their own function. -Fix: Add some variables that were missing in one or both cases.
2008-02-03(svn r12045) -Feature-ette(newGRF): Add support for var 12, Variational Action 2belugas
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-11-11(svn r11412) -Fix (r11403): animation was not turned on properly.rubidium
-Fix (r11410): wrong assumption about random reseeds made the whole thing reseed way too often, making the animation look very ugly.
2007-11-11(svn r11410) -Codechange: implement random triggers for industries.rubidium
2007-09-26(svn r11173) -Codechange: rename some callback enums so they are more uniform.rubidium
2007-09-22(svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt ↵rubidium
to registers 0x100 to 0x10F.
2007-09-22(svn r11141) -Codechange: add support for NewGRF's varaction2 operators 11, ↵rubidium
12 and 13.
2007-09-22(svn r11139) -Codechange: add support for persistent storage for NewGRFs.rubidium
2007-09-22(svn r11138) -Codechange: prepare some subsystems for persistent storage for ↵rubidium
NewGRFs.
2007-09-18(svn r11127) -Fix: truncate the result of 8 bits callbacks.rubidium
2007-09-16(svn r11121) -Fix: clear the temporary NewGRF storage every time we perform ↵rubidium
a callback so it cannot cause desyncs.
2007-08-03(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and ↵rubidium
similarly for AddBlock*.
2007-07-05(svn r10442) -Codechange: implement the industry production callback.rubidium
2007-05-14(svn r9837) -Fix: [NewGRF] Catch occurance of division-by-zero in varaction ↵peter1138
handling.
2007-04-21(svn r9707) -Codechange: Add some support for NewGRF var 7D, temporary ↵peter1138
storage array.
2007-03-22(svn r9400) -Codechange: Use some more representative enum names for ↵belugas
landscape types.
2007-03-21(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.belugas
2007-03-20(svn r9371) -Feature: Add support for variable snow lines in the arctic ↵maedhros
climate, supplied by newgrf files. When this is enabled forests cannot be built below the highest snow line, and farms can't be built above it. Houses still use the _opt.snow_line so they are all consistent, so to make them respect the snowline you may want to use some newhouses features as well.
2007-03-19(svn r9315) -Merge: The newhouses branch. With this merge comes almost ↵maedhros
complete support for the newhouses grf specs, so all newhouses grfs will be playable in the game. Many thanks to everyone who contributed code and ideas, and all the testers who found things we missed.
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-01-12(svn r8081) -Fix (r8075): Use a copy of the resolver object instead of the ↵peter1138
using the existing one. This fixes problems with the object scope setting.