Commit Graph

14960 Commits (b2ca2e297933c52e42f74b51c3f59b024ccb3772)

Author SHA1 Message Date
frosch 4f419b8f84 (svn r26242) -Codechange: Use GRFFile that filled the TextRefStack to translate StringIDs from the TextRefStack, instead of passing stuff via global vars. 11 years ago
frosch ba1779b978 (svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack in the TextRefStack. 11 years ago
frosch 73c6565cf2 (svn r26240) -Codechange: Pass the GRFFile to GetErrorMessageFromLocationCallbackResult instead of the GRFID. 11 years ago
frosch 477c15383d (svn r26239) -Fix: Check that there is space left in the string parameter array, before pushing NewGRF parameters to it. 11 years ago
frosch 5ab39cc651 (svn r26238) -Codechange: Use StringParameters::GetDataLeft to check for left space in the param array. 11 years ago
frosch bc86bf9b12 (svn r26237) -Cleanup: Remove unused SCC_STRING_ID. 11 years ago
fonsinchen 9ad173c9cc (svn r26236) -Fix: Don't overreserve after autorefit, but do reserve mail for aircraft 11 years ago
planetmaker 8259d279d5 (svn r26235) -Fix: Decimal and digit separators were swapped for Korean language 11 years ago
translators de5f0e9cbb (svn r26234) -Update from WebTranslator v3.0:
bulgarian - 69 changes by kokobongo
11 years ago
translators 208db963ad (svn r26233) -Update from WebTranslator v3.0:
swedish - 2 changes by spacejens
11 years ago
translators 6025a52ee9 (svn r26232) -Update from WebTranslator v3.0:
korean - 6 changes by telk5093
portuguese - 1 changes by frosch
11 years ago
fonsinchen 014813141d (svn r26228) -Fix: missing variable initialization 11 years ago
zuu 998049a618 (svn r26226) -Fix (r26212): Compilation in visual studio 2008 failed 11 years ago
rubidium 4575420dcc (svn r26225) -Document: more tidbits about cpuid and PIC (Eagle_Rainbow) 11 years ago
translators b48bb25288 (svn r26224) -Update from WebTranslator v3.0:
brazilian_portuguese - 4 changes by Tucalipe
11 years ago
planetmaker 7b20da8a0a (svn r26223) -Codechange: Silence some compile warnings about unititialized variables in the SSE blitters (MJP) 11 years ago
rubidium 115c712f4e (svn r26222) -Codechange: use SSE instructions for transparent colour "remap" in the SSE2/SSSE3 blitters as well 11 years ago
rubidium 613fb9c6ef (svn r26221) -Codechange: normalize constant names in anim-sse4 with the others (MJP) 11 years ago
rubidium 9947bdb0c4 (svn r26220) -Fix?: another attempt at getting cpuid to finally work "everywhere" 11 years ago
rubidium e6fc55b07b (svn r26219) -Fix: cpuid code still didn't work right in some situations 11 years ago
rubidium f480c5a623 (svn r26217) -Change: blitter autoselection based on full animation state, so the non-animated optimizations can actually be used in an easy manner (based on patch by MJP) 11 years ago
rubidium 1d4565a666 (svn r26216) -Change: the blitter selection to also consider the 32bpp-sse4-anim blitter (MJP) 11 years ago
rubidium 1e1656110a (svn r26215) -Codechange: rework code so one can test if a blitter factory exists before attempting trying to instantiate an instance 11 years ago
rubidium 4c84d13454 (svn r26214) -Add: specialised animated SSE4 blitter (MJP)
With 32bpp base set about 15-20% faster in the Draw function (slower with 8bpp base set). Overall, with 32bpp base set, about 5% faster.
11 years ago
rubidium 78df732a7b (svn r26213) -Add: specialised non-animated SSE4 blitter (MJP)
With 32bpp base set about 40% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 8 and 1% of total run time
11 years ago
rubidium 71a81a8762 (svn r26212) -Add: specialised non-animated SSSE3 blitter (MJP)
With 32bpp base set about 35% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 6 and 1% of total run time
11 years ago
rubidium fb05674cb7 (svn r26211) -Add: specialised non-animated SS2 blitter (MJP)
With 32bpp base set about 30% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 5 and 1% of total run time
11 years ago
rubidium 899c0f9cd2 (svn r26210) -Codechange: add infrastructure for not registering a blitter 11 years ago
rubidium 2618d960e3 (svn r26209) -Codechange: remove some template magic and simplify some code 11 years ago
rubidium 456dba4889 (svn r26208) -Fix (r26197): the cpuid assembly didn't work when PIC was enabled 11 years ago
rubidium b100125866 (svn r26207) -Codechange: move the CPUID flag detection into cpu.cpp 11 years ago
frosch 7247ecf172 (svn r26206) -Fix [FS#5829]: Run everything from ini, obg, obs, obs, ... files through str_validate. 11 years ago
rubidium 3c94485ba0 (svn r26205) -Feature: SSE 4.1 sprite sorter, improving the sorting performance significantly (MJP)
For example with GCC 4.8, x86_64 Linux, Intel i5-3337U this patch improves the performance of Pile, Treham and Hamac test save games by about 10% in over-all run time at fast forward at 1920x1080 when zoomed out and when trees are not disabled.
11 years ago
rubidium c98a94da44 (svn r26204) -Codechange: rework GfxBlitter to remove some unneeded operations when there is no sub sprite (based on patch by MJP) 11 years ago
rubidium 256a3160c4 (svn r26203) -Codechange: unduplicate GfxMainBlitter and GfxMainBlitterViewport 11 years ago
rubidium 9bf21279f8 (svn r26202) -Cleanup: since ZOOM_LEVEL_NORMAL 0 and there aren't any negative zoom levels, there is no reason to account for negative zoom levels in the zoom functions (based on patch by MJP) 11 years ago
rubidium fb4db0b022 (svn r26201) -Fix: unscaling by a negative value is the same as scaling by a positive number 11 years ago
rubidium 868a67111b (svn r26200) -Fix (r26197): hopefully it works now 11 years ago
rubidium 298b003db1 (svn r26199) -Fix (r29197): typo in function name 11 years ago
rubidium e76d294c10 (svn r26197) -Add: wrappers around cpuid 11 years ago
rubidium 59ff2836d4 (svn r26195) -Codechange: move debug's ottd_rdtsc (CPU specific high precision timer) into cpu.h/cpp 11 years ago
translators aad80b7536 (svn r26193) -Update from WebTranslator v3.0:
german - 1 changes by Jogio
11 years ago
rubidium e3542b1977 (svn r26192) -Fix (r24878): off-by-one error ;) 11 years ago
translators 0de65cbf91 (svn r26190) -Update from WebTranslator v3.0:
indonesian - 2 changes by abdu354
11 years ago
translators 2c6aa62bbf (svn r26189) -Update from WebTranslator v3.0:
indonesian - 33 changes by abdu354
korean - 5 changes by telk5093
11 years ago
fonsinchen ecdd796a86 (svn r26188) -Codechange: Move station refitting to a separate function. 11 years ago
fonsinchen 63b43ed914 (svn r26187) -Fix: allow refitting at station if cargo has already been reserved. 11 years ago
fonsinchen c71aa27b92 (svn r26186) -Fix: Don't check for equality of MAC_OS_X_VERSION_MAX_ALLOWED. 11 years ago
translators cab6391ded (svn r26185) -Update from WebTranslator v3.0:
norwegian_nynorsk - 137 changes by terjesc
11 years ago
translators a178781487 (svn r26184) -Update from WebTranslator v3.0:
welsh - 126 changes by kazzie
11 years ago
translators 28de2ec68b (svn r26183) -Update from WebTranslator v3.0:
estonian - 9 changes by KSiimson
indonesian - 4 changes by abdu354
korean - 85 changes by telk5093
11 years ago
translators cc873704ac (svn r26182) -Update from WebTranslator v3.0:
arabic_egypt - 15 changes by abdXelrhman
11 years ago
translators fb1a5caf9f (svn r26181) -Update from WebTranslator v3.0:
estonian - 20 changes by KSiimson
hungarian - 7 changes by IPG
korean - 1 changes by telk5093
11 years ago
frosch 3bdb4982d7 (svn r26180) -Fix: Visual effects did not work for articulated RV parts. 11 years ago
translators 40bf635a6d (svn r26179) -Update from WebTranslator v3.0:
estonian - 9 changes by KSiimson
greek - 51 changes by Evropi
korean - 2 changes by telk5093
11 years ago
translators 1154aecad6 (svn r26176) -Update from WebTranslator v3.0:
estonian - 6 changes by KSiimson
11 years ago
frosch 49852e3dac (svn r26175) -Add: Log in desync output when persistent storage is discarded. 11 years ago
frosch eca86d1baf (svn r26174) -Codechange: Rename BaseStorageArray to BasePersistentStorageArray 11 years ago
frosch a9e8d7a361 (svn r26173) -Change: [NewGRF] Reset the temporary storage registers for every sprite resolving. 11 years ago
frosch 3eea1befa7 (svn r26172) -Codechange: Make SpriteGroup::Resolve aware of nested calls. 11 years ago
frosch 82eb9d13df (svn r26171) -Codechange: Make TemporaryStorageArray keep track of assigned registers. Also make clearing the array 'cheaper'. 11 years ago
rubidium 00c05e79b1 (svn r26170) -Feature-ish: add the currently used fonts to the crash log 11 years ago
frosch b02179bd8e (svn r26169) -Fix-ish [FS#5831-ish]: Unify the time a RV needs to travel through a curve. 11 years ago
frosch 62c0d42f92 (svn r26167) -Fix [FS#5834]: Certain hotkeys crashed the content GUI when the list was empty. 11 years ago
fonsinchen ec492bfb77 (svn r26166) -Fix: Scale flows only after mapping to avoid rounding errors. 11 years ago
frosch 4818b72c75 (svn r26165) -Change [FS#5832]: Improve layout of build-airport GUI (hackalittlebit) 11 years ago
zuu b2f2a017b1 (svn r26164) -Doc: Fix Game Script API docs on that deity can build/prospect independent of advanced setting for that 11 years ago
translators 6817e97898 (svn r26163) -Update from WebTranslator v3.0:
czech - 4 changes by retro
latvian - 6 changes by Parastais
11 years ago
translators 0727b81db9 (svn r26162) -Update from WebTranslator v3.0:
thai - 1 changes by nirakanz
11 years ago
frosch 3d53c0f7b9 (svn r26161) -Fix [FS#5830] (r22567) (r25956-ish): Backup data of altered persistent storage arrays was freed twice. 11 years ago
translators e595720085 (svn r26160) -Update from WebTranslator v3.0:
danish - 1 changes by Hellwing
gaelic - 7 changes by GunChleoc
11 years ago
frosch a12fa22a75 (svn r26158) -Fix: NewGRF inspect window lacked several newer variables. 11 years ago
frosch e0d69933f6 (svn r26157) -Feature: [NewGRF] Vehicle variable 4D for determining the position within an articulated vehicle. 11 years ago
translators 07ecc26efa (svn r26156) -Update from WebTranslator v3.0:
luxembourgish - 4 changes by Phreeze
11 years ago
translators 86c0bc6b78 (svn r26154) -Update from WebTranslator v3.0:
luxembourgish - 34 changes by Phreeze
11 years ago
frosch ab9be31562 (svn r26153) -Doc [FS#5826]: Fix copy-pasty. (krinn) 11 years ago
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. 11 years ago
translators 065f8df860 (svn r26151) -Update from WebTranslator v3.0:
luxembourgish - 37 changes by Phreeze
turkish - 40 changes by wakeup
11 years ago
frosch 51f5d62fdb (svn r26150) -Revert (r26120): EnforcePrecondition alters the last-error status and is only meant for commands. 11 years ago
frosch bf0e7c34e6 (svn r26149) -Fix [FS#5825]: [Script] Various API functions did not check whether ScrtipRoad::SetCurrentRoadType was called appropiately. 11 years ago
frosch 2e79fd9c40 (svn r26148) -Fix [FS#5824] (r25735): Script API failed for vehicles with only implicit orders. 11 years ago
translators 3cafd72cc4 (svn r26146) -Update from WebTranslator v3.0:
luxembourgish - 40 changes by Phreeze
turkish - 56 changes by wakeup
11 years ago
translators ce8a45c870 (svn r26145) -Update from WebTranslator v3.0:
norwegian_bokmal - 3 changes by Trond
polish - 1 changes by p0358
11 years ago
translators da67cfe17c (svn r26144) -Update from WebTranslator v3.0:
slovak - 1 changes by Tinix
11 years ago
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
11 years ago
translators 5890e184bb (svn r26142) -Update from WebTranslator v3.0:
latvian - 10 changes by Parastais
turkish - 49 changes by wakeup
11 years ago
translators 1f62de41ec (svn r26141) -Update from WebTranslator v3.0:
portuguese - 1 changes by vesgo
turkish - 39 changes by wakeup
11 years ago
translators 7d632b7414 (svn r26140) -Update from WebTranslator v3.0:
turkish - 41 changes by wakeup
11 years ago
translators a3471b4ab9 (svn r26139) -Update from WebTranslator v3.0:
latvian - 3 changes by Parastais
vietnamese - 2 changes by nglekhoi
11 years ago
rubidium eec66b089d (svn r26138) -Fix [FS#5821] (r26105-ish): [Script] scripts could trigger the internal IsValidRoadType assertion 11 years ago
rubidium 354ec53b3c (svn r26137) -Merge: documentation updates from 1.3 branch 11 years ago
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 11 years ago
translators f6362ae298 (svn r26133) -Update from WebTranslator v3.0:
frisian - 1 changes by Taeke
malay - 3 changes by aarchen1795
11 years ago
rubidium 70b2093ddb (svn r26132) -Fix-ish: prevent issues due to overflowing multiplications by limiting the size of full zoom sprites to about 32kix32ki 11 years ago
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
11 years ago
rubidium d2ba772f6a (svn r26130) -Codechange: add some guards against using invalid image indices 11 years ago
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 11 years ago
rubidium b1bcd1adab (svn r26128) -Fix: erroneous cast 11 years ago
rubidium f514e31978 (svn r26127) -Fix (r18186): missing break 11 years ago
rubidium 54a8e00a7e (svn r26126) -Cleanup: remove unneeded check for NULL 11 years ago
rubidium 982fcb7aab (svn r26125) -Fix: make sure the tile area's variables are always properly initialised 11 years ago
rubidium 5e3aa72855 (svn r26124) -Fix: make sure all members of the default string iterator are initialised 11 years ago
rubidium 02059ab4a7 (svn r26123) -Fix: make sure the maximum row length when making company buttons is at least 1 11 years ago
rubidium 79ccf48636 (svn r26122) -Fix-ish: remove essentially dead code; if nested_array were NULL there, it would segfault in RaiseWidget 11 years ago
rubidium 50fdf5e30c (svn r26121) -Codechange: add some asserts after dynamic casts to show they shouldn't return NULL ever 11 years ago
rubidium 945fccc706 (svn r26120) -Fix: [Script] Replace simple check with precondition check, after that simple check was documented as a precondition 11 years ago
rubidium 3b83a195ca (svn r26119) -Fix: ResolveCompanyID on an already resolved CompanyID 11 years ago
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.
11 years ago
rubidium f669101560 (svn r26117) -Cleanup: unneeded NULL check 11 years ago
rubidium 04e97a0bec (svn r26116) -Codechange: validate that the number of lines in a graph is more than 0 11 years ago
rubidium 77e5b1e3b2 (svn r26115) -Fix: AfterLoadGame can throw an exception; from the old savegame load section this wouldn't be caught 11 years ago
rubidium d2ffba07bb (svn r26114) -Fix-ish: do our best to not get bit by getenv being unsafe as hell 11 years ago
rubidium 43f76dcabb (svn r26113) -Fix: unhandled seek error, and leaking file descriptor 11 years ago
rubidium ffb9279479 (svn r26112) -Fix: make sure a vehicle list is always initialised 11 years ago
rubidium b53da6a6f5 (svn r26111) -Fix: theoretical case where sprite table could be overread for aqueducts that start at flat land 11 years ago
rubidium c2ee87c1a9 (svn r26110) -Codechange: add guard for enterdir being valid in signal code 11 years ago
rubidium 00264cc708 (svn r26109) -Fix: missing initialisation 11 years ago
rubidium defda16eb6 (svn r26108) -Codechange: some coding style (whitespace) 11 years ago
rubidium 6996b441d9 (svn r26107) -Codechange/cleanup: remove some coding bloat and simplify the driver factory instatiations 11 years ago
rubidium a399fc667c (svn r26106) -Codechange: document fall through explicitly 11 years ago
rubidium 4b8d9aad5b (svn r26105) -Codechange: add a lot of assertions to track/road functions that might eventually lead to become indices into tables 11 years ago
rubidium c143ca729a (svn r26104) -Fix: do not attempt to do stuff with an invalid direction, especially using it as index into a table 11 years ago
rubidium f817b06c18 (svn r26103) -Fix: prevent odd overflows due to integer promotion 11 years ago
rubidium e106e54f9f (svn r26102) -Fix: m_veh is not NULL by definition when IsRoadTT is true 11 years ago
rubidium 18beaac571 (svn r26101) -Fix: NULL pointer dereference when one can't allocate an order list but wants to make implicit orders 11 years ago
rubidium 573f6dcd34 (svn r26100) -Fix: possible buffer overflow in console handling of aliases 11 years ago
rubidium 2009da4f7d (svn r26099) -Codechange: make NewGRF scanner management slightly easier 11 years ago
rubidium 43edd2409e (svn r26098) -Fix: close the log file when OpenTTD was forked and finally closed 11 years ago
rubidium ee0aa389a8 (svn r26097) -Fix: another minor memory leak (when pressing cancel in the bootstrap window) 11 years ago
rubidium 0460b78515 (svn r26093) -Fix (r26092): compilation error 11 years ago
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 11 years ago
rubidium 4de2871fc0 (svn r26091) -Fix (r26089): double frees... woospie 11 years ago
rubidium c54a70cce8 (svn r26090) -Fix: leaking of file descriptor when reading strings for game texts 11 years ago
rubidium 0ac9ed0b6b (svn r26089) -Fix: a number of minor memory leaks 11 years ago
rubidium 2fc10b7e04 (svn r26088) -Fix (r26086): Windows compilation 11 years ago
rubidium 3eecd246eb (svn r26087) -Fix: file descriptor leak when finding a corrupt tar 11 years ago
rubidium 83eeba28b7 (svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for dropdowns 11 years ago
frosch db894b0b3f (svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL. 11 years ago
rubidium 45a5aba8d5 (svn r26084) -Fix: don't allow executing the palette toggling code when it's not editable 11 years ago
rubidium 58c356e935 (svn r26083) -Codechange: pass the CommandContainer for the station joiner around using a reference instead of by-value 11 years ago
rubidium b75e60124d (svn r26082) -Fix [FS#5816] (r26077): tar files with more than one file in the root directory would not be read properly (zydeco) 11 years ago
rubidium 6fb28d8719 (svn r26081) -Fix [FS#5815]: memset with virtual functions doesn't quite work. Upon further review CompanyProperties doesn't need to be virtual in the current code base 11 years ago
rubidium a8e8f606d8 (svn r26080) -Fix: possible out of bounds array access 11 years ago
rubidium 5e2d22da79 (svn r26077) -Codechange: handle strings like strings when scanning a tar instead of merely blobs of memory 11 years ago
rubidium 5049e938f5 (svn r26076) -Codechange: upgrade some C-style named structs to C++-style named structs 11 years ago
translators 2f51639af8 (svn r26074) -Update from WebTranslator v3.0:
afrikaans - 3 changes by mulderpf
11 years ago
rubidium d336bf65df (svn r26073) -Cleanup: unneeded check against NULL 11 years ago
rubidium be6b64f4e6 (svn r26072) -Cleanup: mark some unreachable default cases by NOT_REACHED() 11 years ago
rubidium 729d64d8d9 (svn r26071) -Fix: always initialise GRFFileProps 11 years ago
rubidium 1b9e32664f (svn r26070) -Fix: prevent extremely huge size for data (1+GiB) 11 years ago