glx [Tue, 13 May 2008 22:42:10 +0000] rev 10537
(svn r13081) -Fix: Empty while-loop warnings from gcc 4.3+
smatz [Tue, 13 May 2008 22:19:20 +0000] rev 10536
(svn r13080) -Fix: warning about unused variable when compiling without asserts
smatz [Tue, 13 May 2008 22:02:14 +0000] rev 10535
(svn r13079) -Fix: certain compilers give false warning about uninitialized variable
rubidium [Tue, 13 May 2008 21:50:31 +0000] rev 10534
(svn r13078) -Fix: group gui used the vehicle type before it was actually set.
smatz [Tue, 13 May 2008 21:36:09 +0000] rev 10533
(svn r13077) -Codechange: move function that updates cached num_engines to engine.cpp, make it run only 1 loop
rubidium [Tue, 13 May 2008 21:16:23 +0000] rev 10532
(svn r13076) -Fix [FS#2012]: the wrong autoreplace window would be shown if the vehicle isn't a train.
peter1138 [Tue, 13 May 2008 21:11:38 +0000] rev 10531
(svn r13075) -Codechange: Allow any value for a dropdown item instead of just positive.
peter1138 [Tue, 13 May 2008 20:39:57 +0000] rev 10530
(svn r13074) -Fix: For multiheaded engines, halve power and running cost when used instead of when loading, to allow callback values to work properly.
peter1138 [Tue, 13 May 2008 20:26:48 +0000] rev 10529
(svn r13073) -Codechange: make classes of the NewGRF windows
smatz [Tue, 13 May 2008 18:39:15 +0000] rev 10528
(svn r13072) -Fix (r12995): possible out-of-bounds access
rubidium [Tue, 13 May 2008 14:59:50 +0000] rev 10527
(svn r13071) -Codechange: make also a class of the MainWindow.
rubidium [Tue, 13 May 2008 14:58:41 +0000] rev 10526
(svn r13070) -Fix (r13069): do save before commit...
rubidium [Tue, 13 May 2008 14:43:33 +0000] rev 10525
(svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore.
rubidium [Tue, 13 May 2008 14:28:27 +0000] rev 10524
(svn r13068) -Codechange: make a class of the BuildVehicleWindow.
rubidium [Tue, 13 May 2008 13:39:50 +0000] rev 10523
(svn r13067) -Codechange: make a class of the DepotWindow.
rubidium [Tue, 13 May 2008 12:15:52 +0000] rev 10522
(svn r13066) -Fix [FS#2005]: loading of TTDP savegames with rivers in them.
rubidium [Tue, 13 May 2008 10:17:04 +0000] rev 10521
(svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan.
glx [Tue, 13 May 2008 01:05:39 +0000] rev 10520
(svn r13064) -Codechange: make a class of the SelectPlayerFaceWindow.
belugas [Tue, 13 May 2008 00:46:04 +0000] rev 10519
(svn r13063) -Fix(13062): Removal of old handler was not followed by removal in descriptor
belugas [Tue, 13 May 2008 00:37:29 +0000] rev 10518
(svn r13062) -Codechange: make a class of the TransparencyToolbar.
glx [Mon, 12 May 2008 21:46:08 +0000] rev 10517
(svn r13061) -Codechange: make a class of the BuildTreesWindow.
glx [Mon, 12 May 2008 14:54:33 +0000] rev 10516
(svn r13060) -Codechange: update build industry window when raw_industry_construction setting is modified
glx [Mon, 12 May 2008 00:26:44 +0000] rev 10515
(svn r13058) -Codechange: make a class of the ExtraViewportWindow.
rubidium [Sun, 11 May 2008 20:23:26 +0000] rev 10514
(svn r13057) [NoAI] -Codechange: port the AIDebugWindow to the new Window framework.
rubidium [Sun, 11 May 2008 20:09:34 +0000] rev 10513
(svn r13056) [NoAI] -Sync: with trunk r12996:13055.
glx [Sun, 11 May 2008 19:47:10 +0000] rev 10512
(svn r13055) -Codechange: make a class of SmallMapWindow.
rubidium [Sun, 11 May 2008 18:50:12 +0000] rev 10511
(svn r13054) -Codechange: make a class of the PlayerStationsWindow.
rubidium [Sun, 11 May 2008 18:32:33 +0000] rev 10510
(svn r13053) -Codechange: station sorting used it's own implementation of GUIList and the associated enums, now it doesn't anymore.
rubidium [Sun, 11 May 2008 18:18:18 +0000] rev 10509
(svn r13052) -Codechange: make a class of the DropdownWindow.
rubidium [Sun, 11 May 2008 18:17:56 +0000] rev 10508
(svn r13051) -Codechange: depot_d belongs in depot_gui.cpp.
glx [Sun, 11 May 2008 17:44:56 +0000] rev 10507
(svn r13050) -Codechange: make a class of IndustryViewWindow.
rubidium [Sun, 11 May 2008 17:44:38 +0000] rev 10506
(svn r13049) -Codechange: make a class of the TooltipsWindow.
rubidium [Sun, 11 May 2008 17:24:52 +0000] rev 10505
(svn r13048) -Codechange: make a class of the StationViewWindow.
glx [Sun, 11 May 2008 15:08:44 +0000] rev 10504
(svn r13047) -Codechange: remove vp_d
rubidium [Sun, 11 May 2008 15:00:11 +0000] rev 10503
(svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow.
rubidium [Sun, 11 May 2008 14:23:45 +0000] rev 10502
(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.
rubidium [Sun, 11 May 2008 14:09:38 +0000] rev 10501
(svn r13044) -Fix: deleting an already deleted window.
rubidium [Sun, 11 May 2008 13:02:58 +0000] rev 10500
(svn r13043) -Codechange: remove some duplicate variables from news_d.
rubidium [Sun, 11 May 2008 12:26:20 +0000] rev 10499
(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.
rubidium [Sun, 11 May 2008 11:41:18 +0000] rev 10498
(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.
rubidium [Sun, 11 May 2008 07:22:13 +0000] rev 10497
(svn r13040) -Codechange: make a class of the NetworkLobbyWindow.
rubidium [Sun, 11 May 2008 06:59:51 +0000] rev 10496
(svn r13039) -Codechange: make a class of the Query window.
belugas [Sun, 11 May 2008 02:15:02 +0000] rev 10495
(svn r13038) -Fix: When switching the signal gui patch to off, delete the signal window accordingly
rubidium [Sat, 10 May 2008 23:44:15 +0000] rev 10494
(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..
glx [Sat, 10 May 2008 23:43:08 +0000] rev 10493
(svn r13036) -Codechange: make a class of the BuildIndustry Window.
rubidium [Sat, 10 May 2008 22:43:33 +0000] rev 10492
(svn r13035) -Codechange: remove two needless global-ish variables.
rubidium [Sat, 10 May 2008 21:35:20 +0000] rev 10491
(svn r13034) -Fix: segmentation fault due do double delete when closing the OSK window in some cases.
smatz [Sat, 10 May 2008 19:59:41 +0000] rev 10490
(svn r13033) -Fix [FS#2003](r13029): land info tool wasn't working
glx [Sat, 10 May 2008 15:58:22 +0000] rev 10489
(svn r13032) -Codechange: make industry view window resizable and truncate strings
rubidium [Sat, 10 May 2008 13:54:20 +0000] rev 10488
(svn r13031) -Codechange: make AssignWidgetToWindow a static function instead of a global one as it should only be used from window.cpp.
rubidium [Sat, 10 May 2008 13:53:11 +0000] rev 10487
(svn r13030) -Codechange: do use MallocT instead of ReallocT when 100% sure that the pointer you are allocating to is NULL. Patch by Alberth.
rubidium [Sat, 10 May 2008 13:46:36 +0000] rev 10486
(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.
rubidium [Sat, 10 May 2008 12:30:27 +0000] rev 10485
(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
rubidium [Sat, 10 May 2008 08:58:52 +0000] rev 10484
(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL.
belugas [Sat, 10 May 2008 02:59:52 +0000] rev 10483
(svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin)
rubidium [Fri, 09 May 2008 15:27:00 +0000] rev 10482
(svn r13025) -Codechange: remove the need for two WindowEvents.
rubidium [Fri, 09 May 2008 09:29:27 +0000] rev 10481
(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.
peter1138 [Fri, 09 May 2008 07:47:30 +0000] rev 10480
(svn r13023) -Revert (r1444): Revert changes to multihead engine weight -- the original values were correct.
smatz [Thu, 08 May 2008 23:26:17 +0000] rev 10479
(svn r13022) -Fix: driver list wasn't freed, replace by statically allocated one
rubidium [Thu, 08 May 2008 22:53:49 +0000] rev 10478
(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.
glx [Thu, 08 May 2008 21:09:21 +0000] rev 10477
(svn r13020) -Codechange: make industry directory window horizontally resizable and truncate strings
glx [Thu, 08 May 2008 20:05:32 +0000] rev 10476
(svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc)
rubidium [Thu, 08 May 2008 19:26:55 +0000] rev 10475
(svn r13018) -Codechange: make a class of the LandInfo Window.
rubidium [Thu, 08 May 2008 17:30:02 +0000] rev 10474
(svn r13017) [0.6] -Backport from trunk (r12629):
- Fix: Vehicles going twice to a depot when the automatic service interfered with the current order [FS#1985] (r12629)
smatz [Thu, 08 May 2008 16:48:29 +0000] rev 10473
(svn r13016) -Codechange: unify the detection if rail catenary should be drawn
rubidium [Thu, 08 May 2008 14:14:16 +0000] rev 10472
(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used.
glx [Thu, 08 May 2008 14:04:52 +0000] rev 10471
(svn r13014) -Fix (r13008): mingw revealed some signed/unsigned warnings
rubidium [Thu, 08 May 2008 13:51:15 +0000] rev 10470
(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.
rubidium [Thu, 08 May 2008 13:48:34 +0000] rev 10469
(svn r13012) -Fix (r13011): the PlaceProc that was moved depended on another function...
rubidium [Thu, 08 May 2008 13:30:50 +0000] rev 10468
(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.
rubidium [Thu, 08 May 2008 13:29:35 +0000] rev 10467
(svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp.
rubidium [Thu, 08 May 2008 13:21:55 +0000] rev 10466
(svn r13009) -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h.
glx [Thu, 08 May 2008 13:20:54 +0000] rev 10465
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
rubidium [Thu, 08 May 2008 13:06:12 +0000] rev 10464
(svn r13007) -Fix: some files in source.list where in the wrong category.
rubidium [Thu, 08 May 2008 12:59:47 +0000] rev 10463
(svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there.
rubidium [Thu, 08 May 2008 11:50:34 +0000] rev 10462
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
rubidium [Thu, 08 May 2008 11:31:41 +0000] rev 10461
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
bjarni [Wed, 07 May 2008 23:00:11 +0000] rev 10460
(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)
bjarni [Wed, 07 May 2008 22:08:20 +0000] rev 10459
(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
glx [Wed, 07 May 2008 21:51:13 +0000] rev 10458
(svn r13000) -Fix (r12991): broken win9x compilation
rubidium [Wed, 07 May 2008 21:45:27 +0000] rev 10457
(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.
rubidium [Wed, 07 May 2008 21:42:17 +0000] rev 10456
(svn r12998) -Fix: -Wredundant_decls sees "friend" declarations as redundant declarations in GCC 2.95, so only use if for GCC >= 3.
rubidium [Wed, 07 May 2008 21:09:51 +0000] rev 10455
(svn r12997) [NoAI] -Sync: with trunk r12895:12996.
glx [Wed, 07 May 2008 20:10:48 +0000] rev 10454
(svn r12996) -Fix: debugging was not possible with MSVC 2008
smatz [Wed, 07 May 2008 18:31:29 +0000] rev 10453
(svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT
smatz [Wed, 07 May 2008 18:14:09 +0000] rev 10452
(svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty
smatz [Wed, 07 May 2008 17:36:28 +0000] rev 10451
(svn r12993) -Fix (r11175): list used for sorting GRFs wasn't freed
smatz [Wed, 07 May 2008 15:53:58 +0000] rev 10450
(svn r12992) -Fix (r12976): main toolbar wasn't marked dirty when a child combobox was destroyed
glx [Wed, 07 May 2008 14:12:20 +0000] rev 10449
(svn r12991) -Codechange: removed some unneeded includes
rubidium [Wed, 07 May 2008 13:37:53 +0000] rev 10448
(svn r12990) -Fix: silence the redundanct declaration warning when compiling with iconv.
rubidium [Wed, 07 May 2008 13:18:33 +0000] rev 10447
(svn r12989) -Codechange: move ViewportSign to viewport_type.h.
bjarni [Wed, 07 May 2008 13:11:33 +0000] rev 10446
(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)
rubidium [Wed, 07 May 2008 13:10:15 +0000] rev 10445
(svn r12987) -Codechange: split viewport and tile selection.
rubidium [Wed, 07 May 2008 09:07:19 +0000] rev 10444
(svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers.
bjarni [Wed, 07 May 2008 08:38:56 +0000] rev 10443
(svn r12985) -Fix (r12977): [OSX] fixed missing includes in the cocoa files
rubidium [Wed, 07 May 2008 08:27:55 +0000] rev 10442
(svn r12984) -Codechange: some coding style in window.cpp.
belugas [Wed, 07 May 2008 00:04:40 +0000] rev 10441
(svn r12983) -Codechange [FS#1987] : Unification of all dynamite tools calls to only one. Thanks to Roujin
smatz [Tue, 06 May 2008 23:45:25 +0000] rev 10440
(svn r12982) -Fix: compiler warning when compiling without asserts
glx [Tue, 06 May 2008 23:43:47 +0000] rev 10439
(svn r12981) -Codechange: remove some useless includes and defines
rubidium [Tue, 06 May 2008 22:50:55 +0000] rev 10438
(svn r12980) -Fix: MorphOS threading support. Patch by Fabien Coeurjoly.
rubidium [Tue, 06 May 2008 22:42:10 +0000] rev 10437
(svn r12979) -Codechange: support using MORPHOS in sources.list.
rubidium [Tue, 06 May 2008 22:41:28 +0000] rev 10436
(svn r12978) -Codechange: "\\0" is not needed for the MorphOS revision string. Patch by tokai.
rubidium [Tue, 06 May 2008 22:17:12 +0000] rev 10435
(svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
rubidium [Tue, 06 May 2008 22:08:18 +0000] rev 10434
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
rubidium [Tue, 06 May 2008 21:28:30 +0000] rev 10433
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
rubidium [Tue, 06 May 2008 21:07:47 +0000] rev 10432
(svn r12974) -Codechange: check whether loading/saving highscores goes as it should be.
peter1138 [Tue, 06 May 2008 17:24:27 +0000] rev 10431
(svn r12973) -Codechange: Rename GRMSpriteEntry to GRFLocation, as it is not necessarily specific to GRM sprites...
glx [Tue, 06 May 2008 15:36:55 +0000] rev 10430
(svn r12972) -Fix (r12971): forgot to close a comment
rubidium [Tue, 06 May 2008 15:11:33 +0000] rev 10429
(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.
glx [Tue, 06 May 2008 15:06:19 +0000] rev 10428
(svn r12970) -Codechange: coding style for some function names
rubidium [Tue, 06 May 2008 14:24:33 +0000] rev 10427
(svn r12969) -Codechange: remove a completely pointless file.
maedhros [Tue, 06 May 2008 10:31:50 +0000] rev 10426
(svn r12968) -Fix: Don't segfault when adding a server if 0.0.0.0 was entered for the address.
glx [Mon, 05 May 2008 23:04:24 +0000] rev 10425
(svn r12967) -Fix (r12966): my lang update script failed
glx [Mon, 05 May 2008 22:52:49 +0000] rev 10424
(svn r12966) -Update: apply english.txt changes from r12965 to other languages
glx [Mon, 05 May 2008 22:42:06 +0000] rev 10423
(svn r12965) -Codechange: add support for callback 37 in industries directory window
glx [Mon, 05 May 2008 22:37:40 +0000] rev 10422
(svn r12964) -Codechange: rewrite callback 37 related code so it will be easier to add supported windows
rubidium [Mon, 05 May 2008 22:35:33 +0000] rev 10421
(svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop.
smatz [Mon, 05 May 2008 22:22:12 +0000] rev 10420
(svn r12962) -Fix (r12961): forgot one break
smatz [Mon, 05 May 2008 22:03:01 +0000] rev 10419
(svn r12961) -Codechange: store the type of savegame we are loading in a global variable
rubidium [Mon, 05 May 2008 21:54:05 +0000] rev 10418
(svn r12960) -Codechange: handle return values of (some) file system related functions.
glx [Mon, 05 May 2008 21:09:03 +0000] rev 10417
(svn r12959) -Fix: don't assume no production when the first produced cargo is invalid in industries directory
peter1138 [Mon, 05 May 2008 19:02:10 +0000] rev 10416
(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.
rubidium [Mon, 05 May 2008 18:27:57 +0000] rev 10415
(svn r12957) -Codechange: do not misuse snprintf when you just want to copy a string, also use DEBUG instead of fprintf in one case.
belugas [Mon, 05 May 2008 16:05:36 +0000] rev 10414
(svn r12956) -Codechange: Code-style application on switch-case aligment
smatz [Mon, 05 May 2008 15:07:09 +0000] rev 10413
(svn r12955) -Fix (r12858): compilation with desync debug was broken
truebrain [Mon, 05 May 2008 12:35:38 +0000] rev 10412
(svn r12954) [NoAI] -Fix: move the DEBUG level of non-essential debug statements up a few levels, so it doesn't show up at least before lvl 5
peter1138 [Mon, 05 May 2008 11:36:43 +0000] rev 10411
(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items.
peter1138 [Mon, 05 May 2008 11:24:58 +0000] rev 10410
(svn r12952) -Cleanup: Indenting and codestyle
belugas [Mon, 05 May 2008 02:11:12 +0000] rev 10409
(svn r12951) -Fix(r9762)[FS#1977): Revert the new difficulty settings of town and industries back to their initial values.
belugas [Mon, 05 May 2008 02:02:32 +0000] rev 10408
(svn r12950) -Fix: two includes is one too much
rubidium [Sun, 04 May 2008 22:57:50 +0000] rev 10407
(svn r12949) -Fix [FS#1978]: no loading/no unloading orders were 'forgotten' during manual replaces.
rubidium [Sun, 04 May 2008 22:38:18 +0000] rev 10406
(svn r12948) -Fix [FS#1982]: all vehicles would be available when an original scenario would be played.
glx [Sun, 04 May 2008 22:32:25 +0000] rev 10405
(svn r12947) -Fix: keep only first 15 bits for non failed callback results
rubidium [Sun, 04 May 2008 22:19:44 +0000] rev 10404
(svn r12946) -Fix: do not allocate the OldNames table when creating a new game as it won't be used anyway.
rubidium [Sun, 04 May 2008 22:13:47 +0000] rev 10403
(svn r12945) -Fix: (small) memory leak when joining/exiting threads.
smatz [Sun, 04 May 2008 21:53:36 +0000] rev 10402
(svn r12944) -Codechange: use rev.h instead of externs at many places
rubidium [Sun, 04 May 2008 21:47:36 +0000] rev 10401
(svn r12943) -Fix: reading/modifying invalid data under some circumstances.
rubidium [Sun, 04 May 2008 21:36:37 +0000] rev 10400
(svn r12942) -Fix [FS#1979]: closing some windows caused recursion in the Window deletion causing the reading invalid/freed data which could cause crashes.
rubidium [Sun, 04 May 2008 10:05:50 +0000] rev 10399
(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.
bjarni [Sun, 04 May 2008 10:05:35 +0000] rev 10398
(svn r12940) -Fix [FS#1974](r12913): [autoreplace] a vehicle backup should include the cargo packets in the vehicle as well
rubidium [Sun, 04 May 2008 09:39:16 +0000] rev 10397
(svn r12939) -Codechange: do not use the window proc to determine whether a toolbar is a rail toolbar, but use the window number.
rubidium [Sun, 04 May 2008 08:56:59 +0000] rev 10396
(svn r12938) -Codechange: coding style fixes. Patch by Alberth.
rubidium [Sun, 04 May 2008 08:49:57 +0000] rev 10395
(svn r12937) -Codechange: split allocating and finding the spot to place a window. Patch by Alberth.
rubidium [Sun, 04 May 2008 08:38:21 +0000] rev 10394
(svn r12936) -Doc: a few structs in geometry_type.hpp. Patch by Alberth.
rubidium [Fri, 02 May 2008 08:15:36 +0000] rev 10393
(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.
belugas [Fri, 02 May 2008 02:06:57 +0000] rev 10392
(svn r12934) -Codechange: Before verification of local authority, just make sure airport can physically be built there. Just moving tests
glx [Thu, 01 May 2008 22:51:53 +0000] rev 10391
(svn r12933) -Fix: minor errors related to industries accepted/produced cargo
peter1138 [Wed, 30 Apr 2008 17:42:08 +0000] rev 10390
(svn r12932) -Fix [FS#1970]: Articulated engines ignored GRF engine overrides.
truebrain [Wed, 30 Apr 2008 12:09:42 +0000] rev 10389
(svn r12931) [NoAI] -Fix: AIVehicle::BuildVehicle() returned 'false' in some cases instead of INVALID_VEHICLE (Yexo)
rubidium [Wed, 30 Apr 2008 07:39:46 +0000] rev 10388
(svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka.
smatz [Tue, 29 Apr 2008 23:11:55 +0000] rev 10387
(svn r12929) -Fix [FS#1967](r12560): town rating was too often reset to Mediocre
truebrain [Tue, 29 Apr 2008 22:12:15 +0000] rev 10386
(svn r12928) [NoAI] -Fix: don't crash when reloading an AI that has a compile-error (bug by Fingon)
truebrain [Tue, 29 Apr 2008 22:02:38 +0000] rev 10385
(svn r12927) [NoAI] -Fix: don't crash on the GUI when an AI failed to compile and you still manual it (bug by glx)
truebrain [Tue, 29 Apr 2008 21:49:14 +0000] rev 10384
(svn r12926) [NoAI] -Fix r12925: it has been a while, but... forgot to update regression (tnx glx)
truebrain [Tue, 29 Apr 2008 21:34:17 +0000] rev 10383
(svn r12925) [NoAI] -Add: added AIIndustry::GetAmountOfStationsAround() (Yexo)
peter1138 [Tue, 29 Apr 2008 21:31:29 +0000] rev 10382
(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.
truebrain [Tue, 29 Apr 2008 21:06:16 +0000] rev 10381
(svn r12922) [NoAI] -Add: added AIStation::SetName() (Yexo)
rubidium [Tue, 29 Apr 2008 18:19:29 +0000] rev 10380
(svn r12921) -Codechange: coding style fixes and documentation updates.
smatz [Tue, 29 Apr 2008 18:08:14 +0000] rev 10379
(svn r12920) -Fix (r12859): town rating was affected even after the test run
smatz [Tue, 29 Apr 2008 16:36:44 +0000] rev 10378
(svn r12919) -Fix [FS#1965]: flood road tiles even when there are road works in progress
rubidium [Tue, 29 Apr 2008 10:26:22 +0000] rev 10377
(svn r12918) -Fix [FS#1963] (r12679): last airport would always be shown as buildable even when it was not.
peter1138 [Tue, 29 Apr 2008 07:11:54 +0000] rev 10376
(svn r12917) -Codechange: standardise variable names called with FOR_ALL_ENGINEIDS_OF_TYPE
smatz [Mon, 28 Apr 2008 23:48:45 +0000] rev 10375
(svn r12916) -Fix: let ThreadObject_pthread::IsRunning() behave the same way as ThreadObject_Win32::IsRunning() does
smatz [Mon, 28 Apr 2008 23:34:23 +0000] rev 10374
(svn r12915) -Fix [FS#1960](r12857): don't initialize Station struct with tile=0, buoys will never change that value
peter1138 [Mon, 28 Apr 2008 11:15:13 +0000] rev 10373
(svn r12914) -Fix: Game crash when a spectator/server tried to show an engine with no owner when a NewGRF requested a specific variable.
bjarni [Sun, 27 Apr 2008 20:09:29 +0000] rev 10372
(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
bjarni [Sun, 27 Apr 2008 18:05:48 +0000] rev 10371
(svn r12912) -Codechange: overloaded ChangeVehicleViewWindow() so each argument can be either a Vehicle pointer or a VehicleID
truebrain [Sun, 27 Apr 2008 15:05:17 +0000] rev 10370
(svn r12911) [NoAI] -Add: added AIEventVehicle(List|WaitingInDepot|Unprofitable) (Yexo)
convert-repo [Sun, 27 Apr 2008 10:20:39 +0000] rev 10369
update tags
peter1138 [Sun, 27 Apr 2008 10:19:41 +0000] rev 10368
(svn r12910) -Fix: Report reverse sprite status (FD/FE) to NewGRF for manually toggled vehicles.
glx [Sat, 26 Apr 2008 21:34:30 +0000] rev 10367
(svn r12909) [0.6] -Fix (r12866): missing #defines
rubidium [Sat, 26 Apr 2008 20:54:56 +0000] rev 10366
(svn r12907) [0.6] -Backport from trunk r12906:
- Fix: Vehicle groups, engine replacement rules and player/company names were not properly reset/freed after bankrupt (r12906)
[0.6] -Prepare: for 0.6.1-RC1.
smatz [Sat, 26 Apr 2008 14:20:39 +0000] rev 10365
(svn r12906) -Fix: vehicle groups, engine replacement rules and player/company names were not properly reset/freed after bankrupt (before new player start)
rubidium [Fri, 25 Apr 2008 19:27:27 +0000] rev 10364
(svn r12905) [0.6] -Backport from trunk r12904, r12876:
- Fix: Remove trams from savegames saved in OTTD without tram support, it is better than to simply crash [FS#1953] (r12904)
- Fix: GCC on FreeBSD does not support -dumpmachine causing configure to fail. Use g++ instead [FS#1928] (r12876)
smatz [Fri, 25 Apr 2008 16:33:40 +0000] rev 10363
(svn r12904) -Fix [FS#1953]: remove trams from savegames saved in OTTD without tram support, it is better than to simply crash
truebrain [Fri, 25 Apr 2008 16:05:12 +0000] rev 10362
(svn r12903) [NoAI] -Fix r12899: wrong doxygen param-name comment
truebrain [Fri, 25 Apr 2008 15:56:58 +0000] rev 10361
(svn r12902) [NoAI] -Fix r12901 [API CHANGE]: renamed IsWithinTownRadius to IsWithinTownInfluence, as that reflects the meaning much better
truebrain [Fri, 25 Apr 2008 15:51:12 +0000] rev 10360
(svn r12901) [NoAI] -Add: added AITown.IsWithinTownRadius, AIStation.IsWithinTownRadius and AITile.GetOwner (Yexo)
truebrain [Fri, 25 Apr 2008 15:34:04 +0000] rev 10359
(svn r12900) [NoAI] -Fix r12899: a cosmic ray hit my HD and removed a ';'.. now that sucks!
truebrain [Fri, 25 Apr 2008 15:29:44 +0000] rev 10358
(svn r12899) [NoAI] -Add: added AIEventCompany(New|Merger|InTrouble|Bankrupt) (Yexo)
[NoAI] -Fix: don't export constructor for AIEventTypes, as you shouldn't do it via SQ
rubidium [Fri, 25 Apr 2008 15:25:28 +0000] rev 10357
(svn r12898) -Codechange: coding style in unmovable_cmd.cpp.
rubidium [Fri, 25 Apr 2008 15:22:32 +0000] rev 10356
(svn r12897) -Codechange: some coding style in station_cmd.cpp.
rubidium [Fri, 25 Apr 2008 15:20:48 +0000] rev 10355
(svn r12896) [NoAI] -Sync: with trunk r12824:r12895.
glx [Fri, 25 Apr 2008 15:05:08 +0000] rev 10354
(svn r12895) -Fix: restored Icelandic plural form and removed cases from Brazilian Portuguese (again)
rubidium [Fri, 25 Apr 2008 07:06:57 +0000] rev 10353
(svn r12894) [NoAI] -Fix (r12885): Obiwan with months; months go from 1..12, so doing modulo 12 on that causes December to be invalid.
rubidium [Fri, 25 Apr 2008 06:53:50 +0000] rev 10352
(svn r12893) [0.6] -Backport from trunk (r12543, r12861):
- Language updates (r12543, r12861)
rubidium [Fri, 25 Apr 2008 06:15:12 +0000] rev 10351
(svn r12891) [0.6] -Fix (r12868): breakdowns were broken and would cause vehicles to go slower than they should have been moving.
rubidium [Fri, 25 Apr 2008 06:15:58 +0000] rev 10350
(svn r12892) -Fix: too many items in the vehicle toolbars were greyed out.
richk [Fri, 25 Apr 2008 02:15:34 +0000] rev 10349
(svn r12890) [NewGRF_ports] -Change: Add comment to new function, and correct comment in old.
richk [Fri, 25 Apr 2008 02:12:41 +0000] rev 10348
(svn r12889) [NewGRF_ports] -Change: Optimise before commit ;)
richk [Fri, 25 Apr 2008 01:56:20 +0000] rev 10347
(svn r12888) [NewGRF_ports] -Fix: Rewrite of aircraft movement to correct shallow descents, which werent working correctly. Use of target_altitude variable for added clarity.
-Change: Helicopter speed in holding pattern specified.
-Change: Helicopter landing limited to a minimum of 65kmh
-Change: Helicopters only change height vertically when landing/taking off.
-Change: Helicopters fly 5 below same speed aircraft.
-Change: Helicopter descent position marked by Bit9=1 in amd->flags.
-Change: Updated Spec & .grfs to use Bit9=1 for heli descent position. (WIP)
richk [Fri, 25 Apr 2008 01:42:32 +0000] rev 10346
(svn r12887) [NewGRF_ports] -Fix: When upgrading an airport, remove the existing FSM first.
-Add: Added function to RemoveFSMSpecFromStationList when the index is unknown.
richk [Fri, 25 Apr 2008 01:39:33 +0000] rev 10345
(svn r12886) [NewGRF_ports] -Change: Added test for IsInFlight to detect if an aircraft is flying between airports, or is in the main body of the FSM.
truebrain [Fri, 25 Apr 2008 00:22:41 +0000] rev 10344
(svn r12885) [NoAI] -Add: added AISubsidy and AIEventSubsidyNNN (Yexo)
truebrain [Thu, 24 Apr 2008 23:57:19 +0000] rev 10343
(svn r12884) [NoAI] -Fix r12880: make doxygen happy by commenting on all the typedefs.. boy, what are those comments explaining!
glx [Thu, 24 Apr 2008 23:50:40 +0000] rev 10342
(svn r12882) -Fix (r12764): the check for missing header files could find more files than needed
truebrain [Thu, 24 Apr 2008 23:53:05 +0000] rev 10341
(svn r12883) [NoAI] -Fix r12880: move two own-defined typedefs to ai_types.hpp too
glx [Thu, 24 Apr 2008 23:40:42 +0000] rev 10340
(svn r12881) -Fix (r12770): the check for missing header files could find more files than needed
truebrain [Thu, 24 Apr 2008 23:39:18 +0000] rev 10339
(svn r12880) [NoAI] -Add: introduces ai_types.hpp, which has all NNNId like VehicleID. This simplifies the include-mess, and avoids including tons of _type.h for just a single typedef.
-Note: this is perfectly safe; when a type changes, any sane compiler starts complaining about redefining the typedef to an other type
truebrain [Thu, 24 Apr 2008 23:29:01 +0000] rev 10338
(svn r12879) [NoAI] -Fix: two bugs in $Id$ handling of squirrel_export, and one fix for future problems
richk [Thu, 24 Apr 2008 21:53:20 +0000] rev 10337
(svn r12878) [NewGRF_ports] -Change: Added test for IsEndTakeoffState to detect if any of the 4 takeoff states are current.
richk [Thu, 24 Apr 2008 21:52:22 +0000] rev 10336
(svn r12877) [NewGRF_ports] -Change: Added names for additional BLIMP states.
rubidium [Thu, 24 Apr 2008 20:07:12 +0000] rev 10335
(svn r12876) -Fix [FS#1928]: gcc on FreeBSD does not support -dumpmachine. As gcc is not necessary for FreeBSD compiles we 'just' use g++ as that support -dumpmachine.
belugas [Thu, 24 Apr 2008 18:30:41 +0000] rev 10334
(svn r12875) -Codechange: Use defined const instead of cast magic
belugas [Thu, 24 Apr 2008 18:17:53 +0000] rev 10333
(svn r12874) -Codechange: The closest town is already known. Do not search for it again.
rubidium [Thu, 24 Apr 2008 17:53:45 +0000] rev 10332
(svn r12873) -Fix [FS#1946]: MSVC is whining because it doesn't understand that bytes should be cast to ints.
peter1138 [Thu, 24 Apr 2008 15:51:29 +0000] rev 10331
(svn r12872) -Codechange: Remove obsolete unused engine list order function
rubidium [Thu, 24 Apr 2008 14:33:18 +0000] rev 10330
(svn r12871) [0.6] -Backport from trunk r12819, r12818, r12759:
- Fix: Inconsistent use of 8/15-bitness of NewGRF callback results with respect to TTDP's implementation of the specification (r12819, r12818, r12759)
smatz [Thu, 24 Apr 2008 13:05:51 +0000] rev 10329
(svn r12870) -Codechange: remove some magic numbers from u.ship.state handling
rubidium [Thu, 24 Apr 2008 12:36:18 +0000] rev 10328
(svn r12869) [0.6] -Backport from trunk r12714, r12708, r12674, r12577, r12553:
- Fix: Do not move windows below the toolbar on resizes unless they would go behind the toolbar [FS#1904] (r12714)
- Fix: Increase default sound buffer size only for Vista [FS#1914] (r12708)
- Fix: Colour remaps on station sprites only worked for company colours [FS#1902] (r12674)
- Fix: The convert signal button disallowed signal dragging when the signal GUI was closed (r12577)
- Fix: Redraw the signal GUI when the signal drag density changes in the patch settings and vice versa (r12553)
rubidium [Thu, 24 Apr 2008 12:32:37 +0000] rev 10327
(svn r12868) [0.6] -Backport from trunk r12795, r12776, r12683, r12681, r12678:
- Fix: 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 [FS#1938] (r12795)
- 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 (r12776)
- Fix: In some cases a news messages would not be shown [FS#1906] (r12683)
- Fix: When a road vehicle has a tram only stop multiple times in a row in it's orders, only the first one would be skipped [FS#1918] (r12678)
rubidium [Thu, 24 Apr 2008 12:15:24 +0000] rev 10326
(svn r12867) [0.6] -Backport from trunk r12706, r12642, r12622, r12572, r12542:
- Fix: Do not crash very hard on unrecognised savegames, just go back to the intro menu instead (r12706)
- Fix: Remove buggy buoys at tile 0 from old TTDP savegames (r12642)
- Fix: Infinite loop in case your compiler decides that enums are unsigned by default (r12622)
- Fix: min() has 32bit arguments, clamping of 64bit values did not work (r12572)
- Fix: Do not install scenarios into the current user's homedir when running 'make install', that is silly. Simply always install scenarios system wide instead (r12542)
rubidium [Thu, 24 Apr 2008 12:05:36 +0000] rev 10325
(svn r12866) [0.6] -Backport from trunk r12759, r12717, r12682, r12564, r12561:
- Fix: Slope checking for NewGRFs failed (r12759)
- Fix: Check the TILE_NOT_SLOPED flag of the _north_ tile of multi-tile houses to decide if autoslope is allowed (r12717)
- Fix: Removing road pieces from a town gave you twice the intended penalty [FS#1920] (r12682)
- Fix: Towns could not terraform when inflation rised terraform prices enough (r12564)
- Fix: Do not affect town rating change by the order in which we examine stations (r12561)
rubidium [Thu, 24 Apr 2008 11:56:15 +0000] rev 10324
(svn r12865) [0.6] -Backport from trunk r12856, r12809, r12808, r12637, r12574:
- Fix: Ensure that prop 25 is set for all vehicles in the consist before other properties as it could cause desyncs (r12856)
- Fix: Possible out of bounds array access (r12809)
- Fix: Enforce autorenew values range in command (r12808)
- Fix: Possible NULL pointer dereference when reading some NewGRF data [FS#1913] (r12637)
- Fix: Binding to a specific IP could cause OpenTTD to not register properly with the masterserver if one has multiple external interfaces (r12574)
rubidium [Thu, 24 Apr 2008 11:48:09 +0000] rev 10323
(svn r12864) [0.6] -Backport from trunk r12859, r12857, r12855, r12845, r12844:
- Fix: Make the town rating tests use less memory and much quicker (r12859)
- Fix: Usage of AutoPtr made (trying to) build stuff very expensive (r12857, r12855)
- Fix: Use YAPF for fairly old savegames from before YAPF was introduced (r12845)
- 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 (r12844)
rubidium [Thu, 24 Apr 2008 11:11:50 +0000] rev 10322
(svn r12863) -Codechange: rewrite GeneratePlayerColour to be better understandable.
smatz [Thu, 24 Apr 2008 09:55:20 +0000] rev 10321
(svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup
miham [Thu, 24 Apr 2008 08:53:04 +0000] rev 10320
(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)
peter1138 [Thu, 24 Apr 2008 07:44:21 +0000] rev 10319
(svn r12860) -Fix [FS#1947]: Train depart animation trigger was not called in some cases.
rubidium [Wed, 23 Apr 2008 22:55:11 +0000] rev 10318
(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.
rubidium [Wed, 23 Apr 2008 22:17:33 +0000] rev 10317
(svn r12858) -Add: small piece of code that can help hunting desyncs. Has to be enabled by --enable-desync-debug=1 though.
rubidium [Wed, 23 Apr 2008 22:16:41 +0000] rev 10316
(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code.
peter1138 [Wed, 23 Apr 2008 21:55:24 +0000] rev 10315
(svn r12856) -Fix: Taking r12377 further, ensure that prop 25 is set for all vehicles in the consist before other properties.
rubidium [Wed, 23 Apr 2008 20:56:08 +0000] rev 10314
(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.
smatz [Wed, 23 Apr 2008 20:22:31 +0000] rev 10313
(svn r12854) -Codechange: make drawing of rail catenary a bit faster
smatz [Wed, 23 Apr 2008 19:47:23 +0000] rev 10312
(svn r12853) -Fix: catenary on tunnel entrances and middle bridge pieces was drawn twice in some cases
smatz [Wed, 23 Apr 2008 19:07:18 +0000] rev 10311
(svn r12852) -Fix: do not try to draw rail catenary above non-rail station tiles
richk [Wed, 23 Apr 2008 18:11:25 +0000] rev 10310
(svn r12851) [NewGRF_ports] -Fix: Slight mis-sync disabled colouring of selection tiles for seaplane airports.
glx [Wed, 23 Apr 2008 13:36:52 +0000] rev 10309
(svn r12850) -Fix (r12848): compilation was broken for some platforms
truebrain [Wed, 23 Apr 2008 12:05:32 +0000] rev 10308
(svn r12849) [NoAI] -Fix: when .hpp.sq doesn't exists, don't run diff (tnx to Yexo)
peter1138 [Wed, 23 Apr 2008 12:03:47 +0000] rev 10307
(svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix with _ for non-globals, and use implicit enum numbering.
peter1138 [Wed, 23 Apr 2008 11:57:58 +0000] rev 10306
(svn r12847) -Cleanup: Identing and variable scope
richk [Wed, 23 Apr 2008 03:14:27 +0000] rev 10305
(svn r12846) [NewGRF_ports] -Change: Added clearer support for seaplanes.
Seaplane is now defined on bits 2 & 3 of Prop 0x17 of Action0Planes.
Seaplanes can only be built at airports they can use. Some seaplanes have dual land/sea capability; this is supported.
Updated seaplaneport.grf to reflect new functionality.
rubidium [Wed, 23 Apr 2008 00:16:21 +0000] rev 10304
(svn r12845) -Change: use YAPF for fairly old savegames from before YAPF was introduced.
rubidium [Wed, 23 Apr 2008 00:14:49 +0000] rev 10303
(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.
bjarni [Tue, 22 Apr 2008 23:16:36 +0000] rev 10302
(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
glx [Tue, 22 Apr 2008 21:18:55 +0000] rev 10301
(svn r12842) -Codechange [FS#1604]: scale message history by map size
rubidium [Tue, 22 Apr 2008 19:42:52 +0000] rev 10300
(svn r12841) [NoAI] -Add: function to test whether an industry is built on water/has a heliport/dock.
glx [Tue, 22 Apr 2008 19:23:19 +0000] rev 10299
(svn r12840) [NoAI] -Fix (r12838): incorrect comment
peter1138 [Tue, 22 Apr 2008 18:20:41 +0000] rev 10298
(svn r12839) -Codechange: Allocate temporary engine data when loading GRFs as needed instead of statically.