Now build pldnet.c
This commit is contained in:
parent
1aed07b16a
commit
7647c9d8af
7 changed files with 215 additions and 1222 deletions
226
src/stubs.c
226
src/stubs.c
|
@ -432,230 +432,4 @@ void dx_line_log(int line, char const * file)
|
|||
fprintf(stderr, "dx_line_log: %s/%d\n", file, line);
|
||||
}
|
||||
|
||||
|
||||
/* pldnet.c */
|
||||
MULTIPLAYER_START* marineStartPositions=0;
|
||||
MULTIPLAYER_START* predatorStartPositions=0;
|
||||
MULTIPLAYER_START* alienStartPositions=0;
|
||||
int numMarineStartPos=0;
|
||||
int numPredatorStartPos=0;
|
||||
int numAlienStartPos=0;
|
||||
NETGAME_GAMEDATA netGameData; /* TODO: this constant is initialized in pldnet.c */
|
||||
DPID myIgniterId = 0;
|
||||
DPID myNetworkKillerId = 0;
|
||||
int ShowMultiplayerScoreTimer=0;
|
||||
int MyHitBodyPartId=-1;
|
||||
DPID MultiplayerObservedPlayer=0;
|
||||
DPID AVPDPNetID;
|
||||
|
||||
BOOL AreThereAnyLivesLeft()
|
||||
{
|
||||
fprintf(stderr, "AreThereAnyLivesLeft()\n");
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void TurnOffMultiplayerObserveMode()
|
||||
{
|
||||
fprintf(stderr, "TurnOffMultiplayerObserveMode()\n");
|
||||
}
|
||||
|
||||
void TransmitPlayerLeavingNetMsg()
|
||||
{
|
||||
fprintf(stderr, "TransmitPlayerLeavingNetMsg()\n");
|
||||
}
|
||||
|
||||
void TransmitEndOfGameNetMsg()
|
||||
{
|
||||
fprintf(stderr, "TransmitEndOfGameNetMsg()\n");
|
||||
}
|
||||
|
||||
void TeleportNetPlayerToAStartingPosition(STRATEGYBLOCK *playerSbPtr, int startOfGame)
|
||||
{
|
||||
fprintf(stderr, "TeleportNetPlayerToAStartingPosition(%p, %d)\n", playerSbPtr, startOfGame);
|
||||
}
|
||||
|
||||
void SpeciesTag_DetermineMyNextCharacterType()
|
||||
{
|
||||
fprintf(stderr, "SpeciesTag_DetermineMyNextCharacterType()\n");
|
||||
}
|
||||
|
||||
void ShowNearestPlayersName()
|
||||
{
|
||||
fprintf(stderr, "ShowNearestPlayersName()\n");
|
||||
}
|
||||
|
||||
void RestartNetworkGame(int seed)
|
||||
{
|
||||
fprintf(stderr, "RestartNetworkGame(%d)\n", seed);
|
||||
}
|
||||
|
||||
int PlayerIdInPlayerList(DPID Id)
|
||||
{
|
||||
fprintf(stderr, "PlayerIdInPlayerList(%d)\n", Id);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void NetSendMessages()
|
||||
{
|
||||
fprintf(stderr, "NetSendMessages()\n");
|
||||
}
|
||||
|
||||
void NetCollectMessages()
|
||||
{
|
||||
fprintf(stderr, "NetCollectMessages()\n");
|
||||
}
|
||||
|
||||
void GetNextMultiplayerObservedPlayer()
|
||||
{
|
||||
fprintf(stderr, "GetNextMultiplayerObservedPlayer()\n");
|
||||
}
|
||||
|
||||
void DoMultiplayerSpecificHud()
|
||||
{
|
||||
fprintf(stderr, "DoMultiplayerSpecificHud()\n");
|
||||
}
|
||||
|
||||
void AddNetMsg_AlienAIKilled(STRATEGYBLOCK *sbPtr,int death_code,int death_time, int GibbFactor,DAMAGE_PROFILE* damage)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_AlienAIKilled(%p, %d, %d, %d, %p)\n", sbPtr, death_code, death_time, GibbFactor, damage);
|
||||
}
|
||||
|
||||
void AddNetMsg_AlienAISeqChange(STRATEGYBLOCK *sbPtr,int sequence_type,int sub_sequence,int sequence_length,int tweening_time)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_AlienAISeqChange(%p, %d, %d, %d, %d)\n", sbPtr, sequence_type, sub_sequence, sequence_length, tweening_time);
|
||||
}
|
||||
|
||||
void AddNetMsg_ChatBroadcast(char *string,BOOL same_species_only)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_ChatBroadcast(%s, %d)\n", string, same_species_only);
|
||||
}
|
||||
|
||||
void AddNetMsg_CreateWeapon(char* objectName,int type,VECTORCH* location)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_CreateWeapon(%s, %d, %p)\n", objectName, type, location);
|
||||
}
|
||||
|
||||
void AddNetMsg_FarAlienPosition(STRATEGYBLOCK* sbPtr,int targetModuleIndex,int index,BOOL indexIsModuleIndex)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_FarAlienPosition(%p, %d, %d, %d)\n", sbPtr, targetModuleIndex, index, indexIsModuleIndex);
|
||||
}
|
||||
|
||||
void AddNetMsg_GhostHierarchyDamaged(STRATEGYBLOCK *sbPtr, DAMAGE_PROFILE *damage, int multiple, int sectionID,VECTORCH* incoming)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_GhostHierarchyDamaged(%p, %p, %d, %d, %p)\n", sbPtr, damage, multiple, sectionID, incoming);
|
||||
}
|
||||
|
||||
void AddNetMsg_Gibbing(STRATEGYBLOCK *sbPtr,int gibbFactor,int seed)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_Gibbing(%p, %d, %d)\n", sbPtr, gibbFactor, seed);
|
||||
}
|
||||
|
||||
void AddNetMsg_InanimateObjectDamaged(STRATEGYBLOCK *sbPtr, DAMAGE_PROFILE *damage, int multiple)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_InanimateObjectDamaged(%p, %p, %d)\n", sbPtr, damage, multiple);
|
||||
}
|
||||
|
||||
void AddNetMsg_InanimateObjectDestroyed(STRATEGYBLOCK *sbPtr)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_InanimateObjectDestroyed(%p)\n", sbPtr);
|
||||
}
|
||||
|
||||
void AddNetMsg_LOSRequestBinarySwitch(STRATEGYBLOCK *sbPtr)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_LOSRequestBinarySwitch(%p)\n", sbPtr);
|
||||
}
|
||||
|
||||
void AddNetMsg_LocalObjectDamaged(STRATEGYBLOCK *sbPtr, DAMAGE_PROFILE *damage,int multiple, int sectionID,int delta_seq,int delta_sub_seq,VECTORCH* incoming)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_LocalObjectDamaged(%p, %p, %d, %d, %d, %d, %p)\n", sbPtr, damage, multiple, sectionID, delta_seq, delta_sub_seq, incoming);
|
||||
}
|
||||
|
||||
void AddNetMsg_LocalObjectDestroyed(STRATEGYBLOCK *sbPtr)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_LocalObjectDestroyed(%p)\n", sbPtr);
|
||||
}
|
||||
|
||||
void AddNetMsg_LocalObjectDestroyed_Request(STRATEGYBLOCK *sbPtr)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_LocalObjectDestroyed_Request(%p)\n", sbPtr);
|
||||
}
|
||||
|
||||
void AddNetMsg_LocalObjectOnFire(STRATEGYBLOCK *sbPtr)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_LocalObjectOnFire(%p)\n", sbPtr);
|
||||
}
|
||||
|
||||
void AddNetMsg_LocalObjectState(STRATEGYBLOCK *sbPtr)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_LocalObjectState(%p)\n", sbPtr);
|
||||
}
|
||||
|
||||
void AddNetMsg_MakeDecal(enum DECAL_ID decalID, VECTORCH *normalPtr, VECTORCH *positionPtr, int moduleIndex)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_MakeDecal(%d, %p, %p, %d)\n", decalID, normalPtr, positionPtr, moduleIndex);
|
||||
}
|
||||
|
||||
void AddNetMsg_MakeExplosion(VECTORCH *positionPtr, enum EXPLOSION_ID explosionID)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_MakeExplosion(%p, %d)\n", positionPtr, explosionID);
|
||||
}
|
||||
|
||||
void AddNetMsg_MakeFlechetteExplosion(VECTORCH *positionPtr, int seed)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_MakeFlechetteExplosion(%p, %d)\n", positionPtr, seed);
|
||||
}
|
||||
|
||||
void AddNetMsg_MakePlasmaExplosion(VECTORCH *positionPtr, VECTORCH *fromPositionPtr, enum EXPLOSION_ID explosionID)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_MakePlasmaExplosion(%p, %p, %d)\n", positionPtr, fromPositionPtr, explosionID);
|
||||
}
|
||||
|
||||
void AddNetMsg_ObjectPickedUp(char* objectName)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_ObjectPickedUp(%s)\n", objectName);
|
||||
}
|
||||
|
||||
void AddNetMsg_PlatformLiftState(STRATEGYBLOCK *sbPtr)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_PlatformLiftState(%p)\n", sbPtr);
|
||||
}
|
||||
|
||||
void AddNetMsg_PlayerDeathAnim(int deathId,int objectId)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_PlayerDeathAnim(%d, %d)\n", deathId, objectId);
|
||||
}
|
||||
|
||||
void AddNetMsg_PlayerKilled(int objectId,DAMAGE_PROFILE* damage)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_PlayerKilled(%d, %p)\n", objectId, damage);
|
||||
}
|
||||
|
||||
void AddNetMsg_PredatorLaserSights(VECTORCH *positionPtr, VECTORCH *normalPtr, DISPLAYBLOCK *dispPtr)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_PredatorLaserSights(%p, %p, %p)\n", positionPtr, normalPtr, dispPtr);
|
||||
}
|
||||
|
||||
void AddNetMsg_RequestPlatformLiftActivate(STRATEGYBLOCK *sbPtr)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_RequestPlatformLiftActivate(%p)\n", sbPtr);
|
||||
}
|
||||
|
||||
void AddNetMsg_RestartNetworkGame(int seed)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_RestartNetworkGame(%d)\n", seed);
|
||||
}
|
||||
|
||||
void AddNetMsg_SpotAlienSound(int soundCategory,int alienType,int pitch,VECTORCH *position)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_SpotAlienSound(%d, %d, %d, %p)\n", soundCategory, alienType, pitch, position);
|
||||
}
|
||||
|
||||
void AddNetMsg_SpotOtherSound(enum soundindex SoundIndex,VECTORCH *position,int explosion)
|
||||
{
|
||||
fprintf(stderr, "AddNetMsg_SpotOtherSound(%d, %p, %d)\n", SoundIndex, position, explosion);
|
||||
}
|
||||
|
||||
|
||||
#include "aafont.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue