Commit Graph

7535 Commits

Author SHA1 Message Date
truelight 04824abac6 (svn r10839) -Fix [FS#873]: bring up the assert window for OSX even when there isn't a video-driver loaded (PinguTux) 2007-08-10 13:33:04 +00:00
rubidium 210ba54ff5 (svn r10838) -Fix [FS#1119] (r10698): double negation where only single negation was needed. Patch by frosch. 2007-08-10 13:27:07 +00:00
truelight 6771f5ca20 (svn r10837) -Fix [FS#1102]: DrawLine didn't bound-check the first pixel that was drawn (frosch) 2007-08-10 13:11:53 +00:00
maedhros 61b21547e8 (svn r10836) -Fix [FS#1014]: Make sure the third cargo type accepted by houses is valid in
the current climate when copying properties from existing houses and using
action 0 property 0F.
2007-08-10 08:57:04 +00:00
glx 41e05382b8 (svn r10835) -Fix [FS#998] (r10399): don't try to minimise or restore the window when closing openttd 2007-08-09 20:59:36 +00:00
rubidium 5399a272e6 (svn r10834) -Revert (part of r10833): something too much was committed :( 2007-08-09 05:34:56 +00:00
rubidium 2bff32afb0 (svn r10833) -Fix [FS#1115]: assertion (different cost between test and execution) of overbuilding road tunnels with tram tracks (and vice versa) when the dragged area contains both ends of the tunnel. 2007-08-09 05:25:33 +00:00
miham c4a3087723 (svn r10828) -Update: WebTranslator2 update to 2007-08-08 23:27:26
brazilian_portuguese - 3 changed by fukumori (3)
bulgarian  - 24 fixed by kokobongo (7), thetitan (17)
estonian   - 1 changed by kristjans (1)
german     - 564 changed by Timwi (564)
polish     - 11 fixed, 34 changed by meush (45)
russian    - 1 changed by DarkFenX (1)
2007-08-08 21:28:03 +00:00
rubidium 807b833e4d (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
bjarni a973c893fb (svn r10823) -Fix r8610 [FS#1097]: the autoreplace window vehicle count didn't always update correctly) (Matthias) 2007-08-07 23:07:10 +00:00
truelight fcf9130ee5 (svn r10822) -Fix: OSX makes --endian set to PREPROCESSOR, which wasn't an allowed value, making reconfigures to fail (special commit for Bjarni, now he should fix things too :p) 2007-08-07 20:42:02 +00:00
rubidium 5f920e91c7 (svn r10821) -Cleanup: remove the strings that are not needed anymore since r10820. 2007-08-07 15:22:58 +00:00
rubidium c46e445e69 (svn r10820) -Codechange: make negative currencies red and restore the colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies).
-Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
2007-08-07 15:20:31 +00:00
rubidium a7e37d8592 (svn r10814) -Fix [FS#1103]/Codechange: allow trams to be reverse manually, even though there is no track to do so. 2007-08-06 15:00:32 +00:00
rubidium ab7e36dda7 (svn r10813) -Fix (r10799): some destructors were performing too much during the pool cleanups, which could cause crashes as already removed pool items could then be dereferenced by other destructors. 2007-08-06 14:08:25 +00:00
maedhros e0e361c890 (svn r10812) -Fix (r10097) [FS#1093]: Make RoadVehicle::MarkDirty() mark all parts of articulated vehicles as dirty, not just the front. 2007-08-06 13:44:50 +00:00
maedhros 8c4a4baac1 (svn r10811) -Fix (r10097): Refit all the parts of an articulated road vehicle, not just the first part. 2007-08-06 13:05:45 +00:00
maedhros a43370bf1c (svn r10810) -Fix (r10097): Add a comma between different cargo types if an articulated vehicle carries more than one cargo. 2007-08-06 12:54:03 +00:00
maedhros 68abeed9b8 (svn r10809) -Fix (r10097): When reversing, articulated parts of road vehicles should not attempt to do their own pathfinding. 2007-08-06 12:46:49 +00:00
maedhros 537064d010 (svn r10808) -Fix (r10353): Make sure spectators can't open infrastructure building menus. 2007-08-06 11:58:15 +00:00
rubidium 51f773bd16 (svn r10807) -Fix [FS#1108]: keep_all_autosaves always got ".sav" as filename, which basically means that it only kept the last autosave. 2007-08-06 06:23:44 +00:00
rubidium 83e1fdcb01 (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 ab5fa3add2 (svn r10798) -Fix [FS#1105]: virtual functions do not work in destructors :(. 2007-08-05 17:43:04 +00:00
rubidium f6933e1870 (svn r10792) -Fix [FS#1104]: when determining the gender of a string, do not assume that the gender is in the front of the string when there can be case switching code at that location. 2007-08-05 14:08:38 +00:00
glx 8cea2059a5 (svn r10787) -Fix r10755: _total_towns was not increased when placing town manually in scenario editor 2007-08-04 23:35:27 +00:00
truelight ce9cba5edb (svn r10782) -Fix: wrongly places #endif a long time ago broke WinCE compiling for sure 2007-08-04 13:51:41 +00:00
truelight 424757c078 (svn r10781) -Fix: ported more pieces to WinCE, so it compiles a bit more
-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 12:53:41 +00:00
rubidium cb9d0c69d1 (svn r10780) -Fix: assertion when opening the advanced vehicle list with the shortcut when being a spectator. 2007-08-04 01:25:44 +00:00
rubidium 8037a1cc2d (svn r10779) -Fix: GCC 4.2 makes (by default for -O2, -O3 and -Os) an 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-04 00:45:53 +00:00
truelight b3bed1eda1 (svn r10778) -Fix: one-liners to allow MSVC and WINCE to work together (or anyway, a step towards that goal)
-Fix: put DEBUG lines under WINCE via a function designed for just that under WINCE
2007-08-03 23:26:12 +00:00
truelight c76c4bf6e9 (svn r10777) -Fix: don't put the ctor debug on lvl3, it is more a lvl5 debug 2007-08-03 23:19:29 +00:00
rubidium 727cb6ae49 (svn r10776) -Fix [FS#1081]: you would not pay for some foundations of bridges whereas you would pay for others. 2007-08-03 23:18:56 +00:00
rubidium 2f2df29b7a (svn r10774) -Fix (r10768): obiwan pleased us with a visit. 2007-08-03 20:46:59 +00:00
rubidium 2dd7a5d296 (svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*. 2007-08-03 20:18:38 +00:00
rubidium 9741094464 (svn r10772) -Codechange: also make use of the generic clean and destroy pool callback functions for vehicle. 2007-08-03 20:17:26 +00:00
rubidium 48df8b374c (svn r10771) -Codechange: remove some code duplication from the old loader. 2007-08-03 20:07:43 +00:00
rubidium 836105864c (svn r10770) -Codechange: use the pool item class as super class for the 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 19:36:00 +00:00
rubidium aa9869e2de (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 93bedce286 (svn r10765) -Documentation [FS#1100]: of rail.h. Based on a patch by Progman. 2007-08-03 12:29:56 +00:00
rubidium e9f9980e8f (svn r10764) -Documentation: [FS#1099]: of road.h. Based on a patch by Progman. 2007-08-03 12:16:06 +00:00
rubidium 0f1992b932 (svn r10763) -Documentation [FS#1098]: document direction.h. Patch by Progman. 2007-08-03 12:10:07 +00:00
peter1138 616eb4134e (svn r10762) -Codechange: Change enum StringIDEnum { to static const 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 09:08:49 +00:00
glx d6c915e6a6 (svn r10761) -Fix (FS#1101, r10216): _pal_last_dirty changed to _pal_count_dirty without updating, so it was of by one 2007-08-03 02:21:10 +00:00
rubidium d751ce56cb (svn r10760) -Codechange: make the order struct use the pool item class as super class. 2007-08-02 23:40:19 +00:00
rubidium e4149482ec (svn r10759) -Codechange: make the industry struct use the pool item class as super class. 2007-08-02 23:21:52 +00:00
rubidium 549450d31a (svn r10758) -Codechange: make the depot struct use the pool item class as super class. 2007-08-02 22:33:53 +00:00
rubidium 5016f5497c (svn r10757) -Codechange: make the engine renew struct use the pool item class as super class. 2007-08-02 22:32:47 +00:00
rubidium b15c0efaa9 (svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle). 2007-08-02 21:19:07 +00:00
rubidium db374f600c (svn r10755) -Codechange: make the town struct use the pool item class as super class. 2007-08-02 21:05:54 +00:00
rubidium 472749af66 (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