gzdoom-last-svn/src/m_misc.h
gez 6f2a88be6f * Updated to ZDoom r3690:
- Added the CCMD listsnapshots to show which maps have savedata stored.
- Added textual descriptions of the zlib errors.
- Fixed: FinalGC() needs to run before the type system is shut down.
- Fixed: Don't access class metadata at all in DObject::PropagateMark if the type system is shutdown.
- Fixed: If FCompressedMemFile::Reopen() fails, then it would try to double-free memory when deleted.
- Fixed: The text screen's color #6 should be brown, not dark yellow.
- Fixed: Direct ACS instructions need to tag their strings before lookup.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1405 b0f79afe-0144-0410-b225-9a4edf0717df
2012-06-18 17:32:23 +00:00

52 lines
1.4 KiB
C++

// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id:$
//
// Copyright (C) 1993-1996 by id Software, Inc.
//
// This source is available for distribution and/or modification
// only under the terms of the DOOM Source Code License as
// published by id Software. All rights reserved.
//
// The source is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
// for more details.
//
// DESCRIPTION:
//
//
//-----------------------------------------------------------------------------
#ifndef __M_MISC__
#define __M_MISC__
#include "basictypes.h"
class FConfigFile;
class FGameConfigFile;
extern FGameConfigFile *GameConfig;
bool M_WriteFile (char const *name, void *source, int length);
int M_ReadFile (char const *name, BYTE **buffer);
void M_FindResponseFile (void);
// [RH] M_ScreenShot now accepts a filename parameter.
// Pass a NULL to get the original behavior.
void M_ScreenShot (const char *filename);
void M_LoadDefaults ();
bool M_SaveDefaults (const char *filename);
void M_SaveCustomKeys (FConfigFile *config, char *section, char *subsection, size_t sublen);
// Prepends ~/.zdoom to path
FString GetUserFile (const char *path);
FString M_ZLibError(int zerrnum);
#endif