summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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 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 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 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-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)
2007-01-09(svn r8007) -Codechange: Change _vehicle_position_hash from VehicleID to ↵peter1138
Vehicle*. This removes the need for look ups by index. Also declare the array static.
2007-01-09(svn r8000) -Codechange: drop UDP packets when their internal size does not ↵rubidium
match the received size. If that is the case, the packet was not received in one piece (or got somehow mangled with another packet), which will cause us to drop the packet later on because we are (for example) trying to read beyond the end of the packet.
2007-01-09(svn r7987) [Translations] Slovenian is no longer unfinished (no bad strings)miham
2007-01-09(svn r7986) WebTranslator2 update to 2007-01-09 08:20:27miham
brazilian_portuguese - 72 changed by fukumori (72) hungarian - 2 fixed by miham (2) slovenian - 191 fixed by Necrolyte (191)
2007-01-08(svn r7984) -Fix: out-of-bounds read access on _clients array (Quark)Darkvater
2007-01-08(svn r7983) WebTranslator2 update to 2007-01-08 19:37:40miham
brazilian_portuguese - 111 changed by fukumori (111) esperanto - 11 changed by LaPingvino (11) japanese - 116 fixed by ickoonite (116)
2007-01-08(svn r7982) -Codechange: Enumify graphics blitter modes.peter1138
2007-01-08(svn r7976) -Fix: (SF 1629560) Rail vehicles can no longer enter tunnels or ↵celestar
bridgeheads with wrong railtype
2007-01-08(svn r7975) WebTranslator2 update to 2007-01-08 09:13:29miham
brazilian_portuguese - 6 fixed, 2 changed by fukumori (8) danish - 5 changed by MiR (3), ThomasA (2) estonian - 1 changed by kristjans (1) frisian - 82 fixed, 85 changed by ikkejw (82), talzaroff (85) greek - 64 fixed, 3 changed by Kesnar (67) italian - 1 changed by sidew (1) japanese - 92 fixed by ickoonite (92) polish - 1 changed by meush (1) slovak - 7 changed by lengyel (7) slovenian - 160 fixed by Necrolyte (160) turkish - 2 changed by jnmbk (2)
2007-01-07(svn r7969) *whistle* 20067 has not yet come to pass; it's 2007 (I think my ↵Darkvater
search&replace broke)
2007-01-07(svn r7968) -Update copyright/etc information to 2007Darkvater
2007-01-07(svn r7966) -Fix (r7936): Eh AxisToTrack returns Track not Axis, thanks KUDrDarkvater
2007-01-07(svn r7936) -Fix (r4987, old-rev): Only update the signals and YAPF cache on ↵Darkvater
a DC_EXEC action for bridge-building
2007-01-06(svn r7932) -Fix (r7931): committed a few files too much :( (the ones I used ↵rubidium
to test the new masterserver)
2007-01-06(svn r7931) -Fix (r7759): multiple (different) -O flags made compilations ↵rubidium
with the wrong optimisations.
2007-01-06(svn r7930) -Fix: [FS#520] Wrong GRF flag set for gradual loading (mart3p)Darkvater
2007-01-06(svn r7905) WebTranslator2 update to 2007-01-06 15:28:31miham
estonian - 5 changed by kristjans (5) frisian - 669 fixed, 17 changed by ikkejw (574), Bouke (2), talzaroff (110) italian - 1 changed by sidew (1) turkish - 2 fixed, 16 changed by jnmbk (18)
2007-01-06(svn r7901) -Codechange: Remove some misplaced externs and use extern, not ↵peter1138
VARDEF, in the place they should be...
2007-01-06(svn r7896) WebTranslator2 update to 2007-01-06 08:24:52miham
italian - 211 changed by sidew (211) lithuanian - 66 changed by Domas (66) slovenian - 131 fixed by ThePianoGuy (31), Necrolyte (100)
2007-01-05(svn r7888) -Change: add documentation about the 'on-the-wire' structure of ↵rubidium
the network game information request and reply packets.
2007-01-05(svn r7887) -Fix: [OSX] Endian32_Swap should always return a uint32, not a ↵bjarni
long unsigned int This kills an OSX specific warning in newgrf_config.c Ensured that Endian16_Swap returns uint16 as well, even though that one didn't result in any warnings (yet)
2007-01-05(svn r7886) -Fix: [OSX] control+enter will no longer toggle fullscreen as it ↵bjarni
collided with other hotkeys (pv2b) People should use command+enter as it was originally intended (this key combo also worked before this commit)
2007-01-05(svn r7884) WebTranslator2 update to 2007-01-05 19:28:08miham
bulgarian - 14 changed by groupsky (14) croatian - 159 fixed, 8 changed by knovak (167) danish - 30 changed by ThomasA (4), MiR (26) estonian - 41 changed by kristjans (41) japanese - 47 fixed, 1 changed by PouncingAnt (48) lithuanian - 31 fixed, 68 changed by Domas (99)
2007-01-05(svn r7882) -Fix: OS2 is defined as UNIX too, but not for networkingtruelight
2007-01-05(svn r7864) -Codechange: Offset engines/wagons in the train details window ↵peter1138
by half the train length modifier. This stops overflowing wagons in sets that use 32px lengths.