Commit Graph

17390 Commits

Author SHA1 Message Date
alberth 31386c42a7 (svn r22145) -Codechange: Do explicit test for non-bool values. 2011-02-25 22:04:38 +00:00
alberth 1dbc0a20be (svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)' 2011-02-25 21:53:43 +00:00
translators 87c8d97aca (svn r22143) -Update from WebTranslator v3.0:
frisian - 59 changes by Taeke
irish - 58 changes by tem
slovenian - 30 changes by
2011-02-25 18:45:13 +00:00
yexo f7f3db7174 (svn r22142) -Fix (r22094): some valid keycodes were ignored along with the invalid ones 2011-02-25 13:59:02 +00:00
frosch b0b7e1172c (svn r22141) -Fix (r22135): AI breakpoints were broken at this point. (thanks Zuu) 2011-02-24 22:14:41 +00:00
frosch f34e9ff074 (svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth) 2011-02-24 21:48:06 +00:00
translators 6621a8fb21 (svn r22139) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
frisian - 42 changes by Taeke
slovenian - 30 changes by
2011-02-24 18:45:13 +00:00
yexo 89ff97f70a (svn r22138) -Fix: skipping only the invalid part of an action14 failed, the rest of the action was skipped instead 2011-02-24 18:13:59 +00:00
smatz 7d40c99378 (svn r22137) -Codechange: enable -Wnon-virtual-dtor for all GCC versions 2011-02-24 16:39:04 +00:00
planetmaker ac0700c564 (svn r22136) -Fix (r22112): Silence compiler warning about non-virtual destructor 2011-02-24 06:57:55 +00:00
frosch 19b7249ade (svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command. 2011-02-23 20:54:55 +00:00
frosch 40cc3324fa (svn r22134) -Codechange: Move ReInit() of the landinfo window from DeleteNewGRFInspectWindow() into a InvalidateData call. 2011-02-23 20:45:52 +00:00
frosch 1a3a1e3b0c (svn r22133) -Fix: some coding style. 2011-02-23 20:29:48 +00:00
translators 50daa3f83d (svn r22132) -Update from WebTranslator v3.0:
frisian - 172 changes by Taeke
polish - 1 changes by xaxa
slovenian - 40 changes by Necrolyte
2011-02-23 18:45:12 +00:00
frosch facf400d27 (svn r22131) -Fix: Spectators had trouble closing buoy windows. (Terkhen) 2011-02-23 18:39:56 +00:00
smatz 678cf3553f (svn r22130) -Fix: failed assert when loading savegame with empty shared orderlist 2011-02-23 00:00:50 +00:00
smatz 58c7f5c497 (svn r22129) -Codechange: use simpler check to test if there any towns in the game 2011-02-22 22:21:20 +00:00
frosch ee111ce1a4 (svn r22128) -Fix [FS#4530]: Build-station-window showed wrong selection when reopening. (Regiovogel) 2011-02-22 20:28:24 +00:00
terkhen 4860eff98c (svn r22127) -Fix: Canals would get drawn as land in the smallmap when using the owner window. 2011-02-22 14:23:38 +00:00
translators f719bc7b3c (svn r22126) -Update from WebTranslator v3.0:
arabic_egypt - 40 changes by Company_director
belarusian - 1 changes by KorneySan
danish - 19 changes by beruic
frisian - 142 changes by Taeke
malay - 3 changes by toadhall
brazilian_portuguese - 93 changes by Luis_Mizuchiro
tamil - 139 changes by sylvesterpious
2011-02-21 18:45:22 +00:00
frosch 54db5d60fb (svn r22125) -Fix (r9162)[FS#4528]: The animation-ness of two goldmine tiles were swapped, causing the wheeltower to not work properly, and the bottom corner to show the wrong sprite. 2011-02-21 17:38:33 +00:00
rubidium b6be3f2acc (svn r22124) -Codechange: move comment to its logical place 2011-02-20 21:10:58 +00:00
frosch 77fa68c1da (svn r22123) -Fix [FS#4522]: CommandQueue::Pop() did not update 'last'; popping the last item caused the queue to disconnect unless there was only one item. 2011-02-20 21:00:24 +00:00
rubidium 0eaa2ffa63 (svn r22122) -Fix/change: when a NOT_REACHED in saveload can be reached due to an invalid savegame, use SlErrorCorrupt instead 2011-02-20 20:58:32 +00:00
rubidium d594a219c6 (svn r22121) -Fix: In case of high frame_freq one could get commands executed after a new network game was started 2011-02-20 20:55:21 +00:00
rubidium e9fe58d7bf (svn r22120) -Change: [NoAI] Prevent AIs from getting consistently over their allowed amount of operations by subtracting the amount they went over "budget" from the budget for the next "tick". 2011-02-20 20:28:49 +00:00
translators 7d24d642d9 (svn r22119) -Update from WebTranslator v3.0:
frisian - 48 changes by Taeke
tamil - 96 changes by sylvesterpious
urdu - 36 changes by yasirniazkhan
2011-02-20 18:45:08 +00:00
terkhen dcd158b03e (svn r22118) -Fix [FS#4525]: The refit window was not correctly updated after selecting with Ctrl+Click (Regiovogel). 2011-02-20 18:32:42 +00:00
frosch bd9610ec3c (svn r22117) -Fix [FS#4523-ish]: CanRemoveRoadWithStop() failed for _current_company = OWNER_TOWN, and for OWNER_NONE-owned road. 2011-02-20 15:19:16 +00:00
smatz 756cc6cf65 (svn r22116) -Codechange: use PoolBase::Clean() at more places 2011-02-19 23:05:47 +00:00
smatz 642fb19d4f (svn r22115) -Fix (r22114): some comments and code ordering were wrong 2011-02-19 18:55:10 +00:00
translators ef80fe703d (svn r22114) -Update from WebTranslator v3.0:
danish - 3 changes by beruic
frisian - 13 changes by Taeke
2011-02-19 18:45:09 +00:00
smatz 1d9cae9afa (svn r22113) -Codechange: use PoolBase::CleanAll() to clean all pools at game exit 2011-02-19 18:25:24 +00:00
smatz 5fd13843f7 (svn r22112) -Codechange: register all pools in a pool vector 2011-02-19 18:23:45 +00:00
rubidium 68bc93f950 (svn r22111) -Codechange/fix-ish: upon cleaning a pool a destructor should not delete items from other pools 2011-02-19 18:02:17 +00:00
frosch f575b45bae (svn r22110) -Codechange: Remove WaterDrawTileStruct and use DrawTileSprites/DrawTileSeqStruct instead. 2011-02-19 14:57:15 +00:00
frosch 26ad79be5a (svn r22109) -Fix (r21269, 21272): Missing undeffing of macros. 2011-02-19 14:55:31 +00:00
frosch 9e59436c61 (svn r22108) -Codechange: Replace some magic with some other magic though less easy to break. 2011-02-19 14:51:46 +00:00
frosch 1dd6d037ba (svn r22107) -Cleanup (r1903): Remove unused struct. 2011-02-19 14:30:21 +00:00
frosch 57dc3ed716 (svn r22106) -Codechange: Add DrawTileSeqStruct::MakeTerminator(), DrawTileSeqStruct::IsTerminator(), DrawTileSeqStruct::IsParentSprite() to simplify stuff. 2011-02-19 13:16:34 +00:00
yexo 72e027e4d6 (svn r22105) -Fix: crash when copying an orderlist to a vehicle that already had orders 2011-02-18 21:46:45 +00:00
alberth ff1e0a3ed3 (svn r22102) -Codechange: Also use the getopt function in strgen. 2011-02-18 20:52:42 +00:00
alberth 41a67a9b94 (svn r22101) -Codechange (r22098): Unify a bit of code. 2011-02-18 20:51:05 +00:00
alberth 8c2fc45153 (svn r22098) -Codechange: Have an array of option data, use it in the option parsing routine. Adapt openttd option processing too. 2011-02-18 20:28:25 +00:00
alberth b0b1c0dea9 (svn r22097) -Fix (r22096): Add files before commit. 2011-02-18 20:23:11 +00:00
alberth 9d0ff9d692 (svn r22096) -Codechange: Move openttd getopt implementation to its own file. 2011-02-18 20:14:30 +00:00
translators bca5159951 (svn r22095) -Update from WebTranslator v3.0:
traditional_chinese - 11 changes by elleryq
danish - 40 changes by beruic
brazilian_portuguese - 41 changes by Luis_Mizuchiro
spanish - 1 changes by Terkhen
swedish - 22 changes by LordDaimos
tamil - 37 changes by ksvml
thai - 149 changes by m_vanillaconix
2011-02-18 18:45:23 +00:00
yexo 24753fbd35 (svn r22094) -Fix [FS#4510]: remove invalid keycodes when reading hotkeys.cfg 2011-02-17 23:14:43 +00:00
rubidium 1a5087be69 (svn r22093) -Fix [FS#4514]: The server list did not get sorted with one item in it, so the "position in the list" variable was never updated causing problems when using the keyboard shortcuts for scrolling 2011-02-17 21:05:44 +00:00
rubidium 848761e3a9 (svn r22092) -Fix-ish (r22068): when you change a boolean to a enum, check specifically for a particular value 2011-02-17 18:45:44 +00:00