Commit Graph

6214 Commits

Author SHA1 Message Date
Darkvater
a0a259d32b (svn r8914) -Regression (UTF8): Win9x is very picky about trailing slashes in paths, so C:\\* will not work (but C:\Windows\\* does; go figure). Thanks glx for pointing it out and for the initial fix. 2007-02-27 15:17:06 +00:00
rubidium
d2a36e4c2d (svn r8912) -Codechange: coding style cleanup and moving of two global externs into the functions that use them. 2007-02-26 22:32:21 +00:00
rubidium
01db4b646e (svn r8911) -Cleanup: fixup comments about the RoadVehicleStates and remove two unused enums. 2007-02-26 22:25:18 +00:00
rubidium
191a739d31 (svn r8908) -Codechange: declaration of DrawBridgeMiddle does not belong in a map accessors header. 2007-02-26 18:25:03 +00:00
rubidium
67201b129d (svn r8907) -Fix (r3281): reading from an unitialized variable. 2007-02-26 00:41:24 +00:00
rubidium
58f2b636b4 (svn r8906) -Feature: translation dependant formatting of dates. 2007-02-26 00:36:57 +00:00
peter1138
7669f63d4e (svn r8903) -Regression (r8891): CT_PURCHASE does apply to aircraft overrides... 2007-02-25 14:33:43 +00:00
tron
87226c519a (svn r8901) -Fix
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Trackdir, TrackdirBits) and DECLARE_ENUM_AS_BIT_INDEX() altogether
2007-02-25 11:59:26 +00:00
tron
742f5d80b5 (svn r8900) -Fix
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Track, TrackBits)
2007-02-25 11:49:43 +00:00
tron
c0ec367e9b (svn r8899) -Fix
Remove the unused second parameter from GetTileRailType()
2007-02-25 11:36:19 +00:00
tron
05c6e8f883 (svn r8897) -Fix
Change the signature of GetNewVehiclePos():
-void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp);
+GetNewVehiclePosResult GetNewVehiclePos(const Vehicle *v);
2007-02-25 10:49:13 +00:00
tron
270e366772 (svn r8896) -Fix
Most (i.e. 13 of 15) callers of GetNewVehiclePos() do not care for the return and the others can figure it out by inspecting the information returned in struct GetNewVehiclePosResult.
Therefore remove the return value.
2007-02-25 10:25:25 +00:00
tron
5d081ed350 (svn r8894) -Fix
Slightly simplify the control flow of TrainController()
2007-02-25 09:47:46 +00:00
tron
c8e85a3a78 (svn r8893) -Fix
variable scope, const, misc.
2007-02-25 09:27:03 +00:00
rubidium
1a3763d258 (svn r8892) -Fix (r8879): swapped the eye colour and eyebrow bits. 2007-02-25 09:06:13 +00:00
peter1138
6b7a4ba448 (svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible. 2007-02-24 23:36:40 +00:00
peter1138
bc968d23f1 (svn r8890) -Codechange: (NewGRF) add cargo translation support to engine var 47 2007-02-24 23:20:21 +00:00
rubidium
bee20f6abc (svn r8889) -Fix (r8880): a CursorID is not a SpriteID. 2007-02-24 22:35:42 +00:00
peter1138
51ce6fe672 (svn r8888) -Codechange: Replace hardcoded default cargo bitmasks with a list of cargo labels. 2007-02-24 22:01:18 +00:00
KUDr
856ecd41e8 (svn r8887) -Fix (r8879)[MorphOS]: initialization of mouth_table[] skipped by goto 2007-02-24 19:43:50 +00:00
peter1138
719f5c7930 (svn r8886) -Codechange: (NewGRF) Add (partial) cargo translation table support, applied to action 3s only. 2007-02-24 19:36:47 +00:00
peter1138
dfda6b7da4 (svn r8885) -Codechange: (NewGRF) If a default cargo type property is out of range then choose the cargo type from its refit list. 2007-02-24 19:26:45 +00:00
tron
5c91ec0587 (svn r8884) -Fix
Replace SetSpeedLimitOnBridge() by something simpler
2007-02-24 18:44:30 +00:00
maedhros
b26ae7f0e7 (svn r8882) -Cleanup (r8881): Remove obsolete strings. 2007-02-24 16:37:06 +00:00
maedhros
4f98bec89b (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
4df080bf12 (svn r8880) -Codechange: make anim cursors an array of structs. 2007-02-24 15:05:14 +00:00
rubidium
d1f56bb45b (svn r8879) -Codechange: make DrawPlayerFace easier to read. 2007-02-24 14:53:32 +00:00
tron
a64ffc1e31 (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
1be5124f7d (svn r8877) -Cleanup: remove already implemented @todo 2007-02-24 12:50:05 +00:00
tron
47b677abfe (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
ac75cf0ae1 (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
efb3637d0f (svn r8869) [YAPF] -Fix: Large Train Stations/Trains makes OpenTTD crash (Jigsaw_Psyche) 2007-02-24 00:17:46 +00:00
rubidium
98a4fc1399 (svn r8868) -Fix (r8715): road vehicles could not overtake anymore in some directions (mart3p). 2007-02-23 22:14:14 +00:00
KUDr
93e3250d1e (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
1c3d8fc1e3 (svn r8866) -Doc: added more comments to template struct MakeEnumPropsT 2007-02-23 21:29:50 +00:00
peter1138
a14de92f38 (svn r8865) -Codechange: (NewGRF) Ignore 1 byte action 0s during safety check 2007-02-23 21:03:57 +00:00
KUDr
8001ab69fb (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
c924185f97 (svn r8863) -Fix: prefix engine_custom_sprites with _ 2007-02-23 19:27:31 +00:00
belugas
0f090a0c1d (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
9fa035f467 (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
4160d85cd2 (svn r8859) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style. 2007-02-23 11:50:43 +00:00
peter1138
b3efec2e7d (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
dfa3c0aae1 (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
8bffad2b59 (svn r8856) -Fix
Missing */ (r8853)
2007-02-23 08:19:24 +00:00
tron
92159b7afd (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
fffe2dcfd0 (svn r8854) -Fix(r8853): Ctrl+s (save) without Ctrl does not produce desired result... 2007-02-23 02:18:17 +00:00
belugas
b1b5aecae9 (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
a5697946d1 (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
3717774e0a (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
59cb258578 (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