mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
- Net synced; new mechanism in p_link.cpp to automatically manage mobj pointers at the global scope
27 lines
686 B
C
27 lines
686 B
C
// DR. ROBOTNIK'S RING RACERS
|
|
//-----------------------------------------------------------------------------
|
|
// Copyright (C) 2023 by James Robert Roman
|
|
//
|
|
// This program is free software distributed under the
|
|
// terms of the GNU General Public License, version 2.
|
|
// See the 'LICENSE' file for more details.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef p_link_h
|
|
#define p_link_h
|
|
|
|
#include "typedef.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void P_InitMobjPointers(void);
|
|
void P_SaveMobjPointers(void(*callback)(mobj_t*));
|
|
void P_LoadMobjPointers(void(*callback)(mobj_t**));
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#endif/*p_link_h*/
|