summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-01-13(svn r8101) -Fix (runknown): Plug potential memleaks when calling ↵Darkvater
UnInitWindowSystem. The function directly deleted all windows instead of calling their respective deallocators which could then in turn any used memory.
2007-01-13(svn r8100) -Propchange: EOL style changed to LF for /projects/generateKUDr
2007-01-13(svn r8099) -Fix (r8092): source.list updated to reflect move of header ↵KUDr
files (thanks stillunknown). vcproj files updated too (thanks glx)
2007-01-13(svn r8098) -Fix (r6964): For editboxen, always fill the background with ↵Darkvater
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(svn r8097) Replace strlen() {==,!=,>} 0 by the more concise {,!}StrEmpty(). ↵tron
Additionally the test takes O(1) instead of O(n) now
2007-01-13(svn r8096) -Codechange: Invert the check if you are allowed to clear a road ↵Darkvater
tile so there are not so many negations (too confusing) and added some comments to further clarify what happens.
2007-01-13(svn r8095) -Codechange: stuff that is not related to HAL moved from hal.h ↵KUDr
to gfx.h
2007-01-13(svn r8094) -Feature/Fix (r7523): Show the activated status of the GRF list ↵Darkvater
after pressing 'apply' in the newgrf window, instead of the local list.
2007-01-13(svn r8093) -Codechange: Add a function to get a string representation of an ↵Darkvater
MD5SUM and use it.
2007-01-13(svn r8092) -Codechange: header files with miscellaneous template classes ↵KUDr
(smart pointers, blob, array, hashtable, etc.) moved from src/yapf to src/misc as they can now be used anywhere.
2007-01-13(svn r8091) -Propchange: EOL style changed to LF for config.lib (fixes ↵KUDr
./configure errors when sharing WC between linux and windows)
2007-01-13(svn r8090) -[win32] Fix (r8089): for *nprintf 'ret = count' NOT 'ret = 0'...Darkvater
2007-01-13(svn r8089) -[win32] MS-borkedness: All *nprintf functions are broken, but ↵Darkvater
we didn't test to fix it ourselves when 'len = count'.
2007-01-13(svn r8088) -Regression (r8087): Fix japanese translation by adding missing ↵tron
{ and removing spurious 0
2007-01-13(svn r8087) [Translations] Japanese translation manually updated by ickoonitemiham
2007-01-13(svn r8086) WebTranslator2 update to 2007-01-13 08:18:52miham
brazilian_portuguese - 203 changed by fukumori (203) norwegian_nynorsk - 9 changed by pollux (9)
2007-01-12(svn r8085) [Translations] fixed the filenames to the scheme the others use, ↵miham
updated projectfile, sorry
2007-01-12(svn r8084) [Translations] Added nynorsk translation (pollux), renamed ↵miham
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(svn r8083) -Codechange: make a NetworkSocketHandler as base for all sockets ↵rubidium
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(svn r8082) WebTranslator2 update to 2007-01-12 19:31:14miham
brazilian_portuguese - 62 changed by fukumori (62) croatian - 86 fixed, 2 changed by knovak (88) esperanto - 1 changed by LaPingvino (1)
2007-01-12(svn r8081) -Fix (r8075): Use a copy of the resolver object instead of the ↵peter1138
using the existing one. This fixes problems with the object scope setting.
2007-01-12(svn r8080) -Codechange (r8079): Move the *WHOLE* performance code into the ↵Darkvater
#ifndef and some style changes.
2007-01-12(svn r8079) -Fix [YAPF]: float division by zero when calculating stats (YAPF ↵KUDr
cache hit ratio). Caused BSOD on Win9x. (thanks 3iff for report, Darkvater for help)
2007-01-12(svn r8078) -Codechange: rewrite UDP part of the network code to make use ↵rubidium
classes. This is only one of the many steps to really cleanup the network code.
2007-01-12(svn r8077) -Cleanup: Restructure some switch() statements' default case ↵Darkvater
when they're unreachable
2007-01-12(svn r8075) -Feature: Add support for variable 7E - subroutines. (peter1138)maedhros
2007-01-12(svn r8074) -Fix (FS#537, r7555, r5749): revert r7555 because it was really ↵rubidium
wrong and fix the off-by-one error due to truncation that was supposedly fixed by r7555.
2007-01-12(svn r8073) WebTranslator2 update to 2007-01-12 08:35:48miham
brazilian_portuguese - 92 changed by fukumori (92)
2007-01-12(svn r8071) -Fix (r5999): [FS#536] Merging 32bit dates broke the ↵Darkvater
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-11(svn r8070) -Fix r5815: missing initialisation could cause crash when ↵glx
loading 24bpp BMP heightmap
2007-01-11(svn r8069) [Translations] Moved japanese from unfinished, good job translatorsmiham
2007-01-11(svn r8068) WebTranslator2 update to 2007-01-11 19:35:48miham
croatian - 93 fixed by knovak (93) greek - 10 fixed by Kesnar (10) japanese - 506 fixed by ickoonite (506)
2007-01-11(svn r8067) -Fix (r7759): if bin/$(TTD) was removed, it did not get placed ↵rubidium
back on make unless $(TTD) got relinked.
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-11(svn r8065) -Feature: The station list does now remember the sort settingscelestar
2007-01-11(svn r8063) -Codechange: When evaluating newgrf varaction2s the 'last value' ↵peter1138
should start off at 0, and the result of the operation is remembered.
2007-01-11(svn r8062) -Codechange: change newgrf varaction2 value from signed to unsignedpeter1138
2007-01-11(svn r8061) -Fix r8055: obj-c can't handle templatesbjarni
We will need to figure out a nicer solution for this, but now OSX compiles again
2007-01-11(svn r8058) -Codechange: Replaced an occurence of (uint32)-1 by UINT_MAXcelestar
2007-01-11(svn r8057) -Codechange: Declare the "new" max template as static line.celestar
2007-01-11(svn r8056) -Codechange: Remove swap_byte, swap_byte, and siblings (some ↵celestar
were not used anyway) and replace them by our SwapT implementation
2007-01-11(svn r8055) -Codechange: Replace the different max, dmax, maxu whatever ↵celestar
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(svn r8054) -Codechange: Use a template function instead of a macro for ↵peter1138
evaluating NewGRF var adjusts
2007-01-11(svn r8053) [Translations] Reverted german translators work (moewe2), since ↵miham
it looks suspicious
2007-01-11(svn r8052) - Codechange: RemoveFirstTrack() and RemoveFirstTrackdir() now ↵KUDr
accept pointer to TrackBits/TrackdirBits instead of reference.
2007-01-11(svn r8051) WebTranslator2 update to 2007-01-11 07:24:01miham
german - 1 deleted by moewe2 (1) greek - 3 fixed by Kesnar (3) japanese - 273 fixed by ickoonite (273)
2007-01-11(svn r8050) -Codechange: Rename map member extra to m6, since its usage has ↵belugas
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(svn r8049) -Regression (r7369): Removing certain news windows could cause a ↵Darkvater
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-10(svn r8047) -Revert (8002): cp -u is not supported on all platforms.rubidium
2007-01-10(svn r8044) Regression (r8038): Crash on allocating bridge memory (peter1138)Darkvater