Click here to Skip to main content
15,893,722 members
Articles / Mobile Apps / Android

Diggers: cross-platform 2D game

Rate me:
Please Sign up or sign in to vote.
4.80/5 (17 votes)
5 Nov 2012CPOL4 min read 33.4K   1   43  
2D cross-platfrom game using SDL and Open GLES 2.0
#include "GUIWindows.h"



class WindowScroll :public Window
{
public:
	WindowScroll(const wchar_t* _caption, const wchar_t* _text, unsigned char _style);
	virtual ~WindowScroll(void);
	virtual bool Update(float _dt);

	float m_Scale;
	bool m_Opening;

	const wchar_t* m_Caption;
	const wchar_t* m_Text;
	unsigned char m_Style;

	float m_XContentLeft, m_YContentDown, m_XContentRight, m_YContentUp;
	float m_XCaptionLeft, m_YCaptionDown, m_XCaptionRight, m_YCaptionUp;
};

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions