Commit Graph

9442 Commits

Author SHA1 Message Date
skidd13
f1c954e842 (svn r13359) -Codechange: convert _fios_items to a SmallVector
-Cleanup: some reincarnations of _fios_items in the code
2008-06-02 14:19:27 +00:00
rubidium
8cb2f63851 (svn r13358) -Codechange: split next order determination and conditional order processing functionality from the order handling. Patch based on work by michi_cc. 2008-06-02 08:33:38 +00:00
rubidium
5189877e3d (svn r13357) -Codechange: add constness to YAPF. 2008-06-02 06:44:06 +00:00
peter1138
24562da11b (svn r13356) -Codechange: Incorrect documentation and variable type for inflation rates 2008-06-02 06:42:27 +00:00
smatz
9cf0c8c96d (svn r13354) -Codechange: make 8bpp_optimized blitter ~25% faster in encoding and ~15% faster in drawing (depends on architecture) 2008-06-01 19:36:55 +00:00
smatz
69ebefe1ac (svn r13351) -Codechange: disable warnings about unused variable for builds without asserts 2008-06-01 15:08:14 +00:00
glx
4623846515 (svn r13350) -Fix: wrong tooltip for waypoint picker scrollbar 2008-06-01 13:23:40 +00:00
rubidium
f0f4e9d6ec (svn r13349) -Codechange: remove a pointless flag; the flag is set before calling a function and is then reset in the function without ever reading it. Patch by Cirdan. 2008-06-01 10:11:31 +00:00
rubidium
723792cf08 (svn r13348) -Fix: an industry does not always need foundations; in the case of NewGRFs an industry can be built on a steep slope, however when 'querying' the foundation type of an industry we neglected the fact that these steep slope tiles do not have a foundation. As a result of this when one built a structure requiring foundations on a tile SW or SE of a steep slope industry tile it would try to apply the foundation on the steep slope to determine whether to draw the wall of the foundation and trigger an assert. 2008-05-31 22:43:42 +00:00
glx
fa81f5412f (svn r13347) -Fix (r12396): ottdres.rc.in was forgotten 2008-05-31 22:12:53 +00:00
rubidium
224ca68fb5 (svn r13346) -Fix (r13322): scrolling the main viewport with keyboard when having a build tool selected failed. 2008-05-30 21:06:43 +00:00
rubidium
20228809f0 (svn r13345) -Codechange: only one of all the NewsItem's instance duration variable, so move it so there is only once instance of that variable. Patch by Cirdan. 2008-05-30 20:57:19 +00:00
rubidium
387f4cfbe1 (svn r13344) -Codechange: remove some code duplication. 2008-05-30 20:08:32 +00:00
rubidium
bae02e8c67 (svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers. 2008-05-30 18:20:26 +00:00
rubidium
026afc097a (svn r13342) -Fix: smallvec.h/sortlist_type.h didn't include everything they needed. 2008-05-30 09:32:24 +00:00
rubidium
8cc39500ba (svn r13341) -Codechange: make most of the network settings configurable via the patch command. 2008-05-30 09:23:05 +00:00
rubidium
fe9ce6eac4 (svn r13339) -Feature: splitting of the main toolbar when the resolution becomes very low so the buttons are still visible and useable. Patch by Dominik. 2008-05-29 23:33:37 +00:00
rubidium
6efcd64912 (svn r13338) -Doc: add documentation about the window placement. Patch by Alberth. 2008-05-29 22:22:02 +00:00
rubidium
7526ee09a1 (svn r13337) -Doc: add documentation to some variables in settings_type.h. 2008-05-29 21:36:29 +00:00
rubidium
2bcc9d4d49 (svn r13336) -Fix: loading old savegames, e.g. the intro game, would reset the autosave settings. 2008-05-29 21:36:10 +00:00
rubidium
d36ff6af5a (svn r13335) -Fix: remove rogue (debugging) printf. 2008-05-29 21:35:49 +00:00
rubidium
02dbab8721 (svn r13334) -Codechange: move the network settings variables from network/network_internal to settings. 2008-05-29 20:21:28 +00:00
rubidium
4b2c2521f9 (svn r13333) -Fix: compilance without networking enabled. 2008-05-29 19:58:17 +00:00
rubidium
0a78ad46fa (svn r13332) -Fix (r13325): network games got somewhat broken. 2008-05-29 19:06:54 +00:00
peter1138
7f8d9148b8 (svn r13331) -Fix (r12924): Wrong include type for (sdt::)map 2008-05-29 17:54:02 +00:00
smatz
713923cd7e (svn r13330) -Fix: 'Player name' dialog was broken in two ways 2008-05-29 17:01:42 +00:00
skidd13
c624a20a32 (svn r13328) -Fix (r13327): Don't access an item when there isn't any 2008-05-29 16:47:22 +00:00
skidd13
73cf52a7c4 (svn r13327) -Codechange: NetworkGameWindow uses GUILists Sort() now 2008-05-29 16:37:26 +00:00
rubidium
e7a501100a (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 2008-05-29 15:13:28 +00:00
peter1138
48e20d8012 (svn r13323) -Codechange: scrollbars are not refresh counters 2008-05-29 11:47:56 +00:00
rubidium
4151d68480 (svn r13322) -Codechange: _no_scroll belongs more with the window code. 2008-05-29 11:13:11 +00:00
rubidium
4a3dd37582 (svn r13321) -Codechange: move some GUI/viewport related functions out op openttd.cpp to viewport.cpp/window.cpp. 2008-05-29 10:16:59 +00:00
rubidium
793ac8baa4 (svn r13320) -Codechange: move some enums from openttd.h to more logical locations. 2008-05-29 09:54:47 +00:00
peter1138
698a51a41e (svn r13319) -Codechange: Remove use of imaginary horizontal scrollbar in the group vehicle list 2008-05-29 07:34:40 +00:00
rubidium
3716f4814d (svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to window_gui.h/window.cpp because they belong there. 2008-05-29 06:49:56 +00:00
rubidium
d3d0432314 (svn r13317) -Codechange: make news messages use a linked list instead of a moving circular buffer. This makes it possible to store more news messages in the history. Based on a patch by Cirdan.
-Codechange: the number of news messages is reduced by removing every news message that is a configurable amount older than when it would not be shown in the newspaper popup/ticker, which is e.g. a month for industry production changes and half a year for subsidy offers. As a result the more important messages will stay longer in the message history (if longer than 30 messages).
2008-05-28 21:36:16 +00:00
rubidium
f88349843a (svn r13316) -Codechange: move some functions around to make them grouped more logically. 2008-05-28 20:13:28 +00:00
peter1138
05465d4d9a (svn r13315) -Fix (r13314): Assert if no engines or wagons available 2008-05-28 20:06:00 +00:00
peter1138
c61baba819 (svn r13314) -Codechange: Switch EngineList from std::vector to GUIList 2008-05-28 17:29:27 +00:00
peter1138
4ab659e29b (svn r13313) -Fix-ish (r13306): List was copied in another place the autoreplace gui... 2008-05-28 17:08:45 +00:00
skidd13
5f3aeb6670 (svn r13312) -Update: apply english.txt changes from r13311 to other languages 2008-05-28 16:50:05 +00:00
skidd13
4f7e14b6fb (svn r13311) -Codechange: Use GUIList for the industry directory window
-Codechange: Replaced the four sort buttons by a dropdown
-Codechange: Reduced the default window size
2008-05-28 16:45:00 +00:00
smatz
3f000be670 (svn r13310) -Fix: invalidate OSK when parent editbox changes (from keyboard) 2008-05-28 15:28:27 +00:00
rubidium
f740702f90 (svn r13309) -Fix: the difficulty settings from the savegame would be reset by the ones of the intro game. 2008-05-28 14:36:06 +00:00
peter1138
692d799696 (svn r13308) -Fix (r13307): projects/generate... 2008-05-28 11:56:44 +00:00
peter1138
f731b31eda (svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h 2008-05-28 11:56:21 +00:00
peter1138
f97403803b (svn r13306) -Fix (r8362): Pass engine list by pointer instead of making a copy of it. 2008-05-28 10:29:48 +00:00
peter1138
9a78083c8a (svn r13305) -Fix (r13039): Confirmation window sent both yes and no answers instead of just yes. 2008-05-28 06:30:55 +00:00
smatz
f505e4e407 (svn r13304) -Fix (r13042): possible double free (showed up in r13092) 2008-05-27 23:40:36 +00:00
smatz
47c22cffce (svn r13303) -Fix (r13301): 64bit gcc compilation was broken 2008-05-27 23:10:42 +00:00