peter1138
2306a02f75
(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
11f286fb74
(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
fef1922705
(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
84404cf014
(svn r8846) -Fix
...
Remove confusing superfluous parentheses
2007-02-22 18:44:42 +00:00
tron
426d956367
(svn r8845) -Fix
...
Remove pointless and out of context comment
2007-02-22 18:34:57 +00:00
Darkvater
9cf01ff432
(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
6206a87bb9
(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
053e2ddda5
(svn r8841) -Fix
...
Remove {,u}intswap() and replace them by Swap()
2007-02-22 08:43:02 +00:00
tron
20336638d5
(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
glx
fba80dccbe
(svn r8839) -Fix: escape slashes in sed for mingw Makefile.dep stuff. It worked with sed 3.02 (provided by msys) but sed 4.1.4 (from gnuwin32.sf.net) failed.
2007-02-22 00:33:39 +00:00
maedhros
8b6d07cb85
(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
a2ecc3cc64
(svn r8837) -Fix [FS#626]: drive through stations did not connect to neighbouring roads (mart3p).
2007-02-21 22:02:10 +00:00
KUDr
f1ee924fc5
(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
84754e45d6
(svn r8835) -Fix
...
Remove dead code
2007-02-21 20:05:05 +00:00
tron
d1b0dc9cf6
(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
74fea81167
(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
rubidium
b563bc2c40
(svn r8832) -Change: rewrite the solution file generator a little so it makes project files that look more like the ones generated by respectively MSVC2003 and MSVC2005.
...
For some reason the internal formatting of the XML between MSVC2003 and MSVC2005 differs, so adding a file in MSVC2005 would result in basically adding the entire openttd_vs80.vcproj to the diff.
2007-02-21 17:59:34 +00:00
maedhros
7734c3d295
(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
95ad438f68
(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
7f3657c496
(svn r8829) -Fix
...
Remove translations which should not be empty
2007-02-21 08:32:36 +00:00
tron
7917738b54
(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
011ef28e47
(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
3d581f4f89
(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
f91ed92648
(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
2dd9066f8f
(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
fa16e74d01
(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
27f48c5dda
(svn r8822) -Fix
...
Variable scope, const
2007-02-20 06:39:09 +00:00
Darkvater
7eab669a88
(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
37f14d4444
(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
truelight
c4a8336835
(svn r8819) [Config] -Documentation: added why we need CC_HOST for linking on PSP
2007-02-19 21:18:39 +00:00
rubidium
af18972b7a
(svn r8818) -Codechange: remove the #ifdef _cplusplus remnants.
2007-02-19 21:11:44 +00:00
truelight
75006ed3be
(svn r8816) [Config] -Fix: if you disable stripping, don't detect strip at all
2007-02-19 20:10:46 +00:00
truelight
788535debf
(svn r8814) [Config] -Add: added --awk and detect_awk. We now try to find an awk on the user system which allows gsub(). If not found, you can define one yourself, or it tells you versions you might want to install
2007-02-19 19:59:19 +00:00
truelight
8b97c5f240
(svn r8813) -Fix r8812: fixed one GNU depending grep statement with an other ;) Switched to egrep, which should work just fine.
2007-02-19 18:58:28 +00:00
truelight
b5cc9c5c56
(svn r8812) -Revert r7880: those changes assumed a GNU-grep, which isn't always available. Reverted back to a bit more ugly way of writing greps, but at least they are not bound to the laws of GNU.
2007-02-19 18:47:55 +00:00
truelight
8ac9f3a9b1
(svn r8811) [Configure] -Fix: [:lower:] for tr is GNU specific. Use [a-z] instead. (Celestar)
2007-02-19 16:24:10 +00:00
truelight
4ee0518ed2
(svn r8810) [Configure] -Fix: "" variables if you test them, else if they are empty they return lovely errors (tnx to Celester for finding thisone ;))
2007-02-19 16:10:18 +00:00
rubidium
1d95385a97
(svn r8809) -Fix (r8715): accidentally removed a part of an expression.
2007-02-19 13:45:13 +00:00
rubidium
c4ff0121c4
(svn r8808) -Fix [FS#631]: do not show the 'edit sign' window for spectators.
2007-02-19 10:13:51 +00:00
Darkvater
e8ffb1599c
(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
33667effcc
(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
50dbea69d6
(svn r8805) -Codechange (r8757): DO set eol-style and keywords on new files...
2007-02-18 22:07:08 +00:00
tron
0100e94cee
(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
8db5c84f67
(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
6c5b59b6ec
(svn r8799) -Fix
...
Reduce variable scope
2007-02-18 11:27:09 +00:00
rubidium
9061f83055
(svn r8798) -Fix (8735): update documentation to reflect the used bits for drive through stations.
2007-02-18 11:15:13 +00:00
rubidium
66ad0c7d0c
(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
38fedf20ce
(svn r8796) -Fix
...
Remove the unused function AllocateStation() which was left over from r8125
2007-02-18 09:00:34 +00:00
tron
186fb6617d
(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
25a3485e71
(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