Commit Graph

7401 Commits

Author SHA1 Message Date
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
rubidium 60a4da9913 (svn r10753) -Codechange: make the sign struct use the pool item class as super class. 2007-08-02 13:27:45 +00:00
rubidium 7ecd937e74 (svn r10752) -Fix: apparantly const on function pointers is ignored. 2007-08-02 13:18:57 +00:00
rubidium 87ad3df284 (svn r10751) -Codechange: make the group struct use the pool item class as super class. 2007-08-02 12:51:57 +00:00
rubidium dd666a80d5 (svn r10750) -Codechange: make the waypoint struct use the new poolitem class as super class. 2007-08-02 12:22:40 +00:00
rubidium cab6275511 (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 fc12fc0140 (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 9009f0aa20 (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 9378e5fd38 (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 aa78685c99 (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 4e96ce3dfe (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 435d39f8fb (svn r10743) -Fix: some typos introduces by copy-pasting. 2007-08-01 19:13:42 +00:00
miham c693a57499 (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 06986b7744 (svn r10736) -Fix: Correct all mispellings of 'successful'. 2007-07-30 13:36:09 +00:00
peter1138 92061aba4e (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 7fb3f54584 (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 d4666b51ee (svn r10732) -Codechange: lower the minimum size for the extra viewport window. 2007-07-29 23:25:17 +00:00
rubidium c4613280d1 (svn r10731) -Codechange: allow smaller initial "build <vehicle type>" windows. 2007-07-29 22:58:59 +00:00
rubidium cffc67aae8 (svn r10730) -Codechange: allow (some) arbitrary data to be send to the WE_CREATE event. 2007-07-29 22:57:40 +00:00
rubidium 809238e634 (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 d17ae2f363 (svn r10728) -Documentation [FS#1088]: of tile.h. Based on a patch by Progman. 2007-07-29 21:43:49 +00:00
rubidium 1ff82506a0 (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 dd0fac984b (svn r10726) -Codechange: make it possible that the chat window is less than 640 pixels. 2007-07-29 19:19:30 +00:00
rubidium 59ff947471 (svn r10725) -Codechange: move some window related code out of gfx.cpp to windows.cpp 2007-07-29 19:18:22 +00:00
peter1138 279ed3a9c1 (svn r10724) -Fix (r10723): Toolbar spacing was off-by-one 2007-07-29 16:43:58 +00:00
rubidium 26c62dc5c0 (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
rubidium ab37af1da5 (svn r10722) -Codechange: unhardcode the positions of strings in the status bar. 2007-07-29 14:06:53 +00:00
peter1138 64ad100db4 (svn r10721) -Fix [FS#1084]: Skip articulated parts of road vehicles during unique name check. 2007-07-29 14:02:27 +00:00
rubidium 8ccb6c2d17 (svn r10720) -Codechange: unhardcode the positions of the player toolbar menus. 2007-07-29 14:01:22 +00:00
rubidium a4898699c5 (svn r10719) -Codechange: since DParams are now 64 bits we should make NUM and COMMA handle writing 64 bit integers to the strings. 2007-07-29 12:13:22 +00:00
rubidium b0f2653eb8 (svn r10718) -Fix (r10698): when having a road corner on a slope removing the road bit perpendicular on the slope made the foundation disappear. 2007-07-29 12:11:50 +00:00
rubidium aeb992ce90 (svn r10717) -Fix: in-game console had a "transparent" part when opened in a game, while it did not in the menu. 2007-07-28 21:00:31 +00:00
rubidium b6c3a127af (svn r10716) -Codechange: not all windows' minimum size is actually their minimum size, so take the size of the window after WE_CREATE has been called as bare minimum size. 2007-07-28 20:59:30 +00:00
truelight 3a45534e4e (svn r10715) -Fix: limited-fs code was broken 2007-07-28 12:45:27 +00:00
glx 94fa0ec289 (svn r10714) -Fix r10696: MSVC performance warning 2007-07-28 00:19:49 +00:00