summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-08-06(svn r10813) -Fix (r10799): some destructors were performing too much during ↵rubidium
the pool cleanups, which could cause crashes as already removed pool items could then be dereferenced by other destructors.
2007-08-06(svn r10812) -Fix (r10097) [FS#1093]: Make RoadVehicle::MarkDirty() mark all ↵maedhros
parts of articulated vehicles as dirty, not just the front.
2007-08-06(svn r10811) -Fix (r10097): Refit all the parts of an articulated road ↵maedhros
vehicle, not just the first part.
2007-08-06(svn r10810) -Fix (r10097): Add a comma between different cargo types if an ↵maedhros
articulated vehicle carries more than one cargo.
2007-08-06(svn r10809) -Fix (r10097): When reversing, articulated parts of road ↵maedhros
vehicles should not attempt to do their own pathfinding.
2007-08-06(svn r10808) -Fix (r10353): Make sure spectators can't open infrastructure ↵maedhros
building menus.
2007-08-06(svn r10807) -Fix [FS#1108]: keep_all_autosaves always got ".sav" as ↵rubidium
filename, which basically means that it only kept the last autosave.
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-05(svn r10798) -Fix [FS#1105]: virtual functions do not work in destructors :(.rubidium
2007-08-05(svn r10792) -Fix [FS#1104]: when determining the gender of a string, do not ↵rubidium
assume that the gender is in the front of the string when there can be case switching code at that location.
2007-08-04(svn r10787) -Fix r10755: _total_towns was not increased when placing town ↵glx
manually in scenario editor
2007-08-04(svn r10782) -Fix: wrongly places #endif a long time ago broke WinCE ↵truelight
compiling for sure
2007-08-04(svn r10781) -Fix: ported more pieces to WinCE, so it compiles a bit moretruelight
-Fix: WinCE doesn't support console -Fix: Set debug lvl4 when running a debug WinCE build (as you can't give parameters any easy way)
2007-08-04(svn r10780) -Fix: assertion when opening the advanced vehicle list with the ↵rubidium
shortcut when being a spectator.
2007-08-04(svn r10779) -Fix: GCC 4.2 makes (by default for -O2, -O3 and -Os) an ↵rubidium
assumption that signed integers do not overflow, whereas it is very likely that some of the legacy code does so. It furthermore breaks with the assumed standard (the behaviour is not actually defined in the standard) about the behaviour when signed integers wrap.
2007-08-03(svn r10778) -Fix: one-liners to allow MSVC and WINCE to work together (or ↵truelight
anyway, a step towards that goal) -Fix: put DEBUG lines under WINCE via a function designed for just that under WINCE
2007-08-03(svn r10777) -Fix: don't put the ctor debug on lvl3, it is more a lvl5 debugtruelight
2007-08-03(svn r10776) -Fix [FS#1081]: you would not pay for some foundations of ↵rubidium
bridges whereas you would pay for others.
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 r10772) -Codechange: also make use of the generic clean and destroy ↵rubidium
pool callback functions for vehicle.
2007-08-03(svn r10771) -Codechange: remove some code duplication from the old loader.rubidium
2007-08-03(svn r10770) -Codechange: use the pool item class as super class for the ↵rubidium
vehicle struct. -Codechange: do not force "special" vehicles to be allocated in the low 1024 vehicle slots and non "special" vehicles in the rest of the slots.
2007-08-03(svn r10768) -Codechange: allow to specify from which index to search for a ↵rubidium
free pool item.
2007-08-03(svn r10765) -Documentation [FS#1100]: of rail.h. Based on a patch by Progman.rubidium
2007-08-03(svn r10764) -Documentation: [FS#1099]: of road.h. Based on a patch by Progman.rubidium
2007-08-03(svn r10763) -Documentation [FS#1098]: document direction.h. Patch by Progman.rubidium
2007-08-03(svn r10762) -Codechange: Change enum StringIDEnum { to static const ↵peter1138
StringID = for each STR_ entry. This avoids the need for a cast to StringID in some places and thus better type-safety.
2007-08-03(svn r10761) -Fix (FS#1101, r10216): _pal_last_dirty changed to ↵glx
_pal_count_dirty without updating, so it was of by one
2007-08-02(svn r10760) -Codechange: make the order struct use the pool item class as ↵rubidium
super class.
2007-08-02(svn r10759) -Codechange: make the industry struct use the pool item class ↵rubidium
as super class.
2007-08-02(svn r10758) -Codechange: make the depot struct use the pool item class as ↵rubidium
super class.
2007-08-02(svn r10757) -Codechange: make the engine renew struct use the pool item ↵rubidium
class as super class.
2007-08-02(svn r10756) -Codechange: use vehicle->IsValid in favour of ↵rubidium
IsValidVehicle(vehicle).
2007-08-02(svn r10755) -Codechange: make the town struct use the pool item class as ↵rubidium
super class.
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 r10753) -Codechange: make the sign struct use the pool item class as ↵rubidium
super class.
2007-08-02(svn r10752) -Fix: apparantly const on function pointers is ignored.rubidium
2007-08-02(svn r10751) -Codechange: make the group struct use the pool item class as ↵rubidium
super class.
2007-08-02(svn r10750) -Codechange: make the waypoint struct use the new poolitem ↵rubidium
class as super class.
2007-08-02(svn r10749) -Codechange: use the generic pool item class as super class for ↵rubidium
cargo packets, which results in a nice reduction of code duplication.
2007-08-02(svn r10748) -Codechange: call the pool cleanup functions for stations ↵rubidium
directly instead of using the wrapper functions.
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-08-01(svn r10743) -Fix: some typos introduces by copy-pasting.rubidium
2007-07-30(svn r10737) -Update: WebTranslator2 update to 2007-07-30 19:33:14miham
catalan - 51 changed by arnaullv (51) german - 3 changed by chu (3) polish - 5 fixed by meush (5)
2007-07-30(svn r10736) -Fix: Correct all mispellings of 'successful'.peter1138
2007-07-30(svn r10734) -Fix [FS#1030]: Revert r10513) and add special cases for ↵peter1138
collision detection on bridges/tunnels.