Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
MainMenuSmallScaleDownTransition Class Reference

#include <GameWindowTransitions.h>

Inherits Transition.

Public Member Functions

 MainMenuSmallScaleDownTransition (void)
 
virtual ~MainMenuSmallScaleDownTransition (void)
 
virtual void init (GameWindow *win)
 
virtual void update (Int frame)
 
virtual void reverse (void)
 
virtual void draw (void)
 
virtual void skip (void)
 
- Public Member Functions inherited from Transition
 Transition (void)
 
virtual ~Transition (void)
 
Bool isFinished (void)
 
Int getFrameLength (void)
 

Protected Types

enum  {
  MAINMENUSMALLSCALEDOWNTRANSITION_START = 0 , MAINMENUSMALLSCALEDOWNTRANSITION_1 = 1 , MAINMENUSMALLSCALEDOWNTRANSITION_2 = 2 , MAINMENUSMALLSCALEDOWNTRANSITION_3 = 3 ,
  MAINMENUSMALLSCALEDOWNTRANSITION_4 = 4 , MAINMENUSMALLSCALEDOWNTRANSITION_5 = 5 , MAINMENUSMALLSCALEDOWNTRANSITION_END
}
 

Protected Attributes

ICoord2D m_pos
 
ICoord2D m_size
 
Int m_drawState
 
ICoord2D m_growPos
 
ICoord2D m_growSize
 
ICoord2D m_incrementSize
 
GameWindowm_growWin
 
- Protected Attributes inherited from Transition
Int m_frameLength
 
Bool m_isFinished
 
Bool m_isForward
 
Bool m_isReversed
 
GameWindowm_win
 

Detailed Description

Definition at line 383 of file GameWindowTransitions.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
MAINMENUSMALLSCALEDOWNTRANSITION_START 
MAINMENUSMALLSCALEDOWNTRANSITION_1 
MAINMENUSMALLSCALEDOWNTRANSITION_2 
MAINMENUSMALLSCALEDOWNTRANSITION_3 
MAINMENUSMALLSCALEDOWNTRANSITION_4 
MAINMENUSMALLSCALEDOWNTRANSITION_5 
MAINMENUSMALLSCALEDOWNTRANSITION_END 

Definition at line 397 of file GameWindowTransitions.h.

Constructor & Destructor Documentation

◆ MainMenuSmallScaleDownTransition()

MainMenuSmallScaleDownTransition::MainMenuSmallScaleDownTransition ( void )

Definition at line 1233 of file GameWindowTransitionsStyles.cpp.

◆ ~MainMenuSmallScaleDownTransition()

MainMenuSmallScaleDownTransition::~MainMenuSmallScaleDownTransition ( void )
virtual

Definition at line 1241 of file GameWindowTransitionsStyles.cpp.

Member Function Documentation

◆ draw()

void MainMenuSmallScaleDownTransition::draw ( void )
virtual

Implements Transition.

Definition at line 1324 of file GameWindowTransitionsStyles.cpp.

◆ init()

void MainMenuSmallScaleDownTransition::init ( GameWindow * win)
virtual

Implements Transition.

Definition at line 1246 of file GameWindowTransitionsStyles.cpp.

◆ reverse()

void MainMenuSmallScaleDownTransition::reverse ( void )
virtual

Implements Transition.

Definition at line 1317 of file GameWindowTransitionsStyles.cpp.

◆ skip()

void MainMenuSmallScaleDownTransition::skip ( void )
virtual

Implements Transition.

Definition at line 1338 of file GameWindowTransitionsStyles.cpp.

◆ update()

void MainMenuSmallScaleDownTransition::update ( Int frame)
virtual

Implements Transition.

Definition at line 1276 of file GameWindowTransitionsStyles.cpp.

Member Data Documentation

◆ m_drawState

Int MainMenuSmallScaleDownTransition::m_drawState
protected

Definition at line 408 of file GameWindowTransitions.h.

◆ m_growPos

ICoord2D MainMenuSmallScaleDownTransition::m_growPos
protected

Definition at line 409 of file GameWindowTransitions.h.

◆ m_growSize

ICoord2D MainMenuSmallScaleDownTransition::m_growSize
protected

Definition at line 410 of file GameWindowTransitions.h.

◆ m_growWin

GameWindow* MainMenuSmallScaleDownTransition::m_growWin
protected

Definition at line 412 of file GameWindowTransitions.h.

◆ m_incrementSize

ICoord2D MainMenuSmallScaleDownTransition::m_incrementSize
protected

Definition at line 411 of file GameWindowTransitions.h.

◆ m_pos

ICoord2D MainMenuSmallScaleDownTransition::m_pos
protected

Definition at line 406 of file GameWindowTransitions.h.

◆ m_size

ICoord2D MainMenuSmallScaleDownTransition::m_size
protected

Definition at line 407 of file GameWindowTransitions.h.


The documentation for this class was generated from the following files: