summaryrefslogtreecommitdiff
path: root/src/network
AgeCommit message (Collapse)Author
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
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
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-09(svn r14944) -Cleanup: add spaces around some operatorsrubidium
2009-01-09(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with ↵rubidium
spaces
2009-01-08(svn r14927) -Codechange: constify widget numbers in network chat gui.belugas
2009-01-08(svn r14916) -Codechange: make it possible to send CommandContainers ↵rubidium
directly to DoCommand(P).
2009-01-08(svn r14915) -Codechange: unify the receiving and sending of commands, and ↵rubidium
thus unifying most of the validity checking too.
2009-01-08(svn r14914) -Documentation: Correct doxygen comment for file name. ↵belugas
<nitpicked> by Swallow
2009-01-08(svn r14910) -Codechange: merge the command queue handling into a single ↵rubidium
location
2009-01-07(svn r14898) -Fix (r14897): ccache's caching seems to be a bit too agressive ↵rubidium
or so.
2009-01-07(svn r14897) -Codechange: don't allow a few command flags to be sent over ↵rubidium
the network as it's bogus information anyway; e.g. the "do not send over network" flag as it will be set whenever the command is received from the server/client. -Codechange: test earlier whether the command (send from the server) is actually valid.
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2009-01-03(svn r14816) -Fix: signed/unsigned warnings (MSVC)glx
2009-01-03(svn r14804) -Codechange: unify opening the OSK (Zuu)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-29(svn r14771) -Fix (r14764): resolving of error types to error messages kinda ↵rubidium
failed :(
2008-12-29(svn r14770) -Fix: gracefully handle an invalid packet instead of asserting.rubidium
2008-12-29(svn r14766) -Fix (r14730ish): remove unused typedef.rubidium
2008-12-29(svn r14764) -Codechange: make the '***' chat messages like "Game paused ↵rubidium
(not enough players)" fully translateable.
2008-12-28(svn r14760) -Fix (rlongago): network connection of clients being closed ↵rubidium
twice (found due to added assertion in r14730)
2008-12-28(svn r14759) -Fix (r14730): tab completion causing out-of-bounds read.rubidium
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-12-24(svn r14735) -Codechange: remove a bit of bit-waste in the map array ↵rubidium
(without changing the map array) and make the CompanyIDs contiguous. -Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.
2008-12-24(svn r14733) -Fix (r14730): creating new companies didn't always work as ↵rubidium
expected.
2008-12-23(svn r14731) -Fix: don't initialise UDP multiple times without closing it.rubidium
2008-12-23(svn r14730) -Codechange: remove the need for networkclientsockets and ↵rubidium
networkclientinfo structs to be in a contiguous piece of memory and put them in a pool. -Note: 255 should really be enough for now... making it any more means network protocol bumps.
2008-12-23(svn r14728) -Fix [FS#2470]: don't select anything when opening the client list.rubidium
-Fix: don't show clients that are "only" in the lobby.
2008-12-23(svn r14727) -Codechange: replace some magic numbers with a constant.rubidium
2008-12-23(svn r14726) -Fix (r14720): making new companies in network kinda failed...rubidium
2008-12-23(svn r14725) -Change: make it clearer why (and that) MAX_CLIENTS isn't the ↵rubidium
amount of slots in the array, but one less as a dedicated server takes a slot too.
2008-12-23(svn r14724) -Codechange: move some NetworkClientSocket related ↵rubidium
function/definitions closer together.
2008-12-23(svn r14723) -Codechange: shuffling some stuff around to reduce indirect ↵rubidium
#include dependencies.
2008-12-23(svn r14722) -Codechange: s/DEREF_CLIENT/GetNetworkClientSocket/rubidium
2008-12-23(svn r14721) -Codechange: s/NetworkTCPSocketHandler/NetworkClientSocket/ as ↵rubidium
it's (way) more descriptive what it's used for.
2008-12-23(svn r14720) -Codechange: s/FOR_ALL_CLIENTS/FOR_ALL_CLIENT_SOCKETS/ as the ↵rubidium
latter describes the name more precisely.
2008-12-23(svn r14719) -Codechange: replace DEREF_CLIENT with an instance function and ↵rubidium
replace looping socket structs with info structs when the loop is only interested in the info structs (i.e. not derefing the info from sockets when one can loop info directly and the socket isn't used)
2008-12-22(svn r14718) -Change: remove some direct network core variable accesses from ↵rubidium
non-network locations.
2008-12-22(svn r14717) -Change: more 'Index' -> ClientID to not confuse ClientID and ↵rubidium
ClientIndex
2008-12-22(svn r14716) -Codechange: move more network core querying to the network files.rubidium
2008-12-22(svn r14715) -Codechange: move some network code from the main gui file into ↵rubidium
one of the the network files.
2008-12-22(svn r14714) -Codechange: only allocate the company network "state" ↵rubidium
variables (password/months not used) when needed, i.e. only for servers.
2008-12-22(svn r14712) -Codechange: split server and client side w.r.t. the storage of ↵rubidium
network related company information.
2008-12-22(svn r14711) -Codechange: don't misuse the _network_company_info password ↵rubidium
field for changing the password on clients.
2008-12-22(svn r14710) -Change: simplify sending company information from the server ↵rubidium
to the client.
2008-12-22(svn r14709) -Codechange: make a clearer distinction between 'unique' client ↵rubidium
identification ids and the indices into the clients/client info arrays.
2008-12-16(svn r14679) -Fix [FS#2431]: opening the OSK on the chatbox did disable map ↵rubidium
scrolling (with keyboard) until another window with editbox was opened and closed. Just "refcount" the open edit boxes instead of setting/clearing a bit when opening/closing a window.
2008-12-13(svn r14671) -Fix: compilation was broken for some systemssmatz
2008-11-17(svn r14588) -Fix [FS#2414]: the range for kicking/banning clients is based ↵rubidium
on the maximum number of clients, not the maximum number of companies.
2008-11-04(svn r14564) -Fix (r14555): one more incorrect use of lastof()smatz
2008-11-03(svn r14560) -Fix [FS#2396](r14555): lengthof() can't be simply replaced by ↵smatz
lastof() in some cases (part by Aali)