Peter Nelson
|
49dae08a3b
|
Codechange: Add missing override specifiers.
|
1 year ago |
Peter Nelson
|
7bd019df90
|
Codechange: Use std::array for TemporaryStorageArray.
This removes the need for initialisation with memset().
|
1 year ago |
Peter Nelson
|
9040d7813d
|
Codechange: Use std::array and std::unique_ptr for PersistentStorageArrays.
This (mostly) avoids the need for manual memory management and copying.
|
1 year 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
|
1 year ago |
Charles Pigott
|
6fc28d649e
|
Cleanup: Unused alloca definitions and includes
|
1 year ago |
rubidium42
|
16437b7c0d
|
Codechange: move client name in settings to std::string
|
3 years ago |
Charles Pigott
|
860c270c73
|
Codechange: Replace assert_compile macro with static_assert
|
4 years ago |
glx
|
11f178a312
|
Codechange: Replace FOR_ALL_STORAGES with range-based for loops
|
5 years ago |
S. D. Cloudt
|
13cc8a0cee
|
Cleanup: Removed SVN headers
|
5 years ago |
Henry Wilson
|
7c8e7c6b6e
|
Codechange: Use null pointer literal instead of the NULL macro
|
6 years ago |
Michael Lutz
|
4b0b4e0643
|
Feature: [NewGRF] Increase size of persistent storage to 256.
|
6 years ago |
frosch
|
a32d18cbb9
|
(svn r26371) -Fix [FS#5831]: Calling DoCommandP during the gameloop cleared pending persistent storage changes.
|
11 years ago |
frosch
|
49852e3dac
|
(svn r26175) -Add: Log in desync output when persistent storage is discarded.
|
11 years ago |
frosch
|
eca86d1baf
|
(svn r26174) -Codechange: Rename BaseStorageArray to BasePersistentStorageArray
|
11 years ago |
frosch
|
a9e8d7a361
|
(svn r26173) -Change: [NewGRF] Reset the temporary storage registers for every sprite resolving.
|
11 years ago |
frosch
|
82eb9d13df
|
(svn r26171) -Codechange: Make TemporaryStorageArray keep track of assigned registers. Also make clearing the array 'cheaper'.
|
11 years ago |
frosch
|
3d53c0f7b9
|
(svn r26161) -Fix [FS#5830] (r22567) (r25956-ish): Backup data of altered persistent storage arrays was freed twice.
|
11 years ago |
rubidium
|
c04d635ddb
|
(svn r25956) -Fix [FS#5772]: temporary persistent storage modifications, e.g. command tests or those from GUI, were not properly reset, creating the possibility of desyncs
|
11 years ago |
rubidium
|
e40eb8177a
|
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
|
13 years ago |
alberth
|
4af8c2d5e1
|
(svn r23704) -Doc: Doxygen comment fixes and additions.
|
13 years ago |
terkhen
|
00e5c1df18
|
(svn r22567) -Codechange: Store persistent storages inside a pool.
|
13 years ago |
terkhen
|
0749c65d74
|
(svn r22564) -Codechange: Rename Get and Store persistent storage functions to GetValue and StoreValue.
|
13 years ago |
frosch
|
d5e7537e14
|
(svn r22552) -Fix: Clear airport persistent storage on construction/removal of airports.
|
14 years ago |
frosch
|
b2275b4093
|
(svn r22551) -Fix: Remove BaseStorageArrays from _changed_storage_arrays on destruction.
|
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 |
frosch
|
c049bf3f38
|
(svn r19497) -Fix: [NewGRF] Bytes and words get sign-extended for temporary/persistent storage. (Spotted by yexo)
|
15 years ago |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
smatz
|
d73c1fa7bf
|
(svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails
|
16 years ago |
rubidium
|
bf98e25e43
|
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
|
17 years ago |
rubidium
|
60f1eb21fa
|
(svn r11139) -Codechange: add support for persistent storage for NewGRFs.
|
17 years ago |
rubidium
|
c68c83dffa
|
(svn r11138) -Codechange: prepare some subsystems for persistent storage for NewGRFs.
|
17 years ago |