Commit Graph

5634 Commits

Author SHA1 Message Date
KUDr f2e5e604fb (svn r8092) -Codechange: header files with miscellaneous template classes (smart pointers, blob, array, hashtable, etc.) moved from src/yapf to src/misc as they can now be used anywhere. 2007-01-13 13:33:36 +00:00
KUDr 38a9d09214 (svn r8091) -Propchange: EOL style changed to LF for config.lib (fixes ./configure errors when sharing WC between linux and windows) 2007-01-13 13:23:56 +00:00
Darkvater c09b7e7fac (svn r8090) -[win32] Fix (r8089): for *nprintf 'ret = count' NOT 'ret = 0'... 2007-01-13 13:13:32 +00:00
Darkvater 120f57b865 (svn r8089) -[win32] MS-borkedness: All *nprintf functions are broken, but we didn't test to fix it ourselves when 'len = count'. 2007-01-13 13:06:18 +00:00
tron 4ee1050976 (svn r8088) -Regression (r8087): Fix japanese translation by adding missing { and removing spurious 0 2007-01-13 10:38:58 +00:00
miham dbeb30fcab (svn r8087) [Translations] Japanese translation manually updated by ickoonite 2007-01-13 07:31:35 +00:00
miham de60e0fe92 (svn r8086) WebTranslator2 update to 2007-01-13 08:18:52
brazilian_portuguese - 203 changed by fukumori (203)
norwegian_nynorsk - 9 changed by pollux (9)
2007-01-13 07:19:26 +00:00
miham a6ed8732c8 (svn r8085) [Translations] fixed the filenames to the scheme the others use, updated projectfile, sorry 2007-01-12 22:32:58 +00:00
miham 57561ab674 (svn r8084) [Translations] Added nynorsk translation (pollux), renamed norwegian to norwegian bokmal, moved nynorsk to finished languages, and updated project files.
Strings pending to nynorsk will be preserved if they are differ from the current translation
2007-01-12 22:27:27 +00:00
rubidium f66b373b52 (svn r8083) -Codechange: make a NetworkSocketHandler as base for all sockets and move a little of NetworkClientState functionality to the NetworkSocketHandler. Move the rest of the NetworkClientState to the new NetworkTCPSocketHandler class/struct, which is not yet implemented in an object oriented manner. The UDP socket handler now extends the NetworkSocketHandler instead of having a reference to a NetworkClientState. 2007-01-12 20:19:49 +00:00
miham ee1021d29c (svn r8082) WebTranslator2 update to 2007-01-12 19:31:14
brazilian_portuguese - 62 changed by fukumori (62)
croatian   - 86 fixed, 2 changed by knovak (88)
esperanto  - 1 changed by LaPingvino (1)
2007-01-12 18:32:39 +00:00
peter1138 4ef8afa9e1 (svn r8081) -Fix (r8075): Use a copy of the resolver object instead of the using the existing one. This fixes problems with the object scope setting. 2007-01-12 16:44:08 +00:00
Darkvater a352bf8529 (svn r8080) -Codechange (r8079): Move the *WHOLE* performance code into the #ifndef and some style changes. 2007-01-12 16:30:41 +00:00
KUDr e896d7814a (svn r8079) -Fix [YAPF]: float division by zero when calculating stats (YAPF cache hit ratio). Caused BSOD on Win9x. (thanks 3iff for report, Darkvater for help) 2007-01-12 15:43:00 +00:00
rubidium c48aa5db45 (svn r8078) -Codechange: rewrite UDP part of the network code to make use classes. This is only one of the many steps to really cleanup the network code. 2007-01-12 14:30:01 +00:00
Darkvater bccef9f948 (svn r8077) -Cleanup: Restructure some switch() statements' default case when they're unreachable 2007-01-12 14:28:00 +00:00
maedhros 4ae861880b (svn r8075) -Feature: Add support for variable 7E - subroutines. (peter1138) 2007-01-12 11:20:34 +00:00
rubidium 5afd50017d (svn r8074) -Fix (FS#537, r7555, r5749): revert r7555 because it was really wrong and fix the off-by-one error due to truncation that was supposedly fixed by r7555. 2007-01-12 08:37:14 +00:00
miham c3b56e0b3a (svn r8073) WebTranslator2 update to 2007-01-12 08:35:48
brazilian_portuguese - 92 changed by fukumori (92)
2007-01-12 07:37:35 +00:00
Darkvater 95deb5eace (svn r8071) -Fix (r5999): [FS#536] Merging 32bit dates broke the inauguration date of companies in
oldloader: "The year the company was inaugurated (full value, not base-1920)"
 (Marcin Grzegorczyk's TTD internals site)
2007-01-12 00:44:49 +00:00
glx 2533b4a520 (svn r8070) -Fix r5815: missing initialisation could cause crash when loading 24bpp BMP heightmap 2007-01-11 21:49:39 +00:00
miham 7885defae5 (svn r8069) [Translations] Moved japanese from unfinished, good job translators 2007-01-11 19:35:30 +00:00
miham 1789467090 (svn r8068) WebTranslator2 update to 2007-01-11 19:35:48
croatian   - 93 fixed by knovak (93)
greek      - 10 fixed by Kesnar (10)
japanese   - 506 fixed by ickoonite (506)
2007-01-11 18:36:22 +00:00
rubidium 387f046a24 (svn r8067) -Fix (r7759): if bin/$(TTD) was removed, it did not get placed back on make unless $(TTD) got relinked. 2007-01-11 18:26:53 +00:00
KUDr 33be1ecfb1 (svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter 2007-01-11 17:29:39 +00:00
celestar 91ff746410 (svn r8065) -Feature: The station list does now remember the sort settings 2007-01-11 15:30:35 +00:00
peter1138 8d5a542d9b (svn r8063) -Codechange: When evaluating newgrf varaction2s the 'last value' should start off at 0, and the result of the operation is remembered. 2007-01-11 14:40:12 +00:00
peter1138 b7e753555d (svn r8062) -Codechange: change newgrf varaction2 value from signed to unsigned 2007-01-11 14:25:17 +00:00
bjarni f348fc7b4c (svn r8061) -Fix r8055: obj-c can't handle templates
We will need to figure out a nicer solution for this, but now OSX compiles again
2007-01-11 13:47:55 +00:00
celestar 8694ad9e0d (svn r8058) -Codechange: Replaced an occurence of (uint32)-1 by UINT_MAX 2007-01-11 12:47:42 +00:00
celestar 6a256ff2df (svn r8057) -Codechange: Declare the "new" max template as static line. 2007-01-11 12:38:04 +00:00
celestar 1691b2da61 (svn r8056) -Codechange: Remove swap_byte, swap_byte, and siblings (some were not used anyway) and replace them by our SwapT implementation 2007-01-11 12:32:10 +00:00
celestar 2ac0410767 (svn r8055) -Codechange: Replace the different max, dmax, maxu whatever macros by a simple template function max(), that requires two arguments of the same type. While I'm at it change a variable called "max" to "maxval" in a function that calls max(). 2007-01-11 11:05:01 +00:00
peter1138 7996c9e560 (svn r8054) -Codechange: Use a template function instead of a macro for evaluating NewGRF var adjusts 2007-01-11 10:58:53 +00:00
miham ea4cee8d03 (svn r8053) [Translations] Reverted german translators work (moewe2), since it looks suspicious 2007-01-11 10:35:59 +00:00
KUDr dbe11fb9c7 (svn r8052) - Codechange: RemoveFirstTrack() and RemoveFirstTrackdir() now accept pointer to TrackBits/TrackdirBits instead of reference. 2007-01-11 10:34:42 +00:00
miham 318cfab2a1 (svn r8051) WebTranslator2 update to 2007-01-11 07:24:01
german     - 1 deleted by moewe2 (1)
greek      - 3 fixed by Kesnar (3)
japanese   - 273 fixed by ickoonite (273)
2007-01-11 06:24:37 +00:00
belugas 5f9c891734 (svn r8050) -Codechange: Rename map member extra to m6, since its usage has been widden.
Only doc landscape_grid.html has been updated, landscape.html will be done latter.
-CodeChange: Replace a direct access to m6 with SetTropicZone in InitializeLandscape, as it is the only part of m6 still untouched without the brute-forced m6=0
2007-01-11 02:05:13 +00:00
Darkvater 2ea3531c24 (svn r8049) -Regression (r7369): Removing certain news windows could cause a crash due to only
one MoveToNextItem() in DeleteVehicleNews (added in r3757). To work correctly do not
 reset _forced_news to INVALID_NEWS when a new item is added, but leave it.
-Codechange: ShowLastNewsMessage has been changed so that it actually works, wraps
 around correctly (array as FIFO) and shows the previous news item if the current 
 news item is open (previously this was doubly shown).
2007-01-11 01:21:55 +00:00
rubidium 542647eee3 (svn r8047) -Revert (8002): cp -u is not supported on all platforms. 2007-01-10 23:58:52 +00:00
Darkvater 0cb2bc2b23 (svn r8044) Regression (r8038): Crash on allocating bridge memory (peter1138) 2007-01-10 21:44:59 +00:00
rubidium c5a7eaca65 (svn r8043) -Fix (8028): forgot setting a variable. 2007-01-10 20:11:13 +00:00
orudge 6b58c1c2ff (svn r8042) - Fix: OS/2 compilation with GCC (thanks to Paul Smedley and TrueBrain for their help) 2007-01-10 19:39:54 +00:00
peter1138 ae0a92b51a (svn r8041) -Regression (r7564): [NewGRF] check_length should skip further processing if a length is too short, so give the function a return value 2007-01-10 19:20:25 +00:00
truelight bab05c52f8 (svn r8040) [Configure] -Fix: for some reason, OS2 compiled unix.cpp, not os2.cpp 2007-01-10 19:13:33 +00:00
miham 72acc8fc65 (svn r8039) WebTranslator2 update to 2007-01-10 19:58:43
brazilian_portuguese - 15 changed by fukumori (15)
danish     - 23 changed by MiR (23)
greek      - 12 fixed by Kesnar (12)
japanese   - 282 fixed by ickoonite (282)
slovenian  - 1 changed by Necrolyte (1)
turkish    - 2 changed by jnmbk (2)
ukrainian  - 30 changed by znikoz (30)
2007-01-10 19:00:08 +00:00
rubidium f35ed4bbc2 (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 2007-01-10 18:56:51 +00:00
rubidium a332d10fd9 (svn r8037) -Fix (r7987): MSVC project files were not updated with respect to the addition of slovenian. 2007-01-10 18:44:52 +00:00
rubidium 344f70e1af (svn r8034) -Fix (r8033): aircraft_cmd.c was not renamed. 2007-01-10 18:24:48 +00:00
KUDr e373ea7096 (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp) 2007-01-10 18:12:09 +00:00