Skip to content

Commit

Permalink
More work, especially with multi.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddTheSane committed May 15, 2024
1 parent 7142658 commit ebfa0a8
Show file tree
Hide file tree
Showing 7 changed files with 305 additions and 79 deletions.
2 changes: 1 addition & 1 deletion Descent3/DllWrappers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ void dSetAudioTaunts(bool enable) {

// Changes the ship_index for a given player
void ChangePlayerShipIndex(int pnum, int ship_index) {
int ObjInitTypeSpecific(object * objp, bool reinitializing);
extern int ObjInitTypeSpecific(object * objp, bool reinitializing);

if (pnum < 0 || pnum >= MAX_PLAYERS)
return;
Expand Down
2 changes: 1 addition & 1 deletion Descent3/GameLoop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2233,7 +2233,7 @@ void ProcessTestKeys(int key) {
} break;

case KEY_F10:
int ObjInitTypeSpecific(object * objp, bool reinitializing);
extern int ObjInitTypeSpecific(object * objp, bool reinitializing);
FreeCockpit();
CloseShipHUD();
Players[0].ship_index = GetNextShip(Players[0].ship_index);
Expand Down
Loading

0 comments on commit ebfa0a8

Please sign in to comment.