Rubidium
|
d10499f2f1
|
Codechange: strongly type PersistentStorageID
|
2025-02-09 15:07:29 +01:00 |
|
Peter Nelson
|
afc0745aa2
|
Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383)
|
2025-01-28 22:17:34 +00:00 |
|
Rubidium
|
c377c4740d
|
Codechange: replace cpp_lengthof with safe alternatives
|
2024-04-20 13:36:19 +02:00 |
|
Peter Nelson
|
3ad143c43a
|
Codechange: Use x = y instead of x{y} for value-type member initialisation. (#12501)
This is easier to read and less likely to look like an array definition.
|
2024-04-15 23:07:36 +01:00 |
|
Patric Stout
|
a3cfd23cf9
|
Codechange: rename byte to uint8_t (#12308)
|
2024-03-16 23:59:32 +01:00 |
|
Peter Nelson
|
49dae08a3b
|
Codechange: Add missing override specifiers.
|
2023-09-25 21:27:45 +01:00 |
|
Peter Nelson
|
7bd019df90
|
Codechange: Use std::array for TemporaryStorageArray.
This removes the need for initialisation with memset().
|
2023-09-09 15:26:03 +01:00 |
|
Peter Nelson
|
9040d7813d
|
Codechange: Use std::array and std::unique_ptr for PersistentStorageArrays.
This (mostly) avoids the need for manual memory management and copying.
|
2023-09-09 15:26:03 +01: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 |
|
Charles Pigott
|
6fc28d649e
|
Cleanup: Unused alloca definitions and includes
|
2023-04-15 16:57:00 +01:00 |
|
rubidium42
|
16437b7c0d
|
Codechange: move client name in settings to std::string
|
2021-05-13 23:13:17 +02:00 |
|
Charles Pigott
|
860c270c73
|
Codechange: Replace assert_compile macro with static_assert
|
2020-12-27 10:55:42 +00:00 |
|
glx
|
11f178a312
|
Codechange: Replace FOR_ALL_STORAGES with range-based for loops
|
2019-12-21 20:13:03 +01:00 |
|
S. D. Cloudt
|
13cc8a0cee
|
Cleanup: Removed SVN headers
|
2019-11-10 17:59:20 +00:00 |
|
Henry Wilson
|
7c8e7c6b6e
|
Codechange: Use null pointer literal instead of the NULL macro
|
2019-04-10 23:22:20 +02:00 |
|
Michael Lutz
|
4b0b4e0643
|
Feature: [NewGRF] Increase size of persistent storage to 256.
|
2018-09-02 21:31:15 +02:00 |
|
frosch
|
a32d18cbb9
|
(svn r26371) -Fix [FS#5831]: Calling DoCommandP during the gameloop cleared pending persistent storage changes.
|
2014-02-23 22:03:08 +00:00 |
|
frosch
|
49852e3dac
|
(svn r26175) -Add: Log in desync output when persistent storage is discarded.
|
2013-12-23 18:09:29 +00:00 |
|
frosch
|
eca86d1baf
|
(svn r26174) -Codechange: Rename BaseStorageArray to BasePersistentStorageArray
|
2013-12-23 18:09:03 +00:00 |
|
frosch
|
a9e8d7a361
|
(svn r26173) -Change: [NewGRF] Reset the temporary storage registers for every sprite resolving.
|
2013-12-23 18:08:36 +00:00 |
|
frosch
|
82eb9d13df
|
(svn r26171) -Codechange: Make TemporaryStorageArray keep track of assigned registers. Also make clearing the array 'cheaper'.
|
2013-12-23 18:07:57 +00:00 |
|
frosch
|
3d53c0f7b9
|
(svn r26161) -Fix [FS#5830] (r22567) (r25956-ish): Backup data of altered persistent storage arrays was freed twice.
|
2013-12-16 18:18:58 +00:00 |
|
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
|
2013-11-08 22:28:57 +00:00 |
|
rubidium
|
e40eb8177a
|
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
|
2012-01-03 20:26:05 +00:00 |
|
alberth
|
4af8c2d5e1
|
(svn r23704) -Doc: Doxygen comment fixes and additions.
|
2012-01-01 17:22:32 +00:00 |
|
terkhen
|
00e5c1df18
|
(svn r22567) -Codechange: Store persistent storages inside a pool.
|
2011-06-12 20:47:45 +00:00 |
|
terkhen
|
0749c65d74
|
(svn r22564) -Codechange: Rename Get and Store persistent storage functions to GetValue and StoreValue.
|
2011-06-12 20:40:21 +00:00 |
|
frosch
|
d5e7537e14
|
(svn r22552) -Fix: Clear airport persistent storage on construction/removal of airports.
|
2011-06-11 20:47:31 +00:00 |
|
frosch
|
b2275b4093
|
(svn r22551) -Fix: Remove BaseStorageArrays from _changed_storage_arrays on destruction.
|
2011-06-11 20:40:46 +00:00 |
|
rubidium
|
eb299736c1
|
(svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n].
|
2011-01-22 09:53:15 +00:00 |
|
frosch
|
c049bf3f38
|
(svn r19497) -Fix: [NewGRF] Bytes and words get sign-extended for temporary/persistent storage. (Spotted by yexo)
|
2010-03-21 11:05:39 +00:00 |
|
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
|
smatz
|
d73c1fa7bf
|
(svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails
|
2009-02-24 20:59:17 +00:00 |
|
rubidium
|
bf98e25e43
|
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
|
2007-12-25 09:48:53 +00:00 |
|
rubidium
|
60f1eb21fa
|
(svn r11139) -Codechange: add support for persistent storage for NewGRFs.
|
2007-09-22 13:56:38 +00:00 |
|
rubidium
|
c68c83dffa
|
(svn r11138) -Codechange: prepare some subsystems for persistent storage for NewGRFs.
|
2007-09-22 12:59:43 +00:00 |
|