Commit Graph

3989 Commits (9943ac29420d324ea580c3d869cb906e8cdc0ef8)

Author SHA1 Message Date
peter1138 4ea34e778c (svn r13241) -Codechange: Simplify CmdDepotSellAllVehicles() a bit 16 years ago
peter1138 0a9e8854ec (svn r13240) -Codechange: More const-ness for GUI code. 16 years ago
smatz 7672a059c9 (svn r13239) -Fix: certain compilers give false warning about uninitialized variable 16 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.
16 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.
16 years ago
peter1138 ca244cbd06 (svn r13232) -Codechange: Simplify BuildDepotVehicleList() 16 years ago
rubidium eb3347e9d8 (svn r13231) -Codechange: split the core console code and the console GUI. 16 years ago
frosch 9da2cd6e02 (svn r13230) -Fix [FS#2030](r13171): When closing toolbars, also close their PickerWindows. 16 years ago
rubidium 080af12d8b (svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums. 16 years ago
rubidium bf3b61cfa3 (svn r13228) -Codechange: split console.h. 16 years ago
peter1138 5f625acb1a (svn r13227) -Codechange: Apply code style 16 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
16 years ago
peter1138 cfc45e97ab (svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
16 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'. 16 years ago
smatz 8841f3be40 (svn r13222) -Change: allow old AI building helistations and helidepots for oil rig routes 16 years ago
smatz 9e2490abb2 (svn r13221) -Fix (r8747): old AI failed to build oil rig routes 16 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 16 years ago
smatz 11e80b2794 (svn r13216) -Codechange [FS#2026]: enumify and comment Editor Terraform Toolbar widgets (Roujin) 16 years ago
smatz 6a4dad27fe (svn r13215) -Codechange [FS#2029]: enumify and comment Build Dock widgets (Roujin) 16 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 16 years ago
belugas 165df7420b (svn r13209) -Codechange: Privatize what should be private. 16 years ago
smatz 0df8060a64 (svn r13208) -Fix (r13173): it was possible to open invalid submenu from dropdowns 16 years ago
smatz 6b4f70099e (svn r13207) -Fix: misleading comments (michi_cc) 16 years ago
frosch 7f80552293 (svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window. 16 years ago
peter1138 42f78d2fc3 (svn r13205) -Codechange: Remove unnecessary code-style-buggering-up macro. 16 years ago
glx 41adc28093 (svn r13202) -Fix (r13149): MSVC signed/unsigned warning 16 years ago
smatz c1e45bcb01 (svn r13191) -Fix: segfault after confirming query subwindow in the Generate New World window 16 years ago
smatz ebe6a8b0df (svn r13190) -Cleanup: remove unused variable 16 years ago
rubidium 162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium ad29064cf3 (svn r13184) -Codechange: make a window class of the signs list. 16 years ago
rubidium df6446c07c (svn r13183) -Codechange: make a window class of the VehicleViewWindow. 16 years ago
rubidium 8560c8f16f (svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth. 16 years ago
rubidium 03f1292332 (svn r13181) -Codechange: make news callback handling a little simpler. Patch by Cirdan. 16 years ago
peter1138 b9cfaa6637 (svn r13180) -Codechange: make a window class of the TownDirectoryWindow. 16 years ago
smatz 17e4e33aee (svn r13179) -Fix (r13173): r13178 applies to the main toolbar in Scenario Editor, too 16 years ago
smatz d00d718b41 (svn r13178) -Fix (r13173): the main toolbar didn't respect patch settings, it was always positioned on the right side 16 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 16 years ago
smatz 1d9ad55eda (svn r13176) -Fix (r13153): town window was glitchy while opening 16 years ago
glx 4e11e0785a (svn r13175) -Fix (r13174): sorting criteria and order for industry directory was always reset on window opening 16 years ago
glx dc1c529a31 (svn r13174) -Codechange: make a class of the IndustryDirectoryWindow. 16 years ago
rubidium 01a569f0d7 (svn r13173) -Codechange: make windows of the main toolbars. 16 years ago
rubidium c2014c8250 (svn r13172) -Codechange: make a window class of the terraform toolbars. 16 years ago
rubidium d60d22f45f (svn r13171) -Codechange: make a class of the Build[Air|Rail|Road|Dock]ToolbarWindows. 16 years ago
rubidium 3f53c2fd0e (svn r13170) -Codechange: make classes of the EnginePreview and BuyCompany windows. 16 years ago
rubidium a21d3fc63b (svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors. 16 years ago
smatz 23b9852480 (svn r13168) -Fix (r13072): forgot to 'fix' EngList_SortPartial() together with EngList_Sort() 16 years ago
rubidium 97293e5cbb (svn r13167) -Codechange: prepend _ to a global variable. 16 years ago
rubidium 78eb7d66b1 (svn r13166) -Codechange: CmdSetRoadDriveSide belongs in road_cmd.cpp, not settings_gui.cpp. 16 years ago
rubidium 3ee2556585 (svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. 16 years ago
glx dc69a7c51b (svn r13163) -Codechange: remove unused code 16 years ago
smatz 119b892f95 (svn r13162) -Fix (r13160): trees couldn't be planted, correct function wasn't overloaded 16 years ago
glx ca27e25ab0 (svn r13161) -Fix: free the blitter list when the last blitter is removed. 16 years ago
rubidium 4d5b9e38d6 (svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent. 16 years ago
skidd13 cbd09e4f57 (svn r13159) -Feature: Add the ability to sort availible bridges in the build bridge GUI 16 years ago
rubidium 6891469e87 (svn r13158) -Codechange: make a class of the GameOptionsWindow. 16 years ago
rubidium 9155d641cb (svn r13156) -Codechange: make classes of the GraphWindows. 16 years ago
rubidium 77059f7b5d (svn r13155) -Codechange: make a window class of the company league and graph legenda windows. 16 years ago
rubidium 8846d4380f (svn r13154) -Codechange: make a window class of the news message history window. 16 years ago
rubidium 4268afe340 (svn r13153) -Codechange: make classes of the TownViewWindow and the ScenarioEditorTownGenerationWindow. 16 years ago
rubidium 37386287f8 (svn r13152) -Codechange: make a class of the subsidy window. 16 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. 16 years ago
glx b101faea20 (svn r13150) -Codechange: make classes of the Music[TrackSelection]Window. 16 years ago
skidd13 bd742920b4 (svn r13149) -Codechange: make a class of the BuildBridgeWindow. 16 years ago
glx fb97874bc7 (svn r13148) -Codechange: make a class of the SelectGameWindow. 16 years ago
rubidium 4db10034fd (svn r13147) -Codechange: move the code to draw bankruptcy news to news_gui.cpp. 16 years ago
rubidium 8ff56af53d (svn r13146) -Codechange: vehicle_base.h doesn't need to be included in vehicle_gui.h. 16 years ago
glx 107371a26b (svn r13145) -Codechange: make classes of the BuildDocks[Depot|Station]Window. 16 years ago
glx e0e2b4b55a (svn r13144) -Codechange: make classes of the BuildRoad[Depot|Station]Window. 16 years ago
smatz acd36adf0b (svn r13143) -Fix (r13142): the Build Waypoint window wasn't resized when it was opened 16 years ago
glx f9935785f7 (svn r13142) -Codechange: make classes of the Build[RailDepot|RailStation|RailWaypoint|Signal]Window 16 years ago
rubidium ac8f0fdc7b (svn r13141) -Codechange: remove an unused variable from Window. 16 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. 16 years ago
rubidium a89b5721a8 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago
rubidium 7f6ccdc624 (svn r13138) -Codechange: remove the need for IsWindowOfPrototype. 16 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. 16 years ago
rubidium a21692bdc1 (svn r13136) -Codechange: make a window class of the console window. 16 years ago
rubidium 6f45805af0 (svn r13135) -Codechange: make a class of the NetworkJoinStatusWindow. 16 years ago
belugas 47d9a8aa21 (svn r13134) -Codechange: make a class of the Airport Picker Window. 16 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
16 years ago
glx a4c5f94658 (svn r13132) -Codechange: make a class of the GenerateProgressWindow. 16 years ago
glx 0e9eb5bacb (svn r13131) -Codechange: make a class of the ErrmsgWindow. 16 years ago
rubidium 758f4a358d (svn r13130) -Codechange: remove some of the (old) WindowEvent wrapper functions/enums/variables as they are not used anymore. 16 years ago
rubidium 0b61b6c1d0 (svn r13129) -Codechange: remove the WP macro and it's related variables. 16 years ago
peter1138 e03193f9d7 (svn r13128) -Codechange: Make a class of the refit window 16 years ago
glx 6741af92d3 (svn r13127) -Fix (r13122): of course WIN32_LEAN_AND_MEAN excludes too much stuff 16 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. 16 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 16 years ago
glx 892759c396 (svn r13124) -Codechange: make a class of the OrdersWindow. 16 years ago
rubidium 483ad8d02a (svn r13123) -Codechange: passing the bankrupt type via data_b is not needed anymore. Patch by Cirdan. 16 years ago
glx bbb9dafa32 (svn r13122) -Fix: WIN32_LEAN_AND_MEAN define is needed for all WIN32 compilers 16 years ago
rubidium adb5a09cb3 (svn r13121) -Codechange: make a class of the PerformanceRatingDetailWindow. 16 years ago
rubidium a7c7067c4f (svn r13120) -Codechange: make a class of the VehicleDetailsWindow. 16 years ago
rubidium cbdcc7cc3b (svn r13119) -Codechange: make a class of the timetable window. 16 years ago
rubidium e7b3c3fa34 (svn r13118) -Codechange: make classes of the EndGameWindow and the HighScoreWindow. 16 years ago
rubidium 5a85fb104e (svn r13117) -Codechange: make a window class of the PlayerFinancesWindow. 16 years ago
rubidium 804b9f1d3a (svn r13116) -Codechange: make a window class of the statusbar window. 16 years ago
rubidium 349aec37e6 (svn r13115) -Codechange: make a window subclass of the MessageOptionsWindow. 16 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. 16 years ago
rubidium 5b712cf81e (svn r13113) -Codechange: make a class of the TownAuthorityWindow. 16 years ago
rubidium 045aaae1c7 (svn r13112) -Codechange: make classes of the patches and custom currency windows. 16 years ago
rubidium 01e79dde73 (svn r13111) -Documentation: update the documentation of AddNewsItem to reflect reality. Patch by Cirdan. 16 years ago
rubidium 2704b12f2b (svn r13110) -Fix [FS#2018]: some toolbar buttons not being unpressed properly. 16 years ago
rubidium 447ed7a2a5 (svn r13109) -Codechange: make a class out of the CheatWindow. 16 years ago
rubidium 439b328f41 (svn r13108) -Codechange: make a Window subclass of the main toolbars sub menus. 16 years ago
glx 07e10eade8 (svn r13107) -Codechange: make NetworkCompanyPasswordWindow and SelectPlayerFaceWindow children of PlayerCompanyWindow. 16 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. 16 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. 16 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. 16 years ago
rubidium 31ab1e815a (svn r13103) -Codechange: make a class of the PlayerCompanyWindow. 16 years ago
rubidium ca8d282eff (svn r13102) -Codechange: make a class of the NewsWindow. 16 years ago
rubidium f8d02c7d71 (svn r13101) -Codechange: remove a unused global function. 16 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. 16 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. 16 years ago
rubidium 35c14f45be (svn r13098) -Fix [FS#2016]: segmentation fault on opening an already opened depot. 16 years ago
glx 7096f20ec5 (svn r13097) -Codechange: make a class of the GameDifficultyWindow. 16 years ago
glx 1c77928886 (svn r13096) -Codechange: resize SelectPlayerLiveryWindow dynamically on _loaded_newgrf_feature.has_2CC changes 16 years ago
glx 3a88f38b65 (svn r13095) -Codechange: make a class of the SelectPlayerLiveryWindow. 16 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. 16 years ago
glx 5704d59314 (svn r13093) -Codechange: make a class of AboutWindow. 16 years ago
glx e812c8223f (svn r13092) -Fix (r13042): don't add a variable in a subclass when the parent class already have it 16 years ago
smatz f0e2d800ee (svn r13091) -Fix: certain compilers give false warning about uninitialized variable 16 years ago
smatz 2be223fc03 (svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits 16 years ago
smatz c90cda6c1c (svn r13089) -Fix (r13072): MorphOS compilation was broken 16 years ago
smatz 9b8d16b7ff (svn r13088) -Codechange: use SigSegState enum instead of bool variable (michi_cc) 16 years ago
peter1138 2475959196 (svn r13087) -Codechange: Constify CalcPercentVehicleFilled() (michi_cc) 16 years ago
smatz e4dee736c5 (svn r13086) -Fix: do not crash badly after loading a newgrf with engines in-game that often 16 years ago
glx ab0aa4e080 (svn r13083) -Fix (r13042): another segmentation fault when OskWindow's parent closes it 16 years ago
glx 015dbc6e7b (svn r13082) -Fix (r13042): segmentation fault due to too early deletion of OskWindow. 16 years ago
glx 1ce52ef5cb (svn r13081) -Fix: Empty while-loop warnings from gcc 4.3+ 16 years ago
smatz dac285a74b (svn r13080) -Fix: warning about unused variable when compiling without asserts 16 years ago
smatz bea03ab5e7 (svn r13079) -Fix: certain compilers give false warning about uninitialized variable 16 years ago
rubidium 0d2e74fb71 (svn r13078) -Fix: group gui used the vehicle type before it was actually set. 16 years ago
smatz f92a48c24b (svn r13077) -Codechange: move function that updates cached num_engines to engine.cpp, make it run only 1 loop 16 years ago
rubidium 316d3fbe1d (svn r13076) -Fix [FS#2012]: the wrong autoreplace window would be shown if the vehicle isn't a train. 16 years ago
peter1138 2c02810b3a (svn r13075) -Codechange: Allow any value for a dropdown item instead of just positive. 16 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. 16 years ago
peter1138 3f0895872f (svn r13073) -Codechange: make classes of the NewGRF windows 16 years ago
smatz 3670a25e3a (svn r13072) -Fix (r12995): possible out-of-bounds access 16 years ago
rubidium 6ae37e6339 (svn r13071) -Codechange: make also a class of the MainWindow. 16 years ago
rubidium c18c9689a1 (svn r13070) -Fix (r13069): do save before commit... 16 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. 16 years ago
rubidium c6c908aba5 (svn r13068) -Codechange: make a class of the BuildVehicleWindow. 16 years ago
rubidium b2fe906015 (svn r13067) -Codechange: make a class of the DepotWindow. 16 years ago
rubidium 962273e242 (svn r13066) -Fix [FS#2005]: loading of TTDP savegames with rivers in them. 16 years ago
rubidium 5d7851e8d6 (svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan. 16 years ago
glx a3d037956f (svn r13064) -Codechange: make a class of the SelectPlayerFaceWindow. 16 years ago
belugas d283521782 (svn r13063) -Fix(13062): Removal of old handler was not followed by removal in descriptor 16 years ago
belugas 27b3767b79 (svn r13062) -Codechange: make a class of the TransparencyToolbar. 16 years ago
glx a6c4bbccb9 (svn r13061) -Codechange: make a class of the BuildTreesWindow. 16 years ago
glx eb70da38d0 (svn r13060) -Codechange: update build industry window when raw_industry_construction setting is modified 16 years ago
glx 9f11d3089a (svn r13058) -Codechange: make a class of the ExtraViewportWindow. 16 years ago
glx a1a04fcc61 (svn r13055) -Codechange: make a class of SmallMapWindow. 16 years ago
rubidium d711d21199 (svn r13054) -Codechange: make a class of the PlayerStationsWindow. 16 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. 16 years ago
rubidium 4525234df4 (svn r13052) -Codechange: make a class of the DropdownWindow. 16 years ago
rubidium bcdd9fcfe4 (svn r13051) -Codechange: depot_d belongs in depot_gui.cpp. 16 years ago
glx cf315d2656 (svn r13050) -Codechange: make a class of IndustryViewWindow. 16 years ago
rubidium 323004da0c (svn r13049) -Codechange: make a class of the TooltipsWindow. 16 years ago
rubidium 33b830aabe (svn r13048) -Codechange: make a class of the StationViewWindow. 16 years ago
glx dacd2c5de8 (svn r13047) -Codechange: remove vp_d 16 years ago
rubidium ee3c14b344 (svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow. 16 years ago
rubidium 89a60ce249 (svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform. 16 years ago
rubidium aa0929351d (svn r13044) -Fix: deleting an already deleted window. 16 years ago
rubidium 4a46a5cdda (svn r13043) -Codechange: remove some duplicate variables from news_d. 16 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. 16 years ago
rubidium 29ad1d442a (svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors. 16 years ago
rubidium 1f70b47e22 (svn r13040) -Codechange: make a class of the NetworkLobbyWindow. 16 years ago
rubidium dc42908757 (svn r13039) -Codechange: make a class of the Query window. 16 years ago
belugas 914e51546d (svn r13038) -Fix: When switching the signal gui patch to off, delete the signal window accordingly 16 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..
16 years ago
glx d706c8b462 (svn r13036) -Codechange: make a class of the BuildIndustry Window. 16 years ago
rubidium 9e0e4c0342 (svn r13035) -Codechange: remove two needless global-ish variables. 16 years ago
rubidium 1853a56291 (svn r13034) -Fix: segmentation fault due do double delete when closing the OSK window in some cases. 16 years ago
smatz 311a3f9675 (svn r13033) -Fix [FS#2003](r13029): land info tool wasn't working 16 years ago
glx 4c98a72745 (svn r13032) -Codechange: make industry view window resizable and truncate strings 16 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. 16 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. 16 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. 16 years ago
rubidium f710876037 (svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing. 16 years ago
rubidium 2c96ce4506 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 16 years ago
belugas 8ebfbc2bd3 (svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin) 16 years ago
rubidium 8d0a7f4634 (svn r13025) -Codechange: remove the need for two WindowEvents. 16 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. 16 years ago
peter1138 edc756697e (svn r13023) -Revert (r1444): Revert changes to multihead engine weight -- the original values were correct. 16 years ago
smatz 273448436a (svn r13022) -Fix: driver list wasn't freed, replace by statically allocated one 16 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. 16 years ago
glx 5c9c8fc199 (svn r13020) -Codechange: make industry directory window horizontally resizable and truncate strings 16 years ago
glx a8e8329d41 (svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc) 16 years ago
rubidium fc47683a0b (svn r13018) -Codechange: make a class of the LandInfo Window. 16 years ago
smatz b4968c6bea (svn r13016) -Codechange: unify the detection if rail catenary should be drawn 16 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. 16 years ago
glx f492567f66 (svn r13014) -Fix (r13008): mingw revealed some signed/unsigned warnings 16 years ago
rubidium db37b017ef (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. 16 years ago
rubidium 88e96a5638 (svn r13012) -Fix (r13011): the PlaceProc that was moved depended on another function... 16 years ago
rubidium 2c5db97704 (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. 16 years ago
rubidium 0c30e46c9c (svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp. 16 years ago
rubidium 8b9ffbe158 (svn r13009) -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h. 16 years ago
glx a28ea38653 (svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings 16 years ago
rubidium f3d184aee4 (svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there. 16 years ago
rubidium 92aac531c2 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 16 years ago
rubidium 51cda2252c (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 16 years ago
bjarni 5a7fcf9aa3 (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)
16 years ago
bjarni addcd2bb2e (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 16 years ago
glx d58b5e3caa (svn r13000) -Fix (r12991): broken win9x compilation 16 years ago
rubidium 054552a30b (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. 16 years ago
smatz 8a422e34df (svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT 16 years ago
smatz cc107fe0f9 (svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty 16 years ago
smatz b6ec43896d (svn r12993) -Fix (r11175): list used for sorting GRFs wasn't freed 16 years ago
smatz 7927da8fab (svn r12992) -Fix (r12976): main toolbar wasn't marked dirty when a child combobox was destroyed 16 years ago
glx 97cb66d099 (svn r12991) -Codechange: removed some unneeded includes 16 years ago
rubidium c2256c46f1 (svn r12990) -Fix: silence the redundanct declaration warning when compiling with iconv. 16 years ago
rubidium e38e1aa631 (svn r12989) -Codechange: move ViewportSign to viewport_type.h. 16 years ago
bjarni c2a54a60bb (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) 16 years ago
rubidium c28ce39e3c (svn r12987) -Codechange: split viewport and tile selection. 16 years ago
rubidium e0e1bf76a2 (svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers. 16 years ago
bjarni 3c82dd6550 (svn r12985) -Fix (r12977): [OSX] fixed missing includes in the cocoa files 16 years ago
rubidium 43328ced46 (svn r12984) -Codechange: some coding style in window.cpp. 16 years ago
belugas 343a1e6afd (svn r12983) -Codechange [FS#1987] : Unification of all dynamite tools calls to only one. Thanks to Roujin 16 years ago
smatz 93861e78a3 (svn r12982) -Fix: compiler warning when compiling without asserts 16 years ago
glx 3ba47883c0 (svn r12981) -Codechange: remove some useless includes and defines 16 years ago
rubidium 6007500faf (svn r12980) -Fix: MorphOS threading support. Patch by Fabien Coeurjoly. 16 years ago
rubidium 93441ad552 (svn r12978) -Codechange: "\\0" is not needed for the MorphOS revision string. Patch by tokai. 16 years ago
rubidium c27f3cfa62 (svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations. 16 years ago
rubidium 9db77e3808 (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 16 years ago
rubidium 8796331d83 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 16 years ago
rubidium 7b6ce158fe (svn r12974) -Codechange: check whether loading/saving highscores goes as it should be. 16 years ago
peter1138 9e977b78ff (svn r12973) -Codechange: Rename GRMSpriteEntry to GRFLocation, as it is not necessarily specific to GRM sprites... 16 years ago
glx 4e29eedb85 (svn r12972) -Fix (r12971): forgot to close a comment 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
glx 1b9197d6dd (svn r12970) -Codechange: coding style for some function names 16 years ago
rubidium 1ed3ea4705 (svn r12969) -Codechange: remove a completely pointless file. 16 years ago
maedhros 28e1da6c5d (svn r12968) -Fix: Don't segfault when adding a server if 0.0.0.0 was entered for the address. 16 years ago
glx 3260abec08 (svn r12967) -Fix (r12966): my lang update script failed 16 years ago
glx 6509e5ff8a (svn r12966) -Update: apply english.txt changes from r12965 to other languages 16 years ago
glx 7da190c1e0 (svn r12965) -Codechange: add support for callback 37 in industries directory window 16 years ago
glx 7f8f70f6f0 (svn r12964) -Codechange: rewrite callback 37 related code so it will be easier to add supported windows 16 years ago
rubidium e7d125de58 (svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop. 16 years ago
smatz 19b20a7dde (svn r12962) -Fix (r12961): forgot one break 16 years ago
smatz 2e0ec76007 (svn r12961) -Codechange: store the type of savegame we are loading in a global variable 16 years ago
rubidium f2683a6037 (svn r12960) -Codechange: handle return values of (some) file system related functions. 16 years ago
glx 15ebb1a292 (svn r12959) -Fix: don't assume no production when the first produced cargo is invalid in industries directory 16 years ago
peter1138 e2c739551c (svn r12958) -Codechange: Allocate sprites reserved by GRM in advance of 'Action 1' sprites, giving much less chance of GRM reservation failure if lots of NewGRF sets are loaded. 16 years ago
rubidium 41aeb7ffa0 (svn r12957) -Codechange: do not misuse snprintf when you just want to copy a string, also use DEBUG instead of fprintf in one case. 16 years ago
belugas 8580edbf20 (svn r12956) -Codechange: Code-style application on switch-case aligment 16 years ago
smatz f0064d5165 (svn r12955) -Fix (r12858): compilation with desync debug was broken 16 years ago
peter1138 78c0929b18 (svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items. 16 years ago
peter1138 7e70d9f09f (svn r12952) -Cleanup: Indenting and codestyle 16 years ago
belugas 24bfbc9472 (svn r12951) -Fix(r9762)[FS#1977): Revert the new difficulty settings of town and industries back to their initial values. 16 years ago
belugas dcdfb02130 (svn r12950) -Fix: two includes is one too much 16 years ago
rubidium 62259ff665 (svn r12949) -Fix [FS#1978]: no loading/no unloading orders were 'forgotten' during manual replaces. 16 years ago
rubidium c878af4841 (svn r12948) -Fix [FS#1982]: all vehicles would be available when an original scenario would be played. 16 years ago
glx 5b1e423889 (svn r12947) -Fix: keep only first 15 bits for non failed callback results 16 years ago
rubidium cdf9ada599 (svn r12946) -Fix: do not allocate the OldNames table when creating a new game as it won't be used anyway. 16 years ago
rubidium a89f533e09 (svn r12945) -Fix: (small) memory leak when joining/exiting threads. 16 years ago
smatz 89a8dc8cf7 (svn r12944) -Codechange: use rev.h instead of externs at many places 16 years ago
rubidium 8fe14f7162 (svn r12943) -Fix: reading/modifying invalid data under some circumstances. 16 years ago
rubidium 4acb8f3a5e (svn r12942) -Fix [FS#1979]: closing some windows caused recursion in the Window deletion causing the reading invalid/freed data which could cause crashes. 16 years ago
rubidium 0083ce9e1b (svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth. 16 years ago
bjarni 63fea0790b (svn r12940) -Fix [FS#1974](r12913): [autoreplace] a vehicle backup should include the cargo packets in the vehicle as well 16 years ago
rubidium b35100e2a9 (svn r12939) -Codechange: do not use the window proc to determine whether a toolbar is a rail toolbar, but use the window number. 16 years ago
rubidium ec931ba5c6 (svn r12938) -Codechange: coding style fixes. Patch by Alberth. 16 years ago
rubidium 7c93f3bab8 (svn r12937) -Codechange: split allocating and finding the spot to place a window. Patch by Alberth. 16 years ago
rubidium 300c7e459a (svn r12936) -Doc: a few structs in geometry_type.hpp. Patch by Alberth. 16 years ago
rubidium 200e35cd8c (svn r12935) -Fix [FS#1975]: vehicles forget their manual depot order when stopping at a station. Now we just pass through the station without stopping when a vehicle has been given a depot order. 16 years ago
belugas 5867336b6e (svn r12934) -Codechange: Before verification of local authority, just make sure airport can physically be built there. Just moving tests 16 years ago
glx 5bd8b6adb0 (svn r12933) -Fix: minor errors related to industries accepted/produced cargo 16 years ago
peter1138 c8e10ac1f8 (svn r12932) -Fix [FS#1970]: Articulated engines ignored GRF engine overrides. 16 years ago
rubidium f1820a5708 (svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka. 16 years ago
smatz 36bb91cc6d (svn r12929) -Fix [FS#1967](r12560): town rating was too often reset to Mediocre 16 years ago
peter1138 45034bc522 (svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist. 16 years ago
rubidium 6056d1fb31 (svn r12921) -Codechange: coding style fixes and documentation updates. 16 years ago
smatz 299b15c2bf (svn r12920) -Fix (r12859): town rating was affected even after the test run 16 years ago
smatz 0ddb481a33 (svn r12919) -Fix [FS#1965]: flood road tiles even when there are road works in progress 16 years ago
rubidium 49ded3f2c3 (svn r12918) -Fix [FS#1963] (r12679): last airport would always be shown as buildable even when it was not. 16 years ago
peter1138 8bb0ff0a63 (svn r12917) -Codechange: standardise variable names called with FOR_ALL_ENGINEIDS_OF_TYPE 16 years ago
smatz 2d7430cf33 (svn r12916) -Fix: let ThreadObject_pthread::IsRunning() behave the same way as ThreadObject_Win32::IsRunning() does 16 years ago
smatz 6181451b13 (svn r12915) -Fix [FS#1960](r12857): don't initialize Station struct with tile=0, buoys will never change that value 16 years ago
peter1138 1a7c1cb84b (svn r12914) -Fix: Game crash when a spectator/server tried to show an engine with no owner when a NewGRF requested a specific variable. 16 years ago
bjarni 783e20a263 (svn r12913) -Add: ability to backup and restore a player's economic data and data for a vehicle (or chain of vehicles)
Autoreplace uses this with the following benefits:
  -Mass autoreplace (the button in the depot window) will now estimate costs correctly
  -Autoreplace now either replaces correctly or manages to keep the original vehicle (no more broken trains)
  Thanks to Ammler for testing this
16 years ago
bjarni d6c971fd9b (svn r12912) -Codechange: overloaded ChangeVehicleViewWindow() so each argument can be either a Vehicle pointer or a VehicleID 16 years ago
peter1138 2d5be0185f (svn r12910) -Fix: Report reverse sprite status (FD/FE) to NewGRF for manually toggled vehicles. 16 years ago
smatz bf3542e9f7 (svn r12906) -Fix: vehicle groups, engine replacement rules and player/company names were not properly reset/freed after bankrupt (before new player start) 16 years ago
smatz f129ba40a7 (svn r12904) -Fix [FS#1953]: remove trams from savegames saved in OTTD without tram support, it is better than to simply crash 16 years ago
rubidium 81859bb7ad (svn r12898) -Codechange: coding style in unmovable_cmd.cpp. 16 years ago
rubidium 60ed64e909 (svn r12897) -Codechange: some coding style in station_cmd.cpp. 16 years ago
glx 5d8ed6f1c2 (svn r12895) -Fix: restored Icelandic plural form and removed cases from Brazilian Portuguese (again) 16 years ago
rubidium 6ed5c01143 (svn r12892) -Fix: too many items in the vehicle toolbars were greyed out. 16 years ago
belugas eff775d252 (svn r12875) -Codechange: Use defined const instead of cast magic 16 years ago
belugas 249ea61c7e (svn r12874) -Codechange: The closest town is already known. Do not search for it again. 16 years ago
rubidium 4016d15bc7 (svn r12873) -Fix [FS#1946]: MSVC is whining because it doesn't understand that bytes should be cast to ints. 16 years ago
peter1138 33f85f80d0 (svn r12872) -Codechange: Remove obsolete unused engine list order function 16 years ago
smatz 0a83a43075 (svn r12870) -Codechange: remove some magic numbers from u.ship.state handling 16 years ago
rubidium 26cea31b1e (svn r12863) -Codechange: rewrite GeneratePlayerColour to be better understandable. 16 years ago
smatz 26206fa116 (svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup 16 years ago
miham 1a26e29333 (svn r12861) -Update: WebTranslator2 update to 2008-04-24 10:49:17
brazilian_portuguese - 74 fixed, 2 changed by fukumori (38), tucalipe (38)
bulgarian  - 59 fixed by thetitan (59)
catalan    - 75 fixed by arnaullv (75)
czech      - 70 fixed, 42 changed by Hadez (112)
danish     - 46 fixed by MiR (46)
dutch      - 75 fixed by habell (75)
estonian   - 91 fixed, 33 changed by kristjans (124)
french     - 74 fixed, 2 changed by glx (76)
italian    - 76 fixed, 9 changed by lorenzodv (85)
latvian    - 24 fixed, 39 changed by stripe4 (63)
russian    - 86 fixed by Smoky555 (86)
slovak     - 3 fixed by lengyel (3)
slovenian  - 75 fixed by Necrolyte (75)
spanish    - 91 fixed, 2 changed by eusebio (93)
swedish    - 72 fixed by ChrillDeVille (72)
traditional_chinese - 82 fixed, 4 changed by xbddc (86)
ukrainian  - 76 fixed, 36 changed by mad (112)
16 years ago
peter1138 6ac8ced9af (svn r12860) -Fix [FS#1947]: Train depart animation trigger was not called in some cases. 16 years ago
rubidium b2717d1426 (svn r12859) -Fix: make the town rating tests use less memory and much quicker; from 13% to unnoticable in the profile in games with lots of towns and lots of very active AIs. 16 years ago
rubidium 29ce273067 (svn r12858) -Add: small piece of code that can help hunting desyncs. Has to be enabled by --enable-desync-debug=1 though. 16 years ago
rubidium 2b85217bfe (svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code. 16 years ago
peter1138 7c8fe9791b (svn r12856) -Fix: Taking r12377 further, ensure that prop 25 is set for all vehicles in the consist before other properties. 16 years ago
rubidium d56827a9a9 (svn r12855) -Codechange: do not use autoptr's for testing whether certain objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though. 16 years ago
smatz a204a3b70e (svn r12854) -Codechange: make drawing of rail catenary a bit faster 16 years ago
smatz 112afdf7d8 (svn r12853) -Fix: catenary on tunnel entrances and middle bridge pieces was drawn twice in some cases 16 years ago
smatz ac0cfcde33 (svn r12852) -Fix: do not try to draw rail catenary above non-rail station tiles 16 years ago
glx 1461ba9d35 (svn r12850) -Fix (r12848): compilation was broken for some platforms 16 years ago
peter1138 b471c5d312 (svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix with _ for non-globals, and use implicit enum numbering. 16 years ago
peter1138 616cd60651 (svn r12847) -Cleanup: Identing and variable scope 16 years ago
rubidium 420b1b53d3 (svn r12845) -Change: use YAPF for fairly old savegames from before YAPF was introduced. 16 years ago
rubidium 97f78133d2 (svn r12844) -Fix: the industry tick trigger should only be triggered once every 256 ticks, not every tick... Also bail out of the triggers a little earlier if you know they are not going to happen anyway. 16 years ago
bjarni 80a0435ba8 (svn r12843) -Feature [FS#1945]: The autoreplace window is now resizable in both directions
The code to open this window is also unified for all vehicle types
16 years ago
glx 2c057b318e (svn r12842) -Codechange [FS#1604]: scale message history by map size 16 years ago
peter1138 f767baba58 (svn r12839) -Codechange: Allocate temporary engine data when loading GRFs as needed instead of statically. 16 years ago
belugas 931aecda9f (svn r12837) -Codechange: Alignment of widget array 16 years ago
rubidium 8637e6afa1 (svn r12836) -Fix: SunOS non-dedicated server compilation. 16 years ago
peter1138 a05e9b4c6b (svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication. 16 years ago
frosch f43661e790 (svn r12820) -Documentation: Mark callbacks as 8 or 15 bit in 'newgrf_callbacks.h'. 16 years ago
rubidium e947fde701 (svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does it, i.e. testing the low bits for 0xFF or 0 instead of all bits. 16 years ago
rubidium bbe13a0623 (svn r12818) -Codechange: make callbacks 31 and 37 behave like they do in TTDP according to frosch's survey. 16 years ago
rubidium 5a17e6b395 (svn r12817) -Feature: the ability to play NewGRF sounds for industries and stations. 16 years ago
rubidium 23c0017272 (svn r12816) -Fix: the cargo count in the performance rating window could be wrong. 16 years ago
rubidium c5ac9ee678 (svn r12815) -Codechange: reshuffle some variables in the CargoPacket struct saving 4 of 36 bytes with a 32 bit compiler and 8 of 48 bytes on 64 bit compiler per cargo packets. There are generally more cargopackets in game than vehicles. 16 years ago
rubidium 4ce50a0d64 (svn r12814) -Codechange: reshuffle some variables in the Vehicle struct saving 20 bytes with a 32 bit compiler and 32 bytes on 64 bit compiler per vehicle. 16 years ago
rubidium 47ebab771f (svn r12813) -Fix [FS#1943]: the 'last built railtype' got reset too often. 16 years ago
glx 9a8d9c4ae5 (svn r12810) -Codechange: style and useless casts in CmdSetAutoReplace() 16 years ago
peter1138 dbb4dcaf5c (svn r12809) -Fix (r1704): Possible out of bounds array access. 16 years ago
glx 4a4da1eedf (svn r12808) -Fix: enforce autorenew values range in command
-Fix: typo in english.txt
16 years ago
rubidium 650651064b (svn r12805) -Codechange: remove some bit magic related to the news display states. Patch by cirdan. 16 years ago
rubidium 8186344628 (svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp 16 years ago
rubidium 40b19f3997 (svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing. 16 years ago
rubidium d010ae9408 (svn r12801) -Codechange: remove the dependency of function.h in town_map.h 16 years ago
rubidium ba0532b595 (svn r12800) -Codechange: move the animated tile related functions out of texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions. 16 years ago
peter1138 61ba65846a (svn r12799) -Fix (r12798): Empty for-loop warnings from gcc 4.3+ 16 years ago
peter1138 3b7558b89c (svn r12798) -Feature: Add some support for NewGRF station animation. (Thanks to mart3p for samples and fixes) 16 years ago
bjarni fa4967d845 (svn r12797) -Codechange: [autoreplace] moved wagon removal to a function of it's own 16 years ago
rubidium af5775a5ec (svn r12796) -Fix: the dedicated blitter did segfault too, like the null blitter did. 16 years ago
rubidium a63974547b (svn r12795) -Fix [FS#1938]: vehicles could break down during loading and keep loading. The intention of the break down code is not to break down when having zero speed, therefor break downs now do not happen when loading. 16 years ago
bjarni fa549be09e (svn r12794) -Doc: added missing doxygen comment in autoreplace_cmd.cpp 16 years ago
peter1138 2d659ac8bd (svn r12793) -Codechange: Use enum values for station types instead of mysterious hex (ln) 16 years ago
bjarni db403cbe92 (svn r12792) -Codechange: [autoreplace] added a function to figure out if a replacement is needed and if so, to which EngineID
It's designed to save a bit of CPU time, specially if the replacement isn't buildable (think autorenew of old vehicle)
16 years ago
bjarni 44145548ea (svn r12791) -Codechange: [autoreplace] Added a flag parameter (listens for DC_EXEC and DC_QUERY_COST) and included more info when returning CommandCost
This allowed cleaning up the code in MaybeReplaceVehicle()
16 years ago
rubidium a9775dfcc9 (svn r12790) -Codechange: code style fixes. Patch by Alberth. 16 years ago
rubidium 51c7ba39a4 (svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth. 16 years ago
rubidium 99733b2b3e (svn r12788) -Codechange: unduplicate some vehicle GUI code. Patch by Alberth. 16 years ago
rubidium 081f627018 (svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth. 16 years ago
rubidium af34ce0b5d (svn r12786) -Change: remove more function from functions.h. 16 years ago
rubidium bfd2cac6e2 (svn r12785) -Codechange: put all news-type related constants in the same array. Patch by cirdan. 16 years ago
rubidium 0670ec6ee1 (svn r12784) -Codechange: handle the asynchronious save 'handlers' in saveload.cpp instead of openttd.cpp. 16 years ago
rubidium 1b867382d6 (svn r12783) -Codechange: do not statically allocate the 'temporary map3 array' in the oldloader. 16 years ago
rubidium 136e26925e (svn r12782) -Codechange: remove some functions from functions.h and do not statically 'waste' memory when the old name array is not needed anymore. 16 years ago
rubidium 312d54bc3b (svn r12780) -Fix: the null blitter did segfault. 16 years ago
rubidium 7e5639ccea (svn r12779) -Codechange: remove a few constants from openttd.h. 16 years ago
smatz 6813a17d15 (svn r12778) -Codechange: add the NORETURN attribute to *allocError() functions 16 years ago
smatz 3fe8c58257 (svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute 16 years ago
egladil cd7536123b (svn r12776) -Fix: [OSX] In some rare cases when using an uncalibrated monitor the system colour space could not be retrieved. Show an error when this happens instead of just trying an assertion. 16 years ago
rubidium 36d3553b9b (svn r12773) -Codechange: replace some magic numbers with enums. 16 years ago
rubidium c7e2ca8cfd (svn r12772) -Codechange: some vehicle.cpp coding style. 16 years ago
rubidium 6d25cd50dd (svn r12771) -Codechange: remove more from variables.h. 16 years ago
rubidium 5c5bd70284 (svn r12769) -Codechange: some coding style cleanups. 16 years ago
rubidium 44128682cf (svn r12768) -Codechange: move the statusbar GUI to it's own file. 16 years ago
rubidium bc37ae3f2a (svn r12767) -Codechange: merge all main toolbar related functions into a single file instead of scattering the functionality over several files. 16 years ago
rubidium 8857f5057f (svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by Sir Bob. 16 years ago
rubidium d46d8d9c9d (svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h. 16 years ago
rubidium f4b07a78c4 (svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs). 16 years ago
rubidium ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 16 years ago
belugas d2b55e7afd (svn r12760) -Fix(r12759): Remove a now useless comment 16 years ago
belugas 13dcf2ed7e (svn r12759) -Fix(r12358): There is no need to mask callback result for pre-version7 since CBID_INDTILE_SHAPE_CHECK (cb2F) is really 15 bits. 16 years ago
belugas ed497b4fa7 (svn r12758) -Fix(r4712, r12745): Use a bool when it's about boolean evaluation. a TileIndex is hardly a bool, of course of course. Thanks for good old MSVC warnings. 16 years ago
rubidium 18e64b28e2 (svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location. 16 years ago
smatz fa4b5b1c18 (svn r12756) -Cleanup: variable scope and coding style in station* 16 years ago
glx 72c16c4de7 (svn r12755) -Fix (r12706): aborting map generation was not properly handled 16 years ago
rubidium 6d063c3ad6 (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. 16 years ago
smatz ec588da9e8 (svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used 16 years ago
rubidium b0e687f60c (svn r12752) -Codechange: replace some magic constants in player_gui.cpp. Patch by Yexo. 16 years ago
rubidium 6dc210b171 (svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory. 16 years ago
rubidium c7357bee94 (svn r12750) -Fix (r12749): viewport for industry new messages was not shown properly. 16 years ago
rubidium 2752568d61 (svn r12749) -Codechange: store the viewport information in the windows that have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport. 16 years ago
peter1138 9c3725827a (svn r12747) -Codechange: Add varaction retrieval of station animation frame 16 years ago
peter1138 757d61b22f (svn r12746) -Codechange: Add map storage for station animation frame 16 years ago
smatz 966e476df8 (svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile() 16 years ago
rubidium 61074c4bf8 (svn r12741) -Codechange: do not allocate the viewport drawer each time on the stack, but only once and reuse this. 16 years ago
rubidium 34f4150b15 (svn r12740) -Codechange: use a vector instead of allocating memory in a byte array for ChildScreenSpriteToDraw. 16 years ago
rubidium 1eac80f840 (svn r12739) -Codechange: use a vector instead of allocating memory in a byte array for ParentSpriteToDraw. 16 years ago
smatz 71ebefbbd7 (svn r12738) -Fix (r12736): some sprites could be left unsorted 16 years ago
peter1138 efdf8b8c8a (svn r12737) -Codechange: Replace vector with a cut down class to allocate space as necessary. This avoids copying data around for vector's push_back() function. 16 years ago
rubidium 47365fee11 (svn r12736) -Codechange: a (small) touch of coding style in viewport.cpp. 16 years ago
rubidium 878a7c9ab1 (svn r12735) -Codechange: use a vector instead of allocating memory in a byte array for TileSpriteToDraw. 16 years ago
rubidium 26dcf25238 (svn r12734) -Codechange: use a vector instead of allocating memory in a big byte array for StringSpriteToDraw. 16 years ago
belugas aedde3ab4a (svn r12733) -Codechange: Merge two more Widgets arrays (town views ) into one. 16 years ago
smatz 867566f7f0 (svn r12731) -Fix (r12726): copying a 16bit array into 32bit wouldn't work 16 years ago
rubidium 08894026da (svn r12726) -Fix [FS#1877]: overflow causing strange building behaviour in towns. 16 years ago
frosch 91e53e23ca (svn r12717) -Fix (r11107): Check the TILE_NOT_SLOPED flag of the _north_ tile of multi-tile houses to decide if autoslope is allowed. 16 years ago
frosch 93afe81001 (svn r12716) -Fix: Do not compare StationIDs with DepotIDs or WaypointIDs. 16 years ago
rubidium bd3e5d9c43 (svn r12714) -Fix [FS#1904]: do not move windows below the toolbar on resizes unless they would go behind the toolbar. 16 years ago
rubidium 5766d4a5c0 (svn r12713) -Fix: misleading comment. Patch by Yexo. 16 years ago
glx 90bd1e45eb (svn r12711) -Codechange: remove unneeded loops 16 years ago
rubidium 52d83de8d8 (svn r12709) -Feature: show the last joined server. Heavily based on a patch by Yexo. 16 years ago
glx f63bd286e0 (svn r12708) -Fix (FS#1914): increase default sound buffer size only for vista 16 years ago
rubidium 253a95777c (svn r12707) -Fix: do not crash very hard on unrecognised savegames, just go back to the intro menu instead. 16 years ago
rubidium d022d4af3d (svn r12706) -Merge: the thread rewrite from NoAI. The rewrite makes the threading we have better extendable. 16 years ago
belugas bf1d42c23d (svn r12705) -Codechange: enumification of some more widgets 16 years ago