Commit Graph

7250 Commits

Author SHA1 Message Date
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
miham
8cde9d7810 (svn r10385) -Change: [Translations] Croatian is an accepted language 2007-06-29 12:27:13 +00:00
miham
0b21f5d5a6 (svn r10384) -Update: WebTranslator2 update to 2007-06-29 14:03:32
croatian   - 261 fixed, 9 changed by tperic (270)
finnish    - 2 changed by habazi (2)
hungarian  - 1 fixed by miham (1)
romanian   - 1 fixed, 38 changed by CrystyB (39)
ukrainian  - 1 fixed by mad (1)
2007-06-29 12:04:40 +00:00
rubidium
178582b65d (svn r10382) -Fix (strgen): it was not possible to use --warning and --todo at the same time. 2007-06-28 22:58:59 +00:00
rubidium
3a82c1e9ea (svn r10381) -Fix [FS#951]: skipping an order made train reverse immediatelly. Patch by boekabart. 2007-06-28 22:03:34 +00:00
peter1138
b3c3171c1e (svn r10380) -Fix (r10364): when checking for unique names, only check vehicles that can have names, and skip inactive players. 2007-06-28 19:14:29 +00:00
belugas
42f0593b82 (svn r10379) -Codechange: silence a compiler warning (which was right) about a variable too little for what's been asked to do 2007-06-28 19:03:14 +00:00
rubidium
1761ff341c (svn r10378) -Merge: release changes from 0.5. 2007-06-28 19:02:59 +00:00
miham
df35ea0ae9 (svn r10377) -Update: WebTranslator2 update to 2007-06-28 20:46:13
brazilian_portuguese - 1 fixed by fukumori (1)
catalan    - 1 fixed, 2 changed by arnaullv (3)
dutch      - 10 fixed by webfreakz (10)
french     - 1 fixed by glx (1)
hungarian  - 1 fixed by miham (1)
italian    - 1 fixed by lorenzodv (1)
portuguese - 20 fixed by supra90 (20)
russian    - 4 fixed by Smoky555 (4)
spanish    - 2 fixed by eusebio (2)
2007-06-28 18:46:35 +00:00
peter1138
bee164f6a7 (svn r10371) -Fix (r9874): Remove never-used GetGroupName() function 2007-06-28 11:53:22 +00:00
peter1138
81170b5206 (svn r10370) -Fix: Heightmap GUI abused custom name system and used unnecessary globals. All details are now kept within the window's custom data. 2007-06-28 10:50:26 +00:00
belugas
c1218e88e1 (svn r10369) -Codechange: Add the IndustryType parameter to the GetIndustryCallback function.
Sometimes, the industry might not be able to provide its type, since it does not exists at all
2007-06-28 02:14:40 +00:00
peter1138
191f4be3e7 (svn r10368) -Fix: when renaming waypoints, ownership was only checked client-side, not in the command. 2007-06-27 23:40:21 +00:00
rubidium
e0a94a94a5 (svn r10367) -Fix: do not crash horribly when the file you are trying to load is too short or decompressing it fails. 2007-06-27 23:26:40 +00:00