summaryrefslogtreecommitdiff
path: root/src/date.cpp
AgeCommit message (Collapse)Author
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-04-09(svn r19592) -Fix: don't do the desync debug savegames mid-StateGameLoop; ↵rubidium
they're increadibly useless (or hard to load correctly) in that case
2009-12-08(svn r18433) -Codechange: Show different texts in town GUI when the town ↵frosch
does not need food the whole year to grow.
2009-11-28(svn r18330) -Cleanup: remove some unneeded includesrubidium
2009-11-25(svn r18291) -Codechange: rework the calculation of the 'days till year' ↵rubidium
macro a bit so it can be properly reused and add a MAX_DAY
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-06(svn r17089) -Codechange: move RunVehicleDayProc() to vehicle.cppsmatz
2009-08-06(svn r17088) -Codechange: split IncreaseDate() to more proceduressmatz
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
all over the place when using the more advanced station types. -Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-05(svn r16752) -Codechange: Remove most of the window-changing code from ↵yexo
AirportPickerWindow::OnPaint
2009-05-23(svn r16403) -Codechange: move code related to subsidies to separate filesmatz
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-17(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 ↵rubidium
with < .. - 1 (both caused due to wrapper functions)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-01-13(svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEARsmatz
-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-04(svn r14835) -Change: apply the 'warn if train's income is negative' setting ↵smatz
to other vehicle types, too
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2009-01-04(svn r14823) -Document: some variables/structs (Alberth)rubidium
2008-12-29(svn r14772) -Codechange: make the "dump log of game to reproduce" desync ↵rubidium
debug stuff a runtime configurable debug option instead of a compile time option.
2008-12-28(svn r14755) -Codechange: remove ending year as it can't be changed anyways.rubidium
2008-11-23(svn r14611) -Fix (r13437)[FS#2421]: Store the age of a house in the map ↵frosch
array instead of the construction year. Note: Savegames from r13437 to now are broken and have a age of 255 years for a lot houses.
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-15(svn r14332) -Fix[FS#1885]: Balance the monthly random industry changes, by ↵belugas
introducing a daily random industry change. This will allow to perform more changes per month on big maps and less on smaller maps, while not overtaxing the IndustryMonthlyLoop process. Thanks to frosch, for nice code ideas and rewrites
2008-08-11(svn r14047) -Codechange: move chatmessage handling to the network directory ↵rubidium
as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
2008-06-20(svn r13594) -Feature(ette)[FS#2093]: Supply newgrfs with 'day of month', ↵frosch
'leap year' and 'day of year'.
2008-05-30(svn r13343) -Codechange: reorder/move variable/functions in the network ↵rubidium
headers so that nothing from the network directory needs to include basically all network headers.
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-03(svn r12550) -Change: the signal GUI is now persistent - has the same data ↵smatz
when it is reopened
2008-02-01(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) ↵glx
with an OnNewDay method in the Vehicle class
2008-01-15(svn r11856) -Revert (r11772): since FS#1335 is solved, we do not need the ↵glx
extra checking and such anymore.
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-11(svn r11811) -Fix: make compilation without networking work again (and thus ↵rubidium
move the debugdumpcommand stuff out of the network 'area').
2008-01-07(svn r11772) -Change: add some extra checking in the hope to find the cause ↵glx
of FS#1335
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-12-09(svn r11606) -Revert (r11584): since FS#1482 is solved, we do not need the ↵rubidium
extra checking and such anymore.
2007-12-06(svn r11584) -Change: add some extra checking in the hope to find the cause ↵rubidium
of FS#1482.
2007-10-28(svn r11353) -Codechange: add support for newgrf callback 32glx
2007-08-19(svn r10932) -Codechange: replace "text" with "chat" for the chat related ↵rubidium
function and variables.
2007-08-02(svn r10756) -Codechange: use vehicle->IsValid in favour of ↵rubidium
IsValidVehicle(vehicle).
2007-07-13(svn r10547) -Fix: when Cheat-Window is open and a new month happens, the ↵truelight
window wasn't redrawn instantly
2007-07-07(svn r10462) -Add: a command dumper/loader that could be enabled ↵rubidium
compile-time and server side only to aid debugging some desyncs, i.e. dump the stream of commands so it could be replayed in exactly the same way later. This should primarily be used to make desyncs more easily reproducable, so it can be properly debugged.
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium