Commit graph

5645 commits

Author SHA1 Message Date
peter1138
85c466b1d1 (svn r8103) -Docchange: Include station tile types used by RichK's airports 2007-01-13 16:09:53 +00:00
Darkvater
5863a6088d (svn r8102) -Cleanup: Remove unreachable code (r8096), useless cast 2007-01-13 15:55:22 +00:00
Darkvater
e832a1d046 (svn r8101) -Fix (runknown): Plug potential memleaks when calling UnInitWindowSystem. The function directly deleted all windows instead of calling their respective deallocators which could then in turn any used memory. 2007-01-13 15:50:36 +00:00
KUDr
64c30ae737 (svn r8100) -Propchange: EOL style changed to LF for /projects/generate 2007-01-13 15:24:31 +00:00
KUDr
0108e5f85c (svn r8099) -Fix (r8092): source.list updated to reflect move of header files (thanks stillunknown). vcproj files updated too (thanks glx) 2007-01-13 15:22:36 +00:00
Darkvater
d9fc6134d3 (svn r8098) -Fix (r6964): For editboxen, always fill the background with black, and not only after a valid call to FillDrawPixelInfo. This solves some graphics glitches with background widget-colour showing through on frequent redraws. 2007-01-13 15:00:40 +00:00
tron
abb644771a (svn r8097) Replace strlen() {==,!=,>} 0 by the more concise {,!}StrEmpty(). Additionally the test takes O(1) instead of O(n) now 2007-01-13 15:00:16 +00:00
Darkvater
fc78ef95e1 (svn r8096) -Codechange: Invert the check if you are allowed to clear a road tile so there are not so many negations (too confusing) and added some comments to further clarify what happens. 2007-01-13 14:48:47 +00:00
KUDr
0edc029f9f (svn r8095) -Codechange: stuff that is not related to HAL moved from hal.h to gfx.h 2007-01-13 14:43:46 +00:00
Darkvater
57a366e6d8 (svn r8094) -Feature/Fix (r7523): Show the activated status of the GRF list after pressing 'apply'
in the newgrf window, instead of the local list.
2007-01-13 14:01:05 +00:00
Darkvater
5ed33e549e (svn r8093) -Codechange: Add a function to get a string representation of an MD5SUM and use it. 2007-01-13 13:47:57 +00:00
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