summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-01-31(svn r8479) -Fix (r8459): Silenced VC warning C4099: 'Packet' : type name ↵KUDr
first seen using 'class' now seen using 'struct' -Codechange: 'typedef struct Packet' changed to 'struct Packet'
2007-01-31(svn r8478) -Fixtron
Change the structure of the the loop in r8477 to prepare for further changes
2007-01-31(svn r8477) -Fixtron
-Codechange: Remove the unnecessary attributes Station::{bus,lorry}_tile_obsolete by replacing them with a scan of the map for existing road stops when loading old savegames
2007-01-31(svn r8476) -Fixtron
Remove the unused remnants of {bus,truck}_stop_status_obsolete (though I wonder a bit why this information doesn't get converted on load *shrug*)
2007-01-31(svn r8475) -Fixtron
Remove the unused remnants of blocked_months_obsolete
2007-01-31(svn r8474) -Fixtron
Turn GetPrimaryRoadStop() into a method of struct Station
2007-01-30(svn r8465) -Regression (r8455): Switching from dual to single head should ↵peter1138
switch to wagon if power is zero. .Or something.
2007-01-30(svn r8464) -Revert (r4322): Change back to converting to mph in the GUI ↵peter1138
code, as 1 mph == 1.6 km/h is too far out for some people.
2007-01-30(svn r8462) -Update: WebTranslator2 update to 2007-01-30 19:52:32miham
french - 2 fixed by glx (2) polish - 2 fixed by meush (2) ukrainian - 36 fixed, 10 changed by mad (46)
2007-01-30(svn r8461) -Feature: check for NewGRF compatability before actually ↵rubidium
downloading the map from a game server when connecting from the command prompt and internal console.
2007-01-30(svn r8460) -Fix (r8455): the build train window put locomotives and wagons ↵bjarni
in appeantly random order
2007-01-30(svn r8459) -Codechange: move (Send|Recv)GRFIdentifier to ↵rubidium
NetworkSocketHandler, so it can also be used the TCP socket handler.
2007-01-30(svn r8456) -Update: WebTranslator2 update to 2007-01-30 16:08:37miham
american - 4 fixed by WhiteRabbit (4) brazilian_portuguese - 4 fixed by fukumori (4) danish - 16 changed by MiR (16) esperanto - 4 fixed by LaPingvino (4) french - 32 changed by glx (32) italian - 4 fixed by sidew (4) japanese - 4 fixed, 2 changed by ickoonite (4), PouncingAnt (2) korean - 1 changed by darkttd (1) norwegian_nynorsk - 4 fixed by pollux (4) portuguese - 6 changed by izhirahider (6) romanian - 4 fixed by kneekoo (4) slovak - 4 fixed by lengyel (4) slovenian - 43 fixed, 38 changed by Necrolyte (81) spanish - 4 fixed by jfrank (4) swedish - 4 fixed by daishan (4) ukrainian - 45 fixed, 7 deleted, 18 changed by mad (14), znikoz (56)
2007-01-30(svn r8455) -Codechange: Give a more meaningful name (railveh_type)to member ↵belugas
flags of RailVehInfo, as well as changing the code to reflect the fact that it was not a flag but rather a one value only variable. Doing so, some evaluations have been simplified. -Codechange: Add and use RAILVEH_SINGLEHEAD when railveh_type is set to 0, which was implicit before. -Cleanup: Remove some extraneous parenthesis.
2007-01-28(svn r8449) -Fixtron
-Codechange: Remove the superfluous attribute RoadStop::prev
2007-01-28(svn r8448) -Codechange/Fix (r2993): Also update the helicopter's rotor when ↵Darkvater
loading the game. This can solve crashes when a game is loaded with missing GRF's
2007-01-28(svn r8446) -Fix (8445): accidentally made a function that should not be ↵rubidium
abstract abstract.
2007-01-28(svn r8445) -Cleanup: remove some @params from comments as the parameters ↵rubidium
did not exist anymore and add comments to several variables/functions.
2007-01-28(svn r8444) -Fix: [Translations] Fixes from russian translator Quarkmiham
2007-01-28(svn r8443) -Update: WebTranslator2 update to 2007-01-28 19:36:45miham
czech - 4 fixed by Hadez (4) danish - 1 changed by MiR (1) korean - 3 changed by darkttd (3) turkish - 4 fixed by jnmbk (4)
2007-01-28(svn r8437) -Codechange: move often duplicated (in MSU) define to the udp ↵rubidium
header.
2007-01-28(svn r8436) -Fixtron
-Feature: When linking the terraform toolbar to the build toolbars place them side by side instead of on top of each other
2007-01-27(svn r8434) -Fix (r8430): Missing braces caused compilation failure for some ↵peter1138
(most?) compilers...
2007-01-27(svn r8431) -Update: WebTranslator2 update to 2007-01-27 19:34:37miham
catalan - 4 fixed by arnaullv (4) danish - 4 fixed, 2 changed by MiR (6) dutch - 4 fixed by habell (4) french - 4 fixed by glx (4) german - 4 fixed by Neonox (4) hungarian - 4 fixed by miham (4) korean - 4 fixed, 4 changed by Nios (4), leejaeuk5 (4) lithuanian - 2 changed by Domas (2) polish - 4 fixed by meush (4) portuguese - 4 fixed by izhirahider (4) simplified_chinese - 4 fixed by Fishingsnow (4) slovenian - 4 fixed, 410 changed by Necrolyte (414) ukrainian - 34 fixed, 49 changed by mad (79), znikoz (4)
2007-01-27(svn r8430) -Fixtron
Replace the rather obscure control flow for handling aircraft/ship/train orders by something remotly comprehensible (see r3584)
2007-01-27(svn r8429) -Codechange: Add a name for AircraftVehicleInfo subtype ↵Darkvater
helicopter and remove some magic numbers related to the subtype.
2007-01-27(svn r8428) -Codechange: Add proper names to aircraft subtypes instead of ↵Darkvater
magic numbers and add a function IsNormalAircraft() which tells us whether the aircraft is in fact some flying device or a rotor/shadow.
2007-01-27(svn r8427) -Fixtron
s/m?/m³/
2007-01-27(svn r8426) -Fixtron
Slightly simplify the code which determines whether to build a rail or a road bridge
2007-01-26(svn r8425) -Fixtron
Do not try to invalidate a window which just got deleted. It is pointless
2007-01-26(svn r8424) -Fixtron
Do not call ClearSlot() just before calling DeleteVehicle(), which does it too
2007-01-26(svn r8423) -Fixtron
Do not explicitly pass the station specification and the station to ResolveStation(). They are already contained in the ResolverObject
2007-01-26(svn r8422) -Fixtron
-Regression (r8314): Reevaluate the disabled elrail setting after loading because the railtype doesn't get saved anymore
2007-01-26(svn r8421) -Codechange (r8420): rename STR_AVAILABLE_VEHICLES to ↵Darkvater
STR_AVAILABLE_ROAD_VEHICLES for clarificaton (Tron)
2007-01-26(svn r8420) -Codechange (r7418): Rename the 'New <vehtype>' button of the ↵Darkvater
global vehicle lists to 'Available <vehtype>' as it is a view-only list, not one from which you can purchase (rolling) stock.
2007-01-26(svn r8419) -Update: WebTranslator2 update to 2007-01-26 19:40:39miham
brazilian_portuguese - 1 changed by fukumori (1) korean - 1 changed by Nios (1) ukrainian - 1 fixed, 23 changed by mad (24)
2007-01-26(svn r8414) -Codechange: Use own AutoPtrT instead of std::auto_ptr.KUDr
-Simplifies assignment from raw pointers -Should be harder to crash the program by incorrect assignment into it. -Should help with MorphOS compilation errors
2007-01-26(svn r8413) -Fix [MORPHOS]: disable #define offsetof conflict on Morphos ↵KUDr
(seems that g++ 2.95 defines it anyway)
2007-01-26(svn r8412) [MorphOS] -Fix: assert_compile(x != y) doesn't work, but ↵truelight
assert_compile(!(x == y)) does.. don't ask me why!
2007-01-26(svn r8411) [MorphOS] -Fix: tons of unneeded warnings in networking code, ↵truelight
because MorphOS wants UBYTE arrays and we use char arrays. Solution is a bit hackish.
2007-01-26(svn r8410) -Fixtron
-Fix: Fix an out of bounds array access when assigning the engine type in the _engine array This usually hits the _engine_name_strings array and causes an invalid StringID, though it depends on the compiler which data structure gets placed after the _engines array. Most probably this was exposed by removing railtype from Engine, which changed the size of this struct.
2007-01-26(svn r8409) -Regression (r8049): When the latest news was deleted, the news ↵Darkvater
queue wrapped back to the oldest item, showing all news again. -Regression [FS#573] (r8049): ShowLastNewsMessage could show an out-of-bounds news item because it did not checked if a previous item actually existed the first time it is called (forced news is INVALID_NEWS).
2007-01-25(svn r8404) -Update: WebTranslator2 update to 2007-01-25 19:36:44miham
korean - 2 changed by leejaeuk5 (2) slovak - 1 changed by lengyel (1) slovenian - 290 changed by Necrolyte (290) ukrainian - 1 fixed, 55 changed by mad (7), znikoz (49)
2007-01-25(svn r8403) -Fix (r8402): Forgot to remove an enumcelestar
2007-01-25(svn r8402) -Codechange: Move RoadStop-specific enums to the RoadStop class, ↵celestar
and changed a one-member enum into a static const. Simplify their naming and add some doxygen-comments to RoadStop
2007-01-25(svn r8401) -Codechange: Make 'IsValidRoadStop' a method of RoadStop and ↵celestar
rename it to 'IsValid' -Codechange: While I'm at it, put 'RoadStop::AllocateRaw' into the protected section
2007-01-25(svn r8400) -Fixtron
Simplify r8399
2007-01-25(svn r8399) -Fix (r8185): a new road stop was always created in ↵glx
CmdBuildRoadStop(), but it was not deleted if DC_EXEC flag was not set or if the station creation failed
2007-01-24(svn r8398) -Cleanup: Remove WATCOM crud from strgen and map.h include from ↵Darkvater
macros.h as it is no longer needed.
2007-01-24(svn r8397) -Codechange: [orders window] don't move the refit button to the ↵bjarni
same location as the unload button instead assert if the widget array place them at different locations