skidd13
f95cee3057
(svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for resolution sorting
17 years ago
skidd13
dd5f4f0a2c
(svn r13522) -Codechange: Replace the qsort of the highscore with one of the internal sorters
17 years ago
skidd13
1ddafcadd2
(svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for CompanyLeagueWindow
17 years ago
smatz
704c9be0b8
(svn r13520) -Fix (r13375): pointer has to be valid before it can be loaded to (SLE_STR)
17 years ago
belugas
237a6f554a
(svn r13519) -Feature[newGRF]: Implement var 63, variational action2 variable for Houses.
...
Or, in more simple terms, the check for the animation frame of nearby house.
17 years ago
frosch
8bc42a8c2f
(svn r13518) -Fix [FS#2083]: Properly count number of non-north housetiles.
17 years ago
skidd13
03854bf27c
(svn r13517) -Add: remaining used typesafe versions of the mem* functions from <string.h>
17 years ago
skidd13
96fc91baf3
(svn r13516) -Codechange: Move MemCpyT to a fitting core header
...
-Codechange: Split the sorting code from the sortlist to an appropriate header
17 years ago
belugas
bf9a32b475
(svn r13515) -Codechange: Widget enumification for scenario editor
17 years ago
belugas
8cbb17384d
(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)
17 years ago
belugas
bcb71a011e
(svn r13513) -Codechange: Give proper message when building a river fails.
...
Give proper description of a river tile with the Query Tool.
Extracted (in part) from FS#1884, by Ammler
17 years ago
glx
fd08e7b51a
(svn r13508) -Fix (r7733): incorrect usage of strtoul
17 years ago
peter1138
24d35c58b7
(svn r13507) -Fix (r12856): first engine change should've been moved too
17 years ago
rubidium
f2404ac20f
(svn r13505) -Fix: clear the memory for the new AI during the loading of a savegame so it does not try to execute commands generated in a different savegame, which could be resulting in the AI trying to give orders to stations that do not exist.
17 years ago
belugas
5d828d8eee
(svn r13504) -Codechange: enumify some widgets for scenario editor. More work is required.
17 years ago
belugas
3d07e5ca10
(svn r13503) -Fix(r13173)[FS#2073]: Wrong widget numbers & event handlers were assigned to the zoom in and out buttons in the scenario editor
17 years ago
smatz
e40f835a7e
(svn r13502) -Fix (r11212): drawing of zoomed out partial sprites could cause deadlocks or crashes
17 years ago
smatz
421a040e89
(svn r13501) -Feature(tte): ctrl+click on sign you own to remove it (Osai, planetmaker)
17 years ago
frosch
79ad51867a
(svn r13499) -Codechange: Allow drawing (ugly) leveled foundations on steep slopes, just in case someone needs them for fallback.
17 years ago
rubidium
7dcc69e617
(svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.
17 years ago
rubidium
005d612227
(svn r13494) -Fix: a little documentation + copy-paste mistake for sprite.h.
17 years ago
skidd13
d99aef2f71
(svn r13490) -Add: a seperate icon for aqueducts
17 years ago
rubidium
a5486e626d
(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
39b397438c
(svn r13488) -Fix (r13485): track wasn't removed on company bankrupcy when there was a ship on lower halftile
17 years ago
rubidium
43622f95e1
(svn r13485) -Fix: let ships also navigate on half-tile sloped watery rail tiles.
17 years ago
peter1138
d61da119d3
(svn r13482) -Codechange: Use "extended bytes" in Actions 3 and 4 for vehicles
17 years ago
smatz
9d359641ec
(svn r13481) -Codechange: add 'B' keyboard shortcut to build aqueduct (planetmaker)
17 years ago
rubidium
da524e71ae
(svn r13480) -Fix [FS#2050]: RVs stoppping at drive through stations of other companies.
17 years ago
smatz
5d5d9f682e
(svn r13479) -Codechange: don't use word 'bridge' for aqueducts that often
17 years ago
smatz
1a043128e1
(svn r13478) -Codechange: don't use GetBridgeSpec() for aqueducts
17 years ago
smatz
881d384e56
(svn r13477) -Fix (r13464): correct tile type in the Query tile info window
17 years ago
rubidium
232a2a8e3c
(svn r13476) -Fix: draw canal borders for locks and when directly next to a aquaduct entrace but under the aqueduct.
17 years ago
smatz
58d63ec726
(svn r13475) -Fix (r13464): crash on destroying aquaduct with ship on in and on company bankrupt
17 years ago
glx
f56fe58d48
(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
3d5fe9bfc1
(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
f858e5bbf4
(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
93fb5bc63d
(svn r13466) -Fix (r13464): slope checking got lost during development...
17 years ago
rubidium
7f6382badd
(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
17 years ago
smatz
dc5ceacd77
(svn r13462) -Codechange: move DriverFactoryBase destructor definition from header file (saves ~16kB)
17 years ago
smatz
bd5067b5a0
(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places
17 years ago
belugas
f4153bcbde
(svn r13446) -Fix(r13443): changed the var previously introduced from 69 to 46, as no param was required (thanks frosch)
17 years ago
smatz
8123d4de11
(svn r13445) -Codechange: make 32bpp_optimized blitter ~10-20% faster in drawing (depends on architecture and compiler)
17 years ago
rubidium
0900f3388a
(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
bb7e9ee138
(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
54e7a3b196
(svn r13437) -Feature[newGRF]: Add long format introduction and maximum construction year for house.
17 years ago
smatz
bf8afb4c38
(svn r13434) -Fix (r13317): news window with invalid news item could be shown
17 years ago
rubidium
657bbf305e
(svn r13433) -Codechange: remove a now useless global variable.
...
-Fix: MP advertising was not advertising.
17 years ago
rubidium
2f59734909
(svn r13419) -Fix [FS#2063]: Entries in the bridge list were not sorted when the window was just opened.
17 years ago
rubidium
e43d050730
(svn r13417) -Fix (r12945, r13413): freeing the ThreadObjects in a manner that hopefully doesn't cause crashes.
17 years ago
rubidium
eac3301b63
(svn r13413) -Codechange: remove some enums that haven't been used for years.
17 years ago
truebrain
b95042b05c
(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
96d7f87cc9
(svn r13411) -Codechange: remove the return value from the thread procs because it is never used.
17 years ago
rubidium
b1dc705492
(svn r13409) -Fix: division by zero when one would press 'd' (skip order) when there's no order.
17 years ago
rubidium
d083afea90
(svn r13408) -Codechange: some stricter checking.
17 years ago
miham
04e31cae5a
(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
77ff05a5f1
(svn r13397) -Fix: Do not crash when resolving vehicle sprite groups with zero sprites.
17 years ago
glx
a43c7af33b
(svn r13396) -Fix (r13375): assertion failing when changing grfs in game (compatible grfs)
17 years ago
glx
ee256e770a
(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
5176319dd5
(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
261018fc8c
(svn r13388) -Codechange: Remove "my invented flag for something that is a wagon"
17 years ago
rubidium
94718ae0de
(svn r13387) -Fix: industry directory sorting not working correctly (= != ==)
17 years ago
rubidium
9e811a2f8b
(svn r13386) -Fix: global currency/units setting being overriden when loading a savegame.
17 years ago
peter1138
9b971dab60
(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
c217a11bbd
(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
4f3eb7f3cd
(svn r13383) -Codechange: Put the cost of house removal in a class member
17 years ago
glx
dc22170c99
(svn r13380) -Fix (r13327): MSVC signed/unsigned warning
17 years ago
glx
0c1d792d5e
(svn r13379) -Fix (r13255): drive side can't be changed in intro
17 years ago
smatz
ce692c16ee
(svn r13378) -Fix (r13375): compilation without network support was broken
17 years ago
peter1138
f78ea7c6bf
(svn r13377) -Codechange: Let 'long format' build year work in vehicle purchase list.
17 years ago
belugas
2550f353e9
(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
c7a9637834
(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
d58f055876
(svn r13374) -Fix (r13364): Some common compilers do not yet support 9 year old specifications.
17 years ago
smatz
7ec0a9ec3f
(svn r13373) -Fix (r10210): loading of very old savegames was broken
17 years ago
peter1138
722f48a1d6
(svn r13372) -Cleanup: Excessive whitespace
17 years ago
peter1138
7b75cee876
(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
1ddfdda02c
(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
abf2b0efc3
(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
4b4e73c1dd
(svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date
17 years ago
belugas
b0ada3fbbf
(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
00851610e1
(svn r13366) -Fix: clicking in the Subsidies window was broken
17 years ago
rubidium
def3177d3a
(svn r13365) -Fix: don't segfault on trying to set a non-existing patch setting.
17 years ago
peter1138
7b66180d78
(svn r13364) -Codechange: Refactor action 3 mapping to use grf_load_*() instead of direct byte array access.
17 years ago
peter1138
86ab690ec5
(svn r13363) -Codechange: Code duplication tidy up
17 years ago
smatz
2e8b9a70ec
(svn r13362) -Fix: make the town authority window a bit less glitchy
17 years ago
glx
014cb33bb9
(svn r13361) -Fix (r13360): regexp failed
17 years ago
skidd13
11cdcf875c
(svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc()
17 years ago
skidd13
8a40ca49c6
(svn r13359) -Codechange: convert _fios_items to a SmallVector
...
-Cleanup: some reincarnations of _fios_items in the code
17 years ago
rubidium
fd0be850fe
(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
3efece1284
(svn r13357) -Codechange: add constness to YAPF.
17 years ago
peter1138
10b494d260
(svn r13356) -Codechange: Incorrect documentation and variable type for inflation rates
17 years ago
smatz
0812e2f959
(svn r13354) -Codechange: make 8bpp_optimized blitter ~25% faster in encoding and ~15% faster in drawing (depends on architecture)
17 years ago
smatz
ed462507b2
(svn r13351) -Codechange: disable warnings about unused variable for builds without asserts
17 years ago
glx
10d6f6c5b8
(svn r13350) -Fix: wrong tooltip for waypoint picker scrollbar
17 years ago
rubidium
92c80dab4c
(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
d19c347fd0
(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
0268076337
(svn r13347) -Fix (r12396): ottdres.rc.in was forgotten
17 years ago
rubidium
3d75eb446d
(svn r13346) -Fix (r13322): scrolling the main viewport with keyboard when having a build tool selected failed.
17 years ago
rubidium
5a6f6bf067
(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
6d90affce0
(svn r13344) -Codechange: remove some code duplication.
17 years ago
rubidium
2f3b88ef9a
(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
e81386476f
(svn r13342) -Fix: smallvec.h/sortlist_type.h didn't include everything they needed.
17 years ago
rubidium
00ccb1dc33
(svn r13341) -Codechange: make most of the network settings configurable via the patch command.
17 years ago
rubidium
933c9df335
(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
e2997c9976
(svn r13338) -Doc: add documentation about the window placement. Patch by Alberth.
17 years ago
rubidium
fdb4214525
(svn r13337) -Doc: add documentation to some variables in settings_type.h.
17 years ago
rubidium
2854cc968f
(svn r13336) -Fix: loading old savegames, e.g. the intro game, would reset the autosave settings.
17 years ago
rubidium
d58080fd44
(svn r13335) -Fix: remove rogue (debugging) printf.
17 years ago
rubidium
c33164831d
(svn r13334) -Codechange: move the network settings variables from network/network_internal to settings.
17 years ago
rubidium
61507ffeab
(svn r13333) -Fix: compilance without networking enabled.
17 years ago
rubidium
be93c2c089
(svn r13332) -Fix (r13325): network games got somewhat broken.
17 years ago
peter1138
79d008cd2e
(svn r13331) -Fix (r12924): Wrong include type for (sdt::)map
17 years ago
smatz
a0c62f1752
(svn r13330) -Fix: 'Player name' dialog was broken in two ways
17 years ago
skidd13
bed7719967
(svn r13328) -Fix (r13327): Don't access an item when there isn't any
17 years ago
skidd13
a8abdaec92
(svn r13327) -Codechange: NetworkGameWindow uses GUILists Sort() now
17 years ago
rubidium
923e21129c
(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
2a816fb685
(svn r13323) -Codechange: scrollbars are not refresh counters
17 years ago
rubidium
22d7b25296
(svn r13322) -Codechange: _no_scroll belongs more with the window code.
17 years ago
rubidium
f2869bb7db
(svn r13321) -Codechange: move some GUI/viewport related functions out op openttd.cpp to viewport.cpp/window.cpp.
17 years ago
rubidium
34e2d8f1e1
(svn r13320) -Codechange: move some enums from openttd.h to more logical locations.
17 years ago
peter1138
8ea996e246
(svn r13319) -Codechange: Remove use of imaginary horizontal scrollbar in the group vehicle list
17 years ago
rubidium
27bca407de
(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
7f8f5fa52c
(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
b4e431bf7c
(svn r13316) -Codechange: move some functions around to make them grouped more logically.
17 years ago
peter1138
53aebc84c6
(svn r13315) -Fix (r13314): Assert if no engines or wagons available
17 years ago
peter1138
f954a93ee0
(svn r13314) -Codechange: Switch EngineList from std::vector to GUIList
17 years ago
peter1138
f44a2c38f8
(svn r13313) -Fix-ish (r13306): List was copied in another place the autoreplace gui...
17 years ago
skidd13
6e334d10bb
(svn r13312) -Update: apply english.txt changes from r13311 to other languages
17 years ago
skidd13
b80425fdf9
(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
f7233786d2
(svn r13310) -Fix: invalidate OSK when parent editbox changes (from keyboard)
17 years ago
rubidium
17ccd5ec65
(svn r13309) -Fix: the difficulty settings from the savegame would be reset by the ones of the intro game.
17 years ago
peter1138
f9fc53f98a
(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
bb00206736
(svn r13306) -Fix (r8362): Pass engine list by pointer instead of making a copy of it.
17 years ago
peter1138
504d0d1ae5
(svn r13305) -Fix (r13039): Confirmation window sent both yes and no answers instead of just yes.
17 years ago
smatz
e15863fa77
(svn r13304) -Fix (r13042): possible double free (showed up in r13092)
17 years ago
smatz
8aa797603c
(svn r13303) -Fix (r13301): 64bit gcc compilation was broken
17 years ago
rubidium
14d8aacebb
(svn r13302) -Fix (r13301): GCC doesn't necessarily like what MSVC likes...
17 years ago
rubidium
5c5ee7eb57
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
17 years ago
skidd13
49a0bd7f90
(svn r13299) -Fix (r13286): Stations sort type isn't updated correctly
17 years ago
smatz
437d5d9798
(svn r13298) -Codechange: remove unused _total_signs
17 years ago
peter1138
cfb962c7f1
(svn r13297) -Codechange: Use GUIList for the town directory window
17 years ago
smatz
ee9a9503ce
(svn r13296) -Fix (r13276): VL_FIRST_SORT was never reset
17 years ago
smatz
ee904e1df5
(svn r13295) -Codechange: remove now redundant check
17 years ago
skidd13
83c442cc57
(svn r13294) -Codechange: convert the inheritance of GUIList in IndustryDirectoryWindow to a member object
17 years ago
smatz
9c7d4ffd4c
(svn r13293) -Fix (r13226): airport far from a town generated too much noise
17 years ago
glx
20f2bc3138
(svn r13292) -Fix (r13285): MSVC warnings
17 years ago
peter1138
0ce9343fb6
(svn r13291) -Fix (r13266): qsort passed wrong sizeof data
17 years ago
peter1138
f7a9c4f522
(svn r13287) -Codechange: move engine list gui code away from engine.cpp (and its headers) to engine_gui.cpp
17 years ago
skidd13
6d46851b61
(svn r13286) -Codechange: GUIList Sort returns now if the list sequence has been altered
17 years ago
skidd13
e42690b381
(svn r13285) -Codechange: station sorting uses GUILists Sort() now
17 years ago
skidd13
825f8266e2
(svn r13283) -Codechange: convert the inheritance of GUIList in PlayerStationsWindow to a member object
17 years ago
smatz
e424367938
(svn r13280) -Fix (r13276): MSVC compilation was broken
17 years ago
smatz
a7761332f6
(svn r13279) -Codechange: simplify condition for terminating loop when reversing list order
17 years ago
peter1138
88f2ef652e
(svn r13278) -Fix: Missing call to FindWindowPlacementAndResize() for drop down lists
17 years ago
rubidium
495ca8fdb9
(svn r13277) -Fix: opntitle 'jumping' to the temperate climate when closing the NewGRF settings window.
17 years ago
smatz
a0b14f02c8
(svn r13276) -Codechange: use qsort() for initial sorting of a list for better performance (credits go to skidd13 and peter1138)
17 years ago
smatz
a509746288
(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
6e6014918e
(svn r13273) -Fix [FS#2042]: MSVC warnings (again)
17 years ago
skidd13
0972b3dd15
(svn r13271) -Codechange: groups sorting uses GUILists Sort() now
17 years ago
peter1138
4c69d11f5e
(svn r13270) -Codechange: There is no need to clear lists in the window constructor
17 years ago
skidd13
515e0fa22d
(svn r13269) -Codechange: build bridge window uses GUILists Sort() now
...
-Cleanup: make some globals part of the build bridge window
17 years ago
skidd13
18acb21d65
(svn r13267) -Codechange: extend GUIList with a GnomeSort
17 years ago
peter1138
02b5ffa13f
(svn r13266) -Codechange: Use SmallVector in GUIList
17 years ago
smatz
e4be8c6e70
(svn r13260) -Fix: linked terraform toolbar wasn't marked dirty after moving
17 years ago
peter1138
feebf3f3c9
(svn r13259) -Fix: Subsidy text could still overflow
17 years ago
rubidium
3a4b397961
(svn r13258) -Codechange: add support for using (most) of the old patch names in the console.
17 years ago
belugas
5f782d06be
(svn r13257) -Fix(r13226): Typo has found its way on the code... Thanks cirdan
17 years ago
rubidium
cd8e589fa9
(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
8c9cc415e3
(svn r13255) -Codechange: move _opt to _settings.
17 years ago
smatz
51ca426c4b
(svn r13254) -Fix: waypoint orders could have invalid flags set after conversion
17 years ago
smatz
9fa52f7316
(svn r13253) -Codechange: simplify conversion of old orders a bit
17 years ago
smatz
f9e7fa4c88
(svn r13252) -Fix: when converting orders from older savegames, set 'Unload and leave empty' for 'Unload' orders
17 years ago
rubidium
4625695653
(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
6ea832ec7c
(svn r13250) -Codechange: Use VehicleList in SendAllVehiclesToDepot()
17 years ago
smatz
31a266b5b3
(svn r13249) -Fix [FS#2039]: make industry sorting by transported percentage more consistent
17 years ago
peter1138
56f78e6412
(svn r13248) -Codechange: Use VehicleList for depot GUI.
17 years ago
rubidium
5292ee981e
(svn r13247) -Codechange: small amount of coding style for settings.cpp.
17 years ago
peter1138
cfc8ed1f5b
(svn r13246) -Fix (r13245): incorrect parameters to memcpy
17 years ago
peter1138
da8bb14cec
(svn r13245) -Codechange: Use SmallVectors for generating vehicle lists, simplifying calling code somewhat.
17 years ago
smatz
32380e257c
(svn r13244) -Fix: allow only one town directory window to be opened
17 years ago
rubidium
5fa0946c08
(svn r13242) -Codechange: remove _opt_ptr.
17 years ago
peter1138
f6ea07e7d8
(svn r13241) -Codechange: Simplify CmdDepotSellAllVehicles() a bit
17 years ago
peter1138
d9805b46b9
(svn r13240) -Codechange: More const-ness for GUI code.
17 years ago
smatz
60ae799321
(svn r13239) -Fix: certain compilers give false warning about uninitialized variable
17 years ago
frosch
ca30288c9d
(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
6e7a7412cd
(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
c34b458ace
(svn r13232) -Codechange: Simplify BuildDepotVehicleList()
17 years ago
rubidium
68bb5a08c5
(svn r13231) -Codechange: split the core console code and the console GUI.
17 years ago
frosch
8b1e7c8189
(svn r13230) -Fix [FS#2030](r13171): When closing toolbars, also close their PickerWindows.
17 years ago
rubidium
6884f9cb41
(svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums.
17 years ago
rubidium
6c20f77330
(svn r13228) -Codechange: split console.h.
17 years ago
peter1138
0c47d3fc14
(svn r13227) -Codechange: Apply code style
17 years ago
belugas
fc35ad9ee9
(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
6f233b1f8f
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
...
of windows causing 'two stage' opening effect.
17 years ago
rubidium
95c2307595
(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
3866effe71
(svn r13222) -Change: allow old AI building helistations and helidepots for oil rig routes
17 years ago
smatz
0b07ed0bcd
(svn r13221) -Fix (r8747): old AI failed to build oil rig routes
17 years ago
smatz
2d14e889b2
(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
a1bf80933d
(svn r13216) -Codechange [FS#2026]: enumify and comment Editor Terraform Toolbar widgets (Roujin)
17 years ago
smatz
e9cd783e66
(svn r13215) -Codechange [FS#2029]: enumify and comment Build Dock widgets (Roujin)
17 years ago
belugas
1e79665b45
(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
b4128cbc25
(svn r13209) -Codechange: Privatize what should be private.
17 years ago
smatz
0d2266a3ac
(svn r13208) -Fix (r13173): it was possible to open invalid submenu from dropdowns
17 years ago
smatz
0b54ea39db
(svn r13207) -Fix: misleading comments (michi_cc)
17 years ago
frosch
eca692ef90
(svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window.
17 years ago
peter1138
510c0acb4a
(svn r13205) -Codechange: Remove unnecessary code-style-buggering-up macro.
17 years ago
glx
621e205f74
(svn r13202) -Fix (r13149): MSVC signed/unsigned warning
17 years ago
smatz
f244b6b361
(svn r13191) -Fix: segfault after confirming query subwindow in the Generate New World window
17 years ago
smatz
5cedf77a9a
(svn r13190) -Cleanup: remove unused variable
17 years ago
rubidium
27c38052b7
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
17 years ago
rubidium
fc29abf621
(svn r13184) -Codechange: make a window class of the signs list.
17 years ago
rubidium
eb35fce734
(svn r13183) -Codechange: make a window class of the VehicleViewWindow.
17 years ago
rubidium
c3fd582c55
(svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth.
17 years ago
rubidium
a1137fcdfe
(svn r13181) -Codechange: make news callback handling a little simpler. Patch by Cirdan.
17 years ago
peter1138
b1e324dd47
(svn r13180) -Codechange: make a window class of the TownDirectoryWindow.
17 years ago
smatz
6864eedb1b
(svn r13179) -Fix (r13173): r13178 applies to the main toolbar in Scenario Editor, too
17 years ago
smatz
70127934d1
(svn r13178) -Fix (r13173): the main toolbar didn't respect patch settings, it was always positioned on the right side
17 years ago
belugas
cbd0349251
(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
290cedade2
(svn r13176) -Fix (r13153): town window was glitchy while opening
17 years ago
glx
fa72187bbf
(svn r13175) -Fix (r13174): sorting criteria and order for industry directory was always reset on window opening
17 years ago
glx
17a1873843
(svn r13174) -Codechange: make a class of the IndustryDirectoryWindow.
17 years ago
rubidium
09b5320a81
(svn r13173) -Codechange: make windows of the main toolbars.
17 years ago
rubidium
9fc630422d
(svn r13172) -Codechange: make a window class of the terraform toolbars.
17 years ago
rubidium
ade538828d
(svn r13171) -Codechange: make a class of the Build[Air|Rail|Road|Dock]ToolbarWindows.
17 years ago
rubidium
eb2f19ed66
(svn r13170) -Codechange: make classes of the EnginePreview and BuyCompany windows.
17 years ago
rubidium
6da56ee87e
(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.
17 years ago
smatz
9aa69db2e6
(svn r13168) -Fix (r13072): forgot to 'fix' EngList_SortPartial() together with EngList_Sort()
17 years ago
rubidium
629c5ce740
(svn r13167) -Codechange: prepend _ to a global variable.
17 years ago
rubidium
2e25df3ddf
(svn r13166) -Codechange: CmdSetRoadDriveSide belongs in road_cmd.cpp, not settings_gui.cpp.
17 years ago
rubidium
9defec7876
(svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
17 years ago
glx
aab9e191f5
(svn r13163) -Codechange: remove unused code
17 years ago
smatz
4bf7ab0d1c
(svn r13162) -Fix (r13160): trees couldn't be planted, correct function wasn't overloaded
17 years ago
glx
e82bab5323
(svn r13161) -Fix: free the blitter list when the last blitter is removed.
17 years ago
rubidium
fc4393dcfe
(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent.
17 years ago
skidd13
a426047441
(svn r13159) -Feature: Add the ability to sort availible bridges in the build bridge GUI
17 years ago
rubidium
fc7e8100e1
(svn r13158) -Codechange: make a class of the GameOptionsWindow.
17 years ago
rubidium
3455844ea3
(svn r13156) -Codechange: make classes of the GraphWindows.
17 years ago
rubidium
cc3a41bfa9
(svn r13155) -Codechange: make a window class of the company league and graph legenda windows.
17 years ago
rubidium
50203f8786
(svn r13154) -Codechange: make a window class of the news message history window.
17 years ago
rubidium
33b822faf7
(svn r13153) -Codechange: make classes of the TownViewWindow and the ScenarioEditorTownGenerationWindow.
17 years ago
rubidium
62e36abd2e
(svn r13152) -Codechange: make a class of the subsidy window.
17 years ago
rubidium
f5681547ef
(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
c1713c9ab7
(svn r13150) -Codechange: make classes of the Music[TrackSelection]Window.
17 years ago
skidd13
736671347b
(svn r13149) -Codechange: make a class of the BuildBridgeWindow.
17 years ago
glx
8e47178919
(svn r13148) -Codechange: make a class of the SelectGameWindow.
17 years ago
rubidium
152e82ba92
(svn r13147) -Codechange: move the code to draw bankruptcy news to news_gui.cpp.
17 years ago
rubidium
9717e1ef07
(svn r13146) -Codechange: vehicle_base.h doesn't need to be included in vehicle_gui.h.
17 years ago
glx
dbdfccc2da
(svn r13145) -Codechange: make classes of the BuildDocks[Depot|Station]Window.
17 years ago
glx
b68943e4df
(svn r13144) -Codechange: make classes of the BuildRoad[Depot|Station]Window.
17 years ago
smatz
88f9fa89bc
(svn r13143) -Fix (r13142): the Build Waypoint window wasn't resized when it was opened
17 years ago
glx
fdcb4e6402
(svn r13142) -Codechange: make classes of the Build[RailDepot|RailStation|RailWaypoint|Signal]Window
17 years ago
rubidium
7812b24a77
(svn r13141) -Codechange: remove an unused variable from Window.
17 years ago
rubidium
87015f5b63
(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
8b54212900
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
17 years ago
rubidium
d8154e00ac
(svn r13138) -Codechange: remove the need for IsWindowOfPrototype.
17 years ago
rubidium
976f86e7a7
(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
9f41e0cf18
(svn r13136) -Codechange: make a window class of the console window.
17 years ago
rubidium
edb2e77035
(svn r13135) -Codechange: make a class of the NetworkJoinStatusWindow.
17 years ago
belugas
27c3d210c4
(svn r13134) -Codechange: make a class of the Airport Picker Window.
17 years ago
belugas
17bd325574
(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
5199f5ff47
(svn r13132) -Codechange: make a class of the GenerateProgressWindow.
17 years ago
glx
5b54c9e373
(svn r13131) -Codechange: make a class of the ErrmsgWindow.
17 years ago
rubidium
cc0dae2271
(svn r13130) -Codechange: remove some of the (old) WindowEvent wrapper functions/enums/variables as they are not used anymore.
17 years ago
rubidium
55546ae82c
(svn r13129) -Codechange: remove the WP macro and it's related variables.
17 years ago
peter1138
7ae25c25b6
(svn r13128) -Codechange: Make a class of the refit window
17 years ago
glx
670eca936f
(svn r13127) -Fix (r13122): of course WIN32_LEAN_AND_MEAN excludes too much stuff
17 years ago
glx
180272ed86
(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
5469686001
(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
ced7ee3043
(svn r13124) -Codechange: make a class of the OrdersWindow.
17 years ago
rubidium
5ede3da220
(svn r13123) -Codechange: passing the bankrupt type via data_b is not needed anymore. Patch by Cirdan.
17 years ago
glx
5ea41a57b8
(svn r13122) -Fix: WIN32_LEAN_AND_MEAN define is needed for all WIN32 compilers
17 years ago
rubidium
3b97cc2e30
(svn r13121) -Codechange: make a class of the PerformanceRatingDetailWindow.
17 years ago
rubidium
2da844b146
(svn r13120) -Codechange: make a class of the VehicleDetailsWindow.
17 years ago
rubidium
e1cce4dd3c
(svn r13119) -Codechange: make a class of the timetable window.
17 years ago
rubidium
feba3ac1e7
(svn r13118) -Codechange: make classes of the EndGameWindow and the HighScoreWindow.
17 years ago
rubidium
b39525581d
(svn r13117) -Codechange: make a window class of the PlayerFinancesWindow.
17 years ago
rubidium
1a2413d59e
(svn r13116) -Codechange: make a window class of the statusbar window.
17 years ago
rubidium
6ac20f00bb
(svn r13115) -Codechange: make a window subclass of the MessageOptionsWindow.
17 years ago
rubidium
7491b792e2
(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
7c7a4de3e5
(svn r13113) -Codechange: make a class of the TownAuthorityWindow.
17 years ago
rubidium
b84adf1d89
(svn r13112) -Codechange: make classes of the patches and custom currency windows.
17 years ago
rubidium
9e4d664a24
(svn r13111) -Documentation: update the documentation of AddNewsItem to reflect reality. Patch by Cirdan.
17 years ago
rubidium
c81a333cb6
(svn r13110) -Fix [FS#2018]: some toolbar buttons not being unpressed properly.
17 years ago
rubidium
9013632325
(svn r13109) -Codechange: make a class out of the CheatWindow.
17 years ago
rubidium
b08d728ac9
(svn r13108) -Codechange: make a Window subclass of the main toolbars sub menus.
17 years ago
glx
6a50687bdc
(svn r13107) -Codechange: make NetworkCompanyPasswordWindow and SelectPlayerFaceWindow children of PlayerCompanyWindow.
17 years ago
rubidium
eeb6381690
(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
8ba6f08ca6
(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
5ae795953a
(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
8fff6e8638
(svn r13103) -Codechange: make a class of the PlayerCompanyWindow.
17 years ago
rubidium
d94bef9d5c
(svn r13102) -Codechange: make a class of the NewsWindow.
17 years ago
rubidium
d1ab9908bc
(svn r13101) -Codechange: remove a unused global function.
17 years ago
rubidium
76b8970a33
(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
009a748ab3
(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
15e89b32b9
(svn r13098) -Fix [FS#2016]: segmentation fault on opening an already opened depot.
17 years ago
glx
534bf5b402
(svn r13097) -Codechange: make a class of the GameDifficultyWindow.
17 years ago
glx
bdd75a65f8
(svn r13096) -Codechange: resize SelectPlayerLiveryWindow dynamically on _loaded_newgrf_feature.has_2CC changes
17 years ago
glx
7728ef7204
(svn r13095) -Codechange: make a class of the SelectPlayerLiveryWindow.
17 years ago
rubidium
0449abe88b
(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
be43bbc3f3
(svn r13093) -Codechange: make a class of AboutWindow.
17 years ago
glx
22960e82aa
(svn r13092) -Fix (r13042): don't add a variable in a subclass when the parent class already have it
17 years ago
smatz
7890344bbd
(svn r13091) -Fix: certain compilers give false warning about uninitialized variable
17 years ago
smatz
ec627dedf8
(svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits
17 years ago
smatz
56f15b3544
(svn r13089) -Fix (r13072): MorphOS compilation was broken
17 years ago
smatz
08814d50ea
(svn r13088) -Codechange: use SigSegState enum instead of bool variable (michi_cc)
17 years ago
peter1138
6bfd695002
(svn r13087) -Codechange: Constify CalcPercentVehicleFilled() (michi_cc)
17 years ago
smatz
f64c4fc4fb
(svn r13086) -Fix: do not crash badly after loading a newgrf with engines in-game that often
17 years ago
glx
bbc173dfc6
(svn r13083) -Fix (r13042): another segmentation fault when OskWindow's parent closes it
17 years ago
glx
c9f26cceb7
(svn r13082) -Fix (r13042): segmentation fault due to too early deletion of OskWindow.
17 years ago
glx
b4682bff97
(svn r13081) -Fix: Empty while-loop warnings from gcc 4.3+
17 years ago
smatz
311f2482fa
(svn r13080) -Fix: warning about unused variable when compiling without asserts
17 years ago
smatz
a152d420a5
(svn r13079) -Fix: certain compilers give false warning about uninitialized variable
17 years ago
rubidium
cf91f6bf3e
(svn r13078) -Fix: group gui used the vehicle type before it was actually set.
17 years ago
smatz
a9cc987929
(svn r13077) -Codechange: move function that updates cached num_engines to engine.cpp, make it run only 1 loop
17 years ago
rubidium
bb3bd587a6
(svn r13076) -Fix [FS#2012]: the wrong autoreplace window would be shown if the vehicle isn't a train.
17 years ago
peter1138
9fa2e849f2
(svn r13075) -Codechange: Allow any value for a dropdown item instead of just positive.
17 years ago
peter1138
eb112946a7
(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
153acec334
(svn r13073) -Codechange: make classes of the NewGRF windows
17 years ago
smatz
ad8057ab76
(svn r13072) -Fix (r12995): possible out-of-bounds access
17 years ago
rubidium
ab7a5568d7
(svn r13071) -Codechange: make also a class of the MainWindow.
17 years ago
rubidium
8e702d1053
(svn r13070) -Fix (r13069): do save before commit...
17 years ago
rubidium
dddfaaac7d
(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
db69f81fe7
(svn r13068) -Codechange: make a class of the BuildVehicleWindow.
17 years ago
rubidium
aa44fe3b69
(svn r13067) -Codechange: make a class of the DepotWindow.
17 years ago
rubidium
e6f96da537
(svn r13066) -Fix [FS#2005]: loading of TTDP savegames with rivers in them.
17 years ago
rubidium
d0c79e1164
(svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan.
17 years ago
glx
d0033bfb07
(svn r13064) -Codechange: make a class of the SelectPlayerFaceWindow.
17 years ago
belugas
3982160f50
(svn r13063) -Fix(13062): Removal of old handler was not followed by removal in descriptor
17 years ago
belugas
6c0d2b9132
(svn r13062) -Codechange: make a class of the TransparencyToolbar.
17 years ago
glx
ca4d92e2f2
(svn r13061) -Codechange: make a class of the BuildTreesWindow.
17 years ago
glx
18c33e1569
(svn r13060) -Codechange: update build industry window when raw_industry_construction setting is modified
17 years ago
glx
cffb7a834c
(svn r13058) -Codechange: make a class of the ExtraViewportWindow.
17 years ago
glx
ad19bf105a
(svn r13055) -Codechange: make a class of SmallMapWindow.
17 years ago
rubidium
526d5de867
(svn r13054) -Codechange: make a class of the PlayerStationsWindow.
17 years ago
rubidium
4a809a692c
(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
5924346697
(svn r13052) -Codechange: make a class of the DropdownWindow.
17 years ago
rubidium
4caa813711
(svn r13051) -Codechange: depot_d belongs in depot_gui.cpp.
17 years ago
glx
56c3f828cd
(svn r13050) -Codechange: make a class of IndustryViewWindow.
17 years ago
rubidium
3ef0a1e3be
(svn r13049) -Codechange: make a class of the TooltipsWindow.
17 years ago
rubidium
1be2847668
(svn r13048) -Codechange: make a class of the StationViewWindow.
17 years ago
glx
c708ab3b48
(svn r13047) -Codechange: remove vp_d
17 years ago
rubidium
c47926311b
(svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow.
17 years ago
rubidium
75e3792aa3
(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.
17 years ago
rubidium
568464aa96
(svn r13044) -Fix: deleting an already deleted window.
17 years ago
rubidium
9066a961e7
(svn r13043) -Codechange: remove some duplicate variables from news_d.
17 years ago
rubidium
eb2d47b547
(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
e63137f47f
(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.
17 years ago
rubidium
599bc8942e
(svn r13040) -Codechange: make a class of the NetworkLobbyWindow.
17 years ago
rubidium
46875e28be
(svn r13039) -Codechange: make a class of the Query window.
17 years ago
belugas
7884a4ff19
(svn r13038) -Fix: When switching the signal gui patch to off, delete the signal window accordingly
17 years ago
rubidium
b47a151bce
(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
356473efa5
(svn r13036) -Codechange: make a class of the BuildIndustry Window.
17 years ago
rubidium
c32559ac12
(svn r13035) -Codechange: remove two needless global-ish variables.
17 years ago
rubidium
3749323e23
(svn r13034) -Fix: segmentation fault due do double delete when closing the OSK window in some cases.
17 years ago
smatz
d41f3def5c
(svn r13033) -Fix [FS#2003](r13029): land info tool wasn't working
17 years ago
glx
6ad199d127
(svn r13032) -Codechange: make industry view window resizable and truncate strings
17 years ago
rubidium
83664c8bc4
(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
89c15ecb23
(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
d24442ae8b
(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
935434333b
(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
17 years ago
rubidium
f23026cce8
(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL.
17 years ago
belugas
e099831210
(svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin)
17 years ago
rubidium
68a1d75d9e
(svn r13025) -Codechange: remove the need for two WindowEvents.
17 years ago
rubidium
f438700402
(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
486172e07f
(svn r13023) -Revert (r1444): Revert changes to multihead engine weight -- the original values were correct.
17 years ago
smatz
5e51833ee5
(svn r13022) -Fix: driver list wasn't freed, replace by statically allocated one
17 years ago
rubidium
2ba05f8987
(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
bc514a7f51
(svn r13020) -Codechange: make industry directory window horizontally resizable and truncate strings
17 years ago
glx
0b37b81956
(svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc)
17 years ago
rubidium
ba853fdb0b
(svn r13018) -Codechange: make a class of the LandInfo Window.
17 years ago
smatz
386a3f1d20
(svn r13016) -Codechange: unify the detection if rail catenary should be drawn
17 years ago
rubidium
4a11ebe76f
(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
5fda77239e
(svn r13014) -Fix (r13008): mingw revealed some signed/unsigned warnings
17 years ago
rubidium
d7e0dd6e82
(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.
17 years ago
rubidium
ea218de179
(svn r13012) -Fix (r13011): the PlaceProc that was moved depended on another function...
17 years ago
rubidium
c74ca38970
(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.
17 years ago
rubidium
cd3dda5c0c
(svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp.
17 years ago
rubidium
cabd771fc0
(svn r13009) -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h.
17 years ago
glx
e48a351f8e
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
17 years ago
rubidium
9ed36409c5
(svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there.
17 years ago
rubidium
23fc96c3e8
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
17 years ago
rubidium
2eef026fe3
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
17 years ago
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)
17 years ago
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
17 years ago
glx
6e6102e20d
(svn r13000) -Fix (r12991): broken win9x compilation
17 years ago
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.
17 years ago
smatz
3445b8054c
(svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT
17 years ago
smatz
220bc49731
(svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty
17 years ago
smatz
c3822e3a90
(svn r12993) -Fix (r11175): list used for sorting GRFs wasn't freed
17 years ago
smatz
0c4715d825
(svn r12992) -Fix (r12976): main toolbar wasn't marked dirty when a child combobox was destroyed
17 years ago
glx
c2c9121307
(svn r12991) -Codechange: removed some unneeded includes
17 years ago
rubidium
694ba37377
(svn r12990) -Fix: silence the redundanct declaration warning when compiling with iconv.
17 years ago
rubidium
cd7c99452f
(svn r12989) -Codechange: move ViewportSign to viewport_type.h.
17 years ago
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)
17 years ago
rubidium
3d5567ccf7
(svn r12987) -Codechange: split viewport and tile selection.
17 years ago
rubidium
7ccda80b0b
(svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers.
17 years ago
bjarni
8fea5a62c9
(svn r12985) -Fix (r12977): [OSX] fixed missing includes in the cocoa files
17 years ago
rubidium
ca4349b517
(svn r12984) -Codechange: some coding style in window.cpp.
17 years ago
belugas
fa8ab829e9
(svn r12983) -Codechange [FS#1987] : Unification of all dynamite tools calls to only one. Thanks to Roujin
17 years ago
smatz
75a87a7266
(svn r12982) -Fix: compiler warning when compiling without asserts
17 years ago
glx
a9d263c459
(svn r12981) -Codechange: remove some useless includes and defines
17 years ago