Commit Graph

9154 Commits

Author SHA1 Message Date
rubidium
11d36d5e46 (svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used. 2008-05-08 14:14:16 +00:00
glx
f492567f66 (svn r13014) -Fix (r13008): mingw revealed some signed/unsigned warnings 2008-05-08 14:04:52 +00:00
rubidium
db37b017ef (svn r13013) -Fix: GCC 4.3 warning about a clobbering mask due to longjmp. This can't be solved by using exceptions because the longjmp is needed for PNG (C-code) handling. 2008-05-08 13:51:15 +00:00
rubidium
88e96a5638 (svn r13012) -Fix (r13011): the PlaceProc that was moved depended on another function... 2008-05-08 13:48:34 +00:00
rubidium
2c5db97704 (svn r13011) -Codechange: move PlaceProc_BuyLand out of rail_gui.cpp to the place where it is used and remove some unneeded globalisations of some other PlaceProc functions. 2008-05-08 13:30:50 +00:00
rubidium
0c30e46c9c (svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp. 2008-05-08 13:29:35 +00:00
rubidium
8b9ffbe158 (svn r13009) -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h. 2008-05-08 13:21:55 +00:00
glx
a28ea38653 (svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings 2008-05-08 13:20:54 +00:00
rubidium
298ce62338 (svn r13007) -Fix: some files in source.list where in the wrong category. 2008-05-08 13:06:12 +00:00
rubidium
f3d184aee4 (svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there. 2008-05-08 12:59:47 +00:00
rubidium
92aac531c2 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 2008-05-08 11:50:34 +00:00
rubidium
51cda2252c (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 2008-05-08 11:31:41 +00:00
bjarni
5a7fcf9aa3 (svn r13002) -Fix (r13001): [autoreplace] previous fix broke updating of a pointer to the front vehicle in certain cases
Now it's updated when it's the front vehicle and it's every time it's the front vehicle and only if it's the front vehicle (nomatter if the replacement works or not)
2008-05-07 23:00:11 +00:00
bjarni
addcd2bb2e (svn r13001) -Fix [FS#1994](r12913): [autoreplace] we should stop working on vehicles right away if we fail to replace them and certainly not presume their data is valid 2008-05-07 22:08:20 +00:00
glx
d58b5e3caa (svn r13000) -Fix (r12991): broken win9x compilation 2008-05-07 21:51:13 +00:00
rubidium
054552a30b (svn r12999) -Fix [FS#1995]: when a Window got deleted on a double click event, we should not send a click event to the now non-existant Window as that causes segfaults. 2008-05-07 21:45:27 +00:00
rubidium
874d1ecfed (svn r12998) -Fix: -Wredundant_decls sees "friend" declarations as redundant declarations in GCC 2.95, so only use if for GCC >= 3. 2008-05-07 21:42:17 +00:00
glx
73feef0eed (svn r12996) -Fix: debugging was not possible with MSVC 2008 2008-05-07 20:10:48 +00:00
smatz
8a422e34df (svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT 2008-05-07 18:31:29 +00:00
smatz
cc107fe0f9 (svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty 2008-05-07 18:14:09 +00:00
smatz
b6ec43896d (svn r12993) -Fix (r11175): list used for sorting GRFs wasn't freed 2008-05-07 17:36:28 +00:00
smatz
7927da8fab (svn r12992) -Fix (r12976): main toolbar wasn't marked dirty when a child combobox was destroyed 2008-05-07 15:53:58 +00:00
glx
97cb66d099 (svn r12991) -Codechange: removed some unneeded includes 2008-05-07 14:12:20 +00:00
rubidium
c2256c46f1 (svn r12990) -Fix: silence the redundanct declaration warning when compiling with iconv. 2008-05-07 13:37:53 +00:00
rubidium
e38e1aa631 (svn r12989) -Codechange: move ViewportSign to viewport_type.h. 2008-05-07 13:18:33 +00:00
bjarni
c2a54a60bb (svn r12988) -Fix [FS#1992](r12913): [autoreplace] failing to replace a road vehicle could free it's slot without the vehicle knowing it (leading to assert) 2008-05-07 13:11:33 +00:00
rubidium
c28ce39e3c (svn r12987) -Codechange: split viewport and tile selection. 2008-05-07 13:10:15 +00:00
rubidium
e0e1bf76a2 (svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers. 2008-05-07 09:07:19 +00:00
bjarni
3c82dd6550 (svn r12985) -Fix (r12977): [OSX] fixed missing includes in the cocoa files 2008-05-07 08:38:56 +00:00
rubidium
43328ced46 (svn r12984) -Codechange: some coding style in window.cpp. 2008-05-07 08:27:55 +00:00
belugas
343a1e6afd (svn r12983) -Codechange [FS#1987] : Unification of all dynamite tools calls to only one. Thanks to Roujin 2008-05-07 00:04:40 +00:00
smatz
93861e78a3 (svn r12982) -Fix: compiler warning when compiling without asserts 2008-05-06 23:45:25 +00:00
glx
3ba47883c0 (svn r12981) -Codechange: remove some useless includes and defines 2008-05-06 23:43:47 +00:00
rubidium
6007500faf (svn r12980) -Fix: MorphOS threading support. Patch by Fabien Coeurjoly. 2008-05-06 22:50:55 +00:00
rubidium
a18cf206c5 (svn r12979) -Codechange: support using MORPHOS in sources.list. 2008-05-06 22:42:10 +00:00
rubidium
93441ad552 (svn r12978) -Codechange: "\\0" is not needed for the MorphOS revision string. Patch by tokai. 2008-05-06 22:41:28 +00:00
rubidium
c27f3cfa62 (svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations. 2008-05-06 22:17:12 +00:00
rubidium
9db77e3808 (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 2008-05-06 22:08:18 +00:00
rubidium
8796331d83 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 2008-05-06 21:28:30 +00:00
rubidium
7b6ce158fe (svn r12974) -Codechange: check whether loading/saving highscores goes as it should be. 2008-05-06 21:07:47 +00:00
peter1138
9e977b78ff (svn r12973) -Codechange: Rename GRMSpriteEntry to GRFLocation, as it is not necessarily specific to GRM sprites... 2008-05-06 17:24:27 +00:00
glx
4e29eedb85 (svn r12972) -Fix (r12971): forgot to close a comment 2008-05-06 15:36:55 +00:00
rubidium
1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 2008-05-06 15:11:33 +00:00
glx
1b9197d6dd (svn r12970) -Codechange: coding style for some function names 2008-05-06 15:06:19 +00:00
rubidium
1ed3ea4705 (svn r12969) -Codechange: remove a completely pointless file. 2008-05-06 14:24:33 +00:00
maedhros
28e1da6c5d (svn r12968) -Fix: Don't segfault when adding a server if 0.0.0.0 was entered for the address. 2008-05-06 10:31:50 +00:00
glx
3260abec08 (svn r12967) -Fix (r12966): my lang update script failed 2008-05-05 23:04:24 +00:00
glx
6509e5ff8a (svn r12966) -Update: apply english.txt changes from r12965 to other languages 2008-05-05 22:52:49 +00:00
glx
7da190c1e0 (svn r12965) -Codechange: add support for callback 37 in industries directory window 2008-05-05 22:42:06 +00:00
glx
7f8f70f6f0 (svn r12964) -Codechange: rewrite callback 37 related code so it will be easier to add supported windows 2008-05-05 22:37:40 +00:00