Commit Graph

189 Commits (9071461789405c23a3e5f976ccb29b102b65b39c)

Author SHA1 Message Date
alberth ba5712f211 (svn r20021) -Codechange: Move variable declarations. 14 years ago
alberth 25ae748401 (svn r20020) -Codechange: _script_file is used in only one function. 14 years ago
frosch d12e364952 (svn r19937) -Codechange: Move some fios related prototypes to fios.h 14 years ago
rubidium 0ccd755de6 (svn r19885) -Fix [FS#3761]: allow loading savegames from the console without specifying the ".sav" extension, i.e. make it consistent with saving savegames from the console 14 years ago
smatz 09cb5fff3a (svn r19818) -Fix [FS#3784](r16004): kicking clients by IP didn't work 14 years ago
rubidium 37ced41d6c (svn r19722) -Fix: crash when using restart via rcon. 14 years ago
frosch 395c3ec315 (svn r19515) -Add: Client setting 'gui.newgrf_developer_tools' to enable otherwise hidden features.
-Add: Console command 'reload_newgrfs'; only available when newgrf developer tools are enabled.
14 years ago
frosch b6b1c1c474 (svn r19514) -Codechange: Allow console hooks to deny existance of commands. 14 years ago
smatz 52050197ea (svn r19509) -Codechange: remove superfluous semicolons after function definitions 14 years ago
peter1138 7d9b3ce17a (svn r19374) -Change: Update documentation for console command connect to use ip:port#company parameter format, in line with command line help. 15 years ago
smatz d4c5c2d29a (svn r19085) -Codechange: simplify hooking of console commands 15 years ago
smatz 6582d54700 (svn r19083) -Cleanup: remove support for modifying variables from console 15 years ago
smatz e7278ecf7a (svn r19082) -Codechange: make 'developer' a regular setting 15 years ago
rubidium 1c494c6f71 (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel 15 years ago
smatz 72acd65d4f (svn r19079) -Codechange: use _debug_console_level instead of _stdlib_con_developer 15 years ago
smatz 223aaf88a4 (svn r19077) -Codechange: remove company_pw from console vars 15 years ago
smatz c736bbb875 (svn r19075) -Codechange: unhackify NetworkChangeCompanyPassword() 15 years ago
smatz 85c856a3ac (svn r19074) -Change: when filtering list of settings and console commands, use strstr() instead of strncmp() 15 years ago
matthijs bace545c37 (svn r18979) -Fix: Typo in console save command output. 15 years ago
yexo f5212de089 (svn r18944) -Change [FS#3232]: use the highest version of an AI that can load the AI data from a savegame instead of the exact same version 15 years ago
yexo 504cf35de0 (svn r18943) -Feature [FS#2885]: make it possible to change newgame settings from within a game via the console (use setting_newgame instead of setting) 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 42d7f30dcc (svn r18608) -Change: add the concept of music sets 15 years ago
rubidium 0da7a4dc91 (svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested. 15 years ago
rubidium 1c3a99fe4c (svn r18469) -Fix (r17139): possible invalid reads when listing content on the console 15 years ago
rubidium da30e736ca (svn r18330) -Cleanup: remove some unneeded includes 15 years ago
smatz 8894008ed7 (svn r18155) -Codechange: in MakeScreenshotName(), don't return pointer to local static variable - use global one instead 15 years ago
rubidium 3cd5d566cd (svn r18053) -Codechange: remove the manual pause/unpause limitation with min_active_clients 15 years ago
smatz c7eb1c97dd (svn r17941) -Fix: close BMP file when making screenshot fails 15 years ago
smatz a80f582a8a (svn r17938) -Feature: non-automatic screenshot name can be entered in console 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium ed8788d581 (svn r17682) -Codechange: remove erroneous space before some commas 15 years ago
smatz f85b8c4e09 (svn r17596) -Codechange: constify some tables 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium 2aa84f7973 (svn r17466) -Feature: reconnect console command (based on patch of bilbo) 15 years ago
yexo 8a2e1011b2 (svn r17298) -Fix [FS#3153]: reloading an AI started a new AI in the first available company slot causing other AIs to be started 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium e918be12f2 (svn r17097) -Fix [FS#3092] (r13256): make restart command work again and make the help show how it works and how it doesn't work 15 years ago
rubidium e448ef9d10 (svn r16773) -Fix (r16014): forgot to remove obsoleted aliases 15 years ago
smatz 54cbd17bd8 (svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany() 15 years ago
smatz 795231995d (svn r16432) -Feature(tte): use 'scrollto x y' in console to scroll to tile with given coordinates 15 years ago
rubidium 49235963aa (svn r16420) -Fix [FS#2919]: don't allow content download via the console when there's no zlib as it's done for the GUI already 15 years ago
smatz d6e203ebe2 (svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead 15 years ago
rubidium 789999ecf3 (svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP. 15 years ago
smatz 512db5248e (svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get() 15 years ago
smatz 0c10daa243 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
smatz d495dc5dbc (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
smatz ce7dff4acc (svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
15 years ago
rubidium 241af768f0 (svn r16242) -Codechange: rework pausing
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
15 years ago
yexo 965b8196fb (svn r16176) -Fix: forbid joining AI companies via the 'move' and 'join' console commands. 15 years ago
rubidium 5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
rubidium 875a629aff (svn r16096) -Fix [FS#2849]: connect tried to validate too much of the company ID with too little information on hand 15 years ago
rubidium a76218eab9 (svn r15947) -Codechange: replace uint32 client_ip with NetworkAddress client_address. 15 years ago
rubidium bc7a870a61 (svn r15931) -Codechange: let the host and ban lists use of SmallVector. 15 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
smatz 154b4da4cc (svn r15628) -Fix [FS#2705]: kicking/banning a client from the Client list window crashed the server 16 years ago
yexo 7e818f0456 (svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't hardcode the values for that enum. 16 years ago
rubidium 2b8dd76cfa (svn r15514) -Fix: make the join/spectate command require to be connected to a network game; in SP it could lead to crashes. 16 years ago
rubidium 7603f77f3c (svn r15411) -Feature(ttette): make 'set' a alias for the setting/patch console command 16 years ago
rubidium 283b3d16ab (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
truebrain 150c4da26d (svn r15253) -Fix (r15193): dutch people shouldn't write english :p 16 years ago
rubidium 2722cabcce (svn r15242) -Feature: allow moving clients between companies/spectators by the server and the clients themselves (dihedral) 16 years ago
rubidium 840217d717 (svn r15200) -Feature: give server admins a tool to combat profanity in nick names (based on patch by dihedral) 16 years ago
rubidium d3f428e677 (svn r15193) -Feature: content server/bananas access via the console 16 years ago
rubidium 4aabc91c04 (svn r15157) -Codechange: wrap the hostname/ip and port into a single structure so we can pass either one of them and not convert an ip to a string and then back again. 16 years ago
truebrain a45b3c4304 (svn r15083) -Add [NoAI]: added a console command to reload an AI (requested by Zuu) 16 years ago
truebrain 60d4900381 (svn r15058) -Fix [NoAI]: when using start_ai in console, start the next configured one, not a random (Yexo) 16 years ago
peter1138 c26fd4eacc (svn r15051) -Fix: Only allow creation or deletion of an AI when in a game. 16 years ago
truebrain a2b24a8362 (svn r15043) -Fix: just try to change the AI, and see if that succeeded, instead of hoping you understand the internals of a change AI routine (to avoid possible mistakes in the future) 16 years ago
truebrain c2406cd42d (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 16 years ago
peter1138 4fcf28d9ed (svn r14862) -Fix (r14421): min_players became min_active_clients, not min_clients 16 years ago
smatz 91233ea596 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
rubidium e83cca7d13 (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 16 years ago
rubidium 97662a0fff (svn r14723) -Codechange: shuffling some stuff around to reduce indirect #include dependencies. 16 years ago
rubidium 7403790ba4 (svn r14717) -Change: more 'Index' -> ClientID to not confuse ClientID and ClientIndex 16 years ago
rubidium dbb2950e83 (svn r14716) -Codechange: move more network core querying to the network files. 16 years ago
rubidium d146b48063 (svn r14712) -Codechange: split server and client side w.r.t. the storage of network related company information. 16 years ago
rubidium c393913563 (svn r14711) -Codechange: don't misuse the _network_company_info password field for changing the password on clients. 16 years ago
rubidium 6d23f48bb6 (svn r14709) -Codechange: make a clearer distinction between 'unique' client identification ids and the indices into the clients/client info arrays. 16 years ago
skidd13 9b282b3e51 (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 16 years ago
rubidium e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
rubidium a20b833516 (svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too. 16 years ago
glx 9fa2cbd93e (svn r14041) -Feature(tte): make it possible to filter list_patches output like it's done for other list_* console commands 16 years ago
rubidium cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium 6898a76c5f (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 16 years ago
belugas 496baad3aa (svn r13665) -Fix[FS#2119]: Wrong PlayerID used for sending a message to.Patch by Yexo 16 years ago
rubidium 6d1b927814 (svn r13661) -Fix: server crashing when banning the rconning client. 16 years ago
smatz 1f55797fe3 (svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details 16 years ago
rubidium 994779e9e2 (svn r13369) -Codechange: remove duplication of network configuration settings between NetworkSettings and NetworkGameInfo.
-Fix: failure of changing the server password during games because the password wasn't duplicated properly.
16 years ago
skidd13 f1c954e842 (svn r13359) -Codechange: convert _fios_items to a SmallVector
-Cleanup: some reincarnations of _fios_items in the code
16 years ago
rubidium bae02e8c67 (svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers. 16 years ago
rubidium 8cc39500ba (svn r13341) -Codechange: make most of the network settings configurable via the patch command. 16 years ago
rubidium 02dbab8721 (svn r13334) -Codechange: move the network settings variables from network/network_internal to settings. 16 years ago
rubidium e7a501100a (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 16 years ago
rubidium dc77647ea4 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
16 years ago
rubidium 080af12d8b (svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums. 16 years ago
rubidium bf3b61cfa3 (svn r13228) -Codechange: split console.h. 16 years ago