Jonathan G Rennison
bda3343107
Merge branch 'save_ext' into tracerestrict-sx
...
Conflicts:
src/saveload/saveload.cpp
2015-08-01 13:03:01 +01:00
Jonathan G Rennison
17e8693e62
Initial stubs for extending the save/load version checking/upgrade code,
...
with support for tests on individually versioned features as well as
savegame versions.
This is mainly for improved handling of features added to patchpacks.
The current status-quo of picking a random number for the savegame
version when releasing a patch breaks loading of savegames from newer
trunk savegame versions, with or without the same patch applied, as
savegame upgrade code is not run, which can also lead to crashes on load.
Instead don't change the savegame version (but set the high bit to
keep trunk versions away), but instead include the versions of individual
features using a separate mechanism.
2015-08-01 12:26:22 +01:00
Jonathan G Rennison
5f1b148cf9
Initial minimal working tracerestrict implementation.
...
This is a port of the tracerestrict/routing restrictions feature
from TTDPatch.
At present this implements if tests (train length only),
and pathfinder deny and penalty actions.
This requires the use of YAPF. Note that restrictions are only evaluated
within the YAPF lookahead distance.
2015-07-28 01:36:52 +01:00
frosch
67ae231f1b
(svn r27340) -Fix [FS#6338]: Silence warning by moving _string_colourmap to a file no its own. (Cif)
2015-07-26 09:47:17 +00:00
frosch
93fb724f87
(svn r27092) -Fix/Add [FS#6186]: Compilation on OS/2 (smedles)
2014-12-24 17:17:18 +00:00
frosch
3ea4eebe9a
(svn r26995) -Fix: Add missing files to source.list
2014-10-11 21:38:32 +00:00
rubidium
8ab4f746f2
(svn r26864) -Codechange: bring a bit more OO into the disaster vehicles
2014-09-20 15:46:44 +00:00
rubidium
6a1ed21342
(svn r26853) -Cleanup [Squirrel]: remove some stuff that we never did and especially never should use
2014-09-19 20:06:51 +00:00
michi_cc
7f9e7b1a08
(svn r26654) -Fix (r26482): Header file missing from sources.list.
2014-06-17 20:09:00 +00:00
rubidium
0535569d2f
(svn r26556) -Codechange: use sources.list to tell a file shouldn't be built for a particular platform
2014-05-03 20:21:01 +00:00
zuu
ea7483a419
(svn r26305) -Add: [nogo] ScriptStoryPageElementList() - a list of all story page elements for a given page
2014-02-06 19:41:56 +00:00
zuu
a6e0f162ed
(svn r26303) -Add: [nogo] ScriptStoryPageList() - a list of all story pages
2014-02-06 19:25:39 +00:00
rubidium
4585f74faa
(svn r26258) -Codechange: deduplicate Draw methods (MJP)
2014-01-13 18:12:33 +00:00
rubidium
3df799c1c6
(svn r26257) -Codechange: replace most of the SSE macros by functions
2014-01-13 18:09:21 +00:00
rubidium
cfbf56d3b2
(svn r26218) -Fix: wrong #if for SSE in source.list
2014-01-03 09:26:30 +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
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
ebda1208d0
(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
fonsinchen
fb281ce23c
(svn r25903) -Codechange: Refactor RefreshNextHopsStats into an own class LinkRefresher.
2013-10-22 18:34:10 +00:00
fonsinchen
f9d371bcd3
(svn r25888) -Codechange: Add a smallstack type.
2013-10-20 13:45:50 +00:00
michi_cc
4248d90937
(svn r25652) -Fix: Improve text caret movement for complex scripts.
2013-08-05 20:35:27 +00:00
michi_cc
c62ee869c8
(svn r25611) -Fix (r25608): Update project files.
2013-07-14 19:13:12 +00:00
rubidium
c0538388c9
(svn r25465) -Codechange: add the concept of a layouting engine for text
2013-06-25 20:29:31 +00:00
rubidium
d99113bd00
(svn r25436) -Codechange: split the font detection code out of the font caching code
2013-06-23 15:20:23 +00:00
fonsinchen
94baba190e
(svn r25357) -Add: flow mapper for link graph
2013-06-09 13:01:23 +00:00
fonsinchen
1cc410f7bb
(svn r25356) -Add: Multi-Commodity-Flow solver for link graph
2013-06-09 13:00:41 +00:00
fonsinchen
aa393a8ee9
(svn r25355) -Add: demand handler for link graph
2013-06-09 12:59:51 +00:00
fonsinchen
97a9908b0e
(svn r25354) -Add: link graph schedule and typedefs for LinkGraph and related classes
2013-06-09 12:58:37 +00:00
fonsinchen
bfd6f2bb85
(svn r25353) -Add: link graph job implementation
2013-06-09 12:57:41 +00:00
fonsinchen
e4d3b981e3
(svn r25348) -Add: multimap implementation with guaranteed order between equal keys
2013-06-09 12:52:11 +00:00
zuu
7a5cedf078
(svn r25344) -Feature: GUI for viewing story pages
2013-06-09 12:48:27 +00:00
zuu
65129db43c
(svn r25342) -Add: StoryPage data structures and GS API
2013-06-09 12:19:09 +00:00
rubidium
71ce89c1d0
(svn r25263) -Add: legend for linkgraph overlay (fonsinchen)
2013-05-19 14:43:23 +00:00
rubidium
3f2f1c4df7
(svn r25261) -Add: abstract implementation of linkgraph overlay for GUI (fonsinchen)
2013-05-19 14:30:40 +00:00
rubidium
6515371cf5
(svn r25258) -Codechange: save linkgraph (fonsinchen)
2013-05-19 14:17:02 +00:00
rubidium
251bf7ddcb
(svn r25257) -Add: basic link graph (fonsinchen)
2013-05-19 14:11:20 +00:00
rubidium
4b30ce61c1
(svn r25256) -Add: small matrix type (like vector, but for matrices) (fonsinchen)
2013-05-19 14:06:26 +00:00
rubidium
79b74a5925
(svn r25010) -Codechange: Add general framework for cargo actions, i.e. loading, transfering, delivering and such, to contain this logic in a single place instead of spread around (fonsinchen)
2013-02-17 14:36:40 +00:00
frosch
2a875a1907
(svn r24442) -Codechange: Split some members of Vehicle into a new class BaseConsist.
2012-07-29 16:44:39 +00:00
alberth
1c6e746f9d
(svn r24406) -Feature: Allow game scripts to monitor cargo pickups and deliveries done by companies.
2012-07-15 17:11:14 +00:00
alberth
4ae69a088d
(svn r24405) -Add: Save and load of active cargo monitors.
2012-07-15 17:07:06 +00:00
alberth
a7158589f3
(svn r24404) -Add: Data structures for cargo transport monitoring.
2012-07-15 17:05:17 +00:00
frosch
56383c577a
(svn r24337) -Feature: Allow filtering for multiple words (separated by whitespace resp. quoted) in the sign list, content- and NewGRF-guis.
2012-06-09 19:54:16 +00:00
frosch
755b52dcc0
(svn r24323) -Codechange: Split Textbuf and associated functions to separate files.
2012-06-04 15:29:37 +00:00
frosch
70d3206320
(svn r24309) -Codechange: Split some functions from gui.h to settings_gui.h
2012-06-01 10:44:45 +00:00
rubidium
6256d64553
(svn r23932) -Codechange: split the NewGRF text window into its own source files
2012-02-12 10:32:41 +00:00
michi_cc
ac1919408d
(svn r23898) -Remove: PNG sprite loader.
2012-02-04 22:19:02 +00:00