Commit Graph

7510 Commits

Author SHA1 Message Date
truelight
20db6ee069 (svn r10782) -Fix: wrongly places #endif a long time ago broke WinCE compiling for sure 2007-08-04 13:51:41 +00:00
truelight
8ca03887b9 (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
a2d6ed7347 (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
80a5676783 (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
930bb84242 (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
c02d8ebb09 (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
537025e63b (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
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
9df2e25258 (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
bf8ec55db5 (svn r10771) -Codechange: remove some code duplication from the old loader. 2007-08-03 20:07:43 +00:00
rubidium
b21f29c38f (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
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
c9c2cd8d2e (svn r10765) -Documentation [FS#1100]: of rail.h. Based on a patch by Progman. 2007-08-03 12:29:56 +00:00
rubidium
7cd5c2d860 (svn r10764) -Documentation: [FS#1099]: of road.h. Based on a patch by Progman. 2007-08-03 12:16:06 +00:00
rubidium
cf0d17d03e (svn r10763) -Documentation [FS#1098]: document direction.h. Patch by Progman. 2007-08-03 12:10:07 +00:00
peter1138
23a46a301e (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
f95df6bb61 (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
fcc1ccb99b (svn r10760) -Codechange: make the order struct use the pool item class as super class. 2007-08-02 23:40:19 +00:00
rubidium
2f89fef353 (svn r10759) -Codechange: make the industry struct use the pool item class as super class. 2007-08-02 23:21:52 +00:00
rubidium
c60988a1d5 (svn r10758) -Codechange: make the depot struct use the pool item class as super class. 2007-08-02 22:33:53 +00:00
rubidium
c1d167ae14 (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
99da45988a (svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle). 2007-08-02 21:19:07 +00:00
rubidium
032de036dd (svn r10755) -Codechange: make the town struct use the pool item class as super class. 2007-08-02 21:05:54 +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
f9c6775dfd (svn r10753) -Codechange: make the sign struct use the pool item class as super class. 2007-08-02 13:27:45 +00:00
rubidium
3172f3461d (svn r10752) -Fix: apparantly const on function pointers is ignored. 2007-08-02 13:18:57 +00:00
rubidium
9458905e4c (svn r10751) -Codechange: make the group struct use the pool item class as super class. 2007-08-02 12:51: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
e7d2918c0c (svn r10749) -Codechange: use the generic pool item class as super class for cargo packets, which results in a nice reduction of code duplication. 2007-08-02 10:49:24 +00:00
rubidium
d28f8139ea (svn r10748) -Codechange: call the pool cleanup functions for stations directly instead of using the wrapper functions. 2007-08-02 10:47:43 +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
rubidium
cbd3aca30c (svn r10743) -Fix: some typos introduces by copy-pasting. 2007-08-01 19:13:42 +00:00
miham
415f765006 (svn r10737) -Update: WebTranslator2 update to 2007-07-30 19:33:14
catalan    - 51 changed by arnaullv (51)
german     - 3 changed by chu (3)
polish     - 5 fixed by meush (5)
2007-07-30 17:33:33 +00:00
peter1138
61f94c2d5e (svn r10736) -Fix: Correct all mispellings of 'successful'. 2007-07-30 13:36:09 +00:00
peter1138
9b9bca40b9 (svn r10734) -Fix [FS#1030]: Revert r10513) and add special cases for collision detection on bridges/tunnels. 2007-07-30 08:49:41 +00:00
rubidium
2800a49f03 (svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type. 2007-07-29 23:42:59 +00:00
rubidium
a15df67f9a (svn r10732) -Codechange: lower the minimum size for the extra viewport window. 2007-07-29 23:25:17 +00:00
rubidium
d1590e8f07 (svn r10731) -Codechange: allow smaller initial "build <vehicle type>" windows. 2007-07-29 22:58:59 +00:00
rubidium
2894283a87 (svn r10730) -Codechange: allow (some) arbitrary data to be send to the WE_CREATE event. 2007-07-29 22:57:40 +00:00
rubidium
364d42f2cd (svn r10729) -Fix: some hardware (PS(P|3)) seems to loose the non-blocking state of UDP sockets. 2007-07-29 22:21:26 +00:00
rubidium
932baf8360 (svn r10728) -Documentation [FS#1088]: of tile.h. Based on a patch by Progman. 2007-07-29 21:43:49 +00:00
rubidium
4b75381d49 (svn r10727) -Codechange: when a window would fall outside of the screen (on the right) when opening it, move it to the left so it stays inside the screen. 2007-07-29 20:54:37 +00:00
rubidium
000b582423 (svn r10726) -Codechange: make it possible that the chat window is less than 640 pixels. 2007-07-29 19:19:30 +00:00
rubidium
17370d5ae7 (svn r10725) -Codechange: move some window related code out of gfx.cpp to windows.cpp 2007-07-29 19:18:22 +00:00
peter1138
5e1cd09ea4 (svn r10724) -Fix (r10723): Toolbar spacing was off-by-one 2007-07-29 16:43:58 +00:00
rubidium
39a2f2f4a8 (svn r10723) -Codechange: dynamically sized (width) main toolbars and status bar for when the window becomes less than 640 pixels in width. 2007-07-29 15:48:43 +00:00