Commit Graph

24 Commits

Author SHA1 Message Date
rubidium 3a195edcad (svn r9853) [0.5] -Backport from trunk (r9837, r9827, r9785, r9775, r9758, r9716):
- Feature: Add server_lang in [network] section of openttd.cfg (r9716)
- Fix: [NewGRF] Catch occurance of division-by-zero in varaction handling (r9837)
- Fix: Only non dedicated servers cannot have 0 players [FS#765] (r9785)
- Fix: Remove arbitrary limit on length of NewGRF strings (r9775)
- Fix: [NewGRF] Ignore axis-bit of station tile layouts [FS#756] (r9758)
2007-05-15 22:02:32 +00:00
matthijs 231111ce3d (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it.
- Codechange: Rename pool.[ch] to oldpool.[ch].
2006-12-03 17:27:43 +00:00
tron 55d6c98f89 (svn r7145) Remove extra semicolons 2006-11-14 11:01:59 +00:00
tron fb878e9345 (svn r7063) static 2006-11-05 08:01:47 +00:00
tron ef862a2973 (svn r6974) use the pool macros for the SpriteGroup pool 2006-10-28 10:55:26 +00:00
peter1138 dd8bd7be0e (svn r6838) - Fix (r6836): MS VC complains beecause it doesn't understand consts... (or I don't...) 2006-10-19 12:21:35 +00:00
truelight b3cf0189a3 (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 2d30e02ba2 (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 e159ada7a2 (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 3cab5f30c0 (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 243872b4fd (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 aada042d57 (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 ce90b70a41 (svn r5087) - NewGRF: Fix thinko in returning a calculated callback result 2006-06-03 19:17:34 +00:00
peter1138 ae8f4f8d9a (svn r4960) - NewGRF: explicitly handle unsupported variables, instead of returning -1. 2006-05-23 19:36:50 +00:00
peter1138 afd69f53f5 (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 8fa9ff068f (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 27e7fbaaa0 (svn r4741) - NewGRF: use the correct variable type for the random bit mask 2006-05-04 19:42:50 +00:00
peter1138 4ef1033287 (svn r4714) - NewGRF: simplify evaluation of 'real' sprite groups. 2006-05-03 15:46:21 +00:00
peter1138 19e3eb6f3c (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 7273bd490d (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 5b5dec4f55 (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 2f3401b487 (svn r4594) - NewGRF: introduce the basic sprite group resolver. This code isn't used yet. 2006-04-27 19:53:58 +00:00
peter1138 2f01c7d990 (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 92d8af75db (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