mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
32d77eabac
Now to write all the high level stuff. Wheeeee
31 lines
492 B
C
31 lines
492 B
C
#ifndef __qwaq_debug_h
|
|
#define __qwaq_debug_h
|
|
|
|
#include "event.h"
|
|
|
|
typedef enum {
|
|
qe_debug_event = 0x0100,
|
|
} qwaq_debug_messages;
|
|
|
|
#ifdef __QFCC__
|
|
|
|
//FIXME add unsigned to qfcc
|
|
#ifndef unsigned
|
|
#define unsigned int
|
|
#define umax 0x7fffffff
|
|
#endif
|
|
|
|
#else//GCC
|
|
#endif
|
|
|
|
typedef struct qdb_state_s {
|
|
unsigned staddr;
|
|
unsigned func;
|
|
unsigned file;
|
|
unsigned line;
|
|
} qdb_state_t;
|
|
|
|
void QWAQ_Debug_Init (progs_t *pr);
|
|
void QWAQ_DebugTarget_Init (progs_t *pr);
|
|
|
|
#endif//__qwaq_debug_h
|