summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-01-19(svn r8277) -Fix (r8038): assert on game exit when waypoints were used. The ↵KUDr
static variable of type Station (inside ComposeWaypointStation) replaced by byte array so no destructor is called for it on exit.
2007-01-19(svn r8276) -Fixtron
Change the signature of Swap() to be less error prone, i.e. pass the variables to be swapped by reference instead of passing pointers to the variables. Just do Swap(x, y) instead of Swap(&x, &y). This prevents accidents when the variables are pointers.
2007-01-19(svn r8275) -Fixtron
Factor common data tables and use a bit more sensible names
2007-01-19(svn r8274) -Codechange (r8151): Move the automatic semaphore/signal checks ↵Darkvater
inside the CMD_ functions where they are supposed to be. Achieve this by adding a seperate bit to p1/p2 to hold the CTRL-modifier. While here, use proper types, and 'unify' the parameter bit-meanings. 0 - ctrl-pressed, 1 - signal/semaphore, 2-4 - trackbits, 5 - remove (internal), 24-31 - drag density.
2007-01-18(svn r8273) -Fix: return value from clamp was ignoredKUDr
2007-01-18(svn r8272) -Fix (r8038): signed/unsigned change - PlayerID is now enum ↵KUDr
(signed) and was byte so test for PlayerID validity needed to be updated (Darkvater)
2007-01-18(svn r8267) [Translations] -Fix: (r8266) fixed the ownname and the isocode ↵miham
of the russian language
2007-01-18(svn r8266) -Update: WebTranslator2 update to 2007-01-18 19:42:06miham
afrikaans - 26 fixed, 63 changed by TrueTenacity (89) dutch - 1 fixed by habell (1) esperanto - 1 fixed by LaPingvino (1) russian - 26 changed by DarkFenX (26) turkish - 1 fixed by jnmbk (1) ukrainian - 6 changed by znikoz (6)
2007-01-18(svn r8254) -Merge: Release changes from the 0.5 branch back to trunk. This ↵Darkvater
ensures an updated changelog, readme, et.
2007-01-18(svn r8253) -Codechange: Be more strict about language generation and fail ↵Darkvater
any languages not having the mandatory ##name, ##ownname and ##isocode pragma's.
2007-01-18(svn r8252) -Regression(r8204): WT2 commit removed ##isocode from Russian, ↵Darkvater
resulting in a clean start of openttd being in russian instead of in english.
2007-01-18(svn r8240) -Fix (r8013): Put the output of -h to stdout and not to stderr ↵Darkvater
(through ShowInfo)
2007-01-18(svn r8239) -Regression (r7278): Help window was empty for UNICODE buildsDarkvater
2007-01-18(svn r8231) -Fix (r8125): MP desync caused by calling Random() from station ↵KUDr
constructor. This was wrong because station constructor is called also when loading savegame and when player tries to build station when it is not sure that it will succeed (thanks Rubidium)
2007-01-17(svn r8218) -Codechange: Increase spritecache size to 2MB. This will vastly ↵Darkvater
improve performance when using (lots of) grf files. You can change it yourself easily with the SPRITE_CACHE_SIZE compile flag. (peter1138).
2007-01-17(svn r8214) -Fix (r8038): The fast forward flag stores 2 bits, not 1. ↵peter1138
Remember the whole thing when turning off FF for autosave. This stops FF getting stuck on if the FF key is released during the save.
2007-01-17(svn r8212) -Fixtron
Remove the unnecessary attribute RoadStop::used. The same information can be derived from RoadStop::xy
2007-01-17(svn r8211) -Codechange: (NewGRF) Implement callback 2D, explicit vehicle ↵peter1138
colour map selection.
2007-01-17(svn r8207) -Fixtron
Remove the write-only attribute RoadStop::station
2007-01-17(svn r8206) [Translations] -Fix: Fixed r8193, converted the html notations ↵miham
back to UTF8 characters
2007-01-17(svn r8204) -Fix: reverted r8202, since it did not solve all the problems, ↵miham
since ALL language changes done today are garbage due to a quick bugfix in WT2 which introduced another, much more serious bug: put an utf8_to_htmlcode() call to a wrong place I will fix the affected language files soon (20-30 minutes) Please excuse me for this whole problem :-(
2007-01-17(svn r8203) -Fix:tron
Use initialisers, reduce variable scope, remove spurious whitespace, fix format string to make it readable
2007-01-17(svn r8202) -Fix: r8193: russian.txt changes somehow became garbagemiham
2007-01-17(svn r8198) -Codechange: two global variables are not needed when network is ↵rubidium
disabled.
2007-01-17(svn r8193) -Update: WebTranslator2 update to 2007-01-17 19:42:11miham
brazilian_portuguese - 3 changed by fukumori (3) danish - 21 changed by MiR (21) german - 1 fixed by Neonox (1) japanese - 24 changed by ickoonite (24) norwegian_nynorsk - 1 changed by pollux (1) russian - 5 fixed, 75 changed by DarkFenX (80) slovenian - 57 changed by Necrolyte (57) swedish - 1 fixed by daishan (1)
2007-01-17(svn r8186) -Fix (FS#557): Apply railtype offset to station graphics if no ↵peter1138
custom station is in use.
2007-01-17(svn r8185) -Codechange: Equipped Roadstops with new/delete operators and ↵celestar
gave them proper constructors/destructors (Thanks to KUDr for a nice interactive C++ lesson)
2007-01-17(svn r8184) if cascade -> switchtron
2007-01-17(svn r8183) When iterating over the map in AfterLoadGame() do it the same ↵tron
way for all loops
2007-01-17(svn r8171) -Fix (FS#556): return SL_ERROR when unthreaded saves failed, to ↵rubidium
make sure we do not try to send zero-byte savegames.
2007-01-16(svn r8168) -Regression (r6783): ParseConnectionstring didn't use the port ↵Darkvater
parameter if a player was also specified. (both IP#Player:Port and IP:Port#Player btw)
2007-01-16(svn r8167) -Fix (FS#556): a network client crashes, due to a division by ↵rubidium
zero, when the connection gets lost at the right moment or when the packet is malformed (server sends size 0 for the map).
2007-01-16(svn r8166) -Fix (r7797): Protect against out of bounds access to the sprite ↵peter1138
ptr list.
2007-01-16(svn r8165) -Revert r8107 and show the MD5SUM of the *REPLACEMENT* grf file, ↵Darkvater
NOT the original one. Reason for this is that this md5sum is saved, and otherwise a wrong md5sum would be stored in a savegame.
2007-01-16(svn r8164) -Codechange (r8159): Fix up some comments/doxygen for disasters ↵Darkvater
and rename Submarine1/2 to small/big
2007-01-16(svn r8163) [Translations] Re-added cases for the czech language (they were ↵miham
removed either accidentally or on purpose, will look after it later
2007-01-16(svn r8162) WebTranslator2 update to 2007-01-16 19:44:34miham
brazilian_portuguese - 1 fixed, 66 changed by fukumori (67) catalan - 1 fixed by arnaullv (1) czech - 1 fixed by Hadez (1) danish - 1 fixed, 1 changed by MiR (1), ThomasA (1) french - 1 fixed by glx (1) hungarian - 1 fixed by miham (1) italian - 1 fixed by sidew (1) japanese - 1 fixed, 63 changed by ickoonite (64) norwegian_nynorsk - 1 fixed, 37 changed by khaavik (28), pollux (10) portuguese - 1 fixed by izhirahider (1) slovenian - 1 fixed by Necrolyte (1) ukrainian - 5 fixed, 16 changed by fevral13 (4), znikoz (17)
2007-01-16(svn r8161) -Fix (FS#555, r8144): enroute_from_xy was not set properly for ↵rubidium
old savegames.
2007-01-16(svn r8160) -Fix (r8151): Do not use HasSignals on tiles without railways.maedhros
2007-01-16(svn r8159) -Cleanup: Sprinkle some coding-style and comments on the ↵Darkvater
disaster code.
2007-01-16(svn r8158) -Fix: The submarine disaster failed to move at all due to wrong ↵Darkvater
masking of trackbits
2007-01-16(svn r8157) -Fix (r3136): moving cargo during auto replaces did not update ↵rubidium
the cached vehicle weight for trains properly. This caused (in network games) the server to have a different cached vehicle weight than newly joined clients would have, which causes desyncs.
2007-01-16(svn r8155) -Fix: fixed compilation when --disable-network is in usebjarni
2007-01-16(svn r8154) -Codechange: Water can no longer be under bridge tiles, so don't ↵peter1138
check for it.
2007-01-16(svn r8153) -Codechange: Change UpdateStationAcceptance() and ↵peter1138
ShowRejectOrAcceptNews() to work with cargo IDs instead of cargo names, and explicitly list the different strings to use.
2007-01-16(svn r8152) Fix a off-by-one error in the placement of the sticky box of the ↵tron
road build toolbar in the scenario editor
2007-01-15(svn r8151) -Feature: Automatically build semaphores before a configurable ↵maedhros
date, which can be set by each network player seperately.
2007-01-15(svn r8148) WebTranslator2 update to 2007-01-15 19:25:31miham
brazilian_portuguese - 4 fixed by fukumori (4) bulgarian - 1 fixed, 48 changed by groupsky (49) croatian - 163 fixed, 60 changed by Ydobon (223) danish - 23 changed by MiR (23) esperanto - 2 changed by LaPingvino (2) italian - 4 fixed by sidew (4) japanese - 5 fixed by ickoonite (5) norwegian_bokmal - 4 fixed by brygge_2 (4) norwegian_nynorsk - 830 changed by khaavik (822), Eikje3 (8) portuguese - 4 fixed by izhirahider (4) slovenian - 4 fixed, 64 changed by Necrolyte (68)
2007-01-15(svn r8147) -Fix: [autoreplace] v->leave_depot_instantly was not always ↵bjarni
reset correctly While it's not certain if this would have any serious sideeffects (or any at all), it's reset when intended now
2007-01-15(svn r8146) -Fix (FS#552, r8038): a C/C++ linkage problem on some very few ↵celestar
incarnations of gcc