Jonathan G Rennison
a8e0862500
Enable prefetch and bswap buitins for clang.
2016-09-08 20:00:56 +01:00
Jonathan G Rennison
9ea018abc5
Merge branch 'cargo_type_order' into jgrpp
...
# Conflicts:
# src/order_base.h
# src/order_gui.cpp
# src/order_type.h
# src/saveload/extended_ver_sl.cpp
# src/saveload/extended_ver_sl.h
# src/vehicle_base.h
2016-09-08 00:12:48 +01:00
Jonathan G Rennison
5e67582a64
Merge branch 'save_ext' into jgrpp
...
# Conflicts:
# config.lib
# src/saveload/extended_ver_sl.cpp
# src/saveload/saveload.cpp
2016-09-07 22:02:57 +01:00
Jonathan G Rennison
72a386abe5
Merge branch 'save_ext' into cargo_type_order
2016-09-06 22:09:50 +01:00
Jonathan G Rennison
8deac54c9f
Remove mutex from SmallStack/StationIDStack.
...
It is only ever used from the main thread.
2016-09-04 23:00:10 +01:00
Jonathan G Rennison
349cd8a6f0
Where possible use compiler builtins for CountBits and FindFirstBit.
2016-09-04 18:01:38 +01:00
alberth
a38cdeccc0
(svn r27641) -Codechange: Fold the _fios_items file list vector into its own class.
2016-09-04 12:50:22 +00:00
Jonathan G Rennison
cf26d48c9b
Add a "SoftClamp" function which tolerates min > max, use for DrawTrainEngine.
2016-06-18 13:22:59 +01:00
Jonathan G Rennison
f6d374ade4
Merge branch 'house_placing' into jgrpp
...
This reverts the house picking/placing patch back to v2.
This is to fix house placement/town growth desync issues introduced in v4.
# Conflicts:
# src/settings_gui.cpp
# src/settings_type.h
# src/town_gui.cpp
2016-05-12 22:57:42 +01:00
Jonathan G Rennison
95b65163e3
Revert back to v2 of house picking/placing patch.
2016-05-12 22:35:39 +01:00
Jonathan G Rennison
41a06e698f
Merge branch 'house_placing' into jgrpp
...
# Conflicts:
# src/settings_gui.cpp
# src/settings_type.h
# src/town_gui.cpp
2016-04-08 20:15:08 +01:00
patch-import
0fd34a17a5
Update to v4 of house placing patch.
2016-04-08 19:42:10 +01:00
Jonathan G Rennison
ec62878758
Merge branch 'crashlog_improvements' into jgrpp
2016-03-23 18:22:14 +00:00
Jonathan G Rennison
2a2ff30c3f
Fix Pool verbose assertion format string on Windows platforms.
2016-03-23 18:21:54 +00:00
Jonathan G Rennison
bdca33ee80
Merge branch 'crashlog_improvements' into jgrpp
2016-03-21 20:47:16 +00:00
Jonathan G Rennison
a703e2ff58
Increase verbosity of Pool assertion failure messages.
2016-03-21 18:22:52 +00:00
Jonathan G Rennison
ecf5943954
Fix some undefined behaviour: signed overflow and over shift left.
...
Caught by UndefinedBehaviourSanitizer.
2015-11-22 23:16:09 +00:00
Jonathan G Rennison
66cd454c37
Merge branch 'day_length-sx' into jgrpp
2015-09-27 23:18:33 +01:00
Jonathan G Rennison
f03cd98d04
Check/print tick skip counter in desync and random logging.
2015-09-27 23:12:00 +01:00
michi_cc
44918010df
(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists.
2015-08-10 20:24:13 +00:00
peter1138
1ad3db76e6
(svn r27049) -Fix (r26482): Fix compilation with --enable-desync-debug.
2014-10-28 11:32:19 +00:00
alberth
ee7700ef78
(svn r26685) -Fix: Tighten parameter bound checks on GSCargoMonitor functions, and return -1 on out-of-bound parameters.
2014-07-12 17:04:14 +00:00
rubidium
15c4a7ec1c
(svn r26651) -Fix: make sure an abs is used that supports int64 when using abs on those variables
2014-06-17 19:01:45 +00:00
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
fonsinchen
4b726930f1
(svn r26343) -Fix: Rewrite SmallStack so that it doesn't use a pool and is reentrant.
2014-02-16 16:25:18 +00:00
frosch
a92bf49191
(svn r26333) -Fix: Compilation without static_assert.
2014-02-11 20:34:48 +00:00
fonsinchen
86ebb981f1
(svn r26331) -Fix: some inconsistencies regarding link graph (job) IDs.
2014-02-10 20:13:07 +00:00
rubidium
73474728e3
(svn r26057) -Fix: a number of possibly uninitialised variables
2013-11-23 13:12:19 +00:00
fonsinchen
e037a8bea9
(svn r25893) -Fix: Document RandomRange and change misleading parameter name 'max' in random functions.
2013-10-20 14:48:08 +00:00
fonsinchen
6f834776e4
(svn r25889) -Codechange: Add forgotten file.
2013-10-20 13:46:14 +00:00
fonsinchen
85fc5fbedf
(svn r25887) -Fix: Ignore NULL pointers in delete operator of PoolItem.
2013-10-20 13:35:35 +00:00
rubidium
c702853917
(svn r25705) -Fix: a number of typos (inspired by 90c920601c84975acb694f3673e2beb08b013753)
2013-08-09 18:43:44 +00:00
michi_cc
8bb76958fa
(svn r25685) -Codechange: [OSX] Use non-deprecated functions for byte swapping.
2013-08-05 20:37:29 +00:00
frosch
dd5be60322
(svn r25402) -Fix-ish: Prevent copying of BasePool and WindowDesc, since they register in static vectors.
2013-06-15 15:06:22 +00:00
fonsinchen
e4d3b981e3
(svn r25348) -Add: multimap implementation with guaranteed order between equal keys
2013-06-09 12:52:11 +00:00
fonsinchen
fdcb488f80
(svn r25347) -Add: function for deterministic approximate division
2013-06-09 12:50:33 +00:00
rubidium
4b30ce61c1
(svn r25256) -Add: small matrix type (like vector, but for matrices) (fonsinchen)
2013-05-19 14:06:26 +00:00
frosch
f81b2246fc
(svn r25043) -Change [FS#3764]: Only display subtypes in the refit GUI which are available for all selected vehicles. Also add a generic list item to refit while keeping the subtypes of individual vehicles.
2013-02-24 16:43:24 +00:00
rubidium
13c769ff00
(svn r24959) -Doc [FS#5459]: that certain parameters need to be within certain boundaries
2013-02-02 20:18:41 +00:00
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
alberth
19adc87262
(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb)
2012-12-01 13:12:39 +00:00
frosch
2d34e34a8b
(svn r24741) -Add: Const-methods to SmallMap.
2012-11-14 22:50:30 +00:00
frosch
0138c3fc2b
(svn r24448) -Fix [FS#5255]: Copy constructor and assignment operator cannot be implicit template specialisations. (adf88)
2012-07-29 20:02:25 +00:00
frosch
008dd8d774
(svn r24275) -Codechange: Make SmallVector::FindIndex() const.
2012-05-25 20:52:11 +00:00
smatz
bb9b240a86
(svn r23941) -Add: support for clang
2012-02-12 21:17:32 +00:00
michi_cc
88b14d9760
(svn r23880) -Add: A simple smart pointer.
2012-02-04 13:28:35 +00:00
rubidium
59edf288de
(svn r23854) -Codechange: make it easier to put random debug stuff into the random log
2012-01-26 17:24:56 +00:00
rubidium
dcdc998aaa
(svn r23814) -Codechange: write the random-debug output directly to a file
2012-01-15 21:15:38 +00:00
alberth
06597e684c
(svn r23704) -Doc: Doxygen comment fixes and additions.
2012-01-01 17:22:32 +00:00
truebrain
aa1a0053b0
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-20 17:57:56 +00:00