Commit Graph

7163 Commits

Author SHA1 Message Date
maedhros 156f149625 (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 facf261b63 (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 b863e50ac8 (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 122bd53809 (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 ca49b1e997 (svn r10432) -Codechange: use existing function instead of data duplication 2007-07-04 09:42:47 +00:00
peter1138 0645454aaa (svn r10431) -Codechange: constness on static array 2007-07-04 09:41:35 +00:00
peter1138 e9c38a97b0 (svn r10430) -Fix: Too many town rating entry lookups (KUDr) 2007-07-04 06:37:43 +00:00
KUDr 415d5af03d (svn r10429) -Fix: VC8 Code Analyzer warning: buffer overrun 2007-07-04 02:41:39 +00:00
KUDr 255389a963 (svn r10428) -Fix: some more VC code analyzer warnings disabled 2007-07-04 02:37:48 +00:00
KUDr 1d5b84d808 (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 a85d72c60d (svn r10426) -Codechange: Activate the reset of industry/tiles mapping upon initialization or new game. 2007-07-04 01:34:28 +00:00
belugas de43302419 (svn r10425) -Fix (r10418): do not compare bitmasks with HASBIT. Strike two. Forgotten code :) 2007-07-04 00:54:38 +00:00
belugas 2c38514a84 (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 dd697570e5 (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 232cfb0fc1 (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 7dc5d11448 (svn r10421) -Fix [MSVC]: suppress some code analyzer warnings for VC8 2007-07-03 23:08:51 +00:00
KUDr 6878ca0213 (svn r10420) -Fix [MSVC]: Disabled 'Treat Warnings As Errors' for VC8 2007-07-03 23:07:33 +00:00
rubidium bad85b08c2 (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 b67cfd4825 (svn r10418) -Codechange: implement/resurrect the industry production flags. 2007-07-03 19:16:34 +00:00
glx aca9846479 (svn r10417) -Fix: r10416 partly reverted r10415 2007-07-03 17:34:43 +00:00
miham 844d5d2371 (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 53ab57cbe4 (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 95d2abf81d (svn r10414) -Fix: the network protocol check for required newgrfs sent static newgrfs too. 2007-07-03 16:14:29 +00:00
glx e08965fdcb (svn r10413) -Fix r10211: t->townnamegrfid was not cleared when renaming a town 2007-07-03 15:24:50 +00:00
peter1138 b1bad4ab46 (svn r10412) -Codechange: Remove unnecessary inclusion of hal.h in various files (and add one) 2007-07-03 11:31:38 +00:00
miham f5028dfb85 (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 beb673733a (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 90f85c957a (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 83a880c882 (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 c49fd0957d (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 d73e490c52 (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 82dbf4b467 (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 fe2e9ea795 (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 1c4f7001d4 (svn r10403) -Fix (r10323): 'message from company' text used {STRING1} instead of {COMPANY} 2007-06-30 19:46:18 +00:00
miham 9aa21b54e1 (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 f3aebc411d (svn r10401) -Feature: new sign editor features including switching to previous/next sign (XeryusTC) 2007-06-30 17:51:50 +00:00
glx 69586c94ae (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 9043900ed6 (svn r10398) -Fix (r10271): transparency menu option wasn't moved properly in the scenario editor 2007-06-30 11:28:26 +00:00
peter1138 2bd72b978b (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 9d6136e89e (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 f9cac3c71b (svn r10395) -Fix [YAPF]: missing include + some signed/unsigned comparison warnings 2007-06-30 00:17:07 +00:00
KUDr cbbee4da48 (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 09ef044f9d (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 c37dc87ad2 (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 a88a1b6f53 (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 622235d8cd (svn r10390) -Fix: constness 2007-06-29 22:39:50 +00:00
KUDr 91d6051adb (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 3269660c4f (svn r10388) -Cleanup: coding style (CBlobT & CBlobBaseSimple), removed CStrA 2007-06-29 22:16:15 +00:00
glx 0cbb62b632 (svn r10387) -Fix (r10326, r10330): update unfinished langs 2007-06-29 14:35:29 +00:00
miham 9e20907209 (svn r10386) -Fix: [translations] croatian translators made a few type which prevented croatian langfile to be compiled. reported by boekabart 2007-06-29 13:32:28 +00:00