Tyler Trahan
|
77173a6a10
|
Codechange: Move date consts and functions to CalendarTime and TimerGameCalendar classes
|
2023-09-10 08:40:25 -04:00 |
Tyler Trahan
|
fca2b37726
|
Codechange: Move Ticks into their own class
|
2023-09-10 08:40:25 -04:00 |
Patric Stout
|
299570b2c1
|
Codechange: make TimerGameCalendar Date and Year types strongly typed (#10761)
|
2023-08-12 18:14:21 +00:00 |
Tyler Trahan
|
6190f48df0
|
Codechange: Add a DateToYear function instead of dividing each time (#11173)
|
2023-08-11 08:19:54 -04: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 |
Patric Stout
|
97138acc8a
|
Codechange: make date-related variables constexpr (#11129)
This hints the compiler even more to result math-related questions
compile-time.
|
2023-07-12 13:15:24 +00:00 |
Tyler Trahan
|
98d809c33b
|
Codechange: Don't use macros for DAYS_TILL and friends (#10746)
|
2023-05-07 05:25:24 -04:00 |
Tyler Trahan
|
6501f84b4a
|
Codechange: Move calendar date functions inside TimerGameCalendar (#10753)
|
2023-05-04 13:14:12 +00:00 |
Tyler Trahan
|
930f0a16d8
|
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
|
2023-04-26 07:14:03 -04:00 |
Patric Stout
|
7aa2b9ab0a
|
Codechange: move all date-related variables inside the timer (#10706)
|
2023-04-24 15:56:01 +00:00 |
Tyler Trahan
|
646a7e625b
|
Change: Use seconds for Linkgraph update settings (#10610)
|
2023-04-14 22:49:12 +02:00 |
Tyler Trahan
|
8e04cba0c3
|
Change: Make tick length 27 milliseconds (#10607)
This makes a month last about 60 seconds, allowing the use of real-time units in game.
Co-authored-by: Niels Martin Hansen <nielsm@indvikleren.dk>
|
2023-04-14 14:50:19 +01:00 |
Tyler Trahan
|
d09210e1c6
|
Feature: Configurable subsidy duration
|
2021-06-10 23:26:16 +02:00 |
Niels Martin Hansen
|
2fd871e2af
|
Feature: Configurable game ending year
Functionally reverts 683b65ee1
|
2019-12-28 12:27:39 +01:00 |
S. D. Cloudt
|
13cc8a0cee
|
Cleanup: Removed SVN headers
|
2019-11-10 17:59:20 +00:00 |
rubidium
|
be4f85766c
|
(svn r25260) -Codechange: occasionally clear dead links and compress link graphs (fonsinchen)
|
2013-05-19 14:26:14 +00:00 |
planetmaker
|
e5a88a1077
|
(svn r22548) -Codechange: Name also the magic number for the lumber mill's tree cutting action (FeyFre)
|
2011-06-09 16:35:09 +00:00 |
frosch
|
474b4799e8
|
(svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks.
|
2011-05-21 11:26:37 +00:00 |
rubidium
|
398418b8fa
|
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
|
2010-05-13 09:44:44 +00:00 |
rubidium
|
abb601f682
|
(svn r18585) -Codechange: replace some magic numbers by constants
|
2009-12-21 16:13:30 +00:00 |
rubidium
|
a951c505bf
|
(svn r18292) -Codechange: add a command to set the start date of a timetable. Based on work by PhilSophus.
|
2009-11-25 23:37:15 +00:00 |
rubidium
|
1a8c203d6e
|
(svn r18291) -Codechange: rework the calculation of the 'days till year' macro a bit so it can be properly reused and add a MAX_DAY
|
2009-11-25 23:28:04 +00:00 |
rubidium
|
37056b564c
|
(svn r18204) -Codechange: introduce a type for Ticks and use it; furthermore document some related variables/functions
|
2009-11-21 12:43:09 +00:00 |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
smatz
|
e00cf92f47
|
(svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEAR
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
|
2009-01-13 22:58:03 +00:00 |
rubidium
|
702c372744
|
(svn r14823) -Document: some variables/structs (Alberth)
|
2009-01-04 11:32:26 +00:00 |
rubidium
|
683b65ee18
|
(svn r14755) -Codechange: remove ending year as it can't be changed anyways.
|
2008-12-28 16:09:58 +00:00 |
frosch
|
4236dd3be5
|
(svn r13594) -Feature(ette)[FS#2093]: Supply newgrfs with 'day of month', 'leap year' and 'day of year'.
|
2008-06-20 21:14:10 +00:00 |
rubidium
|
b9046c97fb
|
(svn r11702) -Codechange: move all date related stuff to date*.
|
2007-12-26 13:50:40 +00:00 |