rubidium
28ea38ae55
(svn r14949) -Cleanup: pointer coding style
2009-01-10 00:31:47 +00:00
rubidium
ee45f0fb03
(svn r14935) -Fix [FS#2498]: the new operator may not return NULL, so don't.
2009-01-09 15:01:15 +00:00
rubidium
c1ed1866a4
(svn r14547) -Fix: order pool seemed to look full when it was not as it only checked whether it was possible to allocate a new block of pool items instead of checking for free pool items.
2008-10-30 12:32:32 +00:00
rubidium
6e397dd3f0
(svn r14463) -Fix [FS#2348]: small possible chance of desync due to sorting on pointer instead of by (station) index (PhilSophus)
2008-10-14 12:07:14 +00:00
rubidium
1ce0b03bf0
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
2008-05-06 15:11:33 +00:00
rubidium
2b85217bfe
(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code.
2008-04-23 22:16:41 +00:00
rubidium
d56827a9a9
(svn r12855) -Codechange: do not use autoptr's for testing whether certain 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-23 20:56:08 +00:00
smatz
76eaed68a0
(svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining
2008-04-06 23:49:45 +00:00
rubidium
8ebdfb258f
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
2007-12-21 19:21:21 +00:00
smatz
12321687d1
(svn r11530) -Codechange: do not update Tpool->first_free_index for PoolItems allocated on stack
2007-11-26 22:56:30 +00:00
rubidium
5ff81aca18
(svn r11009) -Codechange: unvirtualise IsValid as that isn't needed with templates. This gives up to 10% performance increase in games with lots of vehicles.
2007-08-30 20:40:33 +00:00
rubidium
1f73e795e1
(svn r10827) -Fix [FS#1112]: out of bounds access in corner case of list allocations of vehicles.
2007-08-08 14:18:05 +00:00
rubidium
8f719a7b2d
(svn r10799) -Fix: only calling QuickFree and not the destructor on pool cleanups might cause memory leaks due to the way C++ works.
2007-08-05 21:20:55 +00:00
rubidium
ff2f17d1e8
(svn r10774) -Fix (r10768): obiwan pleased us with a visit.
2007-08-03 20:46:59 +00:00
rubidium
655b2048e5
(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*.
2007-08-03 20:18:38 +00:00
rubidium
7e9594e0a5
(svn r10768) -Codechange: allow to specify from which index to search for a free pool item.
2007-08-03 18:34:47 +00:00
rubidium
2c9e166e7e
(svn r10754) -Fix: MorphOS does not like sizeof in the templated pool item class, so use the item size that is set in the pool.
2007-08-02 21:02:57 +00:00
rubidium
3172f3461d
(svn r10752) -Fix: apparantly const on function pointers is ignored.
2007-08-02 13:18:57 +00:00
rubidium
53e6da1752
(svn r10750) -Codechange: make the waypoint struct use the new poolitem class as super class.
2007-08-02 12:22:40 +00:00
rubidium
e44c760084
(svn r10747) -Codechange: add a variable that points to some index in the 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 10:47:00 +00:00
rubidium
4fd5be7f2a
(svn r10746) -Codechange: add a generic superclass for almost all pool items 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-02 08:47:56 +00:00
rubidium
508ac563a0
(svn r10745) -Codechange: generalize the pool cleanup/initialize functions for stations (in such a manner that they can be used for other pools too).
2007-08-01 23:49:06 +00:00
rubidium
0ab03b835b
(svn r10744) -Codechange: make the pool a little more OO, so it can be easier in other places.
2007-08-01 22:10:54 +00:00
belugas
4d86aa2479
(svn r9390) -Documentation : correct Doxygen of comments and @file inclusion. This time, brought to you by the letter O
2007-03-21 15:19:33 +00:00
rubidium
979ccd45ba
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
2007-03-07 12:11:48 +00:00
rubidium
4169bfba06
(svn r9050) -Codechange: Foo(void) -> Foo()
2007-03-07 11:47:46 +00:00
rubidium
a7d0cdf95f
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
2007-01-10 18:56:51 +00:00
rubidium
013df98f79
(svn r7759) -Merge: makefile rewrite. This merge features:
...
- 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.
2007-01-02 19:19:48 +00:00