89 lines
2.1 KiB
C++
89 lines
2.1 KiB
C++
/***********************************************************************************/
|
|
/** \file EditorHelp.h
|
|
** \brief Header File zur Klasse EditorHelp
|
|
*************************************************************************************
|
|
** Autor: Christian Roesch
|
|
*************************************************************************************
|
|
** _tut nichts_
|
|
**
|
|
*//*********************************************************************************/
|
|
|
|
#ifndef _EditorHelp_H
|
|
#define _EditorHelp_H
|
|
|
|
// includes
|
|
#include <windows.h>
|
|
#include <string>
|
|
#include <d3dx9core.h>
|
|
|
|
// Klassen-Deklaration
|
|
|
|
/***********************************************************************************/
|
|
/** \brief EditorHelp _tut nichts_
|
|
*************************************************************************************
|
|
** Genau genommen _tut dies nichts_
|
|
**
|
|
*//*********************************************************************************/
|
|
|
|
class EditorHelp
|
|
{
|
|
public:
|
|
EditorHelp();
|
|
~EditorHelp();
|
|
|
|
static float Round(float Val );
|
|
|
|
static void CheckKeys();
|
|
|
|
static float GetKeyDownVal( float fCurrent,
|
|
int KeyAdd,
|
|
int KeySub,
|
|
float fDefault,
|
|
float fSlow,
|
|
float fFast );
|
|
static float GetKeyPressedVal( float fCurrent,
|
|
int KeyAdd,
|
|
int KeySub,
|
|
float fDefault,
|
|
float fSlow,
|
|
float fFast );
|
|
|
|
static bool m_KeyPressed[ 256 ];
|
|
static bool m_KeyDown[ 256 ];
|
|
|
|
static void PrintDebug( int iLine, int iColumn, char* pcData );
|
|
static void PrintDebugPos( float fY, float fX, char* pcData );
|
|
|
|
static std::string GetDateString();
|
|
|
|
static void SetHWND( HWND hwnd );
|
|
|
|
static bool m_bShowDebugData;
|
|
|
|
static void PreparePrint();
|
|
protected:
|
|
|
|
private:
|
|
static HWND m_hwnd;
|
|
static LPD3DXFONT m_pDebugFont;
|
|
|
|
static float GetKeyVal( float fCurrent,
|
|
bool bAdd,
|
|
bool bSub,
|
|
float fDefault,
|
|
float fSlow,
|
|
float fFast );
|
|
|
|
|
|
|
|
};
|
|
|
|
#endif//_EditorHelp_H
|
|
|
|
class EditorHelp;
|
|
|
|
|
|
/************************************************************************************
|
|
** Ende der Datei: EditorHelp.h
|
|
************************************************************************************/
|