summaryrefslogtreecommitdiff
path: root/newgrf_spritegroup.c
AgeCommit message (Collapse)Author
2006-12-03(svn r7331) - Codechange: Rename all memory pool macro's and types to "old ↵matthijs
pool", so the new pool implementation can be committed alongside it. - Codechange: Rename pool.[ch] to oldpool.[ch].
2006-11-14(svn r7145) Remove extra semicolonstron
2006-11-05(svn r7063) statictron
2006-10-28(svn r6974) use the pool macros for the SpriteGroup pooltron
2006-10-19(svn r6838) - Fix (r6836): MS VC complains beecause it doesn't understand ↵peter1138
consts... (or I don't...)
2006-08-26(svn r6155) -Codechange: split Destroy routine from SpriteGroupPoolCleanBlocktruelight
Last change is to prepare for new pool system.
2006-08-20(svn r6013) -Fix: some newgrf properties returned the date in the new format ↵rubidium
where the newgrf's expect the original format. Thanks to michi_cc for finding these and providing the initial patch.
2006-08-20(svn r5975) -Cleanup: use ORIGINAL_BASE_YEAR & ORIGINAL_MAX_YEAR where the ↵rubidium
functions really depend on the original date format. -Cleanup: use DAYS_TILL_ORIGINAL_BASE_YEAR where the date variables are in the old date format and conversions are needed. -Cleanup: replace one (forgotten) instance of uint16 with Date.
2006-08-16(svn r5926) -Codechange: make _cur_year contain the full year, instead of ↵rubidium
the offset since 1920 -Codechange: store all year related variables that are _not_ stored in a savegame/transported over the network in the same format as _cur_year
2006-08-14(svn r5887) -Cleanup: move date related functions, defines and variables to ↵rubidium
date.[ch] -Cleanup: fix whitespace related coding style issues in date.[ch] -Cleanup: make original comments doxygen compatible and remove/change outdated comments
2006-06-05(svn r5136) Fix various style bugs:tron
- Trailing whitespace - Trailing empty lines - Missing newline at EOF - Missing svn:eol-style native
2006-06-03(svn r5087) - NewGRF: Fix thinko in returning a calculated callback resultpeter1138
2006-05-23(svn r4960) - NewGRF: explicitly handle unsupported variables, instead of ↵peter1138
returning -1.
2006-05-17(svn r4895) - NewGRF: don't allocate memory for any sprite groups until it ↵peter1138
is actually needed.
2006-05-08(svn r4784) - NewGRF: shuffle the mix of signed / unsigned types when ↵peter1138
dealing with var adjusts. Fixes issues with some station layouts.
2006-05-04(svn r4741) - NewGRF: use the correct variable type for the random bit maskpeter1138
2006-05-03(svn r4714) - NewGRF: simplify evaluation of 'real' sprite groups.peter1138
2006-04-29(svn r4616) - NewGRF: when evaluating a variable adjustment, give our value ↵peter1138
the correct type after rather than before it has been adjusted.
2006-04-28(svn r4611) - NewGRF: introduce new vehicle sprite group resolver code. This ↵peter1138
also fixes some known bugs (e.g. the 'Standard Five' in UKRS is now the correct colour)
2006-04-27(svn r4601) - NewGRF: after evalutaing a 'real' group, return the chosen ↵peter1138
group directly instead of resolving it as only callback and spriteid groups are returned.
2006-04-27(svn r4594) - NewGRF: introduce the basic sprite group resolver. This code ↵peter1138
isn't used yet.
2006-04-26(svn r4583) - NewGRF: Revamp sprite group loading to support advanced ↵peter1138
varadjusts and variable size. These are not yet processed, however.
2006-04-20(svn r4486) - NewGRF: Create and use a memory pool to manage sprite groups. ↵peter1138
This reduces the amount of house keeping we do and the chance of memory leaks.