Commit Graph

10 Commits (b5f433bf4cbbbb45d8487d04d2492ed7e269823d)

Author SHA1 Message Date
peter1138 fc3d714621 (svn r4895) - NewGRF: don't allocate memory for any sprite groups until it is actually needed. 18 years ago
peter1138 d2c015cf2f (svn r4784) - NewGRF: shuffle the mix of signed / unsigned types when dealing with var adjusts. Fixes issues with some station layouts. 18 years ago
peter1138 2280caaef3 (svn r4741) - NewGRF: use the correct variable type for the random bit mask 18 years ago
peter1138 f104da53e1 (svn r4714) - NewGRF: simplify evaluation of 'real' sprite groups. 18 years ago
peter1138 49a825fc43 (svn r4616) - NewGRF: when evaluating a variable adjustment, give our value the correct type after rather than before it has been adjusted. 18 years ago
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) 18 years ago
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. 18 years ago
peter1138 7aaedf0385 (svn r4594) - NewGRF: introduce the basic sprite group resolver. This code isn't used yet. 18 years ago
peter1138 60cc7337e5 (svn r4583) - NewGRF: Revamp sprite group loading to support advanced varadjusts and variable size. These are not yet processed, however. 18 years ago
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.
18 years ago