Commit Graph

23282 Commits (80fd6a278385e560646b7c273eef3015922f393b)
 

Author SHA1 Message Date
cirdan 80fd6a2783 Drop memory allocator from ClientNetworkGameSocketHandler
Have ClientNetworkGameSocketHandler initialise all of its members
on construction and not derive from ZeroedMemoryAllocator.

(cherry picked from commit dddda4f0b7ba0bd6f310f924d3b85cadbc81dc99)
8 years ago
cirdan 33e3956b13 Remove ZeroedMemoryAllocator from WindowDesc
All fields are initialised in the constructor, plus no WindowDesc
is ever constructed via operator new.

(cherry picked from commit 94750756bfbf8ab5ca36e6a38f6f7b556ca31b32)
8 years ago
Jonathan G Rennison 349cd8a6f0 Where possible use compiler builtins for CountBits and FindFirstBit. 8 years ago
Jonathan G Rennison 376a45d9fc Fix wrong bit-allocation in doc comment of CmdModifyOrder. 8 years ago
Jonathan G Rennison 761463d134 Merge branch 'template_train_replacement-sx' into jgrpp
# Conflicts:
#	src/window.cpp
8 years ago
Jonathan G Rennison 1af23b7caa Merge branch 'template_train_replacement' into template_train_replacement-sx
# Conflicts:
#	src/saveload/saveload.cpp
8 years ago
Jonathan G Rennison 5064dcdd2c TBTR: Create template window: Fix vehicle unselection on drag abort. 8 years ago
Jonathan G Rennison 0c5a98d125 TBTR: Create template window: Sell button now lowers on hover. 8 years ago
Jonathan G Rennison 23a1c07378 Merge branch 'master' into template_train_replacement
Fix Template creation window vehicle drag cursor.
8 years ago
frosch f46996243b (svn r27632) -Feature: When dragging vehicles in group or depot GUI, draw the complete articulated vehicle. 8 years ago
frosch 0829753fd0 (svn r27631) -Codechange: Split GetSingleVehicleWidth from GetVehicleWidth. 8 years ago
frosch caa9bffb56 (svn r27630) -Codechange: Deduplicate code to attach vehicle to cursor. 8 years ago
frosch 0214caaac2 (svn r27629) -Fix: When dragging multiple vehicles in the depot, make the destination gap as long as the chain instead of just considering the first vehicle. 8 years ago
frosch 0e3e4eeb53 (svn r27628) -Codechange: Prepare for drawing cursors consisting of multiple sprites. 8 years ago
frosch 2337d169e8 (svn r27627) -Codechange: Deduplicate some cursor magic into SetMouseCursorBusy. 8 years ago
frosch 93d5995bed (svn r27626) -Codechange: Do not use the cursor sprite as PlaceObject status in the main toolbar. 8 years ago
frosch 2257d782b0 (svn r27625) -Doc: CursorVars 8 years ago
translators 9d5ed2c469 (svn r27624) -Update from Eints:
spanish (mexican): 24 changes by Absay
8 years ago
Jonathan G Rennison 1d66e66c91 Version: Committing version data for tag: jgrpp-0.14.0 8 years ago
Jonathan G Rennison 7b56097f50 Merge branch 'master' into jgrpp
# Conflicts:
#	config.lib
#	src/linkgraph/demands.cpp
#	src/linkgraph/mcf.cpp
#	src/linkgraph/refresh.cpp
#	src/linkgraph/refresh.h
#	src/smallmap_gui.cpp
8 years ago
frosch a2a69c1480 (svn r27623) -Fix (r27616) [FS#6492]: Missed two version checks, and messed one up. 8 years ago
frosch cc18df4cb7 (svn r27622) -Change: In industry map view, give visible industry types the highest tile priority, and hidden industry types a lower one. This way filtered and highlighted industries are not hidden by overlapping tiles in zoomed-out smallmap. (adf88) 8 years ago
frosch 46aeed3817 (svn r27621) -Fix (r27620): Committed too early. 8 years ago
frosch bd6799a9f8 (svn r27620) -Codechange: Inline GetEffectiveTileType (adf88) 8 years ago
frosch 2c403c8a80 (svn r27619) -Update: Baseset translations 8 years ago
Jonathan G Rennison e29da8323c Merge branch 'enhanced_viewport_overlay-sx' into jgrpp 8 years ago
Jonathan G Rennison c6d9a49a73 Merge branch 'enhanced_viewport_overlay' into enhanced_viewport_overlay-sx 8 years ago
Jonathan G Rennison 8c4904a9e4 Update route markers/lines when drag/dropping vehicle orders. 8 years ago
translators aa140bb928 (svn r27618) -Update from Eints:
latvian: 19 changes by Parastais
8 years ago
Jonathan G Rennison 3ea652c4b9 Merge branch 'tracerestrict-sx' into jgrpp 8 years ago
Jonathan G Rennison 8482fc6aef Merge branch 'tracerestrict' into tracerestrict-sx 8 years ago
Jonathan G Rennison 3d6cbb76b4 Allow value of "PBS entry signal" conditional to be a rail depot. 8 years ago
Jonathan G Rennison e7dfc40a59 Merge branch 'template_train_replacement-sx' into jgrpp 8 years ago
Jonathan G Rennison 0d45eba6ce Merge branch 'template_train_replacement' into template_train_replacement-sx 8 years ago
Jonathan G Rennison f245049f91 TBTR: Select most used rail-type by default, instead of first rail-type. 8 years ago
translators c6ac52e71a (svn r27617) -Update from Eints:
latvian: 6 changes by Parastais
8 years ago
frosch f7a7f141d3 (svn r27616) -Codechange [FS#6487]: [Build] Change the GCC version detection so that it works with two-digit and truncated versions. 8 years ago
translators 18bbe02337 (svn r27615) -Update from Eints:
spanish: 7 changes by SilverSurferZzZ
8 years ago
Jonathan G Rennison cd0211095b Merge branch 'tracerestrict-sx' into jgrpp 8 years ago
Jonathan G Rennison 7a18f9eeeb Merge branch 'tracerestrict' into tracerestrict-sx 8 years ago
Jonathan G Rennison 58817c26e0 Fix reservation through multiple reserve-through signals after a junction. 8 years ago
fonsinchen ff96590312 (svn r27614) -Codechange: Use a fixed array instead of a map for link refresher cargo capacities. (JGR) 8 years ago
fonsinchen a81b7a24a6 (svn r27613) -Codechange: Use a flat vector instead of a map in FlowEdgeIterator. (JGR) 8 years ago
fonsinchen 6b2eed0a70 (svn r27612) -Codechange: Replace three uses of std::list with std::queue/vector. (JGR) 8 years ago
fonsinchen 8d5566651b (svn r27611) -Codechange: Cache the calculated value of CapacityAnnotation 8 years ago
Jonathan G Rennison 3ac94e97c8 Cache the result of GetImage() in Vehicle::UpdateViewport() where possible.
Sprite number is not cached if callback is made, or a variable access
outside a whitelist occurs.
Invalidate cached sprite number when direction or cargo changes,
or vehicle is marked dirty.
8 years ago
Jonathan G Rennison 9ae057b8bf Fix loading of SpringPP savegames.
Was broken in jgrpp-0.13.1
8 years ago
Jonathan G Rennison d5ee260daf Update changed format code in translation. 8 years ago
Jonathan G Rennison f0fee802a9 Merge branch 'tracerestrict-sx' into jgrpp
# Conflicts:
#	src/lang/english.txt
#	src/settings_gui.cpp
#	src/settings_type.h
#	src/table/settings.ini
#	src/vehicle_gui.cpp
8 years ago
Jonathan G Rennison ed33a62bcd Merge branch 'tracerestrict' into tracerestrict-sx 8 years ago