summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2007-01-10(svn r8043) -Fix (8028): forgot setting a variable.rubidium
2007-01-10(svn r8042) - Fix: OS/2 compilation with GCC (thanks to Paul Smedley and ↵orudge
TrueBrain for their help)
2007-01-10(svn r8041) -Regression (r7564): [NewGRF] check_length should skip further ↵peter1138
processing if a length is too short, so give the function a return value
2007-01-10(svn r8040) [Configure] -Fix: for some reason, OS2 compiled unix.cpp, not ↵truelight
os2.cpp
2007-01-10(svn r8039) WebTranslator2 update to 2007-01-10 19:58:43miham
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(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8037) -Fix (r7987): MSVC project files were not updated with respect ↵rubidium
to the addition of slovenian.
2007-01-10(svn r8034) -Fix (r8033): aircraft_cmd.c was not renamed.rubidium
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)
2007-01-10(svn r8030) -Fix: segmentation fault when removing a town in the scenario ↵rubidium
editor while having the query tool window open for one of the town's tiles.
2007-01-10(svn r8029) -Fix (7759): somehow the old configure script was not removed.rubidium
2007-01-10(svn r8028) -Fix: overflow of ticks was not handled properly, possibly ↵rubidium
resulting a non-reacting gameserver/gameclient.
2007-01-10(svn r8027) -Fix (FS#486) If a pause command is issues, it will now pause ↵celestar
the game even if shift is pressed instead of giving a cost estimate of 0. This fixes a problem where the server does not pause_on_join when the player on the interactive server has the shift button pressed. (Thanks to pvz for the report and the fix)
2007-01-10(svn r8026) -Fix (r2441) When taking up cargo that is transferring, trains ↵celestar
will now also have the virtual profit deducted.
2007-01-10(svn r8019) -Fix (r7759): if libfreetype was not found (and not forced to be ↵rubidium
used), the configure script aborted instead of marking it a 'not found'.
2007-01-09(svn r8014) -Codechange (r7573): When a tile is cleared, empty the general ↵maedhros
purpose bits in extra as well, unless they are (or could be) used for bridges. This means these bits don't have to be cleared seperately when non-bridgeable tiles are removed.
2007-01-09(svn r8013) -Codechange (r6921, rUnknown): Show the error message of corrupt ↵Darkvater
or missing (own) files through a ShowInfo(F). This way windows users also see this message and bugs such as FS#528 will not happen anymore. Put ShowInfo(F) error output to stderr and not stdout.
2007-01-09(svn r8012) WebTranslator2 update to 2007-01-09 20:43:03miham
bulgarian - 3 fixed, 68 changed by groupsky (71) danish - 45 changed by ThomasA (4), MiR (41) finnish - 2 fixed by pallokala (2) frisian - 2 changed by talzaroff (2) greek - 40 fixed, 1 changed by Kesnar (41) italian - 2 changed by sidew (2) swedish - 2 fixed, 1 deleted, 55 changed by ChrillDeVille (58)