glx
a9d263c459
(svn r12981) -Codechange: remove some useless includes and defines
16 years ago
rubidium
3b9e4f6d17
(svn r12980) -Fix: MorphOS threading support. Patch by Fabien Coeurjoly.
16 years ago
rubidium
822c130b70
(svn r12978) -Codechange: "\\0" is not needed for the MorphOS revision string. Patch by tokai.
16 years ago
rubidium
402a1e24ba
(svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
16 years ago
rubidium
9bf519f26b
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
16 years ago
rubidium
e6c944a6c4
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
16 years ago
rubidium
46a0ebe1d9
(svn r12974) -Codechange: check whether loading/saving highscores goes as it should be.
16 years ago
peter1138
c025d7a152
(svn r12973) -Codechange: Rename GRMSpriteEntry to GRFLocation, as it is not necessarily specific to GRM sprites...
16 years ago
glx
780db88e99
(svn r12972) -Fix (r12971): forgot to close a comment
16 years ago
rubidium
d03994098b
(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
fb938a2cb3
(svn r12970) -Codechange: coding style for some function names
16 years ago
rubidium
fb1db90cc6
(svn r12969) -Codechange: remove a completely pointless file.
16 years ago
maedhros
8da41ec62e
(svn r12968) -Fix: Don't segfault when adding a server if 0.0.0.0 was entered for the address.
16 years ago
glx
7e1ac0ce57
(svn r12967) -Fix (r12966): my lang update script failed
16 years ago
glx
e326a03c4c
(svn r12966) -Update: apply english.txt changes from r12965 to other languages
16 years ago
glx
963dce0d47
(svn r12965) -Codechange: add support for callback 37 in industries directory window
16 years ago
glx
e7678a03cc
(svn r12964) -Codechange: rewrite callback 37 related code so it will be easier to add supported windows
16 years ago
rubidium
50516f2372
(svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop.
16 years ago
smatz
71800aa7c6
(svn r12962) -Fix (r12961): forgot one break
16 years ago
smatz
c9cf1d4cee
(svn r12961) -Codechange: store the type of savegame we are loading in a global variable
16 years ago
rubidium
56e1178dca
(svn r12960) -Codechange: handle return values of (some) file system related functions.
16 years ago
glx
1050f07ed1
(svn r12959) -Fix: don't assume no production when the first produced cargo is invalid in industries directory
16 years ago
peter1138
22aa011b57
(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
f200fc3b99
(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
0eab2c07c2
(svn r12956) -Codechange: Code-style application on switch-case aligment
16 years ago
smatz
72120a48c4
(svn r12955) -Fix (r12858): compilation with desync debug was broken
16 years ago
peter1138
4595d2c3b1
(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
57e104f97e
(svn r12952) -Cleanup: Indenting and codestyle
16 years ago
belugas
cdd22af5a1
(svn r12951) -Fix(r9762)[FS#1977): Revert the new difficulty settings of town and industries back to their initial values.
16 years ago
belugas
26f11fd181
(svn r12950) -Fix: two includes is one too much
16 years ago
rubidium
a1e77073fe
(svn r12949) -Fix [FS#1978]: no loading/no unloading orders were 'forgotten' during manual replaces.
16 years ago
rubidium
e6bc8fa3d8
(svn r12948) -Fix [FS#1982]: all vehicles would be available when an original scenario would be played.
16 years ago
glx
9eb498eb53
(svn r12947) -Fix: keep only first 15 bits for non failed callback results
16 years ago
rubidium
a51e32376e
(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
7a85e26268
(svn r12945) -Fix: (small) memory leak when joining/exiting threads.
16 years ago
smatz
297f99e100
(svn r12944) -Codechange: use rev.h instead of externs at many places
16 years ago
rubidium
0b8b5d1f3b
(svn r12943) -Fix: reading/modifying invalid data under some circumstances.
16 years ago
rubidium
762315c47c
(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
cb680474c3
(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.
16 years ago
bjarni
dbf6e344a4
(svn r12940) -Fix [FS#1974](r12913): [autoreplace] a vehicle backup should include the cargo packets in the vehicle as well
16 years ago
rubidium
8ca1035316
(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
a26b25aecc
(svn r12938) -Codechange: coding style fixes. Patch by Alberth.
16 years ago
rubidium
5b44c68b19
(svn r12937) -Codechange: split allocating and finding the spot to place a window. Patch by Alberth.
16 years ago
rubidium
72eb1f100b
(svn r12936) -Doc: a few structs in geometry_type.hpp. Patch by Alberth.
16 years ago
rubidium
d1ddff90d9
(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
b49b4f627f
(svn r12934) -Codechange: Before verification of local authority, just make sure airport can physically be built there. Just moving tests
16 years ago
glx
49484eedca
(svn r12933) -Fix: minor errors related to industries accepted/produced cargo
16 years ago
peter1138
3e0b6199c4
(svn r12932) -Fix [FS#1970]: Articulated engines ignored GRF engine overrides.
16 years ago
rubidium
4097d81323
(svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka.
16 years ago
smatz
c76b2be644
(svn r12929) -Fix [FS#1967](r12560): town rating was too often reset to Mediocre
16 years ago
peter1138
a00371c8db
(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
1d01390fa6
(svn r12921) -Codechange: coding style fixes and documentation updates.
16 years ago
smatz
a870a66877
(svn r12920) -Fix (r12859): town rating was affected even after the test run
16 years ago
smatz
fc60ef874d
(svn r12919) -Fix [FS#1965]: flood road tiles even when there are road works in progress
16 years ago
rubidium
9f3351fed4
(svn r12918) -Fix [FS#1963] (r12679): last airport would always be shown as buildable even when it was not.
16 years ago
peter1138
5ca6fd67fc
(svn r12917) -Codechange: standardise variable names called with FOR_ALL_ENGINEIDS_OF_TYPE
16 years ago
smatz
868c17a175
(svn r12916) -Fix: let ThreadObject_pthread::IsRunning() behave the same way as ThreadObject_Win32::IsRunning() does
16 years ago
smatz
dd00683a46
(svn r12915) -Fix [FS#1960](r12857): don't initialize Station struct with tile=0, buoys will never change that value
16 years ago
peter1138
a37ee93f8d
(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
757de2bdf5
(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
9f5f4e59cd
(svn r12912) -Codechange: overloaded ChangeVehicleViewWindow() so each argument can be either a Vehicle pointer or a VehicleID
16 years ago
peter1138
3f2513b5ac
(svn r12910) -Fix: Report reverse sprite status (FD/FE) to NewGRF for manually toggled vehicles.
16 years ago
smatz
9e1b8b69e3
(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
805e1db332
(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
4e80f3f3b1
(svn r12898) -Codechange: coding style in unmovable_cmd.cpp.
16 years ago
rubidium
1aa7d9faff
(svn r12897) -Codechange: some coding style in station_cmd.cpp.
16 years ago
glx
9d7181abd7
(svn r12895) -Fix: restored Icelandic plural form and removed cases from Brazilian Portuguese (again)
16 years ago
rubidium
f1679bcbb7
(svn r12892) -Fix: too many items in the vehicle toolbars were greyed out.
16 years ago
belugas
bf702602c1
(svn r12875) -Codechange: Use defined const instead of cast magic
16 years ago
belugas
fbeaf0389d
(svn r12874) -Codechange: The closest town is already known. Do not search for it again.
16 years ago
rubidium
91fa34ea11
(svn r12873) -Fix [FS#1946]: MSVC is whining because it doesn't understand that bytes should be cast to ints.
16 years ago
peter1138
f8612ad5b9
(svn r12872) -Codechange: Remove obsolete unused engine list order function
16 years ago
smatz
345f160978
(svn r12870) -Codechange: remove some magic numbers from u.ship.state handling
16 years ago
rubidium
5ac07a2c34
(svn r12863) -Codechange: rewrite GeneratePlayerColour to be better understandable.
16 years ago
smatz
9fc355fca5
(svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup
16 years ago
miham
48eda2b6ef
(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
60eb3c034f
(svn r12860) -Fix [FS#1947]: Train depart animation trigger was not called in some cases.
16 years ago
rubidium
9c675afb91
(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
739cb53fff
(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
dce1b33196
(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code.
16 years ago
peter1138
10ab24a5f1
(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
6939569362
(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
1ba6e3deeb
(svn r12854) -Codechange: make drawing of rail catenary a bit faster
16 years ago
smatz
459259aeec
(svn r12853) -Fix: catenary on tunnel entrances and middle bridge pieces was drawn twice in some cases
16 years ago
smatz
ccfe024a2a
(svn r12852) -Fix: do not try to draw rail catenary above non-rail station tiles
16 years ago
glx
e3ca91dc15
(svn r12850) -Fix (r12848): compilation was broken for some platforms
16 years ago
peter1138
24cccc8333
(svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix with _ for non-globals, and use implicit enum numbering.
16 years ago
peter1138
fff763b5ce
(svn r12847) -Cleanup: Identing and variable scope
16 years ago
rubidium
39a715f1f3
(svn r12845) -Change: use YAPF for fairly old savegames from before YAPF was introduced.
16 years ago
rubidium
2d860049a7
(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
501b89b8de
(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
46bd824b3e
(svn r12842) -Codechange [FS#1604]: scale message history by map size
16 years ago
peter1138
c5211354a6
(svn r12839) -Codechange: Allocate temporary engine data when loading GRFs as needed instead of statically.
16 years ago
belugas
da134d5a39
(svn r12837) -Codechange: Alignment of widget array
16 years ago
rubidium
845b827fbc
(svn r12836) -Fix: SunOS non-dedicated server compilation.
16 years ago
peter1138
5dcd689f56
(svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication.
16 years ago
frosch
173ac52da5
(svn r12820) -Documentation: Mark callbacks as 8 or 15 bit in 'newgrf_callbacks.h'.
16 years ago
rubidium
5ef8c01ce7
(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
22140d82c6
(svn r12818) -Codechange: make callbacks 31 and 37 behave like they do in TTDP according to frosch's survey.
16 years ago
rubidium
a40bba8bac
(svn r12817) -Feature: the ability to play NewGRF sounds for industries and stations.
16 years ago