Jonathan G Rennison
1d5ba98932
Show time and in game date of game load in desync/crash logs
2019-06-14 21:56:37 +01:00
Jonathan G Rennison
ba34ec7ade
Merge branch 'master' into jgrpp
...
Replace build and refit, and group collapse implementations
Fix template creation build and refit
# Conflicts:
# Makefile.bundle.in
# config.lib
# src/animated_tile.cpp
# src/blitter/32bpp_anim.hpp
# src/blitter/32bpp_base.hpp
# src/blitter/8bpp_base.hpp
# src/blitter/null.hpp
# src/build_vehicle_gui.cpp
# src/command.cpp
# src/command_func.h
# src/console_gui.cpp
# src/core/smallstack_type.hpp
# src/date.cpp
# src/debug.cpp
# src/genworld_gui.cpp
# src/ground_vehicle.hpp
# src/group_gui.cpp
# src/lang/korean.txt
# src/linkgraph/linkgraph_gui.h
# src/main_gui.cpp
# src/misc_gui.cpp
# src/network/core/game.h
# src/network/core/packet.cpp
# src/network/core/udp.cpp
# src/network/core/udp.h
# src/network/network_content.cpp
# src/network/network_type.h
# src/network/network_udp.cpp
# src/newgrf_house.h
# src/openttd.cpp
# src/order_cmd.cpp
# src/order_gui.cpp
# src/os/unix/crashlog_unix.cpp
# src/os/windows/crashlog_win.cpp
# src/osk_gui.cpp
# src/pathfinder/opf/opf_ship.cpp
# src/rail_cmd.cpp
# src/rail_gui.cpp
# src/saveload/saveload.cpp
# src/settings.cpp
# src/settings_gui.cpp
# src/smallmap_gui.h
# src/station_base.h
# src/station_cmd.cpp
# src/table/gameopt_settings.ini
# src/table/newgrf_debug_data.h
# src/table/settings.ini
# src/timetable_gui.cpp
# src/toolbar_gui.cpp
# src/train_gui.cpp
# src/vehicle.cpp
# src/vehicle_gui.cpp
# src/vehiclelist.cpp
# src/viewport.cpp
# src/widgets/dropdown.cpp
# src/window_gui.h
2019-03-27 18:12:04 +00:00
Patric Stout
e3c639a09f
Remove: ENABLE_NETWORK switch
...
This switch has been a pain for years. Often disabling broke
compilation, as no developer compiles OpenTTD without, neither do
any of our official binaries.
Additionaly, it has grown so hugely in our codebase, that it
clearly shows that the current solution was a poor one. 350+
instances of "#ifdef ENABLE_NETWORK" were in the code, of which
only ~30 in the networking code itself. The rest were all around
the code to do the right thing, from GUI to NewGRF.
A more proper solution would be to stub all the functions, and
make sure the rest of the code can simply assume network is
available. This was also partially done, and most variables were
correct if networking was disabled. Despite that, often the #ifdefs
were still used.
With the recent removal of DOS, there is also no platform anymore
which we support where networking isn't working out-of-the-box.
All in all, it is time to remove the ENABLE_NETWORK switch. No
replacement is planned, but if you feel we really need this option,
we welcome any Pull Request which implements this in a way that
doesn't crawl through the code like this diff shows we used to.
2019-03-20 19:24:55 +01:00
keldorkatarn
4955996b35
Remove costly recalculation of a date format we already have.
...
(cherry picked from commit 6aca18d18252f1c2f6d4a215999b7d7afb7df813)
See #36
2018-04-17 16:35:22 +01:00
Jonathan G Rennison
e54a7189fd
Add debug command line switch to quit after fixed number of days
2018-01-15 21:47:10 +00:00
Jonathan G Rennison
5282394b04
Do not attempt to perform viewport scrolling in game bootstrap mode.
...
Do not increase date in bootstrap mode
2017-10-11 08:44:58 +01:00
Jonathan G Rennison
375b069f82
Replace day length scaled tick macros with global variables.
...
This is to avoid needing to expensively re-calculate them all the time.
Instead update them by incrementing.
2016-09-10 01:03:48 +01:00
Jonathan G Rennison
012c842a90
Merge branch 'daily_script' into jgrpp
2015-09-11 03:44:43 +01:00
patch-import
2c3e58909f
Import daily/monthly/yearly scripts patch.
...
Fix whitespace.
http://www.tt-forums.net/viewtopic.php?f=33&t=49595
2015-09-11 02:55:04 +01:00
patch-import
d86a56cbef
Import day length patch
...
Minor whitespace fixes.
http://www.tt-forums.net/viewtopic.php?p=1148227#p1148227
2015-08-09 11:23:15 +01:00
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
frosch
21cbb7acfe
(svn r25333) -Fix: Potential signedness issue.
2013-06-08 13:22:06 +00:00
frosch
5bb1d01af9
(svn r25333) -Fix: Potential signedness issue.
2013-06-08 13:22:06 +00:00
rubidium
e93a8e0943
(svn r25320) -Fix [FS#5577]: link graph start time was not accounted for when cheating dates
2013-06-04 15:06:22 +00:00
rubidium
0fbc7140c5
(svn r25320) -Fix [FS#5577]: link graph start time was not accounted for when cheating dates
2013-06-04 15:06:22 +00:00
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
frosch
85f8b026f8
(svn r24592) -Codechange [FS#5241]: Set up the new date completely before calling various daily or monthly processings. (dihedral)
2012-10-14 14:50:20 +00:00
frosch
b5a485825b
(svn r24592) -Codechange [FS#5241]: Set up the new date completely before calling various daily or monthly processings. (dihedral)
2012-10-14 14:50:20 +00:00
terkhen
ad555a4cb2
(svn r23406) -Change: Run the monthly subsidy loop after cargo acceptance has been calculated.
2011-12-03 22:22:25 +00:00
terkhen
0e5f334315
(svn r23406) -Change: Run the monthly subsidy loop after cargo acceptance has been calculated.
2011-12-03 22:22:25 +00:00
rubidium
9fc2798baf
(svn r22411) -Document: another bunch of bits
2011-05-02 17:42:12 +00:00
rubidium
fb5ecb9499
(svn r22411) -Document: another bunch of bits
2011-05-02 17:42:12 +00:00
rubidium
2074b4ddce
(svn r21512) -Change/Feature: make the delay of the chat messages timing out unrelated to the number of passed game days, i.e. don't stop aging chat messages when the server is paused
2010-12-14 14:57:51 +00:00
rubidium
e68efb9e71
(svn r21512) -Change/Feature: make the delay of the chat messages timing out unrelated to the number of passed game days, i.e. don't stop aging chat messages when the server is paused
2010-12-14 14:57:51 +00:00
rubidium
72c85d1cdb
(svn r20967) -Add: infrastructure to send information to remote admins at specific intervals (dihedral)
2010-10-17 17:36:23 +00:00
rubidium
b4ce7fad7f
(svn r20967) -Add: infrastructure to send information to remote admins at specific intervals (dihedral)
2010-10-17 17:36:23 +00:00
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
rubidium
1f95317454
(svn r20592) -Fix (r2041): no (proper) savegame conversion was done when _date_fract got a new value range
2010-08-22 09:21:56 +00:00
rubidium
29e02728e1
(svn r20592) -Fix (r2041): no (proper) savegame conversion was done when _date_fract got a new value range
2010-08-22 09:21:56 +00:00
rubidium
0318ddc279
(svn r20591) -Codechange: make sure _date_fract is set when SetDate is called. Some places wouldn't reset _date_fract correctly at all
2010-08-22 09:18:01 +00:00
rubidium
56a263070f
(svn r20591) -Codechange: make sure _date_fract is set when SetDate is called. Some places wouldn't reset _date_fract correctly at all
2010-08-22 09:18:01 +00:00
alberth
e5b703ddf9
(svn r20279) -Doc: Doxygen additions/improvements.
2010-08-01 17:45:53 +00:00
alberth
dc6ed2c2c0
(svn r20279) -Doc: Doxygen additions/improvements.
2010-08-01 17:45:53 +00:00
rubidium
9fd2afb147
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
2010-07-19 17:28:27 +00:00
rubidium
b8487afe54
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
2010-07-19 17:28:27 +00:00
rubidium
6ef7b78c8b
(svn r20191) -Codechange: unVARDEF _tick_counter and move it to a more logical location
2010-07-19 17:24:33 +00:00
rubidium
644deff9d2
(svn r20191) -Codechange: unVARDEF _tick_counter and move it to a more logical location
2010-07-19 17:24:33 +00:00
frosch
d12e364952
(svn r19937) -Codechange: Move some fios related prototypes to fios.h
2010-06-05 19:02:29 +00:00
frosch
13d43b8dab
(svn r19937) -Codechange: Move some fios related prototypes to fios.h
2010-06-05 19:02:29 +00:00
rubidium
a70fd540fc
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
2010-05-13 10:14:29 +00:00
rubidium
062dd0e24c
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
2010-05-13 10:14:29 +00:00
rubidium
e9f60d5d13
(svn r19592) -Fix: don't do the desync debug savegames mid-StateGameLoop; they're increadibly useless (or hard to load correctly) in that case
2010-04-09 16:01:48 +00:00
rubidium
12e75643af
(svn r19592) -Fix: don't do the desync debug savegames mid-StateGameLoop; they're increadibly useless (or hard to load correctly) in that case
2010-04-09 16:01:48 +00:00
frosch
7c727d4c4c
(svn r18433) -Codechange: Show different texts in town GUI when the town does not need food the whole year to grow.
2009-12-08 19:59:21 +00:00
frosch
9dd74395c8
(svn r18433) -Codechange: Show different texts in town GUI when the town does not need food the whole year to grow.
2009-12-08 19:59:21 +00:00
rubidium
da30e736ca
(svn r18330) -Cleanup: remove some unneeded includes
2009-11-28 20:35:25 +00:00
rubidium
b00a5f1069
(svn r18330) -Cleanup: remove some unneeded includes
2009-11-28 20:35:25 +00:00