FS2_Open
Open source remastering of the Freespace 2 engine
|
#include <windows.h>
#include <windowsx.h>
#include <stdio.h>
#include <string>
#include "osapi/osapi.h"
#include "globalincs/pstypes.h"
#include "globalincs/systemvars.h"
#include "cmdline/cmdline.h"
#include "parse/lua.h"
#include "parse/parselo.h"
#include "debugconsole/console.h"
Go to the source code of this file.
Classes | |
struct | _CrtMemBlockHeader |
Macros | |
#define | _ASSERT(expr) ((void)0) |
#define | nNoMansLandSize 4 |
#define | pHdr(pbData) (((_CrtMemBlockHeader *)pbData)-1) |
Typedefs | |
typedef struct _CrtMemBlockHeader | _CrtMemBlockHeader |
Functions | |
void | gr_activate (int active) |
const char * | clean_filename (const char *name) |
void | gr_force_windowed () |
void | dump_text_to_clipboard (const char *text) |
void _cdecl | WinAssert (char *text, char *filename, int linenum) |
void _cdecl | WinAssert (char *text, char *filename, int linenum, const char *format,...) |
void | LuaDebugPrint (lua_Debug &ar) |
void | LuaError (struct lua_State *L, const char *format,...) |
void _cdecl | Error (const char *filename, int line, const char *format,...) |
void _cdecl | WarningEx (char *filename, int line, const char *format,...) |
void _cdecl | Warning (char *filename, int line, const char *format,...) |
void _cdecl | ReleaseWarning (char *filename, int line, const char *format,...) |
void | windebug_memwatch_init () |
DCF_BOOL (watch_malloc, Watch_malloc) | |
int | vm_init (int min_heap_size) |
void * | _vm_malloc (int size, char *filename, int line, int quiet) |
char * | _vm_strdup (const char *ptr, char *filename, int line) |
char * | _vm_strndup (const char *ptr, int size, char *filename, int line) |
void | _vm_free (void *ptr, char *filename, int line) |
void | vm_free_all () |
void * | _vm_realloc (void *ptr, int size, char *filename, int line, int quiet) |
Variables | |
bool | Messagebox_active = false |
int | Global_warning_count = 0 |
int | Global_error_count = 0 |
const int | Messagebox_lines = 30 |
char | AssertText1 [2048] |
char | AssertText2 [1024] |
uint | flags = MB_SYSTEMMODAL|MB_SETFOREGROUND |
lua_Debug | Ade_debug_info |
char | debug_stack [4][32] |
int | TotalRam = 0 |
int | Watch_malloc = 0 |
#define _ASSERT | ( | expr | ) | ((void)0) |
Definition at line 53 of file windebug.cpp.
#define nNoMansLandSize 4 |
Definition at line 1581 of file windebug.cpp.
#define pHdr | ( | pbData | ) | (((_CrtMemBlockHeader *)pbData)-1) |
Definition at line 1599 of file windebug.cpp.
typedef struct _CrtMemBlockHeader _CrtMemBlockHeader |
Definition at line 1973 of file windebug.cpp.
Definition at line 1906 of file windebug.cpp.
Definition at line 2001 of file windebug.cpp.
char* _vm_strdup | ( | const char * | ptr, |
char * | filename, | ||
int | line | ||
) |
Definition at line 1935 of file windebug.cpp.
Definition at line 1953 of file windebug.cpp.
const char* clean_filename | ( | const char * | name | ) |
Definition at line 60 of file windebug.cpp.
DCF_BOOL | ( | watch_malloc | , |
Watch_malloc | |||
) |
void dump_text_to_clipboard | ( | const char * | text | ) |
Definition at line 883 of file windebug.cpp.
Definition at line 1192 of file windebug.cpp.
void LuaDebugPrint | ( | lua_Debug & | ar | ) |
Definition at line 1055 of file windebug.cpp.
void LuaError | ( | struct lua_State * | L, |
const char * | format, | ||
... | |||
) |
Definition at line 1071 of file windebug.cpp.
Definition at line 1406 of file windebug.cpp.
void vm_free_all | ( | ) |
Definition at line 1996 of file windebug.cpp.
Definition at line 1657 of file windebug.cpp.
Definition at line 1287 of file windebug.cpp.
Definition at line 1269 of file windebug.cpp.
Definition at line 911 of file windebug.cpp.
Definition at line 979 of file windebug.cpp.
void windebug_memwatch_init | ( | ) |
Definition at line 1645 of file windebug.cpp.
char AssertText1[2048] |
Definition at line 875 of file windebug.cpp.
char AssertText2[1024] |
Definition at line 876 of file windebug.cpp.
Definition at line 878 of file windebug.cpp.
int Global_error_count = 0 |
Definition at line 47 of file windebug.cpp.
int Global_warning_count = 0 |
Definition at line 46 of file windebug.cpp.
bool Messagebox_active = false |
Definition at line 44 of file windebug.cpp.
const int Messagebox_lines = 30 |
Definition at line 49 of file windebug.cpp.
int TotalRam = 0 |
Definition at line 1580 of file windebug.cpp.
int Watch_malloc = 0 |
Definition at line 1653 of file windebug.cpp.