summaryrefslogtreecommitdiff
path: root/src/network/core
AgeCommit message (Collapse)Author
2007-02-01(svn r8523) -Codechange: move all the Network(Recv|Send)_(uintXX|string) ↵rubidium
functions to Packet.
2007-02-01(svn r8521) -Codechange: initial step in converting Packet to a class; make ↵rubidium
and use constructors and functions related to the reading/saving the packet size.
2007-01-31(svn r8479) -Fix (r8459): Silenced VC warning C4099: 'Packet' : type name ↵KUDr
first seen using 'class' now seen using 'struct' -Codechange: 'typedef struct Packet' changed to 'struct Packet'
2007-01-30(svn r8461) -Feature: check for NewGRF compatability before actually ↵rubidium
downloading the map from a game server when connecting from the command prompt and internal console.
2007-01-30(svn r8459) -Codechange: move (Send|Recv)GRFIdentifier to ↵rubidium
NetworkSocketHandler, so it can also be used the TCP socket handler.
2007-01-28(svn r8446) -Fix (8445): accidentally made a function that should not be ↵rubidium
abstract abstract.
2007-01-28(svn r8445) -Cleanup: remove some @params from comments as the parameters ↵rubidium
did not exist anymore and add comments to several variables/functions.
2007-01-28(svn r8437) -Codechange: move often duplicated (in MSU) define to the udp ↵rubidium
header.
2007-01-26(svn r8411) [MorphOS] -Fix: tons of unneeded warnings in networking code, ↵truelight
because MorphOS wants UBYTE arrays and we use char arrays. Solution is a bit hackish.
2007-01-23(svn r8372) -Fix (8361): NUM_LANDSCAPE comes (via some detour) from ↵rubidium
openttd.h, which does not exist in the masterserver/updater.
2007-01-22(svn r8361) -Codechange: make sure the range of the dates coming from the ↵rubidium
network are valid in OpenTTD -Codechange: use_password is a boolean variable -Codechange: move range checking for server_lang and map_set to Recv_NetworkGameInfo
2007-01-21(svn r8316) -Codechange: move the GRF ID and MD5 checksum from GRFConfig to ↵rubidium
GRFIdentifier so it can be reused.
2007-01-12(svn r8083) -Codechange: make a NetworkSocketHandler as base for all sockets ↵rubidium
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.
2007-01-12(svn r8078) -Codechange: rewrite UDP part of the network code to make use ↵rubidium
classes. This is only one of the many steps to really cleanup the network code.
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)
2007-01-09(svn r8000) -Codechange: drop UDP packets when their internal size does not ↵rubidium
match the received size. If that is the case, the packet was not received in one piece (or got somehow mangled with another packet), which will cause us to drop the packet later on because we are (for example) trying to read beyond the end of the packet.
2007-01-06(svn r7932) -Fix (r7931): committed a few files too much :( (the ones I used ↵rubidium
to test the new masterserver)
2007-01-06(svn r7931) -Fix (r7759): multiple (different) -O flags made compilations ↵rubidium
with the wrong optimisations.
2007-01-05(svn r7888) -Change: add documentation about the 'on-the-wire' structure of ↵rubidium
the network game information request and reply packets.
2007-01-05(svn r7882) -Fix: OS2 is defined as UNIX too, but not for networkingtruelight
2007-01-05(svn r7847) -Codechange: use NetworkUDPClose instead of calling closesocket ↵rubidium
directly.
2007-01-04(svn r7836) -Codechange: some constness for network/core.rubidium
2007-01-04(svn r7834) -Codechange: cleanup the includes of network/core a little; ↵rubidium
include headers in headers when the header needs types/constants defined in them.
2007-01-04(svn r7833) -Fix (r7829): forgot to add debug.h to the includes.rubidium
2007-01-04(svn r7830) -Codechange: let NetworkCoreInitialize return a bool, so we have ↵rubidium
to set _network_available only once.
2007-01-04(svn r7829) -Codechange: move the network (core) initialization/shutdown ↵rubidium
functions into network/core, so the can be reused in the masterserver_updater.
2007-01-04(svn r7825) -Codechange: make NetworkUDPClose close a single UDP socket. Use ↵rubidium
NetworkUDPStop to close all opened udp sockets (those were called NetworkUDPClose).
2007-01-04(svn r7821) -Fix: be more strict about the socket from where packets arrive. ↵rubidium
Do not accept requests about the game server on the master/client socket, do not accept master server acks on the client/server socket, etc.
2007-01-02(svn r7767) -Fix r7751: [OSX] nameclash in includes. ALIGN was defined in ↵bjarni
both a library and macros.h we undefines the library one since we don't need that one anyway
2007-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.