Commit Graph

21268 Commits

Author SHA1 Message Date
rubidium
d27f085ef6 (svn r26253) -Codechange: remove margin limitation to preserve block type (MJP) 2014-01-13 18:03:35 +00:00
rubidium
3f1550ed2f (svn r26252) -Codechange: deduplicate code for margin case (MJP) 2014-01-13 18:02:20 +00:00
rubidium
64fb166b74 (svn r26251) -Codechange: prepare Draw code for code deduplication (MJP) 2014-01-13 18:00:18 +00:00
rubidium
0d43f2f437 (svn r26250) -Codechange: deduplicate darkening (e.g. shadow) code (MJP) 2014-01-13 17:58:58 +00:00
rubidium
b9823410cc (svn r26249) -Codechange: simplify/cleanup ALPHA_BLEND macro (MJP) 2014-01-13 17:57:30 +00:00
rubidium
1b8b8288b0 (svn r26248) -Fix (r26223): missed compiler warning (MJP) 2014-01-13 17:55:34 +00:00
rubidium
08d405ea09 (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
2c520c52fc (svn r26246) -Update from WebTranslator v3.0:
danish - 4 changes by Hatsen
2014-01-12 18:45:11 +00:00
frosch
cc0d263d96 (svn r26245) -Codechange: No need for a map, if a vector suffices. 2014-01-12 18:01:50 +00:00
frosch
968ba79de2 (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
3a1fcd76dd (svn r26243) -Cleanup: Move TTDPStringIDToOTTDStringIDMapping to newgrf.cpp, it's only used there. 2014-01-12 18:01:16 +00:00
frosch
bc53bbb8b6 (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
7b238142b8 (svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack in the TextRefStack. 2014-01-12 18:00:39 +00:00
frosch
3484660ab1 (svn r26240) -Codechange: Pass the GRFFile to GetErrorMessageFromLocationCallbackResult instead of the GRFID. 2014-01-12 18:00:19 +00:00
frosch
9215fd3c96 (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
68c8aa93cd (svn r26238) -Codechange: Use StringParameters::GetDataLeft to check for left space in the param array. 2014-01-12 17:59:43 +00:00
frosch
cb6aee2f27 (svn r26237) -Cleanup: Remove unused SCC_STRING_ID. 2014-01-12 17:59:27 +00:00
fonsinchen
06548d7b05 (svn r26236) -Fix: Don't overreserve after autorefit, but do reserve mail for aircraft 2014-01-12 17:44:55 +00:00
planetmaker
240c095abc (svn r26235) -Fix: Decimal and digit separators were swapped for Korean language 2014-01-11 14:13:23 +00:00
translators
4ac745f2a1 (svn r26234) -Update from WebTranslator v3.0:
bulgarian - 69 changes by kokobongo
2014-01-10 18:45:09 +00:00
translators
1b96952d48 (svn r26233) -Update from WebTranslator v3.0:
swedish - 2 changes by spacejens
2014-01-09 18:45:09 +00:00
translators
c4aa7ba7b3 (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
rubidium
5cc5978346 (svn r26230) -Prepare: 1.4.0-beta2 2014-01-07 19:39:28 +00:00
rubidium
44ca91eaac (svn r26229) -Revert-ish: do not use libxdg in the Debian/Ubuntu packages just yet; it seems unmaintained, and might not even be kicked out in the next release of Debian 2014-01-07 19:31:46 +00:00
fonsinchen
6becaddec2 (svn r26228) -Fix: missing variable initialization 2014-01-05 11:28:31 +00:00
zuu
1672714d0f (svn r26227) -Fix: [Windows] generate.vbs didn't include SSE source files 2014-01-05 10:19:59 +00:00
zuu
35a2435b9d (svn r26226) -Fix (r26212): Compilation in visual studio 2008 failed 2014-01-05 10:15:57 +00:00
rubidium
d185ca3b0e (svn r26225) -Document: more tidbits about cpuid and PIC (Eagle_Rainbow) 2014-01-04 19:46:24 +00:00
translators
9ae4a01812 (svn r26224) -Update from WebTranslator v3.0:
brazilian_portuguese - 4 changes by Tucalipe
2014-01-03 18:45:13 +00:00
planetmaker
b67933bd4d (svn r26223) -Codechange: Silence some compile warnings about unititialized variables in the SSE blitters (MJP) 2014-01-03 18:43:10 +00:00
rubidium
b40b95e2ab (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
dbec2223b1 (svn r26221) -Codechange: normalize constant names in anim-sse4 with the others (MJP) 2014-01-03 17:55:40 +00:00
rubidium
8dd2230b10 (svn r26220) -Fix?: another attempt at getting cpuid to finally work "everywhere" 2014-01-03 15:09:55 +00:00
rubidium
bd282d2572 (svn r26219) -Fix: cpuid code still didn't work right in some situations 2014-01-03 13:29:12 +00:00
rubidium
cfbf56d3b2 (svn r26218) -Fix: wrong #if for SSE in source.list 2014-01-03 09:26:30 +00:00
rubidium
59ab35bd4c (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
6f4078a379 (svn r26216) -Change: the blitter selection to also consider the 32bpp-sse4-anim blitter (MJP) 2014-01-03 08:31:32 +00:00
rubidium
bf4ea2594a (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
793dc27096 (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
e25733c417 (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
730127b67e (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
0b08fb44f4 (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
29405f89ed (svn r26210) -Codechange: add infrastructure for not registering a blitter 2014-01-02 22:48:32 +00:00
rubidium
4a911754b5 (svn r26209) -Codechange: remove some template magic and simplify some code 2014-01-02 22:41:58 +00:00
rubidium
1f0d3cc15b (svn r26208) -Fix (r26197): the cpuid assembly didn't work when PIC was enabled 2014-01-02 21:28:40 +00:00
rubidium
ee73015e8f (svn r26207) -Codechange: move the CPUID flag detection into cpu.cpp 2014-01-02 18:52:54 +00:00
frosch
e6f83028f6 (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
5156c3731b (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
31fd320d5f (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
cb397e9455 (svn r26203) -Codechange: unduplicate GfxMainBlitter and GfxMainBlitterViewport 2014-01-02 11:47:09 +00:00