Age | Commit message (Collapse) | Author |
|
-Add: added general header-inclusing for PSP
|
|
another version.
|
|
DEBUG() to a remote connection over TCP
For example, launch on 192.168.0.1 with, say, netcat a listener: netcat -l -p 3982
Launch OpenTTD on a remote host (say, PSP): ./openttd -l 192.168.0.1 -d9
And you get all debug information on 192.168.0.1. Very useful for debugging Portable systems.
|
|
booleans.
|
|
functions of NetworkTCPSocketHandler.
|
|
functions to Packet.
|
|
and use constructors and functions related to the reading/saving the packet size.
|
|
first seen using 'class' now seen using 'struct'
-Codechange: 'typedef struct Packet' changed to 'struct Packet'
|
|
downloading the map from a game server when connecting from the command prompt and internal console.
|
|
NetworkSocketHandler, so it can also be used the TCP socket handler.
|
|
abstract abstract.
|
|
did not exist anymore and add comments to several variables/functions.
|
|
header.
|
|
because MorphOS wants UBYTE arrays and we use char arrays. Solution is a bit hackish.
|
|
openttd.h, which does not exist in the masterserver/updater.
|
|
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
|
|
GRFIdentifier so it can be reused.
|
|
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.
|
|
classes. This is only one of the many steps to really cleanup the network code.
|
|
pointer to allocated memory instead of modifying the pointer given as parameter
|
|
stillunknown and pv2b.
|
|
renamed to .cpp)
|
|
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.
|
|
to test the new masterserver)
|
|
with the wrong optimisations.
|
|
the network game information request and reply packets.
|
|
|
|
directly.
|
|
|
|
include headers in headers when the header needs types/constants defined in them.
|
|
|
|
to set _network_available only once.
|
|
functions into network/core, so the can be reused in the masterserver_updater.
|
|
NetworkUDPStop to close all opened udp sockets (those were called NetworkUDPClose).
|
|
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.
|
|
both a library and macros.h
we undefines the library one since we don't need that one anyway
|
|
- 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.
|