rubidium
a6146f5f51
(svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested.
15 years ago
rubidium
510f8a9122
(svn r18469) -Fix (r17139): possible invalid reads when listing content on the console
15 years ago
rubidium
b00a5f1069
(svn r18330) -Cleanup: remove some unneeded includes
15 years ago
smatz
4eaa558ca1
(svn r18155) -Codechange: in MakeScreenshotName(), don't return pointer to local static variable - use global one instead
15 years ago
rubidium
64ecceadda
(svn r18053) -Codechange: remove the manual pause/unpause limitation with min_active_clients
15 years ago
smatz
d87c032e52
(svn r17941) -Fix: close BMP file when making screenshot fails
15 years ago
smatz
090c762921
(svn r17938) -Feature: non-automatic screenshot name can be entered in console
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
e9624fe0cc
(svn r17682) -Codechange: remove erroneous space before some commas
15 years ago
smatz
114d48e492
(svn r17596) -Codechange: constify some tables
15 years ago
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
rubidium
673df8c5c7
(svn r17466) -Feature: reconnect console command (based on patch of bilbo)
15 years ago
yexo
f548a1b3b3
(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
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
ba4fd897b8
(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
113f5b402d
(svn r16773) -Fix (r16014): forgot to remove obsoleted aliases
15 years ago
smatz
22cf8d8480
(svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany()
16 years ago
smatz
55225433c4
(svn r16432) -Feature(tte): use 'scrollto x y' in console to scroll to tile with given coordinates
16 years ago
rubidium
36e71c8df6
(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
16 years ago
smatz
10d1ef5447
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
16 years ago
rubidium
9f4d64bda0
(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.
16 years ago
smatz
8808f3beea
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
16 years ago
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
smatz
f5316c5cbd
(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
16 years ago
rubidium
2664f2a2d9
(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
16 years ago
yexo
52b95bdc96
(svn r16176) -Fix: forbid joining AI companies via the 'move' and 'join' console commands.
16 years ago
rubidium
59d45a04d6
(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.
16 years ago
rubidium
0068629432
(svn r16096) -Fix [FS#2849]: connect tried to validate too much of the company ID with too little information on hand
16 years ago
rubidium
c9ebf14ba5
(svn r15947) -Codechange: replace uint32 client_ip with NetworkAddress client_address.
16 years ago
rubidium
89d0eca6b7
(svn r15931) -Codechange: let the host and ban lists use of SmallVector.
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
smatz
f3ed8268b6
(svn r15628) -Fix [FS#2705]: kicking/banning a client from the Client list window crashed the server
16 years ago
yexo
3bb872e7dd
(svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't hardcode the values for that enum.
16 years ago
rubidium
3e1664aff1
(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
dcb3a9ac51
(svn r15411) -Feature(ttette): make 'set' a alias for the setting/patch console command
16 years ago
rubidium
377ce6c5bf
(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
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
truebrain
ba397634fd
(svn r15253) -Fix (r15193): dutch people shouldn't write english :p
16 years ago
rubidium
04709f2798
(svn r15242) -Feature: allow moving clients between companies/spectators by the server and the clients themselves (dihedral)
16 years ago
rubidium
f2777cd02d
(svn r15200) -Feature: give server admins a tool to combat profanity in nick names (based on patch by dihedral)
16 years ago
rubidium
c8a7135d6c
(svn r15193) -Feature: content server/bananas access via the console
16 years ago
rubidium
5f3772a42c
(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
a483ddf7ae
(svn r15083) -Add [NoAI]: added a console command to reload an AI (requested by Zuu)
16 years ago
truebrain
405239758e
(svn r15058) -Fix [NoAI]: when using start_ai in console, start the next configured one, not a random (Yexo)
16 years ago
peter1138
f0e6eeb57d
(svn r15051) -Fix: Only allow creation or deletion of an AI when in a game.
16 years ago
truebrain
2462e8dc9d
(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
a3dd7506d3
(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
11da45ee55
(svn r14949) -Cleanup: pointer coding style
16 years ago
peter1138
680175fea0
(svn r14862) -Fix (r14421): min_players became min_active_clients, not min_clients
16 years ago
smatz
7368c740a6
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago
rubidium
87e5a8b52b
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
16 years ago
rubidium
9476a49763
(svn r14723) -Codechange: shuffling some stuff around to reduce indirect #include dependencies.
16 years ago
rubidium
f49cc67f83
(svn r14717) -Change: more 'Index' -> ClientID to not confuse ClientID and ClientIndex
16 years ago
rubidium
573d1b324a
(svn r14716) -Codechange: move more network core querying to the network files.
16 years ago
rubidium
abc903d625
(svn r14712) -Codechange: split server and client side w.r.t. the storage of network related company information.
16 years ago
rubidium
e6e32bad4d
(svn r14711) -Codechange: don't misuse the _network_company_info password field for changing the password on clients.
16 years ago
rubidium
782b80eff7
(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
706dd0f86c
(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
16 years ago
rubidium
b650a86e58
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
16 years ago
rubidium
3b798599b6
(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
ea1f180a55
(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
16aac30c66
(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
3a799389eb
(svn r13731) -Codechange: make a pool of the array of players.
16 years ago
rubidium
d06529ef4d
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
16 years ago
belugas
ac3896feaf
(svn r13665) -Fix[FS#2119]: Wrong PlayerID used for sending a message to.Patch by Yexo
17 years ago
rubidium
6a216ee4f6
(svn r13661) -Fix: server crashing when banning the rconning client.
17 years ago
smatz
c7a9637834
(svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details
17 years ago
rubidium
abf2b0efc3
(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.
17 years ago
skidd13
8a40ca49c6
(svn r13359) -Codechange: convert _fios_items to a SmallVector
...
-Cleanup: some reincarnations of _fios_items in the code
17 years ago
rubidium
2f3b88ef9a
(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.
17 years ago
rubidium
00ccb1dc33
(svn r13341) -Codechange: make most of the network settings configurable via the patch command.
17 years ago
rubidium
c33164831d
(svn r13334) -Codechange: move the network settings variables from network/network_internal to settings.
17 years ago
rubidium
923e21129c
(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.
17 years ago
rubidium
4625695653
(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.
17 years ago
rubidium
6884f9cb41
(svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums.
17 years ago
rubidium
6c20f77330
(svn r13228) -Codechange: split console.h.
17 years ago
rubidium
976f86e7a7
(svn r13137) -Fix: do not send rcon commands of the server to the first client but do directly execute those on the server.
17 years ago
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
rubidium
ef2be7d0fc
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
17 years ago
peter1138
1bcc1927b1
(svn r12079) -Fix: Use search paths when opening console scripts.
17 years ago
rubidium
dc87b05e8c
(svn r11834) -Codechange: only include settings_type.h if needed.
17 years ago
rubidium
079abbd04b
(svn r11829) -Feature: allow reloading openttd.cfg when starting a new game on a dedicated server. Patch by dihedral.
17 years ago
rubidium
d4e6a6bf57
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
17 years ago
rubidium
ac528411df
(svn r11818) -Codechange: split player.h into smaller pieces.
17 years ago
rubidium
b4b3190b62
(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...
17 years ago
rubidium
a3ccdcea36
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
17 years ago
rubidium
acc7c9eb01
(svn r11771) -Codechange: split settings.h into better separated headers.
17 years ago
rubidium
384503e7d3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
17 years ago
rubidium
b9046c97fb
(svn r11702) -Codechange: move all date related stuff to date*.
17 years ago
rubidium
2786d789a1
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
17 years ago
rubidium
429521a7d1
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
8f0e68285b
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
17 years ago
rubidium
9e9cfe6e59
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
17 years ago
rubidium
433a9f3c09
(svn r11675) -Codechange: split the string types from the string functions.
17 years ago
rubidium
b5a902703e
(svn r11557) -Codechange: send and store the passwords a little more secure to/in the servers.
...
Each server and game yield a (usually) different 'salt'. This salt is used by the clients to hash their passwords. This way the passwords are not sent in clear text and it is not trivial to use those hashes on other servers.
NOTE: It is still NOT safe to use your trusted passwords and it will not stop people from being able to 'hijack' your password, it only makes it harder to do and certainly much less trivial than just dumping passwords from the memory.
17 years ago
skidd13
bf959f926f
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
17 years ago
rubidium
7305a1f1fe
(svn r11452) -Change: do not allow configuration changes, that NewGRFs can directly use to change their behaviour, during network games as this can cause desyncs.
17 years ago
rubidium
8212088c03
(svn r11312) -Codechange: implement a overflow safe integer and use that for money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
17 years ago
rubidium
41b3c86d8e
(svn r11260) -Codechange: replace a magic number by a less magic enumified constant. Patch by ammler.
17 years ago
glx
8367e16809
(svn r10658) -Add: support for autosave_on_exit in the console, so dedicated servers can use it
17 years ago
rubidium
7f8535526b
(svn r10312) -Fix (r10210): the 64 values in the 'players' console command were not printed properly; they did even "overflow" into the next to-be-printed values.
18 years ago
rubidium
347c28b71a
(svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
...
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
18 years ago
rubidium
112f05e705
(svn r10137) -Add: console command to get the current game date.
18 years ago
rubidium
b76cc8c96b
(svn r9784) -Codechange: remove unused variable.
18 years ago
peter1138
c584b7a401
(svn r9771) -Feature: (-tte) Add password protected status to 'players' (network server) console command. (mostly dihedral)
18 years ago
maedhros
ccaaa7d33a
(svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist.
18 years ago
peter1138
39f92d1f21
(svn r9565) -Feature: Add list_patches console command. This shows all patches along with their current values. Based on patch by madman2003/GrimRC.
18 years ago
rubidium
ce919e8c71
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
18 years ago
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
18 years ago
rubidium
a2b5b74b83
(svn r9038) -Fix [FS#115]: inactive connections are not automatically kicked, i.e. people who only open a telnet (or similar) connection to a server.
18 years ago
truelight
43133c766c
(svn r9034) -Codechange: renamed _pause to _pause_game, as some targets already have
...
a symbol called _pause (and therefor our variable conflicts with
thatone. We shouldn't be using _ as global indicator.....)
18 years ago
belugas
6d199fcdb7
(svn r8859) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
18 years ago
rubidium
f66b373b52
(svn r8083) -Codechange: make a NetworkSocketHandler as base for all sockets and move a little of NetworkClientState functionality to the NetworkSocketHandler. Move the rest of the NetworkClientState to the new NetworkTCPSocketHandler class/struct, which is not yet implemented in an object oriented manner. The UDP socket handler now extends the NetworkSocketHandler instead of having a reference to a NetworkClientState.
18 years ago
rubidium
f35ed4bbc2
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
18 years ago
KUDr
e373ea7096
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
18 years ago