peter1138
30de2a0984
(svn r10437) -Feature: Automatic signal completion, enabled by pressing ctrl when dragging signals. Signals will continue following track until an existing signal, junction or station are reached. This currently replaces the existing use of ctrl-drag for changing existing signal type.
2007-07-04 17:21:28 +00:00
maedhros
6fbfa4498c
(svn r10436) -Cleanup: Doxygenise some comments, update others, and make a few statements more consistent with everything else.
2007-07-04 13:30:33 +00:00
maedhros
78d74efd3a
(svn r10435) -Fix (r9315): numinfo starts from 1, not 0, so make it possible to define a house with a local id of 255.
2007-07-04 13:01:55 +00:00
maedhros
fd475d47d8
(svn r10434) -Fix (r9315): When setting multiple house overrides in one Action 0, don't override them all with the first ID.
2007-07-04 12:57:07 +00:00
maedhros
d938a4ffe6
(svn r10433) -Codechange: Remove FOR_EACH_OBJECT by moving the for loops in the Action 0
...
handlers outside the switch statements. This allows ignoring only the invalid
IDs when changing the properties for many objects, rather than ignoring the
whole block if one ID is invalid.
2007-07-04 12:52:43 +00:00
peter1138
b36d31bb22
(svn r10432) -Codechange: use existing function instead of data duplication
2007-07-04 09:42:47 +00:00
peter1138
2fa2da4070
(svn r10431) -Codechange: constness on static array
2007-07-04 09:41:35 +00:00
peter1138
f4abcb2349
(svn r10430) -Fix: Too many town rating entry lookups (KUDr)
2007-07-04 06:37:43 +00:00
KUDr
21417ebac7
(svn r10429) -Fix: VC8 Code Analyzer warning: buffer overrun
2007-07-04 02:41:39 +00:00
KUDr
c5a122d642
(svn r10428) -Fix: some more VC code analyzer warnings disabled
2007-07-04 02:37:48 +00:00
KUDr
35dad3581b
(svn r10427) -Fix: snprintf behaves differently in gcc than in VC causing unreadable artifacts in output. Now CStrT::AddFormatL() should behave correctly also when compiled by gcc (Rubidium)
2007-07-04 02:35:40 +00:00
belugas
cd62d5130a
(svn r10426) -Codechange: Activate the reset of industry/tiles mapping upon initialization or new game.
2007-07-04 01:34:28 +00:00
belugas
2bedfcd3bf
(svn r10425) -Fix (r10418): do not compare bitmasks with HASBIT. Strike two. Forgotten code :)
2007-07-04 00:54:38 +00:00
belugas
0805d0b03e
(svn r10424) -Fix : Toy shop seems to be working exactly like power stations, water tower and banks, i.e: they require cargo but do nothing with it.
...
So, make it an INDUSTRYLIFE_BLACK_HOLE, exactly like the above mentioned industries.
Thanks to glx who spotted, and Csaboka who confirmed it could very well be a CS bug.
2007-07-04 00:49:03 +00:00
KUDr
2d31aef236
(svn r10423) -Fix [YAPF, r10301]: INVALID_TRACKDIR causing buffer overrun leading to desync in MP game (many thanks Rubidium)
2007-07-04 00:12:02 +00:00
KUDr
effb173457
(svn r10422) -Fix: VC8 Code Analyzer warning C6297: Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value
2007-07-03 23:23:38 +00:00
KUDr
94a5310888
(svn r10421) -Fix [MSVC]: suppress some code analyzer warnings for VC8
2007-07-03 23:08:51 +00:00
KUDr
92e684c28e
(svn r10420) -Fix [MSVC]: Disabled 'Treat Warnings As Errors' for VC8
2007-07-03 23:07:33 +00:00
rubidium
2f14d622ae
(svn r10419) -Fix (r10418): do not compare bitmasks with HASBIT. Thanks to Maedhros for spotting this.
2007-07-03 19:25:06 +00:00
rubidium
9534c9795b
(svn r10418) -Codechange: implement/resurrect the industry production flags.
2007-07-03 19:16:34 +00:00
glx
265b933b5b
(svn r10417) -Fix: r10416 partly reverted r10415
2007-07-03 17:34:43 +00:00
miham
be5b8e7db3
(svn r10416) -Update: WebTranslator2 update to 2007-07-03 19:20:58
...
norwegian_nynorsk - 3 fixed by pollux (3)
slovak - 3 fixed by lengyel (3)
traditional_chinese - 6 fixed by xbddc (6)
2007-07-03 17:21:10 +00:00
glx
ca87b15098
(svn r10415) -Revert (r10403), Fix (r10323): 'message from company' test must use {STRING1}, so pass it the correct params
2007-07-03 17:20:17 +00:00
rubidium
f7151d44b7
(svn r10414) -Fix: the network protocol check for required newgrfs sent static newgrfs too.
2007-07-03 16:14:29 +00:00
glx
bb3eb6eed4
(svn r10413) -Fix r10211: t->townnamegrfid was not cleared when renaming a town
2007-07-03 15:24:50 +00:00
peter1138
12302ae8c7
(svn r10412) -Codechange: Remove unnecessary inclusion of hal.h in various files (and add one)
2007-07-03 11:31:38 +00:00
miham
a9e554c5ae
(svn r10411) -Update: WebTranslator2 update to 2007-07-02 19:21:47
...
dutch - 2 fixed by webfreakz (2)
polish - 4 fixed, 7 changed by meush (11)
portuguese - 9 fixed, 2 changed by devilRed (11)
simplified_chinese - 30 fixed by Fishingsnow (30)
slovenian - 2 fixed by Necrolyte (2)
ukrainian - 2 fixed by mad (2)
2007-07-02 17:23:51 +00:00
bjarni
6574e622f7
(svn r10410) -Fix [FS458]: [OSX] if the resolution is changed to something that's too high for the monitor, then it's reduced to fit the monitor size (PinguTux)
...
This solves a possible crash
This also solves a graphical glitch where the titlebar can be drawn on top of the game area
Those issues only aplied to window mode
2007-07-02 16:37:12 +00:00
rubidium
ec137f60ed
(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.
2007-07-01 19:24:54 +00:00
rubidium
c0e341ee05
(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image.
2007-07-01 19:11:47 +00:00
miham
162617eeb3
(svn r10407) -Update: WebTranslator2 update to 2007-07-01 20:12:34
...
brazilian_portuguese - 2 fixed by tucalipe (2)
catalan - 2 fixed by arnaullv (2)
hungarian - 2 fixed by miham (2)
italian - 1 changed by lorenzodv (1)
japanese - 4 fixed by ickoonite (4)
korean - 2 fixed by darkttd (2)
spanish - 2 fixed by eusebio (2)
2007-07-01 18:12:59 +00:00
rubidium
0debbfd73d
(svn r10406) -Fix [FS#968]: only industries in the temperate climate should be affected by the "do not increase production" flag.
2007-07-01 17:21:25 +00:00
rubidium
b6b78a3f21
(svn r10405) -Fix [FS#972]: do not try to determine the default railtype in the scenario editor.
2007-07-01 17:11:24 +00:00
peter1138
7ce52ca8b7
(svn r10404) -Fix (r10266): Adding a cargo packet to cargo list could overflow. Now we detect this and just leave the cargo in its own packet.
2007-07-01 12:25:08 +00:00
peter1138
e5e4a5348f
(svn r10403) -Fix (r10323): 'message from company' text used {STRING1} instead of {COMPANY}
2007-06-30 19:46:18 +00:00
miham
9504a86ca1
(svn r10402) -Update: WebTranslator2 update to 2007-06-30 21:32:39
...
bulgarian - 10 fixed by kokobongo (10)
french - 2 fixed by glx (2)
italian - 2 fixed, 2 changed by lorenzodv (4)
korean - 2 fixed, 2 changed by darkttd (4)
polish - 43 fixed, 1 changed by meush (44)
slovenian - 1 fixed by Necrolyte (1)
spanish - 5 changed by eusebio (5)
swedish - 2 fixed by giddorah (2)
2007-06-30 19:33:02 +00:00
peter1138
59032746f6
(svn r10401) -Feature: new sign editor features including switching to previous/next sign (XeryusTC)
2007-06-30 17:51:50 +00:00
glx
170292e75f
(svn r10399) -Fix (FS#962): [Windows] _wnd.has_focus was not properly set after using ALT-TAB
2007-06-30 15:02:21 +00:00
peter1138
91dc99c00f
(svn r10398) -Fix (r10271): transparency menu option wasn't moved properly in the scenario editor
2007-06-30 11:28:26 +00:00
peter1138
b8927cb1d9
(svn r10397) -Fix [FS#969]: subsidy awarded messages broken due to {COMPANY} now taking 1 (not 2) parameters. also remove an unnecessary dereference.
2007-06-30 08:26:34 +00:00
peter1138
f202933e4f
(svn r10396) -Fix: When landscape generating, allow for 200ms between screen updates instead of updating every 200ms. Previously slow screen updates would result in very slow map generation (GeekToo)
2007-06-30 06:31:49 +00:00
KUDr
f766c48bc4
(svn r10395) -Fix [YAPF]: missing include + some signed/unsigned comparison warnings
2007-06-30 00:17:07 +00:00
KUDr
1e54937ee1
(svn r10394) -Fix [YAPF]: MP desync caused by incorrect last-red-signal penalties applied when cached segment was reused. Players that connected more recently (didn't have these segments cached yet) calculated those penalties correctly. This caused different YAPF results.
2007-06-29 23:55:16 +00:00
KUDr
41b75d545e
(svn r10393) -Fix [YAPF]: Trackdir needs 4 bits to store (not 3). The cached segment key didn't use the highest trackdir bit. It could confuse YAPF on bi-directional track segments.
2007-06-29 23:50:42 +00:00
KUDr
90fe88a7af
(svn r10392) -Add [YAPF]: added structured dump support into some essential YAPF classes (node-list, nodes, keys, etc.) and CArrayT
2007-06-29 23:45:13 +00:00
KUDr
ec1e0b8152
(svn r10391) -Add: debug support - structured dump of variables/classes/structures (with anti-recursion repository) into string
2007-06-29 23:30:14 +00:00
KUDr
297248c83f
(svn r10390) -Fix: constness
2007-06-29 22:39:50 +00:00
KUDr
65ba91d1c9
(svn r10389) -Add: CStrA, CStrCiA, CStrW, CStrCiW - case sensitive/insensitive ANSI/UNICODE string classes that support formatted (sprintf like) output.
2007-06-29 22:33:58 +00:00
KUDr
f9e47692cb
(svn r10388) -Cleanup: coding style (CBlobT & CBlobBaseSimple), removed CStrA
2007-06-29 22:16:15 +00:00
glx
0e2982ddba
(svn r10387) -Fix (r10326, r10330): update unfinished langs
2007-06-29 14:35:29 +00:00