Commit Graph

23210 Commits (cf26d48c9b3f9097bc36509c82cbba9aa5166674)
 

Author SHA1 Message Date
Heiko August d485f548f0 translate-de: add translation for improved breakdowns 9 years ago
Heiko August e59a789fff translate-de: fix wrong template string 9 years ago
Jonathan G Rennison e22e1df939 Store annotation and node ID in set key, to reduce ptr derefs on sort.
Store the set iterator in the node, for faster erasing during forks.

Use a custom pool allocator to store set nodes contiguously.
9 years ago
Jonathan G Rennison 4534812b4f Use a fixed array instead of a map for link refresher cargo capacities. 9 years ago
translators bf61d7a797 (svn r27458) -Update from WebTranslator v3.0:
basque - 20 changes by Thadah
9 years ago
Jonathan G Rennison 0fb79a8f15 Use a flat vector instead of a map in FlowEdgeIterator.
This reduced the cost of Dijkstra<CapacityAnnotation> by approx. 25%,
in a test profiling.
9 years ago
Jonathan G Rennison a3768d3a29 Label threads with a descriptive name where supported (pthreads). 9 years ago
Jonathan G Rennison 3a28be7841 Linkgraph: Replace three uses of std::list with std::deque/vector. 9 years ago
Jonathan G Rennison 564744d427 Cache the calculated value of CapacityAnnotation.
This is because CapacityAnnotation::Comparator::operator()
was appearing at the top of profiler output due to regenerating
the annotation value on every comparison when performing a set operation.
9 years ago
Jonathan G Rennison 352a3229cd Do not update/redraw windows and viewports in dedicated mode.
This has a quite significant performance cost when the result will
only be thrown away by the null blitter anyway.
No longer call UpdateWindows in main loop, which renders
dirty windows and viewports.
No longer update vehicle sprites IDs or mark dirty vehicles in viewports.
This saved >50% of server CPU time in a test game.
9 years ago
translators 786838d277 (svn r27457) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
spanish - 2 changes by SilverSurferZzZ
9 years ago
Jonathan G Rennison 781c34882e Version: Committing version data for tag: jgrpp-0.8.0 9 years ago
Jonathan G Rennison 5b1fe71552 Merge branch 'tracerestrict-sx' into jgrpp
Conflicts:
	src/rail_cmd.cpp
9 years ago
Jonathan G Rennison 8eac403224 Merge branch 'tracerestrict' into tracerestrict-sx 9 years ago
Jonathan G Rennison 4d484a858f Fix attempts to recolour signal sprites from GRFs. 9 years ago
translators e94c79227b (svn r27456) -Update from WebTranslator v3.0:
korean - 7 changes by telk5093
spanish - 4 changes by SilverSurferZzZ
9 years ago
Jonathan G Rennison 9ee5aecbaf Merge branch 'enhanced_viewport_overlay-sx' into jgrpp 9 years ago
Jonathan G Rennison 9ed7fe22fb Merge branch 'enhanced_viewport_overlay' into enhanced_viewport_overlay-sx 9 years ago
Jonathan G Rennison 1c3c413cfb Merge branch 'save_ext' into enhanced_viewport_overlay-sx 9 years ago
Jonathan G Rennison dd5e6eaa28 Merge branch 'master' into save_ext 9 years ago
Jonathan G Rennison 9bd32e76bd Merge branch 'progsig-sx' into jgrpp
Conflicts:
	src/command.cpp
9 years ago
Jonathan G Rennison 769b8ae096 progsig: Fix remove and clone program functions being completely broken.
Remove function only removed instructions from the local machine, and
was therefore not MP safe.
Clone function failed to work correctly for non-trivial cases,
and sometimes caused an array out of bounds assertion.

These are replaced by a new commandproc which does each operation
as a single action, which is therefore MP safe.

Remove an unused struct field.
9 years ago
Jonathan G Rennison f6a8f27501 Make server and all clients run desync checks if a client desyncs. 9 years ago
Jonathan G Rennison 69c89c4881 Check caches at desync level 1, every 500 ticks.
Also check aircraft cache.
9 years ago
translators 06fc9283f7 (svn r27455) -Update from WebTranslator v3.0:
spanish - 4 changes by SilverSurferZzZ
9 years ago
Jonathan G Rennison aa00038c9c Do not write desync messages to the console on Windows.
Windows seems unable to handle direction change characters in consoles.
9 years ago
Jonathan G Rennison 52d3f075ea Fix over shift left undefined behaviour.
The maximum zoom level is now >= 8, so shifting a uint8 by a zoom
level results in undefined behaviour.
9 years ago
Jonathan G Rennison d2cd74223e Fix another out of bound buffer read in viewport map mode.
Drawing of non-company tunnels/bridges.
Caught by AddressSanitizer.
9 years ago
Jonathan G Rennison ecf5943954 Fix some undefined behaviour: signed overflow and over shift left.
Caught by UndefinedBehaviourSanitizer.
9 years ago
translators ca93b0ef79 (svn r27454) -Update from WebTranslator v3.0:
korean - 4 changes by telk5093
9 years ago
translators d8b8f033d5 (svn r27453) -Update from WebTranslator v3.0:
italian - 1 changes by lorenzodv
9 years ago
Jonathan G Rennison 8e3d9a520c Merge branch 'enhanced_viewport_overlay-sx' into jgrpp 9 years ago
Jonathan G Rennison f8483614e9 Merge branch 'enhanced_viewport_overlay' into enhanced_viewport_overlay-sx 9 years ago
Jonathan G Rennison 7b50fca535 Merge branch 'veh_gui_owner_colour' into jgrpp 9 years ago
Jonathan G Rennison 6075dd22e2 Show small square if vehicle owner does not match list owner.
No longer check the infrastructure sharing setting.
Add a separate setting to control company colour squares (default on).
9 years ago
Jonathan G Rennison e91b84753b Fix performance regression rendering vehicle route overlays.
Performance issue was triggered when orders were modified whilst
the route was displayed and the game was in multiplayer mode.
9 years ago
translators 17e6f42f03 (svn r27452) -Update from WebTranslator v3.0:
russian - 1 changes by Lone_Wolf
9 years ago
alberth e1a00bc244 (svn r27451) -Feature[FS#6241]: Move sprite 8 positions in sprite aligner with ctrl+click. (based on work by juzza1) 9 years ago
alberth e32afcc4ea (svn r27450) -Feature[FS#6391](r27446): Lower the sell-chain button in the train depot GUI while dragging a vehicle over it. (Eearslya) 9 years ago
patch-import 0823f58ddc Original patch from McZapkie 9 years ago
Jonathan G Rennison 7ff6ad1e36 Merge branch 'enhanced_viewport_overlay-sx' into jgrpp 9 years ago
Jonathan G Rennison ea3198cc25 Merge branch 'save_ext' into enhanced_viewport_overlay-sx 9 years ago
Jonathan G Rennison 9914ba7e63 Merge branch 'master' into save_ext 9 years ago
Jonathan G Rennison 0ee812b5a9 Merge branch 'enhanced_viewport_overlay' into enhanced_viewport_overlay-sx 9 years ago
Jonathan G Rennison 6939bc7d87 Fix string type mismatch in German translation text. 9 years ago
Jonathan G Rennison 4b77beb3f9 Merge remote-tracking branch 'auge8472/translate-de' into jgrpp 9 years ago
translators 05812cd61b (svn r27449) -Update from WebTranslator v3.0:
spanish - 2 changes by SilverSurferZzZ
9 years ago
Jonathan G Rennison f770dd1ed9 Fix out of bound buffer read for non-company tunnels in viewport map mode.
Caught by AddressSanitizer.
9 years ago
Jonathan G Rennison f8e1cf0dec Fix out of bound buffer read for non-company tunnels in viewport map mode.
Caught by AddressSanitizer.
9 years ago
Jonathan G Rennison 73367d7209 build: include win32/win64 in output bundle name for mingw target. 9 years ago