Commit Graph

9194 Commits

Author SHA1 Message Date
rubidium
23fc96c3e8 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 2008-05-08 11:50:34 +00:00
rubidium
2eef026fe3 (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 2008-05-08 11:31:41 +00:00
bjarni
d3650ecb3a (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
02709df7e3 (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
6e6102e20d (svn r13000) -Fix (r12991): broken win9x compilation 2008-05-07 21:51:13 +00:00
rubidium
19910188fa (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
5e1516e486 (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
c990d97291 (svn r12996) -Fix: debugging was not possible with MSVC 2008 2008-05-07 20:10:48 +00:00
smatz
3445b8054c (svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT 2008-05-07 18:31:29 +00:00
smatz
220bc49731 (svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty 2008-05-07 18:14:09 +00:00
smatz
c3822e3a90 (svn r12993) -Fix (r11175): list used for sorting GRFs wasn't freed 2008-05-07 17:36:28 +00:00
smatz
0c4715d825 (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
c2c9121307 (svn r12991) -Codechange: removed some unneeded includes 2008-05-07 14:12:20 +00:00
rubidium
694ba37377 (svn r12990) -Fix: silence the redundanct declaration warning when compiling with iconv. 2008-05-07 13:37:53 +00:00
rubidium
cd7c99452f (svn r12989) -Codechange: move ViewportSign to viewport_type.h. 2008-05-07 13:18:33 +00:00
bjarni
0cfd2baa3c (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
3d5567ccf7 (svn r12987) -Codechange: split viewport and tile selection. 2008-05-07 13:10:15 +00:00
rubidium
7ccda80b0b (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
8fea5a62c9 (svn r12985) -Fix (r12977): [OSX] fixed missing includes in the cocoa files 2008-05-07 08:38:56 +00:00
rubidium
ca4349b517 (svn r12984) -Codechange: some coding style in window.cpp. 2008-05-07 08:27:55 +00:00
belugas
fa8ab829e9 (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
75a87a7266 (svn r12982) -Fix: compiler warning when compiling without asserts 2008-05-06 23:45:25 +00:00
glx
a9d263c459 (svn r12981) -Codechange: remove some useless includes and defines 2008-05-06 23:43:47 +00:00
rubidium
3b9e4f6d17 (svn r12980) -Fix: MorphOS threading support. Patch by Fabien Coeurjoly. 2008-05-06 22:50:55 +00:00
rubidium
eaaf217a96 (svn r12979) -Codechange: support using MORPHOS in sources.list. 2008-05-06 22:42:10 +00:00
rubidium
822c130b70 (svn r12978) -Codechange: "\\0" is not needed for the MorphOS revision string. Patch by tokai. 2008-05-06 22:41:28 +00:00
rubidium
402a1e24ba (svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations. 2008-05-06 22:17:12 +00:00
rubidium
9bf519f26b (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
e6c944a6c4 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 2008-05-06 21:28:30 +00:00
rubidium
46a0ebe1d9 (svn r12974) -Codechange: check whether loading/saving highscores goes as it should be. 2008-05-06 21:07:47 +00:00
peter1138
c025d7a152 (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
780db88e99 (svn r12972) -Fix (r12971): forgot to close a comment 2008-05-06 15:36:55 +00:00
rubidium
d03994098b (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
fb938a2cb3 (svn r12970) -Codechange: coding style for some function names 2008-05-06 15:06:19 +00:00
rubidium
fb1db90cc6 (svn r12969) -Codechange: remove a completely pointless file. 2008-05-06 14:24:33 +00:00
maedhros
8da41ec62e (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
7e1ac0ce57 (svn r12967) -Fix (r12966): my lang update script failed 2008-05-05 23:04:24 +00:00
glx
e326a03c4c (svn r12966) -Update: apply english.txt changes from r12965 to other languages 2008-05-05 22:52:49 +00:00
glx
963dce0d47 (svn r12965) -Codechange: add support for callback 37 in industries directory window 2008-05-05 22:42:06 +00:00
glx
e7678a03cc (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
rubidium
50516f2372 (svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop. 2008-05-05 22:35:33 +00:00
smatz
71800aa7c6 (svn r12962) -Fix (r12961): forgot one break 2008-05-05 22:22:12 +00:00
smatz
c9cf1d4cee (svn r12961) -Codechange: store the type of savegame we are loading in a global variable 2008-05-05 22:03:01 +00:00
rubidium
56e1178dca (svn r12960) -Codechange: handle return values of (some) file system related functions. 2008-05-05 21:54:05 +00:00
glx
1050f07ed1 (svn r12959) -Fix: don't assume no production when the first produced cargo is invalid in industries directory 2008-05-05 21:09:03 +00:00
peter1138
22aa011b57 (svn r12958) -Codechange: Allocate sprites reserved by GRM in advance of 'Action 1' sprites, giving much less chance of GRM reservation failure if lots of NewGRF sets are loaded. 2008-05-05 19:02:10 +00:00
rubidium
f200fc3b99 (svn r12957) -Codechange: do not misuse snprintf when you just want to copy a string, also use DEBUG instead of fprintf in one case. 2008-05-05 18:27:57 +00:00
belugas
0eab2c07c2 (svn r12956) -Codechange: Code-style application on switch-case aligment 2008-05-05 16:05:36 +00:00
smatz
72120a48c4 (svn r12955) -Fix (r12858): compilation with desync debug was broken 2008-05-05 15:07:09 +00:00
peter1138
4595d2c3b1 (svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items. 2008-05-05 11:36:43 +00:00