in the middle of working on 1.70. Now compiles in Visual Studio.net

This commit is contained in:
Chris Danford
2002-03-30 20:00:13 +00:00
parent 1c6533c283
commit d2eeed810c
72 changed files with 2726 additions and 1321 deletions
+66
View File
@@ -0,0 +1,66 @@
/*
-----------------------------------------------------------------------------
File: MenuElements.h
Desc: Base class for menu Windows.
Copyright (c) 2001 Chris Danford. All rights reserved.
-----------------------------------------------------------------------------
*/
#ifndef _MenuElements_H_
#define _MenuElements_H_
#include "Window.h"
#include "Sprite.h"
#include "BitmapText.h"
#include "RandomSample.h"
#include "TransitionFade.h"
const float MENU_ELEMENTS_TWEEN_TIME = 0.30f;
class MenuElements : public ActorFrame
{
public:
MenuElements();
virtual void RenderPrimitives();
void Load( CString sBackgroundPath, CString sTopEdgePath, CString sHelpText );
void DrawTopLayer();
void DrawBottomLayer();
void TweenTopEdgeOnScreen();
void TweenTopEdgeOffScreen();
void TweenAllOnScreen(); // tween top edge + background
void TweenAllOffScreen();
protected:
void TweenBackgroundOnScreen();
void TweenBackgroundOffScreen();
void SetBackgroundOnScreen();
void SetBackgroundOffScreen();
void SetTopEdgeOnScreen();
void SetTopEdgeOffScreen();
Sprite m_sprBG;
Sprite m_sprTopEdge;
Sprite m_sprBottomEdge;
BitmapText m_textHelp;
RandomSample m_soundSwoosh;
RandomSample m_soundBack;
};
#endif