summaryrefslogtreecommitdiff
path: root/console_cmds.c
AgeCommit message (Collapse)Author
2006-08-15(svn r5916) -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and ↵rubidium
BASE_YEAR when comparing _cur_year with a 'full' year. -Cleanup: replace some magic '1920' values with BASE_YEAR.
2006-08-15(svn r5915) -Cleanup: some variables were named *_date while they were only ↵rubidium
holding years; rename these variables to match this.
2006-08-15(svn r5909) -Fix (r5908): silence signedness warningrubidium
2006-08-15(svn r5908) - Codechange (r5903): Move the retrieval of the new value of a ↵Darkvater
patch to console_cmds.c, so there is no need for that function in settings.c
2006-08-14(svn r5887) -Cleanup: move date related functions, defines and variables to ↵rubidium
date.[ch] -Cleanup: fix whitespace related coding style issues in date.[ch] -Cleanup: make original comments doxygen compatible and remove/change outdated comments
2006-08-05(svn r5767) - Cleanup: Improve upon the header file mess regarding fios. ↵Darkvater
Move all relevant types from hal.h into fios.h, eliminate the unneccessary passing of a global variable, and extern variables in header files (declare in fios.c and misc_gui.c
2006-07-28(svn r5626) CodeChange : Remove the global _make_screenshot and implement a ↵belugas
more flexible mechanism Simplification of the handling of the main_gui menus, Removal of repetitions and Hiding the internals of screenshots. Thanks to glx, Rubidium and Truelight for pointers
2006-06-28(svn r5400) Typo in 5391, spotted by peter1138tron
2006-06-27(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectaculartron
2006-06-14(svn r5265) Replace a dozen bogus uses of strncmp() by strcmp()tron
2006-06-14(svn r5264) -Fix: The wrong IP could get unbanned, e.g. 'unban 1.2.3.42' ↵tron
could result in unbanning 1.2.3.4
2006-05-16(svn r4889) - Codechange: added vehicle count in 'players' console commandglx
2006-05-15(svn r4876) - Fix: company value is an int64, so display it correctly in ↵glx
'players' console command
2006-05-14(svn r4871) - Fixed off-by-one and added company color displaying in ↵glx
'players' console command.
2006-05-11(svn r4828) -Feature (FS#150) Add a new console command "players" that lists ↵celestar
current players along with basic stats (ledow)
2006-04-23(svn r4558) - Fix: 'stopall' was moved to debug, so move the function there ↵Darkvater
as well.
2006-04-22(svn r4518) - Fix: specify the 'stopall' console command as a debug command. ↵Darkvater
Mostly because stopped airplanes in mid-air 1. look funny 2. won't ever budge again. (change of r2449)
2006-04-03(svn r4259) -[multistop] Fix/Feature/Codechange:celestar
1) Improved the road vehicle allocation (aka slotting) for multistop. Stops can now accept unlimited, er... 256, vehicles. 2) Removed the "wait for stop" feature, because it did not work in practise. 3) Slotting now ignores unreachable stations. Uses NPF at the moment because the old pathfinder cannot do it (yet) 4) Now matter how many vehicles approach a station, they will always be distributed evenly over existing stops. 5) Hopefully the last fundamental change to multistop
2006-03-18(svn r3939) -Fix: No longer assume that the number of slots is 2. It was not ↵celestar
a problem up to now, but it's not The Right Thing (TM) to do either
2006-03-02(svn r3730) Multistop modifications:celestar
-Codechange: Completely rewritten the slot assignment system. It now consumes less CPU cycles and memory -Codechange: Increased maximum number of roadstops to 16. -Fix: Several conditions where a slot becomes unliked from a vehicle -Codechange: ClearSlot now only takes one parameter, the vehicle -Feature: Console command 'clearslots' to clear ALL currently assinged slots. debug usage only -Feature: vehicles that cannot get a slot now wait on the road instead of planlessly blocking stops or circling around -Codechange: Adjusted debug levels TODO: Make the slot finder compatible with (a) pathfinder(s).
2006-03-02(svn r3724) - [5.5/6] heh, the patch part got left out of the previous ↵Darkvater
commit, sorry
2006-02-11(svn r3593) Fix typo in r3591peter1138
2006-02-11(svn r3591) - Fix: validate the setting of max_companies/spectators through ↵Darkvater
the console.
2006-01-31(svn r3500) - Workaround the inaccurate count of spectators/companies that ↵Darkvater
can happen in certain border-cases. For now just dynamically get this value when requested so it is always right. To do properly all player/client creation/destruction needs a hook for networking.
2006-01-29(svn r3469) - Fix: plug a possible memleak with subsequential strdup's ↵Darkvater
without freeing the previous value and make it possible to ban offline clients
2006-01-25(svn r3428) - Feature: server_info was left out previous commit. Move some ↵Darkvater
commands about a bit for better logical placement
2006-01-25(svn r3427) - Feature: Allow seeing and setting the maximum amount of ↵Darkvater
companies and spectators for a server. This can be changed/viewed during runtime as well in the console.
2006-01-19(svn r3411) - Fix: When changing the server password via the console, ↵peter1138
actually set the password as well as flag whether it is required.
2006-01-19(svn r3408) - Ok, compile before you commit; sorry (fix previous commit)Darkvater
2006-01-19(svn r3407) - Feature: Kick and ban now with IP numbers.Darkvater
2005-10-19(svn r3070) - it doesn't matter where the '.' is found for the IP, if it is ↵Darkvater
found, it is not a normal index when unbanning clients ('\0' should of course be NULL); thx Tron
2005-10-19(svn r3069) - CodeChange: now that we have the '|' char, use that as a ↵Darkvater
seperator instead of '\' as was originally intention
2005-10-19(svn r3068) - Feature: make it possible to create a screenshot from the ↵Darkvater
console that is both big and has no console, or any combination of.
2005-10-19(svn r3067) - Feature: allow unbanning players based on banlist-id (as well ↵Darkvater
as IP). - Feature: 'status' and 'clients' now show the IP of the players
2005-09-26(svn r2987) -Fix: restart_game_date is an UINT16, not a BYTE. Now setting ↵tron
the game restart year via the console should work (Debolaz)
2005-09-11(svn r2945) Add 'del' alias to rm console commandDarkvater
2005-09-11(svn r2941) -Feature: Implement the console command rm to remove savegamestron
2005-08-28(svn r2899) -Fix: Several format string vulnerabilities and buffer overflows ↵tron
in the network code
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-22(svn r2672) Move saving/loading related declarations to saveload.htron
2005-07-17(svn r2609) - Feature: remove extension from savegames/scenarios when ↵Darkvater
browsing the folders.
2005-07-08(svn r2535) Tabstron
2005-06-30(svn r2498) -Fix: [1230241] The console variable autoclean_unprotected was ↵tron
linked to the variable _network_autoclean_protected
2005-06-21(svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayercelestar
2005-06-16(svn r2449) * Added an extra warning to the stopall command, "For debugging ↵matthijs
only!".
2005-06-16(svn r2445) * Add: "stopall" console command, which forcibly stops all ↵matthijs
vehicles (useful for debugging).
2005-06-02(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.Darkvater
2005-05-28(svn r2375) - CodeChange: add the newly added 'all' of server_ip to it's ↵Darkvater
helptext.
2005-05-28(svn r2374) - CodeChange: giving server_ip a value of 'all' will make the ↵Darkvater
server listen on any interface (0.0.0.0); also fix a typo in one of the script example files: s/ports/interfaces
2005-05-28(svn r2372) - Fix (console): update the example scripts in the scripts/ ↵Darkvater
directory to reflect the new console functionality - Fix (console): any line starting with a '#' is a comment so ignore it - Fix (console): The special variables whose value can only be set by a custom process should, also print out their newly set value there, instead of relying on the default printout which is slightly confusing. Eg after you change the value it still printed out 'current value for...' instead of 'XXX changed to...'