rubidium
c97a045f57
(svn r13489) -Fix: first determine where to *exactly* build a house before asking a NewGRF whether the location is good instead of possibly moving the house a tile after the NewGRF said the location is good.
17 years ago
smatz
fe6f09e66e
(svn r13488) -Fix (r13485): track wasn't removed on company bankrupcy when there was a ship on lower halftile
17 years ago
rubidium
e2bcbd5c50
(svn r13485) -Fix: let ships also navigate on half-tile sloped watery rail tiles.
17 years ago
peter1138
1c79b92989
(svn r13482) -Codechange: Use "extended bytes" in Actions 3 and 4 for vehicles
17 years ago
smatz
ea4c46da99
(svn r13481) -Codechange: add 'B' keyboard shortcut to build aqueduct (planetmaker)
17 years ago
rubidium
8e7f5072ce
(svn r13480) -Fix [FS#2050]: RVs stoppping at drive through stations of other companies.
17 years ago
smatz
52e1ca3ba3
(svn r13479) -Codechange: don't use word 'bridge' for aqueducts that often
17 years ago
smatz
a3e0078ef2
(svn r13478) -Codechange: don't use GetBridgeSpec() for aqueducts
17 years ago
smatz
c009a253dc
(svn r13477) -Fix (r13464): correct tile type in the Query tile info window
17 years ago
rubidium
e4675ed05e
(svn r13476) -Fix: draw canal borders for locks and when directly next to a aquaduct entrace but under the aqueduct.
17 years ago
smatz
6d4474d819
(svn r13475) -Fix (r13464): crash on destroying aquaduct with ship on in and on company bankrupt
17 years ago
glx
7b8b5f9a8d
(svn r13472) -Backport (r13467 from NoAI): make CmdRemoveRoadStop use p2 as documented (only look at bit 0, not at the complete value)
17 years ago
rubidium
7ccf05ff35
(svn r13469) -Codechange: add support for loading Action 0x05, type 0F: "tracks for slopes". It's not useful right now, but it will be in the future.
17 years ago
rubidium
6f550fc4ca
(svn r13468) -Fix: make aqueducts a little more expensive than normal bridges and disable terraforming of aqueduct bridgeheads; one can't terraform normal canal tiles either.
17 years ago
rubidium
137f2c072a
(svn r13466) -Fix (r13464): slope checking got lost during development...
17 years ago
rubidium
ee843728bf
(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
17 years ago
smatz
2475d0010b
(svn r13462) -Codechange: move DriverFactoryBase destructor definition from header file (saves ~16kB)
17 years ago
smatz
506cde94b6
(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places
17 years ago
belugas
0e78f51801
(svn r13446) -Fix(r13443): changed the var previously introduced from 69 to 46, as no param was required (thanks frosch)
17 years ago
smatz
4ce73a679c
(svn r13445) -Codechange: make 32bpp_optimized blitter ~10-20% faster in drawing (depends on architecture and compiler)
17 years ago
rubidium
199b3d7886
(svn r13444) -Codechange: make the order GUI somewhat more efficient. The most used options can be done with a single click now.
17 years ago
belugas
ff419b7182
(svn r13443) -Feature[newGRF]: Add var 0x69 for industries, long format construction date.
...
Same as var B0, but base year is now 0, instead of 1920
17 years ago
belugas
03e2d30a33
(svn r13437) -Feature[newGRF]: Add long format introduction and maximum construction year for house.
17 years ago
smatz
e1d2cd6983
(svn r13434) -Fix (r13317): news window with invalid news item could be shown
17 years ago
rubidium
35f3284a60
(svn r13433) -Codechange: remove a now useless global variable.
...
-Fix: MP advertising was not advertising.
17 years ago
rubidium
b9eea93237
(svn r13419) -Fix [FS#2063]: Entries in the bridge list were not sorted when the window was just opened.
17 years ago
rubidium
f80d8dbe0c
(svn r13417) -Fix (r12945, r13413): freeing the ThreadObjects in a manner that hopefully doesn't cause crashes.
17 years ago
rubidium
b830e6c714
(svn r13413) -Codechange: remove some enums that haven't been used for years.
17 years ago
truebrain
e767b4f778
(svn r13412) -Add: OTTDThreadTerminateFunc, for all thread systems, which is called when a thread is terminated. Now GenWorld- and SaveLoad-thread cleanup theirselves correctly, while Fibers don't (as that causes access-violations)
17 years ago
rubidium
4657ae97fc
(svn r13411) -Codechange: remove the return value from the thread procs because it is never used.
17 years ago
rubidium
d49a86cf48
(svn r13409) -Fix: division by zero when one would press 'd' (skip order) when there's no order.
17 years ago
rubidium
e2adaf59b2
(svn r13408) -Codechange: some stricter checking.
17 years ago
miham
f8c6872d45
(svn r13400) -Update: WebTranslator2 update to 2008-06-07 18:14:28
...
korean - 8 fixed, 16 changed by leejaeuk5 (24)
romanian - 5 fixed, 185 changed by CrystyB (190)
russian - 1 changed by Smoky555 (1)
17 years ago
frosch
5dd1387508
(svn r13397) -Fix: Do not crash when resolving vehicle sprite groups with zero sprites.
17 years ago
glx
6d3f35af8f
(svn r13396) -Fix (r13375): assertion failing when changing grfs in game (compatible grfs)
17 years ago
glx
b60a1326bf
(svn r13390) -Codechange: introduce usererror() for fatal but not openttd related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
17 years ago
rubidium
bb758700a8
(svn r13389) -Codechange: remove NM_CALLBACK because that information could be gathered from the fact that a callback has been specified. Patch by Cirdan.
17 years ago
peter1138
0a41936df8
(svn r13388) -Codechange: Remove "my invented flag for something that is a wagon"
17 years ago
rubidium
5990a92bca
(svn r13387) -Fix: industry directory sorting not working correctly (= != ==)
17 years ago
rubidium
e8767f730a
(svn r13386) -Fix: global currency/units setting being overriden when loading a savegame.
17 years ago
peter1138
ecfac35ccc
(svn r13385) -Fix (r12137): In the purchase list, CB36 for capacity was not called for the first part of rail and road vehicles.
17 years ago
miham
9096f8ac55
(svn r13384) -Update: WebTranslator2 update to 2008-06-05 08:15:43
...
brazilian_portuguese - 9 fixed, 6 changed by tucalipe (15)
catalan - 9 fixed by arnaullv (9)
croatian - 13 fixed by knovak (13)
czech - 33 fixed by Hadez (33)
danish - 47 fixed by ThomasA (47)
dutch - 9 fixed by habell (9)
estonian - 42 fixed, 5 changed by kristjans (47)
finnish - 5 fixed, 1 changed by kerba (6)
french - 9 fixed, 2 changed by glx (8), belugas (3)
icelandic - 75 fixed by scrooge (75)
italian - 9 fixed, 12 changed by lorenzodv (21)
korean - 76 fixed, 15 changed by leejaeuk5 (91)
portuguese - 7 fixed by izhirahider (7)
romanian - 97 fixed, 302 changed by CrystyB (399)
russian - 12 fixed by Smoky555 (12)
spanish - 12 fixed by eusebio (12)
swedish - 13 fixed by ChrillDeVille (6), daishan (7)
turkish - 39 fixed, 1 changed by jnmbk (40)
ukrainian - 10 fixed by mad (10)
17 years ago
belugas
c39997508e
(svn r13383) -Codechange: Put the cost of house removal in a class member
17 years ago
glx
f4b1d4b48b
(svn r13380) -Fix (r13327): MSVC signed/unsigned warning
17 years ago
glx
d74eac6211
(svn r13379) -Fix (r13255): drive side can't be changed in intro
17 years ago
smatz
1f1eea4873
(svn r13378) -Fix (r13375): compilation without network support was broken
17 years ago
peter1138
d4bf483ecd
(svn r13377) -Codechange: Let 'long format' build year work in vehicle purchase list.
17 years ago
belugas
840db9bcf0
(svn r13376) -Feature: Add access to current long year and date from Action 7/9/D and VarAction2 (23/24 or A3/A4)
...
Add access to (long format) building year, in Variational Action2 Variable 49 for Vehicles
17 years ago
smatz
1f55797fe3
(svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details
17 years ago
peter1138
1b7fcf0171
(svn r13374) -Fix (r13364): Some common compilers do not yet support 9 year old specifications.
17 years ago
smatz
d67416088e
(svn r13373) -Fix (r10210): loading of very old savegames was broken
17 years ago
peter1138
c0d206f505
(svn r13372) -Cleanup: Excessive whitespace
17 years ago
peter1138
76bae9f8dd
(svn r13371) -Fix (r4510 ... r12924): Engine array size is not related to the ID used when setting a vehicle's name (it is vehicle type specific). Instead just test for a generic string.
17 years ago
rubidium
a315054443
(svn r13370) -Codechange: move the VARDEF stuff from openttd.h to variables.h so one doesn't need to include openttd.h before variables.h.
17 years ago
rubidium
994779e9e2
(svn r13369) -Codechange: remove duplication of network configuration settings between NetworkSettings and NetworkGameInfo.
...
-Fix: failure of changing the server password during games because the password wasn't duplicated properly.
17 years ago
belugas
0cf79d70d0
(svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date
17 years ago
belugas
f7b79916e8
(svn r13367) -Codechange: Allow CircularTileSearch function to return the tile where search has been successful, or INVALID_TILE if it has not
17 years ago
smatz
e40c7f66d8
(svn r13366) -Fix: clicking in the Subsidies window was broken
17 years ago
rubidium
678f2baf76
(svn r13365) -Fix: don't segfault on trying to set a non-existing patch setting.
17 years ago
peter1138
64410681db
(svn r13364) -Codechange: Refactor action 3 mapping to use grf_load_*() instead of direct byte array access.
17 years ago
peter1138
93f8ff955c
(svn r13363) -Codechange: Code duplication tidy up
17 years ago
smatz
c1619d1321
(svn r13362) -Fix: make the town authority window a bit less glitchy
17 years ago
glx
679ca6af52
(svn r13361) -Fix (r13360): regexp failed
17 years ago
skidd13
8b3db22075
(svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc()
17 years ago
skidd13
f1c954e842
(svn r13359) -Codechange: convert _fios_items to a SmallVector
...
-Cleanup: some reincarnations of _fios_items in the code
17 years ago
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.
17 years ago
rubidium
5189877e3d
(svn r13357) -Codechange: add constness to YAPF.
17 years ago
peter1138
24562da11b
(svn r13356) -Codechange: Incorrect documentation and variable type for inflation rates
17 years ago
smatz
9cf0c8c96d
(svn r13354) -Codechange: make 8bpp_optimized blitter ~25% faster in encoding and ~15% faster in drawing (depends on architecture)
17 years ago
smatz
69ebefe1ac
(svn r13351) -Codechange: disable warnings about unused variable for builds without asserts
17 years ago
glx
4623846515
(svn r13350) -Fix: wrong tooltip for waypoint picker scrollbar
17 years ago
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.
17 years ago
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.
17 years ago
glx
fa81f5412f
(svn r13347) -Fix (r12396): ottdres.rc.in was forgotten
17 years ago
rubidium
224ca68fb5
(svn r13346) -Fix (r13322): scrolling the main viewport with keyboard when having a build tool selected failed.
17 years ago
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.
17 years ago
rubidium
387f4cfbe1
(svn r13344) -Codechange: remove some code duplication.
17 years ago
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.
17 years ago
rubidium
026afc097a
(svn r13342) -Fix: smallvec.h/sortlist_type.h didn't include everything they needed.
17 years ago
rubidium
8cc39500ba
(svn r13341) -Codechange: make most of the network settings configurable via the patch command.
17 years ago
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.
17 years ago
rubidium
6efcd64912
(svn r13338) -Doc: add documentation about the window placement. Patch by Alberth.
17 years ago
rubidium
7526ee09a1
(svn r13337) -Doc: add documentation to some variables in settings_type.h.
17 years ago
rubidium
2bcc9d4d49
(svn r13336) -Fix: loading old savegames, e.g. the intro game, would reset the autosave settings.
17 years ago
rubidium
d36ff6af5a
(svn r13335) -Fix: remove rogue (debugging) printf.
17 years ago
rubidium
02dbab8721
(svn r13334) -Codechange: move the network settings variables from network/network_internal to settings.
17 years ago
rubidium
4b2c2521f9
(svn r13333) -Fix: compilance without networking enabled.
17 years ago
rubidium
0a78ad46fa
(svn r13332) -Fix (r13325): network games got somewhat broken.
17 years ago
peter1138
7f8d9148b8
(svn r13331) -Fix (r12924): Wrong include type for (sdt::)map
17 years ago
smatz
713923cd7e
(svn r13330) -Fix: 'Player name' dialog was broken in two ways
17 years ago
skidd13
c624a20a32
(svn r13328) -Fix (r13327): Don't access an item when there isn't any
17 years ago
skidd13
73cf52a7c4
(svn r13327) -Codechange: NetworkGameWindow uses GUILists Sort() now
17 years ago
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.
17 years ago
peter1138
48e20d8012
(svn r13323) -Codechange: scrollbars are not refresh counters
17 years ago
rubidium
4151d68480
(svn r13322) -Codechange: _no_scroll belongs more with the window code.
17 years ago
rubidium
4a3dd37582
(svn r13321) -Codechange: move some GUI/viewport related functions out op openttd.cpp to viewport.cpp/window.cpp.
17 years ago
rubidium
793ac8baa4
(svn r13320) -Codechange: move some enums from openttd.h to more logical locations.
17 years ago
peter1138
698a51a41e
(svn r13319) -Codechange: Remove use of imaginary horizontal scrollbar in the group vehicle list
17 years ago
rubidium
3716f4814d
(svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to window_gui.h/window.cpp because they belong there.
17 years ago
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).
17 years ago
rubidium
f88349843a
(svn r13316) -Codechange: move some functions around to make them grouped more logically.
17 years ago
peter1138
05465d4d9a
(svn r13315) -Fix (r13314): Assert if no engines or wagons available
17 years ago
peter1138
c61baba819
(svn r13314) -Codechange: Switch EngineList from std::vector to GUIList
17 years ago
peter1138
4ab659e29b
(svn r13313) -Fix-ish (r13306): List was copied in another place the autoreplace gui...
17 years ago
skidd13
5f3aeb6670
(svn r13312) -Update: apply english.txt changes from r13311 to other languages
17 years ago
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
17 years ago
smatz
3f000be670
(svn r13310) -Fix: invalidate OSK when parent editbox changes (from keyboard)
17 years ago
rubidium
f740702f90
(svn r13309) -Fix: the difficulty settings from the savegame would be reset by the ones of the intro game.
17 years ago
peter1138
f731b31eda
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
17 years ago
peter1138
f97403803b
(svn r13306) -Fix (r8362): Pass engine list by pointer instead of making a copy of it.
17 years ago
peter1138
9a78083c8a
(svn r13305) -Fix (r13039): Confirmation window sent both yes and no answers instead of just yes.
17 years ago
smatz
f505e4e407
(svn r13304) -Fix (r13042): possible double free (showed up in r13092)
17 years ago
smatz
47c22cffce
(svn r13303) -Fix (r13301): 64bit gcc compilation was broken
17 years ago
rubidium
adabce3d11
(svn r13302) -Fix (r13301): GCC doesn't necessarily like what MSVC likes...
17 years ago
rubidium
33e18c236d
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
17 years ago
skidd13
0682b03046
(svn r13299) -Fix (r13286): Stations sort type isn't updated correctly
17 years ago
smatz
459239c9d2
(svn r13298) -Codechange: remove unused _total_signs
17 years ago
peter1138
6c7e6861f8
(svn r13297) -Codechange: Use GUIList for the town directory window
17 years ago
smatz
f538282f7a
(svn r13296) -Fix (r13276): VL_FIRST_SORT was never reset
17 years ago
smatz
ff7104865f
(svn r13295) -Codechange: remove now redundant check
17 years ago
skidd13
6180112c90
(svn r13294) -Codechange: convert the inheritance of GUIList in IndustryDirectoryWindow to a member object
17 years ago
smatz
8c8b002dd6
(svn r13293) -Fix (r13226): airport far from a town generated too much noise
17 years ago
glx
382c45120b
(svn r13292) -Fix (r13285): MSVC warnings
17 years ago
peter1138
44dd8955d1
(svn r13291) -Fix (r13266): qsort passed wrong sizeof data
17 years ago
peter1138
1272c55991
(svn r13287) -Codechange: move engine list gui code away from engine.cpp (and its headers) to engine_gui.cpp
17 years ago
skidd13
831343435c
(svn r13286) -Codechange: GUIList Sort returns now if the list sequence has been altered
17 years ago
skidd13
49010369d2
(svn r13285) -Codechange: station sorting uses GUILists Sort() now
17 years ago
skidd13
2094baf537
(svn r13283) -Codechange: convert the inheritance of GUIList in PlayerStationsWindow to a member object
17 years ago
smatz
33dc3165be
(svn r13280) -Fix (r13276): MSVC compilation was broken
17 years ago
smatz
691bf29724
(svn r13279) -Codechange: simplify condition for terminating loop when reversing list order
17 years ago
peter1138
855336a1e6
(svn r13278) -Fix: Missing call to FindWindowPlacementAndResize() for drop down lists
17 years ago
rubidium
290b3bd3cc
(svn r13277) -Fix: opntitle 'jumping' to the temperate climate when closing the NewGRF settings window.
17 years ago
smatz
f2a5b2556c
(svn r13276) -Codechange: use qsort() for initial sorting of a list for better performance (credits go to skidd13 and peter1138)
17 years ago
smatz
75568d2df9
(svn r13275) -Fix: sort lists with 2 items, too
...
-Fix: reset VL_RESORT and resort timer even when no sort was needed
17 years ago
glx
b3d7ca0ceb
(svn r13273) -Fix [FS#2042]: MSVC warnings (again)
17 years ago
skidd13
16cee252a7
(svn r13271) -Codechange: groups sorting uses GUILists Sort() now
17 years ago
peter1138
0434e83e91
(svn r13270) -Codechange: There is no need to clear lists in the window constructor
17 years ago
skidd13
c3dd9d864e
(svn r13269) -Codechange: build bridge window uses GUILists Sort() now
...
-Cleanup: make some globals part of the build bridge window
17 years ago
skidd13
f202f1dda6
(svn r13267) -Codechange: extend GUIList with a GnomeSort
17 years ago
peter1138
781b90ac91
(svn r13266) -Codechange: Use SmallVector in GUIList
17 years ago
smatz
d969edaa8f
(svn r13260) -Fix: linked terraform toolbar wasn't marked dirty after moving
17 years ago
peter1138
bd5f782c61
(svn r13259) -Fix: Subsidy text could still overflow
17 years ago
rubidium
690c83edba
(svn r13258) -Codechange: add support for using (most) of the old patch names in the console.
17 years ago
belugas
2ed98629d7
(svn r13257) -Fix(r13226): Typo has found its way on the code... Thanks cirdan
17 years ago
rubidium
c4c440cc20
(svn r13256) -Codechange: merge the OPTS and PATS chuncks.
...
-Codechange: split the diff_custom variable.
-Feature: allow changing some of the diff_custom variables via the console in network games.
17 years ago
rubidium
d289464d69
(svn r13255) -Codechange: move _opt to _settings.
17 years ago
smatz
8d60206684
(svn r13254) -Fix: waypoint orders could have invalid flags set after conversion
17 years ago
smatz
115f4d6d51
(svn r13253) -Codechange: simplify conversion of old orders a bit
17 years ago
smatz
b4bfcd8118
(svn r13252) -Fix: when converting orders from older savegames, set 'Unload and leave empty' for 'Unload' orders
17 years ago
rubidium
dc77647ea4
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
...
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
17 years ago
peter1138
26ee8f3ca1
(svn r13250) -Codechange: Use VehicleList in SendAllVehiclesToDepot()
17 years ago
smatz
c9ef11159f
(svn r13249) -Fix [FS#2039]: make industry sorting by transported percentage more consistent
17 years ago
peter1138
6d65ce0c8b
(svn r13248) -Codechange: Use VehicleList for depot GUI.
17 years ago
rubidium
c5e38037f0
(svn r13247) -Codechange: small amount of coding style for settings.cpp.
17 years ago
peter1138
449a03be4b
(svn r13246) -Fix (r13245): incorrect parameters to memcpy
17 years ago
peter1138
bcd05a4bce
(svn r13245) -Codechange: Use SmallVectors for generating vehicle lists, simplifying calling code somewhat.
17 years ago
smatz
8d51e95c44
(svn r13244) -Fix: allow only one town directory window to be opened
17 years ago
rubidium
ce821b1ada
(svn r13242) -Codechange: remove _opt_ptr.
17 years ago
peter1138
4ea34e778c
(svn r13241) -Codechange: Simplify CmdDepotSellAllVehicles() a bit
17 years ago
peter1138
0a9e8854ec
(svn r13240) -Codechange: More const-ness for GUI code.
17 years ago
smatz
7672a059c9
(svn r13239) -Fix: certain compilers give false warning about uninitialized variable
17 years ago
frosch
7fbfe54c74
(svn r13234) -Fix: Check/affect town rating when removing/bulldozing town-owned road under drivethrough stops.
...
-Fix: Reset the 'town-owned-road'-flag when removing and rebuilding road under drivethrough stops.
17 years ago
frosch
8f104a2e97
(svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by RoadOwner.
...
-Fix: Before evaluating RoadOwner, check if the roadtype is present.
-Fix: Some places assumed that MP_ROAD means normal street.
17 years ago
peter1138
ca244cbd06
(svn r13232) -Codechange: Simplify BuildDepotVehicleList()
17 years ago
rubidium
eb3347e9d8
(svn r13231) -Codechange: split the core console code and the console GUI.
17 years ago
frosch
9da2cd6e02
(svn r13230) -Fix [FS#2030](r13171): When closing toolbars, also close their PickerWindows.
17 years ago
rubidium
080af12d8b
(svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums.
17 years ago
rubidium
bf3b61cfa3
(svn r13228) -Codechange: split console.h.
17 years ago
peter1138
5f625acb1a
(svn r13227) -Codechange: Apply code style
17 years ago
belugas
08671d2e78
(svn r13226) -Feature: Allow to have more than only two airports per town. The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is.
...
Initial concept : TTDPatch (moreairpots), Initial code : Pasky
Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
17 years ago
peter1138
cfc45e97ab
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
...
of windows causing 'two stage' opening effect.
17 years ago
rubidium
7ba02ef2b0
(svn r13224) -Fix (r13107): set the location of the old SelectPlayerFaceWindow when switching from simple to advanced or vice versa instead of letting the new window popup somewhere 'randomly'.
17 years ago
smatz
8841f3be40
(svn r13222) -Change: allow old AI building helistations and helidepots for oil rig routes
17 years ago
smatz
9e2490abb2
(svn r13221) -Fix (r8747): old AI failed to build oil rig routes
17 years ago
smatz
baeb6e5395
(svn r13217) -Fix: old AI was building small airports in years when they were not available in original game, causing small planes and helis everywhere
17 years ago
smatz
11e80b2794
(svn r13216) -Codechange [FS#2026]: enumify and comment Editor Terraform Toolbar widgets (Roujin)
17 years ago
smatz
6a4dad27fe
(svn r13215) -Codechange [FS#2029]: enumify and comment Build Dock widgets (Roujin)
17 years ago
belugas
47f1263fd8
(svn r13210) -Codechange: make town (previously named t) a private member of the different Town guis and assign it only once, at creation
17 years ago
belugas
165df7420b
(svn r13209) -Codechange: Privatize what should be private.
17 years ago
smatz
0df8060a64
(svn r13208) -Fix (r13173): it was possible to open invalid submenu from dropdowns
17 years ago
smatz
6b4f70099e
(svn r13207) -Fix: misleading comments (michi_cc)
17 years ago
frosch
7f80552293
(svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window.
17 years ago
peter1138
42f78d2fc3
(svn r13205) -Codechange: Remove unnecessary code-style-buggering-up macro.
17 years ago
glx
41adc28093
(svn r13202) -Fix (r13149): MSVC signed/unsigned warning
17 years ago
smatz
c1e45bcb01
(svn r13191) -Fix: segfault after confirming query subwindow in the Generate New World window
17 years ago
smatz
ebe6a8b0df
(svn r13190) -Cleanup: remove unused variable
17 years ago
rubidium
162e2e074b
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
17 years ago
rubidium
ad29064cf3
(svn r13184) -Codechange: make a window class of the signs list.
17 years ago
rubidium
df6446c07c
(svn r13183) -Codechange: make a window class of the VehicleViewWindow.
17 years ago
rubidium
8560c8f16f
(svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth.
17 years ago
rubidium
03f1292332
(svn r13181) -Codechange: make news callback handling a little simpler. Patch by Cirdan.
17 years ago
peter1138
b9cfaa6637
(svn r13180) -Codechange: make a window class of the TownDirectoryWindow.
17 years ago
smatz
17e4e33aee
(svn r13179) -Fix (r13173): r13178 applies to the main toolbar in Scenario Editor, too
17 years ago
smatz
d00d718b41
(svn r13178) -Fix (r13173): the main toolbar didn't respect patch settings, it was always positioned on the right side
17 years ago
belugas
5f0c2b27be
(svn r13177) -Fix[FS#2002]: Using level tool in scenario editor makes tiles brown. That is the only tool that does so in Scenario Editor (apart dynamite, of course).Report and Fix by Roujin
17 years ago
smatz
1d9ad55eda
(svn r13176) -Fix (r13153): town window was glitchy while opening
17 years ago
glx
4e11e0785a
(svn r13175) -Fix (r13174): sorting criteria and order for industry directory was always reset on window opening
17 years ago
glx
dc1c529a31
(svn r13174) -Codechange: make a class of the IndustryDirectoryWindow.
17 years ago
rubidium
01a569f0d7
(svn r13173) -Codechange: make windows of the main toolbars.
17 years ago
rubidium
c2014c8250
(svn r13172) -Codechange: make a window class of the terraform toolbars.
17 years ago
rubidium
d60d22f45f
(svn r13171) -Codechange: make a class of the Build[Air|Rail|Road|Dock]ToolbarWindows.
17 years ago
rubidium
3f53c2fd0e
(svn r13170) -Codechange: make classes of the EnginePreview and BuyCompany windows.
17 years ago
rubidium
a21d3fc63b
(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.
17 years ago
smatz
23b9852480
(svn r13168) -Fix (r13072): forgot to 'fix' EngList_SortPartial() together with EngList_Sort()
17 years ago
rubidium
97293e5cbb
(svn r13167) -Codechange: prepend _ to a global variable.
17 years ago
rubidium
78eb7d66b1
(svn r13166) -Codechange: CmdSetRoadDriveSide belongs in road_cmd.cpp, not settings_gui.cpp.
17 years ago
rubidium
3ee2556585
(svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
17 years ago
glx
dc69a7c51b
(svn r13163) -Codechange: remove unused code
17 years ago
smatz
119b892f95
(svn r13162) -Fix (r13160): trees couldn't be planted, correct function wasn't overloaded
17 years ago
glx
ca27e25ab0
(svn r13161) -Fix: free the blitter list when the last blitter is removed.
17 years ago
rubidium
4d5b9e38d6
(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent.
17 years ago
skidd13
cbd09e4f57
(svn r13159) -Feature: Add the ability to sort availible bridges in the build bridge GUI
17 years ago
rubidium
6891469e87
(svn r13158) -Codechange: make a class of the GameOptionsWindow.
17 years ago
rubidium
9155d641cb
(svn r13156) -Codechange: make classes of the GraphWindows.
17 years ago
rubidium
77059f7b5d
(svn r13155) -Codechange: make a window class of the company league and graph legenda windows.
17 years ago
rubidium
8846d4380f
(svn r13154) -Codechange: make a window class of the news message history window.
17 years ago
rubidium
4268afe340
(svn r13153) -Codechange: make classes of the TownViewWindow and the ScenarioEditorTownGenerationWindow.
17 years ago
rubidium
37386287f8
(svn r13152) -Codechange: make a class of the subsidy window.
17 years ago
rubidium
d284ba2283
(svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
17 years ago
glx
b101faea20
(svn r13150) -Codechange: make classes of the Music[TrackSelection]Window.
17 years ago
skidd13
bd742920b4
(svn r13149) -Codechange: make a class of the BuildBridgeWindow.
17 years ago
glx
fb97874bc7
(svn r13148) -Codechange: make a class of the SelectGameWindow.
17 years ago
rubidium
4db10034fd
(svn r13147) -Codechange: move the code to draw bankruptcy news to news_gui.cpp.
17 years ago
rubidium
8ff56af53d
(svn r13146) -Codechange: vehicle_base.h doesn't need to be included in vehicle_gui.h.
17 years ago
glx
107371a26b
(svn r13145) -Codechange: make classes of the BuildDocks[Depot|Station]Window.
17 years ago
glx
e0e2b4b55a
(svn r13144) -Codechange: make classes of the BuildRoad[Depot|Station]Window.
17 years ago
smatz
acd36adf0b
(svn r13143) -Fix (r13142): the Build Waypoint window wasn't resized when it was opened
17 years ago
glx
f9935785f7
(svn r13142) -Codechange: make classes of the Build[RailDepot|RailStation|RailWaypoint|Signal]Window
17 years ago
rubidium
ac8f0fdc7b
(svn r13141) -Codechange: remove an unused variable from Window.
17 years ago
rubidium
ad6e52080c
(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp.
17 years ago
rubidium
a89b5721a8
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
17 years ago
rubidium
7f6ccdc624
(svn r13138) -Codechange: remove the need for IsWindowOfPrototype.
17 years ago
rubidium
baff68179c
(svn r13137) -Fix: do not send rcon commands of the server to the first client but do directly execute those on the server.
17 years ago
rubidium
a21692bdc1
(svn r13136) -Codechange: make a window class of the console window.
17 years ago
rubidium
6f45805af0
(svn r13135) -Codechange: make a class of the NetworkJoinStatusWindow.
17 years ago
belugas
47d9a8aa21
(svn r13134) -Codechange: make a class of the Airport Picker Window.
17 years ago
belugas
835a5fcf43
(svn r13133) -Codechange: Add a base class (descending from Window) for all new windows that are going to require a ResetObjectToPlace to be performed on closing.
...
This will allow to free the said window only once, and not twice otherwise
17 years ago
glx
a4c5f94658
(svn r13132) -Codechange: make a class of the GenerateProgressWindow.
17 years ago
glx
0e9eb5bacb
(svn r13131) -Codechange: make a class of the ErrmsgWindow.
17 years ago
rubidium
758f4a358d
(svn r13130) -Codechange: remove some of the (old) WindowEvent wrapper functions/enums/variables as they are not used anymore.
17 years ago
rubidium
0b61b6c1d0
(svn r13129) -Codechange: remove the WP macro and it's related variables.
17 years ago
peter1138
e03193f9d7
(svn r13128) -Codechange: Make a class of the refit window
17 years ago
glx
6741af92d3
(svn r13127) -Fix (r13122): of course WIN32_LEAN_AND_MEAN excludes too much stuff
17 years ago
glx
0cab2cade2
(svn r13126) -Fix (r13022) [FS#2009, FS#2010]: driver list should be dynamically allocated as static uninitialistion order is undetermined. The list is freed when the latest driver is removed.
17 years ago
bjarni
13954aaaff
(svn r13125) -Fix [FS#2000](r12913): [autoreplace] failing replacement and restoring a vehicle will no longer decrease the vehicle count in groups
17 years ago
glx
892759c396
(svn r13124) -Codechange: make a class of the OrdersWindow.
17 years ago
rubidium
483ad8d02a
(svn r13123) -Codechange: passing the bankrupt type via data_b is not needed anymore. Patch by Cirdan.
17 years ago
glx
bbb9dafa32
(svn r13122) -Fix: WIN32_LEAN_AND_MEAN define is needed for all WIN32 compilers
17 years ago
rubidium
adb5a09cb3
(svn r13121) -Codechange: make a class of the PerformanceRatingDetailWindow.
17 years ago
rubidium
a7c7067c4f
(svn r13120) -Codechange: make a class of the VehicleDetailsWindow.
17 years ago