Jonathan G Rennison
18a42664fc
Merge branch 'master' into jgrpp
...
Remove 'byte' typedef
4 weeks ago
Patric Stout
a3cfd23cf9
Codechange: rename byte to uint8_t ( #12308 )
3 months ago
Rubidium
a06814c173
Codechange: use std::source_location over __FILE__ and __LINE__ for Random
3 months ago
Jonathan G Rennison
17712af318
Random: Try a little bit harder in the random bytes fallback path
4 months ago
Jonathan G Rennison
2208d70e33
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/3rdparty/monocypher/CHANGELOG.md
# src/3rdparty/monocypher/CMakeLists.txt
# src/3rdparty/monocypher/README.md
# src/3rdparty/monocypher/monocypher.h
# src/core/random_func.cpp
# src/misc.cpp
4 months ago
Jonathan G Rennison
822ecae85d
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/cargotype.h
# src/core/CMakeLists.txt
# src/core/span_type.hpp
# src/fileio.cpp
# src/fios.cpp
# src/misc/endian_buffer.hpp
# src/misc_gui.cpp
# src/saveload/saveload.h
# src/saveload/vehicle_sl.cpp
# src/screenshot.cpp
# src/settings.cpp
# src/settings_internal.h
# src/stdafx.h
# src/string_func.h
# src/strings.cpp
# src/strings_func.h
# src/strings_internal.h
4 months ago
Tyler Trahan
735abfe111
Codechange: Split dates and timers into Economy and Calendar time ( #10700 )
5 months ago
Patric Stout
71b8801b61
Fix bd85f61a: [Linux] don't include sys/random.h on older glibc systems ( #11844 )
5 months ago
Patric Stout
bd85f61a40
Change: use a stronger hash and actual random information to generate Uids
5 months ago
Rubidium
47c0184a0b
Codechange: replace ROR/ROL with std::rotr/rotl
5 months ago
Jonathan G Rennison
97e6f3062e
Adding of _t to (u)int types, and WChar to char32_t
...
See: eaae0bb5e
5 months ago
Jonathan G Rennison
4689113553
Debug: De-duplicate formatting of hex dates for desync/random logging
6 months ago
Jonathan G Rennison
03e0ec8276
Strong typedef: Use strong typedefs for date, date tick, minutes types
...
Add delta types
Adjust/add type conversion functions
Add various utility methods on types
Remove the various minute macros
Fix some minute conversion inconsistencies
6 months ago
Rubidium
eaae0bb5e7
Codechange: automatic adding of _t to (u)int types, and WChar to char32_t
...
for i in `find src -type f|grep -v 3rdparty/fmt|grep -v 3rdparty/catch2|grep -v 3rdparty/opengl|grep -v stdafx.h`; do sed 's/uint16& /uint16 \&/g;s/int8\([ >*),;[]\)/int8_t\1/g;s/int16\([ >*),;[]\)/int16_t\1/g;s/int32\([ >*),;[]\)/int32_t\1/g;s/int64\([ >*),;[]\)/int64_t\1/g;s/ uint32(/ uint32_t(/g;s/_uint8_t/_uint8/;s/Uint8_t/Uint8/;s/ft_int64_t/ft_int64/g;s/uint64$/uint64_t/;s/WChar/char32_t/g;s/char32_t char32_t/char32_t WChar/' -i $i; done
11 months ago
Patric Stout
7aa2b9ab0a
Codechange: move all date-related variables inside the timer ( #10706 )
1 year ago
rubidium42
55a11710a6
Codechange: convert printf DEBUG statements to fmt Debug statements
3 years ago
Jonathan G Rennison
cbdd9f84d8
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/console_gui.cpp
# src/lang/korean.txt
# src/video/sdl2_v.cpp
# src/video/sdl2_v.h
# src/window.cpp
# src/window_gui.h
5 years ago
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
5 years ago
Jonathan G Rennison
8e6569c11f
Include tick skip counter in all desync debug output.
...
Change message format to make field identification easier.
Update desync message reader to support tick skip counter.
8 years ago
Jonathan G Rennison
f03cd98d04
Check/print tick skip counter in desync and random logging.
9 years ago
peter1138
1ad3db76e6
(svn r27049) -Fix (r26482): Fix compilation with --enable-desync-debug.
10 years ago
peter1138
cea2c3490a
(svn r27049) -Fix (r26482): Fix compilation with --enable-desync-debug.
10 years ago
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
10 years ago
rubidium
0463dbdc9e
(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
10 years ago
fonsinchen
e037a8bea9
(svn r25893) -Fix: Document RandomRange and change misleading parameter name 'max' in random functions.
11 years ago
fonsinchen
fe550c2db3
(svn r25893) -Fix: Document RandomRange and change misleading parameter name 'max' in random functions.
11 years ago
rubidium
59edf288de
(svn r23854) -Codechange: make it easier to put random debug stuff into the random log
13 years ago
rubidium
a48e3cb891
(svn r23854) -Codechange: make it easier to put random debug stuff into the random log
13 years ago
rubidium
dcdc998aaa
(svn r23814) -Codechange: write the random-debug output directly to a file
13 years ago
rubidium
2a0754b678
(svn r23814) -Codechange: write the random-debug output directly to a file
13 years ago
rubidium
43c8073551
(svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n].
14 years ago
rubidium
eb299736c1
(svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n].
14 years ago
rubidium
0765e4c9ab
(svn r21336) -Fix (r21030) [FS#4274]: compile failure when desync debugging is enabled (fonsinchen)
14 years ago
rubidium
ff015ac62c
(svn r21336) -Fix (r21030) [FS#4274]: compile failure when desync debugging is enabled (fonsinchen)
14 years ago
frosch
83bcde6da4
(svn r19652) -Fix: RandomRange() is used for bigger ranges in many cases, so generally extent it to handle 32 bits.
14 years ago
frosch
184fa43df2
(svn r19652) -Fix: RandomRange() is used for bigger ranges in many cases, so generally extent it to handle 32 bits.
14 years ago
frosch
80db03aef7
(svn r19643) -Fix (r19120): Industry generation failed for large maps and lots of industry types.
14 years ago
frosch
2141ca2368
(svn r19643) -Fix (r19120): Industry generation failed for large maps and lots of industry types.
14 years ago
frosch
9d5a8b851b
(svn r19125) -Fix (r18809): Compiling with desync-debug failed.
15 years ago
frosch
b0496c339f
(svn r19125) -Fix (r18809): Compiling with desync-debug failed.
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
smatz
50624d5c0f
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
15 years ago
smatz
62a7948af0
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
15 years ago
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
15 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
15 years ago
rubidium
4df86694a7
(svn r14910) -Codechange: merge the command queue handling into a single location
16 years ago
rubidium
d4b6cc997d
(svn r14910) -Codechange: merge the command queue handling into a single location
16 years ago
rubidium
5c8a281e00
(svn r14761) -Fix (r14730): missed the one DEREF_CLIENT in the random debug code :(
16 years ago
rubidium
703831ec6d
(svn r14761) -Fix (r14730): missed the one DEREF_CLIENT in the random debug code :(
16 years ago