summaryrefslogtreecommitdiff
path: root/src/oldpool.h
AgeCommit message (Collapse)Author
2008-04-23(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station ↵rubidium
code.
2008-04-23(svn r12855) -Codechange: do not use autoptr's for testing whether certain ↵rubidium
objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though.
2008-04-06(svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify ↵smatz
compiler's decisions about inlining
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-11-26(svn r11530) -Codechange: do not update Tpool->first_free_index for ↵smatz
PoolItems allocated on stack
2007-08-30(svn r11009) -Codechange: unvirtualise IsValid as that isn't needed with ↵rubidium
templates. This gives up to 10% performance increase in games with lots of vehicles.
2007-08-08(svn r10827) -Fix [FS#1112]: out of bounds access in corner case of list ↵rubidium
allocations of vehicles.
2007-08-05(svn r10799) -Fix: only calling QuickFree and not the destructor on pool ↵rubidium
cleanups might cause memory leaks due to the way C++ works.
2007-08-03(svn r10774) -Fix (r10768): obiwan pleased us with a visit.rubidium
2007-08-03(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and ↵rubidium
similarly for AddBlock*.
2007-08-03(svn r10768) -Codechange: allow to specify from which index to search for a ↵rubidium
free pool item.
2007-08-02(svn r10754) -Fix: MorphOS does not like sizeof in the templated pool item ↵rubidium
class, so use the item size that is set in the pool.
2007-08-02(svn r10752) -Fix: apparantly const on function pointers is ignored.rubidium
2007-08-02(svn r10750) -Codechange: make the waypoint struct use the new poolitem ↵rubidium
class as super class.
2007-08-02(svn r10747) -Codechange: add a variable that points to some index in the ↵rubidium
pool that is not beyond the first free pool item. It does not necessarily point to the first free item, but it reduces allocation time as it does not have to start at the first item in the pool to find the first free item.
2007-08-02(svn r10746) -Codechange: add a generic superclass for almost all pool items ↵rubidium
so we do not have to duplicate code for each of the pool item classes and use it for the station and roadstop classes.
2007-08-01(svn r10745) -Codechange: generalize the pool cleanup/initialize functions ↵rubidium
for stations (in such a manner that they can be used for other pools too).
2007-08-01(svn r10744) -Codechange: make the pool a little more OO, so it can be ↵rubidium
easier in other places.
2007-03-21(svn r9390) -Documentation : correct Doxygen of comments and @file ↵belugas
inclusion. This time, brought to you by the letter O
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.