projects
/
matthijs
/
ABM2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Add SPR_SUB constants.
[matthijs/ABM2.git]
/
ABM2
/
Engine
/
VideoUpdate.h
diff --git
a/ABM2/Engine/VideoUpdate.h
b/ABM2/Engine/VideoUpdate.h
index b8273c5eeff43d88ef163f6b147ed49da803da57..5ed88bbf7902923e0f017d0a6c313bdfd728d996 100755
(executable)
--- a/
ABM2/Engine/VideoUpdate.h
+++ b/
ABM2/Engine/VideoUpdate.h
@@
-9,16
+9,14
@@
#pragma once
\r
#endif // _MSC_VER > 1000
\r
\r
#pragma once
\r
#endif // _MSC_VER > 1000
\r
\r
-#include <
d3d9
.h>
\r
-#include <
d3dx9
.h>
\r
+#include <
Amaltheia/Graphics
.h>
\r
+#include <
Amaltheia/Sprite
.h>
\r
\r
\r
-#include "engine.h"
\r
-extern LPDIRECT3DDEVICE9 d3ddev; // the pointer to the device class
\r
\r
class CVideoUpdate : public ITask
\r
{
\r
public:
\r
\r
class CVideoUpdate : public ITask
\r
{
\r
public:
\r
- CVideoUpdate();
\r
+ CVideoUpdate(
CKernel* kernel
);
\r
virtual ~CVideoUpdate();
\r
AUTO_SIZE;
\r
\r
virtual ~CVideoUpdate();
\r
AUTO_SIZE;
\r
\r
@@
-29,9
+27,9
@@
public:
void Update();
\r
void Stop();
\r
\r
void Update();
\r
void Stop();
\r
\r
+ Graphics* getGraphics() { return this->g; }
\r
private:
\r
private:
\r
- LPDIRECT3D9 d3d; // the pointer to our Direct3D interface
\r
+ Graphics *g;
\r
\r
};
\r
\r
};
\r
-
\r
#endif // !defined(AFX_VIDEOUPDATE_H__FB4B263B_4FA7_4700_BB70_EE5CB1768E83__INCLUDED_)
\r
#endif // !defined(AFX_VIDEOUPDATE_H__FB4B263B_4FA7_4700_BB70_EE5CB1768E83__INCLUDED_)
\r