Commit Graph

12153 Commits

Author SHA1 Message Date
alberth
2a2a9a27ba (svn r16464) -Codechange (r16422): Added a missing const_cast<> 2009-05-30 11:24:06 +00:00
alberth
5eecf3e5cb (svn r16463) -Cleanup: Code style fixes. 2009-05-30 11:01:05 +00:00
rubidium
1448160e1e (svn r16462) -Change [FS#2930]: use a safer way to detect the hash of a mercurial repository (planetmaker) 2009-05-29 21:24:51 +00:00
rubidium
40f22c710e (svn r16461) -Fix [FS#2929]: add some valid orders so the trains leave the depot again... 2009-05-29 21:13:44 +00:00
translators
b1297fcb36 (svn r16460) -Update: WebTranslator2 update to 2009-05-29 17:38:27
afrikaans  - 18 fixed, 6 changed by Chilli (24)
luxembourgish - 114 fixed, 252 changed by *jigo* (366)
2009-05-29 17:38:33 +00:00
smatz
b178a94c19 (svn r16459) -Codechange: move definition of several cargopacket accessors to header file 2009-05-29 15:46:55 +00:00
smatz
1ad410dc00 (svn r16458) -Codechange: use one enum instead of four 2009-05-28 21:54:03 +00:00
rubidium
62a2dff61e (svn r16457) -Fix [FS#2925]: skipping a 'nearest depot order' because none could be found could cause multiple orders to get skipped 2009-05-28 21:12:54 +00:00
yexo
d7b0aa47c5 (svn r16456) -Fix (r16429): forgot to update regression test 2009-05-28 17:34:54 +00:00
yexo
91fe6f5e13 (svn r16455) -Fix: don't crash when a newgrf has sounds in an unsupported sound format 2009-05-28 16:43:16 +00:00
yexo
9bd64cf588 (svn r16454) -Fix (r16181, r16241): fix the try/catch bug fixed in r16181 and reintroduced in r16241 again, this time without breaking the regression test. 2009-05-27 23:59:51 +00:00
yexo
df7786f789 (svn r16453) -Fix: Move some code around so a company is no longer used after deleting it 2009-05-27 23:37:47 +00:00
smatz
45af2a294c (svn r16452) -Fix: don't trigger station animations when the station was deleted in the same tick 2009-05-27 23:11:52 +00:00
smatz
5cd998b7a4 (svn r16451) -Fix (r16449): crash when a spectator (or dedicated server) received news about new engine 2009-05-27 19:37:27 +00:00
translators
4c9b4f5265 (svn r16450) -Update: WebTranslator2 update to 2009-05-27 17:39:46
arabic_egypt - 2 fixed by khaloofah (2)
danish     - 2 fixed by ThomasA (2)
english_US - 2 fixed by WhiteRabbit (2)
indonesian - 2 fixed, 8 changed by anansboga (10)
romanian   - 1 changed by CrystyB (1)
serbian    - 100 fixed by etran (100)
2009-05-27 17:39:57 +00:00
rubidium
6e94e6f017 (svn r16449) -Fix [FS#2924]: vehicle recolouring wasn't done for engine preview/news 2009-05-27 17:18:53 +00:00
rubidium
5df12c37a9 (svn r16448) -Fix [FS#2909]: road vehicles ending up on the pavement when they are in a drive through station that got removed due to bankruptcy 2009-05-27 17:17:06 +00:00
yexo
b16c9ae6ef (svn r16447) -Fix [FS#2922] (r16444): compiling on x86-64 failed 2009-05-27 00:46:17 +00:00
glx
5991c5195c (svn r16446) -Fix (r16378): 'cast to pointer from integer of different size' warning 2009-05-26 23:37:34 +00:00
smatz
faae8f0177 (svn r16445) -Codechange: update old comments (Yexo) 2009-05-26 23:24:34 +00:00
yexo
d982ec81df (svn r16444) -Codechange: Set all company settings to their default value for a new company instead of zeroing them. 2009-05-26 23:14:02 +00:00
glx
118d444be2 (svn r16443) -Fix: running 'make depend' after 'configure' in a fresh checkout failed 2009-05-26 23:05:11 +00:00
smatz
5a463c8347 (svn r16442) -Codechange: use new Vehicle accessors at more places 2009-05-26 22:45:48 +00:00
smatz
7ee882d03f (svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types 2009-05-26 22:10:13 +00:00
yexo
aa546e513f (svn r16440) -Fix [NoAI]: AIRail::GetRailStationDirection returned incorrect information 2009-05-26 22:03:16 +00:00
yexo
0d56cfabfa (svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them. 2009-05-26 21:59:49 +00:00
smatz
aa62ec0a1f (svn r16438) -Fix (r16436): set 'old_company' after modifying '_current_company' 2009-05-26 21:55:49 +00:00
rubidium
bacbafe510 (svn r16437) -Codechange: remove the hack that for CMD_COMPANY_CTRL the company was changed from spectator to company 0 in the network code. 2009-05-26 21:25:24 +00:00
rubidium
5b92584c40 (svn r16436) -Codechange: always execute 'spectator'/'server' commands as spectator. This to reduce the difference between dedicated and non-dedicated servers and normal clients. 2009-05-26 21:24:11 +00:00
rubidium
fd9bbdc54a (svn r16435) -Codechange: don't require the 'user company 0' hack for commands. 2009-05-26 19:23:02 +00:00
rubidium
e3c5bc8d2e (svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED) 2009-05-26 15:46:24 +00:00
yexo
2a5a8f395c (svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting 2009-05-26 13:29:01 +00:00
smatz
55225433c4 (svn r16432) -Feature(tte): use 'scrollto x y' in console to scroll to tile with given coordinates 2009-05-26 13:16:58 +00:00
yexo
279746236b (svn r16431) -Fix (16429): Company settings can also be changed in multiplayer games 2009-05-26 12:53:34 +00:00
smatz
af07333c78 (svn r16430) -Fix: crash when a company is deleted while a dropdown with company names is open 2009-05-26 11:57:52 +00:00
yexo
a10e5f707a (svn r16429) -Change: Make the company settings behave like all others settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies. 2009-05-26 11:40:14 +00:00
rubidium
b19d0e0254 (svn r16428) -Codechange: use the less bloated SimpleTinyEnumT instead of TinyEnumT if the stuff provided by TinyEnumT but not SimpleTinyEnumT is not used. 2009-05-26 11:19:04 +00:00
rubidium
984bd3b98d (svn r16427) -Codechange: replace a few magic numbers with an existing constant and unduplicate a few lines. 2009-05-26 08:53:16 +00:00
rubidium
462c1ec4f3 (svn r16426) -Fix [FS#2921] (r16390): articulated parts got the wrong image assigned 2009-05-26 08:51:33 +00:00
yexo
7425bf779d (svn r16425) -Change [FS#2869]: Stop an AI when it takes too long to initialize or load 2009-05-25 21:55:47 +00:00
smatz
9355d1d169 (svn r16424) -Codechange: warn about casting-out 'const' only when using gcc4+, older versions give many useless false positives 2009-05-25 19:30:37 +00:00
rubidium
168ae6f7e2 (svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts. 2009-05-24 21:09:00 +00:00
rubidium
0d99b6c71c (svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it. 2009-05-24 20:29:04 +00:00
rubidium
36e71c8df6 (svn r16420) -Fix [FS#2919]: don't allow content download via the console when there's no zlib as it's done for the GUI already 2009-05-24 17:49:08 +00:00
rubidium
4033f786bd (svn r16419) -Fix [FS#2916]: MSYS has two distinct ways to write paths. When calling external binaries it resolves paths which causes comparisons between a resolved and unresolved path. So always use the resolved path instead of the unresolved one. 2009-05-24 17:34:39 +00:00
frosch
ad64d5eedb (svn r16418) -Fix: Resolve the company name for 'subsidy awarded'-news when the news are triggered, so it stays valid when the company bankrupts or is taken over. 2009-05-24 17:23:24 +00:00
translators
7f9c192a95 (svn r16417) -Update: WebTranslator2 update to 2009-05-24 17:18:38
icelandic  - 31 fixed, 14 changed by scrooge (45)
indonesian - 17 fixed by adjayanto (17)
serbian    - 84 fixed by etran (84)
2009-05-24 17:18:45 +00:00
frosch
a4557c7da4 (svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted. 2009-05-24 16:52:42 +00:00
smatz
b7d065ce99 (svn r16415) -Fix (r13008): some 64bit architectures require size_t to be aligned at 8-byte boundary, ensure it for MemBlock 2009-05-24 16:28:33 +00:00
frosch
8109a74c95 (svn r16414) -Change: Make it harder to ignore/close important error messages. Esp. do not close them automatically after some time. 2009-05-24 12:50:58 +00:00