Jonathan G Rennison
|
cfebbfac8c
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/autoreplace_cmd.cpp
# src/company_base.h
# src/company_gui.cpp
# src/cpu.cpp
# src/debug.h
# src/group.h
# src/group_cmd.cpp
# src/house.h
# src/industry.h
# src/newgrf_house.cpp
# src/news_type.h
# src/openttd.cpp
# src/saveload/company_sl.cpp
# src/settings_type.h
# src/sl/oldloader_sl.cpp
# src/story.cpp
# src/table/town_land.h
# src/viewport.cpp
|
2024-02-09 18:50:49 +00:00 |
|
Rubidium
|
4c51534b6a
|
Remove: LeastCommonMultiple / GreatestCommonDivisor
Use std::lcm / std::gcd instead.
|
2024-01-20 16:45:21 +01:00 |
|
Jonathan G Rennison
|
97e6f3062e
|
Adding of _t to (u)int types, and WChar to char32_t
See: eaae0bb5e
|
2024-01-07 17:20:41 +00:00 |
|
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
|
2023-07-19 19:30:14 +02:00 |
|
Jonathan G Rennison
|
1d93cd59e7
|
Add utility function for integer dynamic range extension encoding
|
2022-09-06 22:33:39 +01:00 |
|
Jonathan G Rennison
|
2b02318c7e
|
Add int64 cube root and square root functions
|
2021-01-26 00:00:35 +00:00 |
|
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
|
2019-11-12 18:43:10 +00:00 |
|
S. D. Cloudt
|
13cc8a0cee
|
Cleanup: Removed SVN headers
|
2019-11-10 17:59:20 +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 |
|
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 |
|
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
|
2014-04-23 20:13:33 +00:00 |
|
fonsinchen
|
fdcb488f80
|
(svn r25347) -Add: function for deterministic approximate division
|
2013-06-09 12:50:33 +00:00 |
|
fonsinchen
|
dfad8317aa
|
(svn r25347) -Add: function for deterministic approximate division
|
2013-06-09 12:50:33 +00:00 |
|
michi_cc
|
fc8633e1ac
|
(svn r23415) -Feature: Infrastructure maintenance costs.
|
2011-12-03 23:40:46 +00:00 |
|
michi_cc
|
d3b7b89493
|
(svn r23415) -Feature: Infrastructure maintenance costs.
|
2011-12-03 23:40:46 +00:00 |
|
rubidium
|
99d46e0ad7
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
|
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
|
rubidium
|
4eea5c9669
|
(svn r15777) -Add: helper functions to get the least common multiple and the greatest common divisor (Alberth)
|
2009-03-21 01:34:31 +00:00 |
|
rubidium
|
3ef8a09e20
|
(svn r15777) -Add: helper functions to get the least common multiple and the greatest common divisor (Alberth)
|
2009-03-21 01:34:31 +00:00 |
|