Commit Graph

684 Commits

Author SHA1 Message Date
tron 12b1804d4e (svn r8884) -Fix
Replace SetSpeedLimitOnBridge() by something simpler
2007-02-24 18:44:30 +00:00
maedhros e3f60f716c (svn r8882) -Cleanup (r8881): Remove obsolete strings. 2007-02-24 16:37:06 +00:00
maedhros 8b6350d3a3 (svn r8881) -Feature: Allow built-in newgrf error messages to be translated, and load custom error messages properly. 2007-02-24 16:34:37 +00:00
rubidium 8ac0e7be21 (svn r8880) -Codechange: make anim cursors an array of structs. 2007-02-24 15:05:14 +00:00
rubidium 4fd8926e9d (svn r8879) -Codechange: make DrawPlayerFace easier to read. 2007-02-24 14:53:32 +00:00
tron caa129958d (svn r8878) -Fix
-Fix: Do a better job when checking the parameters of CmdMoveRailVehicle()
NOTE: 0.5 candidate
2007-02-24 14:36:14 +00:00
rubidium 6ddef3f743 (svn r8877) -Cleanup: remove already implemented @todo 2007-02-24 12:50:05 +00:00
tron d3b29bcacb (svn r8876) -Fix
Replace tests with magic numbers by a simple extraction template for command parameters
2007-02-24 09:42:39 +00:00
tron 1d1121f85a (svn r8875) -Fix
Remove unnecessary EnsureNoVehicle() checks because they are
- pointless per se (f.e. there are no vehicles on house tiles)
- done again (f.e. using CMD_LANDSCAPE_CLEAR just a few lines later)
2007-02-24 06:46:20 +00:00
KUDr 029ceda0f1 (svn r8869) [YAPF] -Fix: Large Train Stations/Trains makes OpenTTD crash (Jigsaw_Psyche) 2007-02-24 00:17:46 +00:00
rubidium 433b8054e9 (svn r8868) -Fix (r8715): road vehicles could not overtake anymore in some directions (mart3p). 2007-02-23 22:14:14 +00:00
KUDr 9cdf6fdc7e (svn r8867) -Fix(r8866): revert yapf_costrail.hpp commited by mistake, helpers.hpp had wrong line ending 2007-02-23 21:36:43 +00:00
KUDr f3d5fda36c (svn r8866) -Doc: added more comments to template struct MakeEnumPropsT 2007-02-23 21:29:50 +00:00
peter1138 0cf592b17a (svn r8865) -Codechange: (NewGRF) Ignore 1 byte action 0s during safety check 2007-02-23 21:03:57 +00:00
KUDr dac3cd622f (svn r8864) -Codechange: make ClrBitT(), SetBitT() and ToggleBitT more like CLRBIT() and so on (modify value of the first parameter instead or returning the result) 2007-02-23 20:51:10 +00:00
peter1138 20405f56b4 (svn r8863) -Fix: prefix engine_custom_sprites with _ 2007-02-23 19:27:31 +00:00
belugas 6dbf9f2f41 (svn r8862) -Cleanup: doxygen changes, again. Mostly @files missing tags and a few comments style.
Some documentation addition, when i can easily supply them
2007-02-23 18:55:07 +00:00
Darkvater 1bbbbeeef1 (svn r8860) -Cleanup: some style changes, proper #endif comments, variable initialisation, WINCE ifdef and a vsprintf to vsnprintf change. 2007-02-23 12:56:10 +00:00
belugas 6d199fcdb7 (svn r8859) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style. 2007-02-23 11:50:43 +00:00
peter1138 7e73413709 (svn r8858) -Codechange: Replace magic number test with class method for determining if a cargo is valid/active. 2007-02-23 09:56:20 +00:00
celestar 0ed4b64e64 (svn r8857) -Documentation: Added some doxygen @file tags, repaired others (the @file tag MUST be found before any line of code, that includes preprocessor directives). 2007-02-23 08:37:33 +00:00
tron 798c95a228 (svn r8856) -Fix
Missing */ (r8853)
2007-02-23 08:19:24 +00:00
tron 9cbc49b65b (svn r8855) -Fix
Change some shift and cast mumbo jumbo for inflation calculation to something remotly comprehensible and explain what the magic number "54" means
2007-02-23 08:03:30 +00:00
belugas 8ace4dd25c (svn r8854) -Fix(r8853): Ctrl+s (save) without Ctrl does not produce desired result... 2007-02-23 02:18:17 +00:00
belugas a723770836 (svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style 2007-02-23 01:48:53 +00:00
rubidium 202702c007 (svn r8852) -Fix (r8735): make the dynamite tool for drive through road stops as if it were removing a normal road tile (consider the local authority and such).
-Fix (r8735): remove drive through road stops on town owned roads when going bankrupt/being removed.
2007-02-23 00:17:46 +00:00
rubidium dcb217a6ac (svn r8851) -Fix [FS#643] (r8735): crash on removing town owned roads outside of the local authority. 2007-02-23 00:10:16 +00:00
peter1138 89613b6cc4 (svn r8850) -Codechange: Use the cargo type's is_freight flag instead of checking the cargo type to determine if the cargo type is freight cargo type cargo type. 2007-02-22 22:53:49 +00:00
peter1138 6062004960 (svn r8849) -Codechange: Replace hardcoded global/climate cargo mapping tables with dynamically generated data. Change associated code to use new functions. 2007-02-22 22:09:51 +00:00
miham 4f41a8a5e2 (svn r8848) -Update: WebTranslator2 update to 2007-02-22 19:57:58
brazilian_portuguese - 1 fixed, 49 changed by tucalipe (48), fukumori (2)
bulgarian  - 2 fixed by kokobongo (2)
catalan    - 1 fixed, 2 changed by arnaullv (3)
czech      - 1 fixed by Hadez (1)
danish     - 2 fixed, 1 changed by MiR (3)
dutch      - 1 fixed by habell (1)
french     - 1 fixed, 1 changed by Skiper (2)
german     - 1 fixed by Neonox (1)
italian    - 1 fixed by sidew (1)
korean     - 4 fixed by leejaeuk5 (3), darkttd (1)
portuguese - 4 changed by izhirahider (4)
romanian   - 10 fixed by kneekoo (10)
russian    - 1 fixed, 42 changed by DarkFenX (43)
slovenian  - 1 deleted by Necrolyte (1)
spanish    - 1 changed by eusebio (1)
ukrainian  - 19 fixed, 1 deleted, 12 changed by mad (32)
2007-02-22 19:14:43 +00:00
tron 2e4844abad (svn r8847) -Fix
There is not much point in hiding a normal 64bit multiplication in a function, so do not do it
2007-02-22 19:05:26 +00:00
tron 8b94d4df22 (svn r8846) -Fix
Remove confusing superfluous parentheses
2007-02-22 18:44:42 +00:00
tron 17dd1b7126 (svn r8845) -Fix
Remove pointless and out of context comment
2007-02-22 18:34:57 +00:00
Darkvater 31be3c6fac (svn r8844) -Revert partly (r8820, r8806): Change AppendToGRFConfigList to add the allocated GRFConfig to its list and not copy it. 2007-02-22 16:16:44 +00:00
tron c834320611 (svn r8843) -Fix
-Fix: Off-by-one error in accessing a buffer (if you start at the second byte you have to subtract one from the size)
Also avoid an unnecessary buffer copy and strlcpy() abuse
NOTE: 0.5 candidate
2007-02-22 15:01:38 +00:00
tron 103d119c51 (svn r8841) -Fix
Remove {,u}intswap() and replace them by Swap()
2007-02-22 08:43:02 +00:00
tron 0d041a87cc (svn r8840) -Fix
Remove FIFO and Stack. They have never been used and could not be used anyway because the declarations of some functions are spelled different than the definitions they should correspond to.
Also remove some other unused helpers and related struct attributes.
2007-02-22 06:57:21 +00:00
maedhros f2d63dcecf (svn r8838) -Feature: Show newgrf error messages loaded in Action B in the newgrf gui
window. GRFs with an error have a warning symbol shown before the name.
2007-02-21 23:18:08 +00:00
rubidium fd4a0dafc2 (svn r8837) -Fix [FS#626]: drive through stations did not connect to neighbouring roads (mart3p). 2007-02-21 22:02:10 +00:00
KUDr f24122ba3d (svn r8836) [YAPF] -Fix[FS#641]: Assertion: 'IsTileDepotType(depot_tile, TRANSPORT_ROAD)' failed (Karsten)
-don't tell that we found destination if the best direction was only guessed
2007-02-21 21:56:07 +00:00
tron 0b536291e2 (svn r8835) -Fix
Remove dead code
2007-02-21 20:05:05 +00:00
tron b3d93e3aa2 (svn r8834) -Fix
Do not pass something to a function it better could figure out by itself
2007-02-21 19:49:18 +00:00
tron f716c0b30f (svn r8833) -Fix
-Codechange: Split MakeRoadStop() into MakeRoadStop() and MakeDriveThroughRoadStop() for more clarity and less possibilities to use it incorrect
2007-02-21 19:46:37 +00:00
maedhros 9907e496b1 (svn r8831) -Feature: If an action 7/9 leads to skipping the rest of the file, disable the
newgrf if an action 8 hasn't been encountered yet.
2007-02-21 17:54:30 +00:00
maedhros 61fa3909f2 (svn r8830) -Feature: Stop loading and disable the current newgrf if a fatal error message
in Action B is encountered. Also be more strict on the values accepted.
2007-02-21 17:20:44 +00:00
tron 62ff0ab073 (svn r8829) -Fix
Remove translations which should not be empty
2007-02-21 08:32:36 +00:00
tron 565da62355 (svn r8828) -Fix
-Regression (r7585): On load calculate the station rectangle for all savegames, not just savegames with at least version 27
2007-02-21 07:37:31 +00:00
belugas 771932d889 (svn r8827) -Codechange: Cleanup of industry_cmd (Step-6). Implementation of IndustryTileSPec, the alter ego of IndustrySpec.
It offers identification of the different industry tiles in a more distinct manner, as well as regrouping scattered pieces of data across the sources.  More to come
2007-02-21 02:22:43 +00:00
peter1138 ef2daa5060 (svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular struct array (with accessor) and implement new initialization method using cargo labels. 2007-02-20 22:09:21 +00:00
maedhros 6621beb126 (svn r8825) -Fix: Make sure strings read from newgrf files are 0 terminated and 0
terminate them if they aren't, so we don't read beyond the end of the
memory allocated for the line.
2007-02-20 17:52:43 +00:00
Darkvater b00692dff6 (svn r8824) -Fix (r8821): don't use MSVC2005 runtime library-only _snwprintf_s function, but use 'insecure/deprecated' version and zero-terminate string ourselves. Thanks for testing glx. 2007-02-20 14:39:47 +00:00
Darkvater 6d25481221 (svn r8823) -Fix (r8821): wrapping opendir to ottd-specific function failed on non-windows because this wrapper was only active for win32 (thx Rubidium) 2007-02-20 09:46:10 +00:00
tron 41d526415c (svn r8822) -Fix
Variable scope, const
2007-02-20 06:39:09 +00:00
Darkvater 92bbe45dd0 (svn r8821) -Regression: Unable to browse directories on *nix if the filesystem is not in UTF-8 charset and special characters are used. The string passed to opendir() which is UTF-8 was not parsed back to the filesystem format. Use a wrapper called ttd_opendir() instead of redefining opendir itself. 2007-02-20 00:09:23 +00:00
Darkvater 5b237758aa (svn r8820) -Codechange (r8807, r8806): Remove the unneeded calloc/free allocation of GRFConfig and turn it into a simple variable (it's supposed to be data-only). Thanks Tron. 2007-02-20 00:01:54 +00:00
rubidium ee3d28ff8f (svn r8818) -Codechange: remove the #ifdef _cplusplus remnants. 2007-02-19 21:11:44 +00:00
rubidium 168a7876a0 (svn r8809) -Fix (r8715): accidentally removed a part of an expression. 2007-02-19 13:45:13 +00:00
rubidium 5011997f69 (svn r8808) -Fix [FS#631]: do not show the 'edit sign' window for spectators. 2007-02-19 10:13:51 +00:00
Darkvater 8dae4e45ac (svn r8807) -Feature: Add support for loading (some of) the TTDP extra chunks mainly list of GRFIDs and TTDP version the game was saved with.
GRFID list is read and active GRFs are loaded with the game if present in the data/ directory.
 TTDP versioning information only works for newer versions, old versions will only give rough information but it's not worth the effort to precisely figure out what bit means what where and when.
2007-02-18 22:50:51 +00:00
Darkvater 6d4d072023 (svn r8806) -Codechange (r7582): Remove a duplicate append of static GRF's when loading the game and hide the intrinsics of adding elements to the GRFConfig list by using an AppendToGRFConfigList function. 2007-02-18 22:37:33 +00:00
Darkvater b260be6e2a (svn r8805) -Codechange (r8757): DO set eol-style and keywords on new files... 2007-02-18 22:07:08 +00:00
tron a69c6086e2 (svn r8802) -Fix
-Fix: When inserting an order for a ship while checking the distance between the new order and the order it is inserted after adhere the order types to determine the correct type of destination (i.e. station or depot)
Also do a better job in determining the preceding order
NOTE: 0.5 candidate
2007-02-18 16:24:29 +00:00
tron 352273a5b3 (svn r8800) -Fix
Simplify MoveGoodsToSation() under the assumption that 0 is less or equal than 0
2007-02-18 11:45:56 +00:00
tron 1ed8e7e04e (svn r8799) -Fix
Reduce variable scope
2007-02-18 11:27:09 +00:00
rubidium 0734bcfea0 (svn r8797) -Fix (8741): the 'drive through station built on town owned road' bit was not set. 2007-02-18 11:14:55 +00:00
tron 1a1129785a (svn r8796) -Fix
Remove the unused function AllocateStation() which was left over from r8125
2007-02-18 09:00:34 +00:00
tron 46c872b366 (svn r8795) -Fix
Remove the explicit check for buoys when inserting goto station orders.
This is already covered by the preceding OWNER_NONE test.
2007-02-18 08:50:27 +00:00
tron c6743c5e11 (svn r8794) -Fix
Remove the possiblity to take over stations with OWNER_NONE by building a station next to it
-Fix: It was possible to take over buoys by building a station next to them
Also remove the now unnecessary special case which prevented taking over oilrigs
NOTE: 0.5 candidate
2007-02-18 08:37:39 +00:00
glx aa24d59966 (svn r8793) -Fix: corrected spelling of real french townnames and 'removed' a duplicate 2007-02-17 23:53:17 +00:00
maedhros 3c5eb8458a (svn r8792) -Fix (r6623): Don't check whether a string length is 1 when you already know it isn't. 2007-02-17 23:01:42 +00:00
miham c810aef43b (svn r8791) -Revert: r8790 Committed too much in last commit 2007-02-17 22:01:07 +00:00
miham 6e5dd7942f (svn r8790) [Namegen] -Revert: r8789 (Tron kinda convinced me it is a bad thing, sorry for it) 2007-02-17 21:56:22 +00:00
miham b447e57131 (svn r8789) [Namegen] -Change: Sorted townnameparts for hungarian, and added a few more 2007-02-17 21:50:00 +00:00
miham 2fce5170ea (svn r8788) [Translations] -Fix: Removed bogus 3sk case from slovenian, as it is handled in WebTranslator2 from now on 2007-02-17 21:31:30 +00:00
bjarni 853cc54ec6 (svn r8787) -Change r8771: allow fast aircraft in small airports
We should keep the list in sync with the build command as hacked clients can avoid a block in the GUI only
2007-02-17 18:38:35 +00:00
bjarni 4bcf385f31 (svn r8786) -Cleanup: replaced a switch-case to get the right refit command for a certain vehicle type. We have a function to do that 2007-02-17 17:12:19 +00:00
richk 06296d98b7 (svn r8785) -Fix: Entry point for commuter airport incorrect. 2007-02-17 17:10:33 +00:00
Darkvater 1aab4a368b (svn r8784) -Regression (r7274 most likely): Unable to load TTDP (on *NIX) games because the static buffer used for name conversion is overwritten in the callback function. 2007-02-17 16:41:56 +00:00
bjarni f731d7ffc4 (svn r8783) -Fix r8771: aircraft vehicle subtype and aircraft engine subtype aren't the same (even though they both tell if it's a plane or helicopter) 2007-02-17 16:07:45 +00:00
tron ea8eb50c0e (svn r8782) -Fix
Adapt GetClosestStationFromTile() more to the way it is used:
- All but deleted stations get filtered later, so do not include non-deleted station in the first place
- Remove the two parameters, which are the same for all callers
2007-02-17 15:59:33 +00:00
tron b6d2172678 (svn r8781) -Fix
A spectator cannot build stations, so do not include a special case for him
2007-02-17 15:34:05 +00:00
richk 992916349d (svn r8780) -Fix: Spelling of CatchmentArea incorrect. 2007-02-17 15:17:47 +00:00
tron a74fad50fa (svn r8779) -Fix
-Codechange: Use a more generic test, which tests the allowed aircraft instead of hardcoding the airport type numbers, to generate station names
2007-02-17 15:03:30 +00:00
tron 3c5c64f726 (svn r8778) -Fix
-Codechange: Allow goto station orders to public stations in general, not just oilrigs (though this is the same till now)
2007-02-17 14:54:31 +00:00
bjarni 790a3f5d5e (svn r8777) -Fix: FS#596 Cloning Maglev in UKRS forgets Mail refit
Cloning were unaware that articulated locomotives could refit without refitting the front unit
2007-02-17 13:50:22 +00:00
bjarni 222aebc5dd (svn r8771) -Fix r8343: build aircraft windows will no longer show aircraft that can't use the airport in question
Now it's even better than ever because unless the no jetcrash cheat is enabled, the small airports will not show fast aircraft
2007-02-17 12:45:15 +00:00
bjarni 4a41c23b21 (svn r8770) -Fix r8661: corrected some aircraft sprite placement issues in the depot window 2007-02-17 11:17:49 +00:00
KUDr fe1d448cf8 (svn r8768) -Fix (r8767): VC8 compilation failed 'warning C4146: unary minus operator applied to unsigned type, result still unsigned' 2007-02-17 10:21:48 +00:00
tron 8aacd2585d (svn r8767) -Fix
-Codechange: Do not hardcode the catchment radius of airports, but hold the information in AirportFTAClass
-Fix (r979): The default AI tested possible airport locations with a fixed catchment radius instead of the radius of the to be built airport
2007-02-17 07:45:18 +00:00
KUDr ee0739561d (svn r8766) -Fix[YAPF]: rail station platform penalty not calculated properly 2007-02-17 00:18:11 +00:00
rubidium c04c8382ca (svn r8765) -Codechange: remove logic redundancy by moving it from the gui into the cmd code. 2007-02-16 22:44:56 +00:00
miham 76eb16252a (svn r8764) -Update: WebTranslator2 update to 2007-02-16 22:03:24
afrikaans  - 1 changed by TrueTenacity (1)
brazilian_portuguese - 1 fixed, 1 changed by fukumori (2)
bulgarian  - 4 fixed by groupsky (4)
dutch      - 3 fixed by habell (3)
esperanto  - 3 fixed by LaPingvino (3)
finnish    - 5 fixed by kerba (5)
icelandic  - 15 fixed, 30 changed by scrooge (45)
italian    - 3 fixed by sidew (3)
norwegian_bokmal - 13 fixed by oletk (13)
turkish    - 3 fixed by jnmbk (3)
2007-02-16 21:06:00 +00:00
tron cf5949f59d (svn r8763) -Fix
Don't do bogus initialisations and prefer simpler code
2007-02-16 20:03:17 +00:00
celestar a8e88ae7cc (svn r8759) -Feature: Allow airports to have up to 4 entry points depending on approach direction. Note: they're not yet used, but will be soon 2007-02-16 12:10:19 +00:00
truelight ee9f17844d (svn r8757) -Add: added libtimidity music driver (it is a nice small library simular to timidity via extmidi)
[PSP] -Add: added PSP specific code for libtimidity. libtimidity code is based on the work of Turulo. Tnx a bunch!
2007-02-16 09:50:28 +00:00
truelight d431df8277 (svn r8756) [PSP] -Fix: made the dedicated code compile with PSP. It is almost UNIX, just it needs more includes ;)
(or more, it compiles, if it works is a whole other story ;))
2007-02-16 09:39:32 +00:00
tron 87e03c7aa8 (svn r8755) -Fix
Abbreviate GetAirport(st->airport_type) to st->Airport()
2007-02-16 09:38:43 +00:00
tron 6c17cd4c46 (svn r8754) -Fix
Do not handle a special case for goto hangar orders to oilrigs - they do not have a hangar anyway
2007-02-16 07:32:22 +00:00
belugas 4d988c3506 (svn r8753) -Regression (r8455): Do not unilateraly decide that this engine is a single-headed. Only do it if it previously had no power and that now there is. Or something... 2007-02-16 01:35:18 +00:00
KUDr ef8c8952b1 (svn r8751) -Fix [lang]: deleted .news and .subs strings causing lang compilation error 2007-02-15 22:00:17 +00:00
KUDr 72cdfb6352 (svn r8750) -Fix (r8747): PLANES defined in wingdi.h caused compilation error under Win32. Changed to AIRPLANES 2007-02-15 22:00:04 +00:00
bjarni 6460d5b441 (svn r8749) -Regression r8331: fixed signed/unsigned issue that could create too many lines in build vehicle windows and crash the game 2007-02-15 20:58:45 +00:00
tron 0697701b33 (svn r8748) -Fix
-Codechange: Do not hardcode the airports with a short airstrip anymore, but make it a flag in AirportFTAClass
2007-02-15 20:35:45 +00:00
tron 5231f5669d (svn r8747) -Fix
-Codechange: Make the encoding of accepted aircraft types of airports a bit more sensible and move the enum into struct AirportFTAClass
2007-02-15 20:16:33 +00:00
bjarni 8675b8ec7d (svn r8746) -Regression r8331: build train window could sort incorrectly by EngineID with certain newGRF sets 2007-02-15 17:51:39 +00:00
truelight c50396cb15 (svn r8745) [PSP] -Add: added a CSleep() for PSP 2007-02-15 16:15:00 +00:00
celestar 6abbf15a8e (svn r8744) -Fix(r654/2105): Call GetFirstVehicleInChain only for trains, and assert the vehicle type in that function. Not a critical error, but it does increase game performance by up to 10% when playing a large game (many vehicles) with aircraft/road vehicle newgrfs loaded. 2007-02-15 10:21:00 +00:00
tron f6b917f609 (svn r8743) -Fix
-Codechange: Add a Z adjustment attribute for helicopter pads to AirportFTAClass to get rid of some special cases for oilrigs and heliports
2007-02-15 07:43:06 +00:00
miham ac95825b92 (svn r8742) -Update: WebTranslator2 update to 2007-02-15 08:05:58
american   - 3 fixed by WhiteRabbit (3)
brazilian_portuguese - 2 fixed, 7 changed by tucalipe (9)
czech      - 3 fixed, 3 deleted, 1 changed by Hadez (7)
estonian   - 3 fixed by vermon (3)
french     - 3 fixed, 13 changed by Skiper (16)
german     - 3 fixed by moewe2 (3)
icelandic  - 122 fixed, 11 changed by scrooge (133)
polish     - 3 fixed by meush (3)
portuguese - 3 fixed by izhirahider (3)
simplified_chinese - 3 fixed by Fishingsnow (3)
slovenian  - 3 fixed, 1 deleted by Necrolyte (4)
spanish    - 4 fixed by eusebio (4)
swedish    - 4 fixed by daishan (4)
traditional_chinese - 3 fixed by sam0737 (3)
2007-02-15 07:08:22 +00:00
rubidium 79dda0fa07 (svn r8741) -Fix (r8735): make the saveguards of CmdBuildRoadStop more robust and add roadstops.grf to the list of required grfs. 2007-02-14 20:58:19 +00:00
Darkvater 32d2a012e4 (svn r8740) -Fix (r8783): GCC warnings about not-handled MP_ values in switch case (glx) 2007-02-14 20:48:00 +00:00
Darkvater 3a86ae8ba4 (svn r8739) -Codechange: Update the oldloader debug levels to be more in spec with the guidelines in debug.h. 2007-02-14 20:19:07 +00:00
Darkvater 12868eeb97 (svn r8738) -Fix: TTDP games have all tiles touching the water marked as MP_WATER, we do not (tiles with one corner, or steep tiles), so check and fix these tiles. 2007-02-14 20:17:11 +00:00
Darkvater c8fb4ddf57 (svn r8737) -Regression (r8621): VEH_Type renumbering wasn't performed for TTD(P) games, failing to load them 2007-02-14 20:10:52 +00:00
miham 9990a67620 (svn r8736) -Update: WebTranslator2 update to 2007-02-14 19:54:03
afrikaans  - 114 fixed by TrueTenacity (114)
bulgarian  - 5 fixed by kokobongo (5)
catalan    - 3 fixed by arnaullv (3)
dutch      - 3 fixed by habell (3)
russian    - 3 fixed by DarkFenX (3)
ukrainian  - 3 fixed, 1 deleted, 12 changed by mad (16)
2007-02-14 18:54:46 +00:00
rubidium 0e8f006dc1 (svn r8735) -Feature: drive-through road stops made possible by the hard work of mart3p. 2007-02-14 16:37:16 +00:00
celestar 39b73119ca (svn r8733) -Fix(r8705): Forgot to change some more places where airport blocks are stored 2007-02-14 12:00:43 +00:00
celestar 59a814c6d3 (svn r8732) -Codechange/Fix(r8705): Turned the bit-handling macros into template functions. Fixes a problem with MSVC and 64-bit shifts. 2007-02-14 11:53:39 +00:00
rubidium 447b16930e (svn r8730) -Codechange: more replacements of magic numbers by enums and removal of some (by now) redundant comments. 2007-02-14 10:33:36 +00:00
miham 3789e314d9 (svn r8729) [Translations] -Fix: removed dead cases from czech language 2007-02-14 10:22:00 +00:00
miham 6d8021b277 (svn r8728) -Update: WebTranslator2 update to 2007-02-14 10:40:39
afrikaans  - 112 fixed, 3 changed by TrueTenacity (115)
catalan    - 1 fixed by arnaullv (1)
czech      - 3 deleted by Hadez (3)
slovak     - 64 changed by lengyel (64)
traditional_chinese - 8 changed by thomasau (8)
ukrainian  - 9 changed by mad (9)
2007-02-14 09:41:20 +00:00
maedhros f8b641e753 (svn r8727) -Cleanup (r8366): Remove BIGMULSS64 since it isn't used any more. 2007-02-14 09:39:04 +00:00
rubidium ecfbfbd98c (svn r8726) -Codechange: bools are 1 or 0 according to the C++ standard and refactor RoadStop::AllocateBay to remove a loop condition. Suggestions by Tron. 2007-02-14 09:34:12 +00:00
rubidium f3dc5596ad (svn r8725) -Fix (r8712): test the first bit of the bitmask, not the nth, as we are shifting the bitmask. 2007-02-14 09:23:52 +00:00
rubidium 59284954ae (svn r8723) -Codechange: replace yet another couple of magic numbers with enums. 2007-02-14 01:00:57 +00:00
rubidium f7783212b1 (svn r8721) -Fix (8715): road vehicles could not turn around properly 2007-02-14 00:50:34 +00:00
rubidium 458b564726 (svn r8719) -Fix: some strings have an empty translation where it isn't empty in english. 2007-02-13 23:37:50 +00:00
rubidium 154dff9873 (svn r8715) -Codechange/cleanup: replace magic numbers related to state of road vehicles with enums. Original patch by mart3p. 2007-02-13 22:27:27 +00:00
rubidium 86a4b5e169 (svn r8712) -Codechange/cleanup: replace 'magic' constants with enums, use proper types instead of byte, uint etc., give variables more descriptive names and add some comments. 2007-02-13 20:57:02 +00:00
celestar d9385f2798 (svn r8709) -Fix/Codechange: Rename the function GetStationPlatforms into GetPlatformLength because that is what it really does. Overload it because there is already a GetPlatformLength (one gives the length of the whole platform, the other gives the remaining length in a given direction). Turned both functions into methods of Station. While messing around with it, fix a problem where loading times for overhanging trains are miscomputed. 2007-02-13 16:36:38 +00:00
celestar 5e880a6a75 (svn r8708) -Codechange(r8514): No need to use "this->" in methods 2007-02-13 15:44:37 +00:00
celestar 8eab3964b4 (svn r8707) -Codechange: Turn IsValidStation into a method of Station 2007-02-13 15:42:52 +00:00
celestar 6f68ac46b8 (svn r8705) -Codechange: Increased the number of airport blocks to 64. This involves changing the enum of airport blocks to a static const uint64 as SOME platforms do not support 64-bit enums 2007-02-13 12:34:54 +00:00
rubidium d1d1d170f3 (svn r8703) -Codechange/cleanup: some magic numbers -> enums and other small coding style changes to the ShipController and TrainController. 2007-02-13 11:29:20 +00:00
rubidium 4ec7eb2201 (svn r8701) -Codechange: replace magic numbers with enums for u.rail.track. 2007-02-13 10:46:45 +00:00
rubidium af3001b988 (svn r8700) -Fix (8698): replaced a magic number with the wrong enum :( 2007-02-13 10:43:50 +00:00
rubidium a419f4aeda (svn r8698) -Codechange: enumify the returns of VehicleEnterTile 2007-02-13 10:26:53 +00:00
rubidium eab6dd9898 (svn r8694) -Codechange: make RoadStop's status accessible via accessor functions. 2007-02-13 00:25:42 +00:00
rubidium 3b0e00e2f9 (svn r8692) -Cleanup: add comments to RoadVehController. Patch by mart3p. 2007-02-12 22:46:10 +00:00
Darkvater 4d4c1e0505 (svn r8691) -Cleanup: Some proper #endif comments for sound/music/video files, and a little elimination of magic numbers in Win32SoundStart 2007-02-12 21:55:10 +00:00
miham 2817acb456 (svn r8690) -Update: WebTranslator2 update to 2007-02-12 20:18:38
lithuanian - 11 fixed, 1 changed by Domas (12)
slovak     - 63 changed by lengyel (63)
traditional_chinese - 8 changed by thomasau (8)
ukrainian  - 1 changed by mad (1)
2007-02-12 19:19:15 +00:00
rubidium 997534a5ea (svn r8689) -Fix [FS#613] (r8619): crash when an old savegame had buoys on the northern edge of the map. 2007-02-12 12:52:37 +00:00
miham 704c80f27e (svn r8686) -Update: WebTranslator2 update to 2007-02-12 10:00:57
czech      - 3 fixed, 59 deleted, 1 changed by Hadez (63)
french     - 40 changed by Skiper (36), glx (4)
icelandic  - 88 fixed, 25 changed by scrooge (113)
italian    - 3 changed by sidew (3)
portuguese - 22 changed by izhirahider (22)
swedish    - 6 fixed by daishan (6)
traditional_chinese - 22 changed by xbddc (22)
2007-02-12 09:01:40 +00:00
bjarni 5e8bdaba6a (svn r8685) -Feature: selecting "end of orders" and clicking delete will delete all the vehicle's orders
If the orders are shared, then it will still unshare the orders like before.
2007-02-12 00:38:15 +00:00
rubidium 65001270ef (svn r8684) -Fix [FS#483] (r3720): a bool (uint32 in PPC) was written to as a uint8. Later those bools are used as index into an array as they expect the value to be 0 or 1. 2007-02-11 23:18:01 +00:00
rubidium f8ceee0a34 (svn r8681) -Fix (FS#608): wrong comment (rfalke) 2007-02-11 19:31:29 +00:00
truelight 53785810c8 (svn r8678) [PSP] -Add: added LIBS and CFLAGS needed to compile PSP
-Fix: PSP needs to link with gcc, not with g++ (don't ask)
-Fix: PSP doens't support threads
2007-02-11 16:28:00 +00:00
truelight 098a63fc53 (svn r8675) [PSP] -Fix: don't autosave in networking for PSP, to time expensive 2007-02-11 14:04:40 +00:00
truelight 0d91ed68a9 (svn r8674) [PSP] -Add: added network code for PSP, based on the work of Turulo
-Add: added general header-inclusing for PSP
2007-02-11 13:57:35 +00:00
rubidium b71d6e1401 (svn r8673) -Codechange: use SetNonBlocking instead of implementing yet another version. 2007-02-11 13:39:23 +00:00