Imports the current Win32 source for the pod-racing game 'Red Planet', built on the MUNGA engine and its L4 (Win32/DirectX) platform layer: - MUNGA / MUNGA_L4: cross-platform engine core and Win32 backend - RP / RP_L4: Red Planet game logic and Win32 application - DivLoader, Setup1: asset loader and installer project - lib, MUNGA_L4/openal, MUNGA_L4/sos: third-party audio dependencies Removed stale Subversion metadata and added .gitignore/.gitattributes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
42 lines
666 B
C++
42 lines
666 B
C++
#pragma once
|
|
|
|
#if defined(__BCPLUSPLUS__)
|
|
extern int _matherr(struct exception *a);
|
|
#endif
|
|
|
|
extern int Fpu_Ok();
|
|
extern void Verify_Failed(char *message, char *file, int line);
|
|
//extern void Fail_To_Debugger(char *message, char *file, int line);
|
|
|
|
class Signature
|
|
{
|
|
private:
|
|
#if DEBUG_LEVEL>0
|
|
enum Mark
|
|
{
|
|
ok,
|
|
destroyed,
|
|
corrupted,
|
|
noMagic=(int)0xAB135795L,
|
|
magic=(int)0xFFED1231L
|
|
} mark;
|
|
#endif
|
|
|
|
protected:
|
|
Signature();
|
|
~Signature();
|
|
|
|
public:
|
|
friend int Is_Signature_Bad(const volatile Signature *p);
|
|
};
|
|
|
|
#if defined(USE_SIGNATURE)
|
|
# define SIGNATURED : public Signature
|
|
#else
|
|
# define SIGNATURED
|
|
# define Is_Signature_Bad(p) (false)
|
|
#endif
|
|
|
|
#endif
|
|
|