Jonathan G Rennison
174779e371
Merge branch 'save_ext' into enhanced_viewport_overlay-sx
...
Conflicts:
src/saveload/saveload.cpp
2015-08-05 21:31:57 +01:00
Jonathan G Rennison
e24839ed65
Merge branch 'master' into enhanced_viewport_overlay
...
Notes on conflict resolution:
* MarkTileDirtyByTile gained an extra param on both sides of the merge
Move bridge level offset to be after zoom level param, as it's used less.
* Add zoom level params to MarkBridgeDirty functions
* Fix undefined behaviour in colour_index cycling in ViewportMapDraw
Conflicts:
src/clear_cmd.cpp
src/pbs.cpp
src/rail_cmd.cpp
src/toolbar_gui.cpp
src/train_cmd.cpp
src/vehicle.cpp
src/viewport.cpp
src/viewport_func.h
2015-08-05 21:25:13 +01:00
patch-import
536a95dfd0
Import combined Enhanced viewport: zoom out, overlays & tooltips (r53_27127) patch
...
https://www.tt-forums.net/viewtopic.php?f=33&t=53394
2015-08-05 21:24:30 +01:00
Jonathan G Rennison
ce34225b0e
Merge branch 'house_placing' into jgrpp
2015-08-03 21:29:22 +01:00
patch-import
19dcbb1cb9
Import Picking and placing single houses in scenario editor patch
...
Minor whitespace fixes
http://www.tt-forums.net/viewtopic.php?f=33&t=68894&view=unread#p1099696
2015-08-03 21:29:13 +01:00
Jonathan G Rennison
6452b0fe02
Merge branch 'departure-boards-sx' into jgrpp
...
Conflicts:
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/window_type.h
2015-08-02 18:23:25 +01:00
Jonathan G Rennison
6596ba216c
Merge branch 'zoning' into jgrpp
...
Conflicts:
src/table/sprites.h
2015-08-02 18:20:23 +01:00
Jonathan G Rennison
2bcbeea011
Merge branch 'progsig-sx' into jgrpp
...
Conflicts:
src/command.cpp
src/command_type.h
src/lang/english.txt
src/rail_cmd.cpp
src/rail_gui.cpp
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/saveload/saveload.cpp
src/widgets/rail_widget.h
src/window_type.h
2015-08-02 18:15:18 +01:00
patch-import
6de087786c
Import and rebase zoning patch
...
Fix some of the whitespace issues
http://www.tt-forums.net/viewtopic.php?p=888801#p888801
2015-08-02 13:17:42 +01:00
Jonathan G Rennison
00f9f75d34
Merge branch 'save_ext' into departure-boards-sx
2015-08-01 20:40:49 +01:00
Jonathan G Rennison
526cb42608
Merge branch 'master' into depature-boards
...
Conflicts:
src/table/strgen_tables.h
2015-08-01 20:39:16 +01:00
patch-import
79138de1b9
Import departure boards patch
2015-08-01 19:48:19 +01:00
Jonathan G Rennison
b1d8bcfe35
Merge branch 'save_ext' into progsig-sx
...
Conflicts:
source.list
src/saveload/saveload.cpp
2015-08-01 17:21:38 +01:00
patch-import
fc0efe599e
Port of the programmable signals patch to recent trunk
...
Also add some additional changes from the SpringPP patch,
and make some other minor changes/fixes.
2015-08-01 17:06:43 +01:00
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
truebrain
8bff646cf2
(svn r23635) -Add: introduce GSText, to allow translating GameScript text, even over network
2011-12-19 21:05:57 +00:00
truebrain
f1f0776efd
(svn r23634) -Add: support language files for GameScript (Rubidium)
2011-12-19 21:05:46 +00:00
truebrain
95b199e313
(svn r23632) -Add: GSCompanyMode, to change company in GameScripts
2011-12-19 21:05:25 +00:00
truebrain
867b263900
(svn r23631) -Add: ScriptWindow, to manipulate windows on the client (GameScript only)
2011-12-19 21:05:14 +00:00
truebrain
ccf9b01f5d
(svn r23630) -Add: a Goal GUI to show your current goals
2011-12-19 21:03:17 +00:00
truebrain
09ef12ab03
(svn r23627) -Add: ScriptNews::Create, to create custom news messages (GameScript only)
2011-12-19 21:01:03 +00:00
truebrain
1367fc9deb
(svn r23625) -Add: ScriptViewport::ScrollTo, for SinglePlayer only (GameScript only)
2011-12-19 21:00:48 +00:00
truebrain
1d84fb277e
(svn r23623) -Add: allow bi-directional communication with the AdminPort and GameScript
2011-12-19 21:00:32 +00:00
truebrain
3a799f1145
(svn r23618) -Add: ScriptGame::Pause, ScriptGame::Unpause, and ScriptGame::GetLandscape (GameScript only)
2011-12-19 20:58:59 +00:00
truebrain
e3a518f9b1
(svn r23610) -Add: Doxygen files for NoGo API (Yexo)
2011-12-19 20:56:42 +00:00
truebrain
5d4b2519a4
(svn r23609) -Add: save/load all GameScript related material
2011-12-19 20:56:34 +00:00
truebrain
17fea560ba
(svn r23606) -Add: GameScanner, to auto-detect game scripts, and wire it in the console
2011-12-19 20:55:56 +00:00
truebrain
f66f27d249
(svn r23604) -Add: initial support for GameScripts
2011-12-19 20:50:54 +00:00
truebrain
49e88dcbf0
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
2011-12-15 22:22:55 +00:00
rubidium
9aab2dc861
(svn r23474) -Codechange: move the declaration error related functions to error.h
2011-12-10 13:54:10 +00:00
rubidium
b9a1468fde
(svn r23471) -Codechange: move the error related code out of misc_gui.cpp into error_gui.cpp
2011-12-10 08:49:42 +00:00
michi_cc
351da038eb
(svn r23416) -Add: [NoAI] API for querying infrastructure costs.
2011-12-03 23:40:57 +00:00
terkhen
03db6e6df1
(svn r23404) -Add: Tilematrix structure (michi_cc).
2011-12-03 22:19:09 +00:00
truebrain
bf803e40cc
(svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too
2011-12-01 12:03:34 +00:00
truebrain
0c83901a2b
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
2011-11-29 23:31:55 +00:00
truebrain
bfbadccf69
(svn r23366) -Codechange: move most of the Dummy code to script/, unifying it
2011-11-29 23:26:52 +00:00
truebrain
e7c77353ce
(svn r23364) -Codechange: refactor AIConfig, moving it mostly to Scriptconfig
2011-11-29 23:26:35 +00:00
truebrain
a3768b109b
(svn r23360) -Codechange: move AIInstance to ScriptInstance, making it reusable by other script API instances
2011-11-29 23:21:33 +00:00
truebrain
6f874962cd
(svn r23359) -Codechange: move AI_VMSuspend to Script_Suspend (and to its own file)
2011-11-29 23:21:24 +00:00
truebrain
1e13fa3dee
(svn r23358) -Codechange: move AI_FatalError to Script_FatalError (and to its own file)
2011-11-29 23:21:13 +00:00
truebrain
b4112dcf8e
(svn r23357) -Codechange: move AIStorage to ScriptStorage
2011-11-29 23:21:04 +00:00
truebrain
af1b3cc070
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
2011-11-29 23:15:35 +00:00
truebrain
eab012ec8b
(svn r23354) -Codechange: move all src/ai/api/ai_*.[hc]pp files to src/script/api/script_* (Rubidium)
2011-11-29 23:07:38 +00:00
truebrain
e271463efa
(svn r23311) -Remove: removed the silly blitter called 8bpp-debug. You can find him at the same place as you can find CTRL+D. Sorry for those who liked to trip while playing OpenTTD; I truly am sorry :D
2011-11-23 19:36:11 +00:00
rubidium
4509f814b3
(svn r23244) -Feature: if the installation is ananas, try to get the b without b installed
2011-11-17 21:17:17 +00:00
rubidium
2052561c2e
(svn r23240) -Codechange: rework the code of the download status window
2011-11-17 21:06:41 +00:00
rubidium
1ca06f2aae
(svn r22788) -Codechange: move modal progress related functions and variables to progress.cpp/h
2011-08-21 12:48:46 +00:00
terkhen
7e0daae1ec
(svn r22567) -Codechange: Store persistent storages inside a pool.
2011-06-12 20:47:45 +00:00
smatz
5852b66c71
(svn r22348) -Codechange: split ship-specific part of yapf_node.hpp to yapf_node_ship.hpp
2011-04-19 15:00:11 +00:00
frosch
81b419c7d5
(svn r22288) -Codechange: Deduplicate Blitter_8bppBase::DrawLine() and Blitter_32bppBase::DrawLine() into Blitter::DrawLine().
2011-04-02 11:55:54 +00:00
glx
b4466262b7
(svn r22188) -Add: Generate the settings as part of the MSVC build process, and enable it in Makefile too
2011-03-04 22:34:10 +00:00