]> icculus.org git repositories - btb/d2x.git/blob - arch/win32/include/scene.h
fixed a major memory leak and removed a bit of redundancy (d1x r1.5)
[btb/d2x.git] / arch / win32 / include / scene.h
1 #ifndef __SCENE_H__
2 #define __SCENE_H__
3
4 extern BOOL    g_bAppUseZBuffer;
5 extern BOOL    g_bAppUseBackBuffer;
6 extern TCHAR*  g_strAppTitle;
7
8 HRESULT App_ConfirmDevice( DDCAPS*, D3DDEVICEDESC* );
9 HRESULT App_OneTimeSceneInit( HWND );
10 VOID    App_DeleteDeviceObjects( LPDIRECT3DDEVICE3, LPDIRECT3DVIEWPORT3 );
11 HRESULT App_InitDeviceObjects( LPDIRECT3DDEVICE3, LPDIRECT3DVIEWPORT3 );
12 HRESULT App_FrameMove( LPDIRECT3DDEVICE3, FLOAT );
13 HRESULT App_Render( LPDIRECT3DDEVICE3, LPDIRECT3DVIEWPORT3, D3DRECT* );
14 HRESULT App_RestoreSurfaces();
15 HRESULT App_FinalCleanup( LPDIRECT3DDEVICE3, LPDIRECT3DVIEWPORT3 );
16
17
18 HRESULT App_StartFrame( LPDIRECT3DDEVICE3, LPDIRECT3DVIEWPORT3, D3DRECT* );
19 HRESULT App_EndFrame ();
20
21
22
23 #endif  // __SCENE_H__