Commit Graph

7447 Commits

Author SHA1 Message Date
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
rubidium
9e918b7980 (svn r10722) -Codechange: unhardcode the positions of strings in the status bar. 2007-07-29 14:06:53 +00:00
peter1138
f975e2e85c (svn r10721) -Fix [FS#1084]: Skip articulated parts of road vehicles during unique name check. 2007-07-29 14:02:27 +00:00
rubidium
76fea51ada (svn r10720) -Codechange: unhardcode the positions of the player toolbar menus. 2007-07-29 14:01:22 +00:00
rubidium
6891998fd7 (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
8cc340681d (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
06291aaaf1 (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
b15bee6dd5 (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
b2c765e620 (svn r10715) -Fix: limited-fs code was broken 2007-07-28 12:45:27 +00:00
glx
05ae4506af (svn r10714) -Fix r10696: MSVC performance warning 2007-07-28 00:19:49 +00:00
KUDr
7a28ccbcf6 (svn r10713) -Cleanup (r10711): too long string buffers, unsafe sprintf used (Darkvater) 2007-07-27 23:49:48 +00:00
KUDr
bcb8169b12 (svn r10712) -Fix (r10711): \0 at the end of string constant (glx) 2007-07-27 22:32:48 +00:00
KUDr
1eda754469 (svn r10711) -Fix [Win32]: take default language from current user's locale on Windows (In-) 2007-07-27 22:19:19 +00:00
rubidium
260932d8ea (svn r10710) -Codechange: allow automatic downsizing of the group window. Same as idea as for the previous commits, i.e. you could already do so but the button would be out of reach. 2007-07-27 22:13:12 +00:00