Class hierarchy   Compound list   File list   Compound Members   File Members  

CON_Misc.h File Reference

Miscalenous interfaces. More...

Compounds

Defines

Enumerations

Functions


Detailed Description

Miscalenous interfaces.

Copyright (c) 1998-1999 by Amir Geva. This file is part of the Photon Game Development library, beta release version 0.25. Permission is granted to use and copy this file for non-commercial use only. Please contact the author concerning commercial usage. Amir Geva makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.


Define Documentation

#define FUNC_GENERIC

/.

////////////////////////////////////////////////////////////////////////////////////////////////////////////////


Enumeration Type Documentation

enum InitFlags

Flags used to initialize the screen.


Function Documentation

__declspec( dllexport ) void setDebugLevel(int Level)

Sets the level of debugging information.

Defaults to 0 which outputs no log. Setting to a different value will create a log file 'libcon.log' That will be filled with printouts.

__declspec( dllexport ) void enableDiagnostics()

Enable a mechanizm that tracks allocated interfaces.

If used, it must be called before creating any interfaces. Diagnosis will be printed (If the debug level is set) when the program terminates. The printouts will contain the types of interfaces that were not released.

__declspec( dllexport ) void ReportError(long rc, const char* Message)

Can be used to append the log file with an error message.

rc is a return code, or any informational number.

__declspec( dllexport ) void ReportWarning(long rc, const char* Message, int MinDebug=1)

Can be used to append the log file with an warning message.

rc is a return code, or any informational number.

__declspec( dllexport ) void ReportInfo( const char* Message, int MinDebug=1)

Can be used to append the log file with an informational message.