Age | Commit message (Collapse) | Author |
|
include a file missed last time...
|
|
- servers we have information about go above servers we do not have information about.
- servers that are version compatible go above servers we are not version compatible with.
- servers we have all required NewGRFs for go above servers we miss NewGRFs for.
- unpassworded servers go above passworded servers.
|
|
Additionally the test takes O(1) instead of O(n) now
|
|
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.
|