Commit Graph

14870 Commits

Author SHA1 Message Date
rubidium 59ff2836d4 (svn r26195) -Codechange: move debug's ottd_rdtsc (CPU specific high precision timer) into cpu.h/cpp 2014-01-02 08:45:28 +00:00
translators aad80b7536 (svn r26193) -Update from WebTranslator v3.0:
german - 1 changes by Jogio
2014-01-01 18:45:12 +00:00
rubidium e3542b1977 (svn r26192) -Fix (r24878): off-by-one error ;) 2013-12-31 23:08:55 +00:00
translators 0de65cbf91 (svn r26190) -Update from WebTranslator v3.0:
indonesian - 2 changes by abdu354
2013-12-31 18:45:07 +00:00
translators 2c6aa62bbf (svn r26189) -Update from WebTranslator v3.0:
indonesian - 33 changes by abdu354
korean - 5 changes by telk5093
2013-12-30 18:45:13 +00:00
fonsinchen ecdd796a86 (svn r26188) -Codechange: Move station refitting to a separate function. 2013-12-30 14:50:45 +00:00
fonsinchen 63b43ed914 (svn r26187) -Fix: allow refitting at station if cargo has already been reserved. 2013-12-30 14:50:09 +00:00
fonsinchen c71aa27b92 (svn r26186) -Fix: Don't check for equality of MAC_OS_X_VERSION_MAX_ALLOWED. 2013-12-30 14:46:24 +00:00
translators cab6391ded (svn r26185) -Update from WebTranslator v3.0:
norwegian_nynorsk - 137 changes by terjesc
2013-12-29 18:45:09 +00:00
translators a178781487 (svn r26184) -Update from WebTranslator v3.0:
welsh - 126 changes by kazzie
2013-12-28 18:45:09 +00:00
translators 28de2ec68b (svn r26183) -Update from WebTranslator v3.0:
estonian - 9 changes by KSiimson
indonesian - 4 changes by abdu354
korean - 85 changes by telk5093
2013-12-27 18:45:17 +00:00
translators cc873704ac (svn r26182) -Update from WebTranslator v3.0:
arabic_egypt - 15 changes by abdXelrhman
2013-12-26 18:45:07 +00:00
translators fb1a5caf9f (svn r26181) -Update from WebTranslator v3.0:
estonian - 20 changes by KSiimson
hungarian - 7 changes by IPG
korean - 1 changes by telk5093
2013-12-25 18:45:17 +00:00
frosch 3bdb4982d7 (svn r26180) -Fix: Visual effects did not work for articulated RV parts. 2013-12-25 11:37:10 +00:00
translators 40bf635a6d (svn r26179) -Update from WebTranslator v3.0:
estonian - 9 changes by KSiimson
greek - 51 changes by Evropi
korean - 2 changes by telk5093
2013-12-24 18:45:18 +00:00
translators 1154aecad6 (svn r26176) -Update from WebTranslator v3.0:
estonian - 6 changes by KSiimson
2013-12-24 05:04:18 +00:00
frosch 49852e3dac (svn r26175) -Add: Log in desync output when persistent storage is discarded. 2013-12-23 18:09:29 +00:00
frosch eca86d1baf (svn r26174) -Codechange: Rename BaseStorageArray to BasePersistentStorageArray 2013-12-23 18:09:03 +00:00
frosch a9e8d7a361 (svn r26173) -Change: [NewGRF] Reset the temporary storage registers for every sprite resolving. 2013-12-23 18:08:36 +00:00
frosch 3eea1befa7 (svn r26172) -Codechange: Make SpriteGroup::Resolve aware of nested calls. 2013-12-23 18:08:16 +00:00
frosch 82eb9d13df (svn r26171) -Codechange: Make TemporaryStorageArray keep track of assigned registers. Also make clearing the array 'cheaper'. 2013-12-23 18:07:57 +00:00
rubidium 00c05e79b1 (svn r26170) -Feature-ish: add the currently used fonts to the crash log 2013-12-22 17:46:27 +00:00
frosch b02179bd8e (svn r26169) -Fix-ish [FS#5831-ish]: Unify the time a RV needs to travel through a curve. 2013-12-22 11:55:07 +00:00
frosch 62c0d42f92 (svn r26167) -Fix [FS#5834]: Certain hotkeys crashed the content GUI when the list was empty. 2013-12-20 18:29:53 +00:00
fonsinchen ec492bfb77 (svn r26166) -Fix: Scale flows only after mapping to avoid rounding errors. 2013-12-20 14:57:44 +00:00
frosch 4818b72c75 (svn r26165) -Change [FS#5832]: Improve layout of build-airport GUI (hackalittlebit) 2013-12-18 18:23:30 +00:00
zuu b2f2a017b1 (svn r26164) -Doc: Fix Game Script API docs on that deity can build/prospect independent of advanced setting for that 2013-12-17 20:41:51 +00:00
translators 6817e97898 (svn r26163) -Update from WebTranslator v3.0:
czech - 4 changes by retro
latvian - 6 changes by Parastais
2013-12-17 18:45:13 +00:00
translators 0727b81db9 (svn r26162) -Update from WebTranslator v3.0:
thai - 1 changes by nirakanz
2013-12-16 18:45:08 +00:00
frosch 3d53c0f7b9 (svn r26161) -Fix [FS#5830] (r22567) (r25956-ish): Backup data of altered persistent storage arrays was freed twice. 2013-12-16 18:18:58 +00:00
translators e595720085 (svn r26160) -Update from WebTranslator v3.0:
danish - 1 changes by Hellwing
gaelic - 7 changes by GunChleoc
2013-12-14 18:45:18 +00:00
frosch a12fa22a75 (svn r26158) -Fix: NewGRF inspect window lacked several newer variables. 2013-12-13 20:52:25 +00:00
frosch e0d69933f6 (svn r26157) -Feature: [NewGRF] Vehicle variable 4D for determining the position within an articulated vehicle. 2013-12-13 20:21:04 +00:00
translators 07ecc26efa (svn r26156) -Update from WebTranslator v3.0:
luxembourgish - 4 changes by Phreeze
2013-12-11 18:45:11 +00:00
translators 86c0bc6b78 (svn r26154) -Update from WebTranslator v3.0:
luxembourgish - 34 changes by Phreeze
2013-12-09 18:45:08 +00:00
frosch ab9be31562 (svn r26153) -Doc [FS#5826]: Fix copy-pasty. (krinn) 2013-12-09 18:38:07 +00:00
frosch c69c2a243b (svn r26152) -Revert/Fix (r26118) [FS#5822]: While the condition is non-sense, the 'true' case is required for articulated parts and the 'false' case is required for savegame compatibility. 2013-12-08 21:22:03 +00:00
translators 065f8df860 (svn r26151) -Update from WebTranslator v3.0:
luxembourgish - 37 changes by Phreeze
turkish - 40 changes by wakeup
2013-12-08 18:45:14 +00:00
frosch 51f5d62fdb (svn r26150) -Revert (r26120): EnforcePrecondition alters the last-error status and is only meant for commands. 2013-12-08 18:20:14 +00:00
frosch bf0e7c34e6 (svn r26149) -Fix [FS#5825]: [Script] Various API functions did not check whether ScrtipRoad::SetCurrentRoadType was called appropiately. 2013-12-08 15:44:09 +00:00
frosch 2e79fd9c40 (svn r26148) -Fix [FS#5824] (r25735): Script API failed for vehicles with only implicit orders. 2013-12-08 15:13:06 +00:00
translators 3cafd72cc4 (svn r26146) -Update from WebTranslator v3.0:
luxembourgish - 40 changes by Phreeze
turkish - 56 changes by wakeup
2013-12-07 18:45:13 +00:00
translators ce8a45c870 (svn r26145) -Update from WebTranslator v3.0:
norwegian_bokmal - 3 changes by Trond
polish - 1 changes by p0358
2013-12-06 18:45:16 +00:00
translators da67cfe17c (svn r26144) -Update from WebTranslator v3.0:
slovak - 1 changes by Tinix
2013-12-05 18:45:11 +00:00
translators 8f7f4ccc5e (svn r26143) -Update from WebTranslator v3.0:
danish - 15 changes by Hellwing
english_AU - 8 changes by mrtux
korean - 2 changes by telk5093
latvian - 1 changes by Parastais
luxembourgish - 6 changes by Phreeze
2013-12-04 18:45:26 +00:00
translators 5890e184bb (svn r26142) -Update from WebTranslator v3.0:
latvian - 10 changes by Parastais
turkish - 49 changes by wakeup
2013-12-03 18:45:16 +00:00
translators 1f62de41ec (svn r26141) -Update from WebTranslator v3.0:
portuguese - 1 changes by vesgo
turkish - 39 changes by wakeup
2013-12-02 18:45:19 +00:00
translators 7d632b7414 (svn r26140) -Update from WebTranslator v3.0:
turkish - 41 changes by wakeup
2013-12-01 18:45:09 +00:00
translators a3471b4ab9 (svn r26139) -Update from WebTranslator v3.0:
latvian - 3 changes by Parastais
vietnamese - 2 changes by nglekhoi
2013-11-29 18:45:17 +00:00
rubidium eec66b089d (svn r26138) -Fix [FS#5821] (r26105-ish): [Script] scripts could trigger the internal IsValidRoadType assertion 2013-11-29 18:06:14 +00:00
rubidium 354ec53b3c (svn r26137) -Merge: documentation updates from 1.3 branch 2013-11-29 13:15:02 +00:00
rubidium aa8f9e28a2 (svn r26134) -Fix [FS#5820]: aircraft crashing near the map's border due to a lack of airports could trigger an assertion in most builds 2013-11-28 19:37:24 +00:00
translators f6362ae298 (svn r26133) -Update from WebTranslator v3.0:
frisian - 1 changes by Taeke
malay - 3 changes by aarchen1795
2013-11-28 18:45:10 +00:00
rubidium 70b2093ddb (svn r26132) -Fix-ish: prevent issues due to overflowing multiplications by limiting the size of full zoom sprites to about 32kix32ki 2013-11-26 22:03:56 +00:00
translators b0a6efc7b3 (svn r26131) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by siu238X
traditional_chinese - 1 changes by siu238X
turkish - 13 changes by wakeup
2013-11-26 18:45:17 +00:00
rubidium d2ba772f6a (svn r26130) -Codechange: add some guards against using invalid image indices 2013-11-26 16:08:58 +00:00
rubidium 7abe85d727 (svn r26129) -Fix: remove dead code; it could be made to do what it did, but then it would be inconsistent with moving vehicles around 2013-11-26 15:30:41 +00:00
rubidium b1bcd1adab (svn r26128) -Fix: erroneous cast 2013-11-26 15:12:54 +00:00
rubidium f514e31978 (svn r26127) -Fix (r18186): missing break 2013-11-26 15:08:15 +00:00
rubidium 54a8e00a7e (svn r26126) -Cleanup: remove unneeded check for NULL 2013-11-26 14:52:28 +00:00
rubidium 982fcb7aab (svn r26125) -Fix: make sure the tile area's variables are always properly initialised 2013-11-26 14:47:45 +00:00
rubidium 5e3aa72855 (svn r26124) -Fix: make sure all members of the default string iterator are initialised 2013-11-26 13:42:09 +00:00
rubidium 02059ab4a7 (svn r26123) -Fix: make sure the maximum row length when making company buttons is at least 1 2013-11-26 13:27:34 +00:00
rubidium 79ccf48636 (svn r26122) -Fix-ish: remove essentially dead code; if nested_array were NULL there, it would segfault in RaiseWidget 2013-11-26 13:23:31 +00:00
rubidium 50fdf5e30c (svn r26121) -Codechange: add some asserts after dynamic casts to show they shouldn't return NULL ever 2013-11-26 13:21:25 +00:00
rubidium 945fccc706 (svn r26120) -Fix: [Script] Replace simple check with precondition check, after that simple check was documented as a precondition 2013-11-26 12:48:56 +00:00
rubidium 3b83a195ca (svn r26119) -Fix: ResolveCompanyID on an already resolved CompanyID 2013-11-26 12:46:21 +00:00
rubidium b12205697b (svn r26118) -Fix-ish?: comparing the old Direction to the possibly new state containing a TrackDir... well comparing apples and pears. Occasionally they would be the same and occasionally not; at least without any logic behind it.
Since the occasions that the false branch was taken never resulted in a bug report, I highly doubt that removing it completely affects anything... except the visual speed of cornering in a numer of corners (<50%) and visual speed in an old style road stop.
2013-11-26 12:04:16 +00:00
rubidium f669101560 (svn r26117) -Cleanup: unneeded NULL check 2013-11-26 10:00:15 +00:00
rubidium 04e97a0bec (svn r26116) -Codechange: validate that the number of lines in a graph is more than 0 2013-11-25 22:32:32 +00:00
rubidium 77e5b1e3b2 (svn r26115) -Fix: AfterLoadGame can throw an exception; from the old savegame load section this wouldn't be caught 2013-11-25 22:22:32 +00:00
rubidium d2ffba07bb (svn r26114) -Fix-ish: do our best to not get bit by getenv being unsafe as hell 2013-11-25 21:50:54 +00:00
rubidium 43f76dcabb (svn r26113) -Fix: unhandled seek error, and leaking file descriptor 2013-11-25 16:42:35 +00:00
rubidium ffb9279479 (svn r26112) -Fix: make sure a vehicle list is always initialised 2013-11-25 16:36:11 +00:00
rubidium b53da6a6f5 (svn r26111) -Fix: theoretical case where sprite table could be overread for aqueducts that start at flat land 2013-11-25 16:26:50 +00:00
rubidium c2ee87c1a9 (svn r26110) -Codechange: add guard for enterdir being valid in signal code 2013-11-25 16:22:29 +00:00
rubidium 00264cc708 (svn r26109) -Fix: missing initialisation 2013-11-25 14:34:09 +00:00
rubidium defda16eb6 (svn r26108) -Codechange: some coding style (whitespace) 2013-11-25 14:30:22 +00:00
rubidium 6996b441d9 (svn r26107) -Codechange/cleanup: remove some coding bloat and simplify the driver factory instatiations 2013-11-25 14:26:46 +00:00
rubidium a399fc667c (svn r26106) -Codechange: document fall through explicitly 2013-11-25 13:28:08 +00:00
rubidium 4b8d9aad5b (svn r26105) -Codechange: add a lot of assertions to track/road functions that might eventually lead to become indices into tables 2013-11-25 13:16:06 +00:00
rubidium c143ca729a (svn r26104) -Fix: do not attempt to do stuff with an invalid direction, especially using it as index into a table 2013-11-25 13:13:35 +00:00
rubidium f817b06c18 (svn r26103) -Fix: prevent odd overflows due to integer promotion 2013-11-25 13:06:33 +00:00
rubidium e106e54f9f (svn r26102) -Fix: m_veh is not NULL by definition when IsRoadTT is true 2013-11-25 11:11:56 +00:00
rubidium 18beaac571 (svn r26101) -Fix: NULL pointer dereference when one can't allocate an order list but wants to make implicit orders 2013-11-25 11:08:21 +00:00
rubidium 573f6dcd34 (svn r26100) -Fix: possible buffer overflow in console handling of aliases 2013-11-25 10:13:59 +00:00
rubidium 2009da4f7d (svn r26099) -Codechange: make NewGRF scanner management slightly easier 2013-11-25 09:22:56 +00:00
rubidium 43edd2409e (svn r26098) -Fix: close the log file when OpenTTD was forked and finally closed 2013-11-25 09:20:35 +00:00
rubidium ee0aa389a8 (svn r26097) -Fix: another minor memory leak (when pressing cancel in the bootstrap window) 2013-11-25 09:12:49 +00:00
rubidium 0460b78515 (svn r26093) -Fix (r26092): compilation error 2013-11-24 19:53:35 +00:00
rubidium 168fa4129d (svn r26092) -Fix [FS#5818]: prevent scripts from crashing OpenTTD when they send text with command codes to user editable texts such as sign and station names 2013-11-24 19:46:16 +00:00
rubidium 4de2871fc0 (svn r26091) -Fix (r26089): double frees... woospie 2013-11-24 16:21:19 +00:00
rubidium c54a70cce8 (svn r26090) -Fix: leaking of file descriptor when reading strings for game texts 2013-11-24 15:25:41 +00:00
rubidium 0ac9ed0b6b (svn r26089) -Fix: a number of minor memory leaks 2013-11-24 15:21:38 +00:00
rubidium 2fc10b7e04 (svn r26088) -Fix (r26086): Windows compilation 2013-11-24 15:17:53 +00:00
rubidium 3eecd246eb (svn r26087) -Fix: file descriptor leak when finding a corrupt tar 2013-11-24 15:02:05 +00:00
rubidium 83eeba28b7 (svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for dropdowns 2013-11-24 14:46:26 +00:00
frosch db894b0b3f (svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL. 2013-11-24 14:41:19 +00:00
rubidium 45a5aba8d5 (svn r26084) -Fix: don't allow executing the palette toggling code when it's not editable 2013-11-24 14:34:33 +00:00
rubidium 58c356e935 (svn r26083) -Codechange: pass the CommandContainer for the station joiner around using a reference instead of by-value 2013-11-24 14:29:32 +00:00