1
0
Fork 0
Commit Graph

14934 Commits (202f21f2628da335b5738a9120833906a71cdbde)

Author SHA1 Message Date
fonsinchen b158c7d0fa (svn r26266) -Fix [FS#5860]: Update smallmap overlay if player joins different company and make sure company masks are valid 2014-01-19 09:26:56 +00:00
fonsinchen be62387e44 (svn r26265) -Fix: Don't rebuild the link graph overlay cache twice in a row 2014-01-19 09:26:17 +00:00
translators f373f8a9c2 (svn r26264) -Update from WebTranslator v3.0:
danish - 75 changes by Elyon
2014-01-18 18:45:12 +00:00
fonsinchen a5152be795 (svn r26263) -Fix [FS#5865]: Don't run into infinite recursion when getting next stopping station 2014-01-16 20:50:43 +00:00
frosch e3947c8019 (svn r26262) -Fix (r25075, r25076): Custom currency was reset on game start. 2014-01-15 21:52:22 +00:00
translators 1213e6ba71 (svn r26261) -Update from WebTranslator v3.0:
swedish - 5 changes by spacejens
2014-01-13 18:45:13 +00:00
rubidium ef9108bd58 (svn r26260) -Codechange: add template parameters for (non) translucent and (non) animated sprites, so the least expensive variant can be chosen (MJP) 2014-01-13 18:20:23 +00:00
rubidium eb2c2ef877 (svn r26259) -Codechange: add and maintain some general flags about sprites to prevent unneeded execution of expensive code (MJP) 2014-01-13 18:17:17 +00:00
rubidium fdf55a1a48 (svn r26258) -Codechange: deduplicate Draw methods (MJP) 2014-01-13 18:12:33 +00:00
rubidium f5f4f8a4b3 (svn r26257) -Codechange: replace most of the SSE macros by functions 2014-01-13 18:09:21 +00:00
rubidium 3a44e22b1a (svn r26256) -Codechange: do not load some data when it is not (often) used later on (MJP) 2014-01-13 18:06:53 +00:00
rubidium 70901e04c5 (svn r26255) -Codechange: improve performance of brightness adjustment (MJP) 2014-01-13 18:05:47 +00:00
rubidium 2f7c4f6d12 (svn r26254) -Codechange: MOVD is better in some cases than PINSRD (MJP) 2014-01-13 18:04:28 +00:00
rubidium 5b3b533697 (svn r26253) -Codechange: remove margin limitation to preserve block type (MJP) 2014-01-13 18:03:35 +00:00
rubidium 7f6e837b3a (svn r26252) -Codechange: deduplicate code for margin case (MJP) 2014-01-13 18:02:20 +00:00
rubidium 9a90bed79b (svn r26251) -Codechange: prepare Draw code for code deduplication (MJP) 2014-01-13 18:00:18 +00:00
rubidium 6e34672c6c (svn r26250) -Codechange: deduplicate darkening (e.g. shadow) code (MJP) 2014-01-13 17:58:58 +00:00
rubidium 76661f2c56 (svn r26249) -Codechange: simplify/cleanup ALPHA_BLEND macro (MJP) 2014-01-13 17:57:30 +00:00
rubidium 31c6e33878 (svn r26248) -Fix (r26223): missed compiler warning (MJP) 2014-01-13 17:55:34 +00:00
rubidium a942619911 (svn r26247) -Fix [FS#5854, FS#5855]: Possible out of bounds reads with the sse blitters (MJP) 2014-01-13 17:54:24 +00:00
translators 54a898be33 (svn r26246) -Update from WebTranslator v3.0:
danish - 4 changes by Hatsen
2014-01-12 18:45:11 +00:00
frosch ee5c115950 (svn r26245) -Codechange: No need for a map, if a vector suffices. 2014-01-12 18:01:50 +00:00
frosch e9c22ef16f (svn r26244) -Feature: [NewGRF] Add StringCodes 9A 1B, 9A 1C and 9A 1D to display amounts of cargo. 2014-01-12 18:01:33 +00:00
frosch 00e7ceeca4 (svn r26243) -Cleanup: Move TTDPStringIDToOTTDStringIDMapping to newgrf.cpp, it's only used there. 2014-01-12 18:01:16 +00:00
frosch 4f419b8f84 (svn r26242) -Codechange: Use GRFFile that filled the TextRefStack to translate StringIDs from the TextRefStack, instead of passing stuff via global vars. 2014-01-12 18:00:55 +00:00
frosch ba1779b978 (svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack in the TextRefStack. 2014-01-12 18:00:39 +00:00
frosch 73c6565cf2 (svn r26240) -Codechange: Pass the GRFFile to GetErrorMessageFromLocationCallbackResult instead of the GRFID. 2014-01-12 18:00:19 +00:00
frosch 477c15383d (svn r26239) -Fix: Check that there is space left in the string parameter array, before pushing NewGRF parameters to it. 2014-01-12 18:00:02 +00:00
frosch 5ab39cc651 (svn r26238) -Codechange: Use StringParameters::GetDataLeft to check for left space in the param array. 2014-01-12 17:59:43 +00:00
frosch bc86bf9b12 (svn r26237) -Cleanup: Remove unused SCC_STRING_ID. 2014-01-12 17:59:27 +00:00
fonsinchen 9ad173c9cc (svn r26236) -Fix: Don't overreserve after autorefit, but do reserve mail for aircraft 2014-01-12 17:44:55 +00:00
planetmaker 8259d279d5 (svn r26235) -Fix: Decimal and digit separators were swapped for Korean language 2014-01-11 14:13:23 +00:00
translators de5f0e9cbb (svn r26234) -Update from WebTranslator v3.0:
bulgarian - 69 changes by kokobongo
2014-01-10 18:45:09 +00:00
translators 208db963ad (svn r26233) -Update from WebTranslator v3.0:
swedish - 2 changes by spacejens
2014-01-09 18:45:09 +00:00
translators 6025a52ee9 (svn r26232) -Update from WebTranslator v3.0:
korean - 6 changes by telk5093
portuguese - 1 changes by frosch
2014-01-08 18:45:14 +00:00
fonsinchen 014813141d (svn r26228) -Fix: missing variable initialization 2014-01-05 11:28:31 +00:00
zuu 998049a618 (svn r26226) -Fix (r26212): Compilation in visual studio 2008 failed 2014-01-05 10:15:57 +00:00
rubidium 4575420dcc (svn r26225) -Document: more tidbits about cpuid and PIC (Eagle_Rainbow) 2014-01-04 19:46:24 +00:00
translators b48bb25288 (svn r26224) -Update from WebTranslator v3.0:
brazilian_portuguese - 4 changes by Tucalipe
2014-01-03 18:45:13 +00:00
planetmaker 7b20da8a0a (svn r26223) -Codechange: Silence some compile warnings about unititialized variables in the SSE blitters (MJP) 2014-01-03 18:43:10 +00:00
rubidium 115c712f4e (svn r26222) -Codechange: use SSE instructions for transparent colour "remap" in the SSE2/SSSE3 blitters as well 2014-01-03 18:03:14 +00:00
rubidium 613fb9c6ef (svn r26221) -Codechange: normalize constant names in anim-sse4 with the others (MJP) 2014-01-03 17:55:40 +00:00
rubidium 9947bdb0c4 (svn r26220) -Fix?: another attempt at getting cpuid to finally work "everywhere" 2014-01-03 15:09:55 +00:00
rubidium e6fc55b07b (svn r26219) -Fix: cpuid code still didn't work right in some situations 2014-01-03 13:29:12 +00:00
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) 2014-01-03 08:51:49 +00:00
rubidium 1d4565a666 (svn r26216) -Change: the blitter selection to also consider the 32bpp-sse4-anim blitter (MJP) 2014-01-03 08:31:32 +00:00
rubidium 1e1656110a (svn r26215) -Codechange: rework code so one can test if a blitter factory exists before attempting trying to instantiate an instance 2014-01-03 08:29:07 +00:00
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.
2014-01-02 23:52:13 +00:00
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
2014-01-02 23:21:07 +00:00
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
2014-01-02 23:17:01 +00:00
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
2014-01-02 23:12:32 +00:00
rubidium 899c0f9cd2 (svn r26210) -Codechange: add infrastructure for not registering a blitter 2014-01-02 22:48:32 +00:00
rubidium 2618d960e3 (svn r26209) -Codechange: remove some template magic and simplify some code 2014-01-02 22:41:58 +00:00
rubidium 456dba4889 (svn r26208) -Fix (r26197): the cpuid assembly didn't work when PIC was enabled 2014-01-02 21:28:40 +00:00
rubidium b100125866 (svn r26207) -Codechange: move the CPUID flag detection into cpu.cpp 2014-01-02 18:52:54 +00:00
frosch 7247ecf172 (svn r26206) -Fix [FS#5829]: Run everything from ini, obg, obs, obs, ... files through str_validate. 2014-01-02 17:55:57 +00:00
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.
2014-01-02 16:48:16 +00:00
rubidium c98a94da44 (svn r26204) -Codechange: rework GfxBlitter to remove some unneeded operations when there is no sub sprite (based on patch by MJP) 2014-01-02 11:58:13 +00:00
rubidium 256a3160c4 (svn r26203) -Codechange: unduplicate GfxMainBlitter and GfxMainBlitterViewport 2014-01-02 11:47:09 +00:00
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) 2014-01-02 11:05:42 +00:00
rubidium fb4db0b022 (svn r26201) -Fix: unscaling by a negative value is the same as scaling by a positive number 2014-01-02 11:04:37 +00:00
rubidium 868a67111b (svn r26200) -Fix (r26197): hopefully it works now 2014-01-02 09:26:21 +00:00
rubidium 298b003db1 (svn r26199) -Fix (r29197): typo in function name 2014-01-02 09:14:13 +00:00
rubidium e76d294c10 (svn r26197) -Add: wrappers around cpuid 2014-01-02 08:55:32 +00:00
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