truelight
55ab975c36
(svn r6155) -Codechange: split Destroy routine from SpriteGroupPoolCleanBlock
...
Last change is to prepare for new pool system.
2006-08-26 19:47:13 +00:00
rubidium
29c8097986
(svn r6013) -Fix: some newgrf properties returned the date in the new format where the newgrf's expect the original format. Thanks to michi_cc for finding these and providing the initial patch.
2006-08-20 20:21:00 +00:00
rubidium
b7a3352009
(svn r5975) -Cleanup: use ORIGINAL_BASE_YEAR & ORIGINAL_MAX_YEAR where the 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-20 12:39:17 +00:00
rubidium
e87e065e41
(svn r5926) -Codechange: make _cur_year contain the full year, instead of 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-16 11:39:55 +00:00
rubidium
9fc837ad85
(svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
...
-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments
2006-08-14 14:21:15 +00:00
tron
020721565a
(svn r5136) Fix various style bugs:
...
- Trailing whitespace
- Trailing empty lines
- Missing newline at EOF
- Missing svn:eol-style native
2006-06-05 18:10:43 +00:00
peter1138
70c6a0e4c4
(svn r5087) - NewGRF: Fix thinko in returning a calculated callback result
2006-06-03 19:17:34 +00:00
peter1138
1ed3c5778b
(svn r4960) - NewGRF: explicitly handle unsupported variables, instead of returning -1.
2006-05-23 19:36:50 +00:00
peter1138
fc3d714621
(svn r4895) - NewGRF: don't allocate memory for any sprite groups until it is actually needed.
2006-05-17 07:16:49 +00:00
peter1138
d2c015cf2f
(svn r4784) - NewGRF: shuffle the mix of signed / unsigned types when dealing with var adjusts. Fixes issues with some station layouts.
2006-05-08 17:47:35 +00:00
peter1138
2280caaef3
(svn r4741) - NewGRF: use the correct variable type for the random bit mask
2006-05-04 19:42:50 +00:00
peter1138
f104da53e1
(svn r4714) - NewGRF: simplify evaluation of 'real' sprite groups.
2006-05-03 15:46:21 +00:00
peter1138
49a825fc43
(svn r4616) - NewGRF: when evaluating a variable adjustment, give our value the correct type after rather than before it has been adjusted.
2006-04-29 07:26:57 +00:00
peter1138
d23e380d6a
(svn r4611) - NewGRF: introduce new vehicle sprite group resolver code. This also fixes some known bugs (e.g. the 'Standard Five' in UKRS is now the correct colour)
2006-04-28 20:04:57 +00:00
peter1138
e7f401897b
(svn r4601) - NewGRF: after evalutaing a 'real' group, return the chosen group directly instead of resolving it as only callback and spriteid groups are returned.
2006-04-27 23:33:38 +00:00
peter1138
7aaedf0385
(svn r4594) - NewGRF: introduce the basic sprite group resolver. This code isn't used yet.
2006-04-27 19:53:58 +00:00
peter1138
60cc7337e5
(svn r4583) - NewGRF: Revamp sprite group loading to support advanced varadjusts and variable size. These are not yet processed, however.
2006-04-26 20:44:28 +00:00
peter1138
103a2aa116
(svn r4486) - NewGRF: Create and use a memory pool to manage sprite groups. This
...
reduces the amount of house keeping we do and the chance of memory
leaks.
2006-04-20 20:51:57 +00:00