are now using TCP, we should not be missing any droids. See patch #927 for
discussion.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3745 4a71c877-e1ca-e34f-864e-861f7616d084
* Don't maintain player stats in lib/netplay/netplay.c; instead maintain them in src/multistat.c
* Add a new net message type (NET_PLAYER_STATS) to exchange player stats
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3661 4a71c877-e1ca-e34f-864e-861f7616d084
* Port (recv|send)Beacon over to the new networking API
Patch #924 by Buginator and some modifications by me
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3426 4a71c877-e1ca-e34f-864e-861f7616d084
related game parameters. Also fix savegame incompatibility introduced
in a previous commit (will break savegames made in last few revisions).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3272 4a71c877-e1ca-e34f-864e-861f7616d084
whose return must be checked, and fix one bug already detected by it.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3260 4a71c877-e1ca-e34f-864e-861f7616d084
* Add a large amount of serializeX/deserializeX functions for the different savegame versions
* Use uintX_t instead of the *WORD series of variables for structures that'll be saved out to disk (only those directly related to savegame code right now)
* Make the save&load functions in game.c use the serialization and deserialization series of functions (this is also directly from a file rather than an intermediate in-memory buffer)
* Remove function endian_SaveGameV since endian swapping is being dealt with by the (de)serialization functions
* This commit changes the *.gam files from little endian to big endian, so expect loading of previous savegames to break
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2416 4a71c877-e1ca-e34f-864e-861f7616d084
of alliances in this mode, and always add scavengers. Note that this mode
will not work if there are eight human players, and I do not know exactly
what will happen in this case. A check to remove scavengers has been added,
but not tested. The problem is of course that scavengers need a player, too.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2158 4a71c877-e1ca-e34f-864e-861f7616d084
functionality in the skirmish game mode, so it is not necessary.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2155 4a71c877-e1ca-e34f-864e-861f7616d084
the most network bandwidth. Look in in the netplay.log file for this info.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2113 4a71c877-e1ca-e34f-864e-861f7616d084
* remove commented out functions (which where only used by commented out code if they where used at all, removed that code as well)
* movement stuff:
- moveShuffleInit (// Initialize a droid for a shuffle move)
- moveCalcVector (// Calculate the normalised vector between a droid and a point)
* waypoint stuff:
- orderAddWayPoint (// Append a new waypoint to a droid's list)
- orderSelectedWaypoint (// Add a new waypoint to selected droid set)
- SendSingleDroidWaypoint (// Occasionally need to send non selected waypoints ??)
- recvDroidWayPoint (// recv)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1738 4a71c877-e1ca-e34f-864e-861f7616d084
- replace slider numbers spread out in the code with define
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1731 4a71c877-e1ca-e34f-864e-861f7616d084
- Vector3i from lib/ivis also used in lib/audio, maybe want to move it to some more generic place?
- Replace iPoint with Vector2i
- Remove additional integer type declarations from pietypes.h
- Rename all iSprite to iTexture
- Various warning fixes: Unsigned/signed comparisons, uninitialized variables, declared but not defined symbols
- Replace DEBUG_BLOCK with DEBUG_MALLOC (it was virtually the same)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1245 4a71c877-e1ca-e34f-864e-861f7616d084
- Remove lots of unused functions (Windows/DDraw related)
- Now store the used bitdepth in the config and thus make it configurable without having to modify the sourcecode
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@808 4a71c877-e1ca-e34f-864e-861f7616d084