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
rubidium
cbdcc7cc3b
(svn r13119) -Codechange: make a class of the timetable window.
17 years ago
rubidium
e7b3c3fa34
(svn r13118) -Codechange: make classes of the EndGameWindow and the HighScoreWindow.
17 years ago
rubidium
5a85fb104e
(svn r13117) -Codechange: make a window class of the PlayerFinancesWindow.
17 years ago
rubidium
804b9f1d3a
(svn r13116) -Codechange: make a window class of the statusbar window.
17 years ago
rubidium
349aec37e6
(svn r13115) -Codechange: make a window subclass of the MessageOptionsWindow.
17 years ago
rubidium
083d7e8726
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
17 years ago
rubidium
5b712cf81e
(svn r13113) -Codechange: make a class of the TownAuthorityWindow.
17 years ago
rubidium
045aaae1c7
(svn r13112) -Codechange: make classes of the patches and custom currency windows.
17 years ago
rubidium
01e79dde73
(svn r13111) -Documentation: update the documentation of AddNewsItem to reflect reality. Patch by Cirdan.
17 years ago
rubidium
2704b12f2b
(svn r13110) -Fix [FS#2018]: some toolbar buttons not being unpressed properly.
17 years ago
rubidium
447ed7a2a5
(svn r13109) -Codechange: make a class out of the CheatWindow.
17 years ago
rubidium
439b328f41
(svn r13108) -Codechange: make a Window subclass of the main toolbars sub menus.
17 years ago
glx
07e10eade8
(svn r13107) -Codechange: make NetworkCompanyPasswordWindow and SelectPlayerFaceWindow children of PlayerCompanyWindow.
17 years ago
rubidium
d87fc4d534
(svn r13106) -Codechange: rework the toolbar code a little so functions do not have to return the Window they just created.
17 years ago
rubidium
7c10fb0023
(svn r13105) -Fix [FS#2015]: the title of a query window would (sometimes) change when the on screen keyboard was opened.
17 years ago
rubidium
6d880ada7f
(svn r13104) -Codechange: make ResetObjectToPlace safe to be called recursively via the OnPlaceObjectAbort callback and use this knowledge to simplify closing some windows.
17 years ago
rubidium
31ab1e815a
(svn r13103) -Codechange: make a class of the PlayerCompanyWindow.
17 years ago
rubidium
ca8d282eff
(svn r13102) -Codechange: make a class of the NewsWindow.
17 years ago
rubidium
f8d02c7d71
(svn r13101) -Codechange: remove a unused global function.
17 years ago
rubidium
373343cef6
(svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
17 years ago
rubidium
c709b8a711
(svn r13099) -Fix [FS#2014]: when a window had children only one of them would be closed (on a parent closure) instead of all children.
17 years ago
rubidium
35c14f45be
(svn r13098) -Fix [FS#2016]: segmentation fault on opening an already opened depot.
17 years ago
glx
7096f20ec5
(svn r13097) -Codechange: make a class of the GameDifficultyWindow.
17 years ago
glx
1c77928886
(svn r13096) -Codechange: resize SelectPlayerLiveryWindow dynamically on _loaded_newgrf_feature.has_2CC changes
17 years ago
glx
3a88f38b65
(svn r13095) -Codechange: make a class of the SelectPlayerLiveryWindow.
17 years ago
rubidium
beb17f743f
(svn r13094) -Fix: closing the QueryWindow would always send a 'query has been cancelled message' even when it was not cancelled causing joining passworded servers/companies to fail.
17 years ago
glx
5704d59314
(svn r13093) -Codechange: make a class of AboutWindow.
17 years ago
glx
e812c8223f
(svn r13092) -Fix (r13042): don't add a variable in a subclass when the parent class already have it
17 years ago
smatz
f0e2d800ee
(svn r13091) -Fix: certain compilers give false warning about uninitialized variable
17 years ago
smatz
2be223fc03
(svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits
17 years ago
smatz
c90cda6c1c
(svn r13089) -Fix (r13072): MorphOS compilation was broken
17 years ago
smatz
9b8d16b7ff
(svn r13088) -Codechange: use SigSegState enum instead of bool variable (michi_cc)
17 years ago
peter1138
2475959196
(svn r13087) -Codechange: Constify CalcPercentVehicleFilled() (michi_cc)
17 years ago
smatz
e4dee736c5
(svn r13086) -Fix: do not crash badly after loading a newgrf with engines in-game that often
17 years ago
glx
ab0aa4e080
(svn r13083) -Fix (r13042): another segmentation fault when OskWindow's parent closes it
17 years ago
glx
015dbc6e7b
(svn r13082) -Fix (r13042): segmentation fault due to too early deletion of OskWindow.
17 years ago
glx
1ce52ef5cb
(svn r13081) -Fix: Empty while-loop warnings from gcc 4.3+
17 years ago
smatz
dac285a74b
(svn r13080) -Fix: warning about unused variable when compiling without asserts
17 years ago
smatz
bea03ab5e7
(svn r13079) -Fix: certain compilers give false warning about uninitialized variable
17 years ago
rubidium
0d2e74fb71
(svn r13078) -Fix: group gui used the vehicle type before it was actually set.
17 years ago
smatz
f92a48c24b
(svn r13077) -Codechange: move function that updates cached num_engines to engine.cpp, make it run only 1 loop
17 years ago
rubidium
316d3fbe1d
(svn r13076) -Fix [FS#2012]: the wrong autoreplace window would be shown if the vehicle isn't a train.
17 years ago
peter1138
2c02810b3a
(svn r13075) -Codechange: Allow any value for a dropdown item instead of just positive.
17 years ago
peter1138
839070028e
(svn r13074) -Fix: For multiheaded engines, halve power and running cost when used instead of when loading, to allow callback values to work properly.
17 years ago
peter1138
3f0895872f
(svn r13073) -Codechange: make classes of the NewGRF windows
17 years ago
smatz
3670a25e3a
(svn r13072) -Fix (r12995): possible out-of-bounds access
17 years ago
rubidium
6ae37e6339
(svn r13071) -Codechange: make also a class of the MainWindow.
17 years ago
rubidium
c18c9689a1
(svn r13070) -Fix (r13069): do save before commit...
17 years ago
rubidium
a7db265bb6
(svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore.
17 years ago
rubidium
c6c908aba5
(svn r13068) -Codechange: make a class of the BuildVehicleWindow.
17 years ago
rubidium
b2fe906015
(svn r13067) -Codechange: make a class of the DepotWindow.
17 years ago
rubidium
962273e242
(svn r13066) -Fix [FS#2005]: loading of TTDP savegames with rivers in them.
17 years ago
rubidium
5d7851e8d6
(svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan.
17 years ago
glx
a3d037956f
(svn r13064) -Codechange: make a class of the SelectPlayerFaceWindow.
17 years ago
belugas
d283521782
(svn r13063) -Fix(13062): Removal of old handler was not followed by removal in descriptor
17 years ago
belugas
27b3767b79
(svn r13062) -Codechange: make a class of the TransparencyToolbar.
17 years ago
glx
a6c4bbccb9
(svn r13061) -Codechange: make a class of the BuildTreesWindow.
17 years ago
glx
eb70da38d0
(svn r13060) -Codechange: update build industry window when raw_industry_construction setting is modified
17 years ago
glx
9f11d3089a
(svn r13058) -Codechange: make a class of the ExtraViewportWindow.
17 years ago
glx
a1a04fcc61
(svn r13055) -Codechange: make a class of SmallMapWindow.
17 years ago
rubidium
d711d21199
(svn r13054) -Codechange: make a class of the PlayerStationsWindow.
17 years ago
rubidium
e414ecdbdf
(svn r13053) -Codechange: station sorting used it's own implementation of GUIList and the associated enums, now it doesn't anymore.
17 years ago
rubidium
4525234df4
(svn r13052) -Codechange: make a class of the DropdownWindow.
17 years ago
rubidium
bcdd9fcfe4
(svn r13051) -Codechange: depot_d belongs in depot_gui.cpp.
17 years ago
glx
cf315d2656
(svn r13050) -Codechange: make a class of IndustryViewWindow.
17 years ago
rubidium
323004da0c
(svn r13049) -Codechange: make a class of the TooltipsWindow.
17 years ago
rubidium
33b830aabe
(svn r13048) -Codechange: make a class of the StationViewWindow.
17 years ago
glx
dacd2c5de8
(svn r13047) -Codechange: remove vp_d
17 years ago
rubidium
ee3c14b344
(svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow.
17 years ago
rubidium
89a60ce249
(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.
17 years ago
rubidium
aa0929351d
(svn r13044) -Fix: deleting an already deleted window.
17 years ago
rubidium
4a46a5cdda
(svn r13043) -Codechange: remove some duplicate variables from news_d.
17 years ago
rubidium
d8a6bb392a
(svn r13042) -Codechange: make a class of CreateScenarioWindow, GenerateLandscapeWindow, NetworkChatWindow, NetworkCompanyPasswordWindow, NetworkGameWindow, NetworkStartServerWindow, QueryStringWindow, SaveLoadWindow. All these classes depended on the 'querystr_d' object which is now put into QueryStringBaseWindow. As a side effect this removes quite a lot of WP macro usages and a few global variables.
17 years ago
rubidium
29ad1d442a
(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.
17 years ago
rubidium
1f70b47e22
(svn r13040) -Codechange: make a class of the NetworkLobbyWindow.
17 years ago
rubidium
dc42908757
(svn r13039) -Codechange: make a class of the Query window.
17 years ago
belugas
914e51546d
(svn r13038) -Fix: When switching the signal gui patch to off, delete the signal window accordingly
17 years ago
rubidium
3651c0585a
(svn r13037) -Codechange: make a class of the ReplaceVehicle window.
...
-Fix [FS#1997]: MSVC 64 bit build failing to compile due to std::vectors being very large..
17 years ago
glx
d706c8b462
(svn r13036) -Codechange: make a class of the BuildIndustry Window.
17 years ago
rubidium
9e0e4c0342
(svn r13035) -Codechange: remove two needless global-ish variables.
17 years ago
rubidium
1853a56291
(svn r13034) -Fix: segmentation fault due do double delete when closing the OSK window in some cases.
17 years ago
smatz
311a3f9675
(svn r13033) -Fix [FS#2003](r13029): land info tool wasn't working
17 years ago
glx
4c98a72745
(svn r13032) -Codechange: make industry view window resizable and truncate strings
17 years ago
rubidium
9410be7b70
(svn r13031) -Codechange: make AssignWidgetToWindow a static function instead of a global one as it should only be used from window.cpp.
17 years ago
rubidium
24c2d9ff5c
(svn r13030) -Codechange: do use MallocT instead of ReallocT when 100% sure that the pointer you are allocating to is NULL. Patch by Alberth.
17 years ago
rubidium
2ac412375c
(svn r13029) -Codechange: more work in the road to getting the WP macros and byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme.
17 years ago
rubidium
f710876037
(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
17 years ago
rubidium
2c96ce4506
(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL.
17 years ago
belugas
8ebfbc2bd3
(svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin)
17 years ago
rubidium
8d0a7f4634
(svn r13025) -Codechange: remove the need for two WindowEvents.
17 years ago
rubidium
0f7d925121
(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
17 years ago
peter1138
edc756697e
(svn r13023) -Revert (r1444): Revert changes to multihead engine weight -- the original values were correct.
17 years ago
smatz
273448436a
(svn r13022) -Fix: driver list wasn't freed, replace by statically allocated one
17 years ago
rubidium
ee0a49c91a
(svn r13021) -Codechange: free data_b for other uses when it is not used to store a second tile to skip to (in news messages). Patch by cirdan.
17 years ago
glx
5c9c8fc199
(svn r13020) -Codechange: make industry directory window horizontally resizable and truncate strings
17 years ago
glx
a8e8329d41
(svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc)
17 years ago
rubidium
fc47683a0b
(svn r13018) -Codechange: make a class of the LandInfo Window.
17 years ago
smatz
b4968c6bea
(svn r13016) -Codechange: unify the detection if rail catenary should be drawn
17 years ago
rubidium
11d36d5e46
(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used.
17 years ago
glx
f492567f66
(svn r13014) -Fix (r13008): mingw revealed some signed/unsigned warnings
17 years ago