Cyprian Klimaszewski
|
add6521abd
|
Doc: Update information for receiving a copy of GPL. (#14869)
|
2025-12-08 22:26:18 +05:00 |
|
Kuhnovic
|
afd0313802
|
Fix #14620: Use full file path when deleting files. (#14623)
|
2025-12-08 15:49:34 +05:00 |
|
Peter Nelson
|
e6323e6760
|
Fix: File/directory titles not updated if language is changed. (#14542)
|
2025-08-28 17:42:00 +01:00 |
|
Rubidium
|
c1a287ad17
|
Codechange: make some saveload functions work natively with std::string_view
|
2025-04-30 23:49:06 +02:00 |
|
Rubidium
|
af25eecc15
|
Codechange: use const for std::string_view where appropriate
|
2025-04-29 10:15:18 +02:00 |
|
Rubidium
|
360670626b
|
Codechange: replace char* with std::string_view
|
2025-04-28 21:31:12 +02:00 |
|
Rubidium
|
29ceaf0a84
|
Codechange: use std::string_view over const char *
|
2025-04-27 18:04:04 +02:00 |
|
Peter Nelson
|
7b31f26611
|
Codechange: Pass ContentInfo by reference.
Many functions take a ContentInfo pointer, but do not check for nullptr.
Pass by reference instead to assure it is present.
|
2025-04-11 23:08:59 +01:00 |
|
Peter Nelson
|
7f3820fa7e
|
Codechange: Load check data is only interested in landscape and starting_year.
|
2025-03-26 10:54:11 +00:00 |
|
Rubidium
|
2000cea235
|
Codechange: initialise instance members
|
2025-03-09 20:41:03 +01:00 |
|
Peter Nelson
|
27761ae431
|
Cleanup: Remove global string parameters.
Global parameters, and functions for dealing with them, are now gone.
|
2025-03-04 08:48:35 +00:00 |
|
Peter Nelson
|
5664b1e2f6
|
Codechange: Use std::vector for GRFConfig lists. (#10835)
This replaces the C-style custom managed linked-list and allows use of iterators etc.
|
2025-01-31 17:09:09 +00: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 |
|
Peter Nelson
|
f6ab2b69c6
|
Codechange: Define GRFConfigList alias and pass by reference. (#13358)
This adds the distinction between a single GRFConfig and a GRFConfig list, and simplifies how GRFConfig lists are passed to various functions.
|
2025-01-22 22:30:32 +00:00 |
|
Tyler Trahan
|
ad020759c7
|
Feature: Import town data from JSON file (#10409)
|
2024-09-16 09:29:10 -04:00 |
|
Peter Nelson
|
a1b03ee69e
|
Codechange: Replace platform-specific calls with std::filesystem::last_write_time. (#12487)
|
2024-04-15 18:10:19 +00:00 |
|
Patric Stout
|
a1487ce620
|
Add: list_[scenario|heightmap] and load_[scenario|height] console commands (#11867)
|
2024-01-23 14:01:25 +01:00 |
|
Patric Stout
|
090616b4c9
|
Add: allow loading heightmaps from command-line (#11870)
If you want to load a file from tar, you have to give the file
inside the tar in order for it to work:
<tar-file>/<dir-in-tar>/<file>.png
|
2024-01-22 22:35:25 +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 |
|
Rubidium
|
fbd71a9d72
|
Codechange: replace C-style string processing with C++-style for the listing callbacks
|
2023-06-05 23:25:49 +02:00 |
|
Rubidium
|
324c43eeb2
|
Codechange: let FiosGetDiskFreeSpace only return disk space and split FiosGetCurrentPath off
|
2023-05-31 10:56:33 +02:00 |
|
Peter Nelson
|
91e140c722
|
Codechange: Use unique_ptr for fios company properties.
This is the data used to show company names in the saveload window.
|
2023-05-18 12:18:30 +01:00 |
|
Peter Nelson
|
c38df2d589
|
Codechange: Use std::map instead of custom SmallMap.
|
2023-05-18 12:18:30 +01:00 |
|
Peter Nelson
|
00bf42353a
|
Codechange: Place gamelog into its own class, along with internal data.
Data is now stored in vectors to avoid manual memory management and
passing lengths around.
|
2023-05-02 19:47:55 +01:00 |
|
Rubidium
|
1f3b7e2efd
|
Codechange: use std::string instead of stredup for saveload error messages
|
2023-05-01 16:23:24 +02:00 |
|
Rubidium
|
3a822fcd01
|
Codechange: Make FiosItem's name and title std::string
|
2023-04-29 13:23:34 +02:00 |
|
Rubidium
|
f0a1ddd81c
|
Codechange: let FiosBrowseTo return a bool
|
2023-04-29 13:23:34 +02:00 |
|
Tyler Trahan
|
930f0a16d8
|
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
|
2023-04-26 07:14:03 -04:00 |
|
Rubidium
|
4e65ec1dc4
|
Codechange: do not declare functions in blocks
|
2023-01-29 20:28:45 +01:00 |
|
Loïc Guilloux
|
460991ecf4
|
Feature: Persistant rotation of numbered auto/netsave after restart (#9397)
It was always starting from 0 on openttd restart.
Now the most recent auto/netsave number will be used as a base to generate the next filename.
|
2021-07-17 12:48:35 +02:00 |
|
Rubidium
|
fa6abe1646
|
Cleanup: remove the old FIO slot functions
|
2021-05-08 12:39:34 +02:00 |
|
Rubidium
|
c097bc9d7d
|
Codechange: let NewGRF sounds make use of RandomAccessFile instead of the FIO slot functions
|
2021-05-08 12:39:34 +02:00 |
|
PeterN
|
f018471b36
|
Cleanup: Remove old FiosList helper methods. (#9139)
|
2021-04-29 22:46:42 +01:00 |
|
rubidium42
|
84985c1223
|
Codechange: [Network] Do not leak os_abstraction.h via fios.h
|
2021-04-27 18:17:34 +01:00 |
|
Michael Lutz
|
b408fe77f7
|
Codechange: Use std::string in file scanners.
|
2020-12-27 13:19:25 +01:00 |
|
Michael Lutz
|
65f65ad2ad
|
Codechange: Convert some more FIO functions to take std::string.
|
2020-12-27 13:19:25 +01:00 |
|
Michael Lutz
|
79240eab1e
|
Codechange: Make use of the improved C++17 emplace_back function.
|
2020-12-15 00:29:30 +01:00 |
|
S. D. Cloudt
|
13cc8a0cee
|
Cleanup: Removed SVN headers
|
2019-11-10 17:59:20 +00:00 |
|
glx
|
5b77102b63
|
Codechange: use std::sort() to sort file lists
|
2019-04-13 12:49:18 +01:00 |
|
Henry Wilson
|
7c8e7c6b6e
|
Codechange: Use null pointer literal instead of the NULL macro
|
2019-04-10 23:22:20 +02:00 |
|
glx22
|
66dd7c3879
|
Fix: MSVC warnings (#7423)
|
2019-03-28 00:09:33 +01:00 |
|
Henry Wilson
|
c01a2e2a81
|
Codechange: Removed SmallVector completely
|
2019-03-26 20:15:57 +00:00 |
|
Henry Wilson
|
ab711e6942
|
Codechange: Replaced SmallVector::[Begin|End]() with std alternatives
|
2019-03-26 20:15:57 +00:00 |
|
Henry Wilson
|
a0f36a50e6
|
Codechange: Replaced SmallVector::Append() with std::vector::[push|emplace]_back()
|
2019-03-26 20:15:57 +00:00 |
|
Henry Wilson
|
097328c3d7
|
Codechange: Replaced SmallVector::Get() const with std alternatives
|
2019-03-26 20:15:57 +00:00 |
|
Henry Wilson
|
aa7ca7fe64
|
Codechange: Replaced SmallVector::Get(n) non-const with std::vector::data() + n
|
2019-03-26 20:15:57 +00:00 |
|
Henry Wilson
|
a690936ed7
|
Codechange: Replace SmallVector::Length() with std::vector::size()
|
2019-03-26 20:15:57 +00:00 |
|
Henry Wilson
|
9cba6f7193
|
Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit()
|
2019-03-26 20:15:57 +00:00 |
|
Henry Wilson
|
bfd79e59dc
|
Codechange: Replace SmallVector::Clear() with std::vector::clear()
|
2019-03-26 20:15:57 +00:00 |
|
damfr
|
868c6f924a
|
Add: Filter box to the save and load windows (#6974)
Save and heightmap names can be filtered.
|
2018-11-25 20:54:25 +01:00 |
|