ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <options_manager_pc.h>

Collaboration diagram for ICB::OptionsManager:

List of all members.

Public Member Functions

 OptionsManager ()
 ~OptionsManager ()
void StartInGameOptions ()
void StartMainOptions ()
void StartGameOverOptions ()
void CycleLogic ()
void ForceInGameScreenRefresh ()
bool8 HasControl ()
void DoCredits ()
void InitialiseScrollingText (const char *textFileName, const char *movieFileName, int frameStart)
void DoScrollingText ()
void DisplayText (uint8 *ad, uint32 pitch, const char *str, int32 x, int32 y, uint32 col, bool8 centredHorizontally, bool8 boxed=FALSE8)
const char * GetTextFromReference (uint32 hashRef)
uint32 CalculateStringWidth (const char *str)
void UnlockMovies ()

Private Member Functions

void CycleInGameOptionsLogic ()
void CycleMainOptionsLogic ()
void CycleGameOverLogic ()
void InitialiseInGameOptions ()
void MoveSelected (bool8 _down_)
void AlterSelected (bool8 _right_)
void DoChoice ()
void OnEscapeKey ()
void PollInput ()
void MakeAllSurfii ()
void KillAllSurfii ()
void SetDrawColour (uint32 def)
void DrawRectangle (bool8 selected, uint32 x, uint32 y, uint32 width, uint32 height, uint8 *surface_address, uint32 pitch)
void DarkenScreen ()
void BloodScreen ()
void SetDesiredOptionsBoxParameters (uint32 width, uint32 height, uint32 nFrames)
void SetTargetBox (uint32 x1, uint32 x2, uint32 y1, uint32 y2, uint32 nFrames)
bool8 AnimateThoseBrackets (bool8 forwards)
bool8 AnimateBracketsToBox (bool8 forwards, uint32 surface_id=working_buffer_id)
void AnimateSlotsPaging ()
void GrabThumbnailImage ()
void LoadVisibleThumbnails ()
void LoadPagingThumbnails (uint32 slotOffset)
void MakeGrayScaleThumbnail (uint32 src_surface_id, uint32 dst_surface_id, uint32 w=64, uint32 h=48)
void LoadVisibleMovieShots ()
void LoadPagingMovieShots (uint32 slotOffset)
void DrawWidescreenBorders ()
void DrawPageIndicator (uint32 x, uint32 y, bool8 up, bool8 selected, uint8 *ad, uint32 pitch)
void FadeStrip (uint32 x, uint32 y, uint32 w, bool8 up, uint8 *ad, uint32 pitch)
void DrawMainOptionsScreen (uint32 surface_id)
void DrawInGameOptionsScreen ()
void DrawGameOverScreen ()
void DrawGameSlots (uint32 slotOffset, uint32 surface_id=working_buffer_id)
void DrawMovieSlots (uint32 offset, uint32 surface_id=working_buffer_id)
void DrawGameOptions ()
void DrawAudioSettings ()
void DrawVideoSettings ()
void DrawControllerConfiguration ()
void DrawControls (uint32 surface_id=working_buffer_id)
void DrawMainLoadScreen (uint32 surface_id=working_buffer_id)
void DrawMovieScreen (uint32 surface_id=working_buffer_id)
void DrawQuitGameConfirmScreen (uint32 surface_id=working_buffer_id)
void DrawExtrasScreen (uint32 surface_id=working_buffer_id)
void DrawPlaySelectScreen (uint32 surface_id=working_buffer_id)
void DrawSlideShow ()
void DrawProfileSelectScreen (uint32 surface_id=working_buffer_id)
void DrawProfileScreen (uint32 surface_id=working_buffer_id)
void DrawOverwriteSaveConfirmScreen (uint32 surface_id=working_buffer_id)
void InitialiseControlsScreen ()
void InitialiseSlideShow ()
void InitialiseAProfile ()
void InitialiseSlots ()
void DestroySlots ()
void EditSlotLabel ()
bool8 VerifyLabel ()
void GetKeyAssignment ()
void LoadBitmapFont ()
void LoadGlobalTextFile ()
bool8 SetCharacterSprite (char c)
void RenderCharacter (uint8 *ad, uint32 pitch, int32 nX, int32 nY, uint32 col)
void GetCentredRectFotText (const char *str, LRECT &r, int32 height)
void InitialiseSounds ()
void PlayMoveFX ()
void PlayChosenFX ()
void PlayMovie (uint32 id)
void LoadTitleScreenMovie ()
void UnloadTitleScreenMovie ()

Private Attributes

bool8 m_inGame
bool8 m_useDirtyRects
bool8 m_gameover
bool8 m_haveControl
bool8 m_thatsEnoughTa
int32 m_autoAnimating
int32 m_autoAnimating2
LRECT m_optionsBox
int32 m_over_n_Frames
int32 m_grower
uint32 m_lipLength
LRECT m_box
LRECT m_targetBox
int32 m_interFrames
int32 m_widthIncrements
int32 m_bottomIncrements
int32 m_topIncrements
bool8 m_warpDirection
char m_fontName [ENGINE_STRING_LEN]
_pxBitmapm_font_file
uint32m_fontPalette
uint32 m_fontHeight
_pxPCSpritem_currentSprite
_rgb m_selectedShade
_linked_data_filem_global_text
_rgb m_drawColour
_MENU_ m_activeMenu
_SLOTm_slots [TOTAL_NUMBER_OF_GAME_SLOTS]
uint32 m_slotOffset
uint32 m_movieOffset
MAIN_TOP_CHOICES m_M_TOP_selected
M_EXTRA_CHOICES m_M_EXTRA_selected
M_MOVIE_CHOICES m_M_MOVIE_selected
M_PLAYSELECT_CHOICES m_M_PLAYSELECT_selected
M_PROFILES_CHOICES m_M_PROFILES_selected
IN_GAME_TOP_CHOICES m_IG_TOP_selected
OPTION_CHOICES m_OPTION_selected
VIDEO_CHOICES m_VIDEO_selected
AUDIO_CHOICES m_AUDIO_selected
CONTROL_CHOICES m_CONTROL_selected
GAMESLOT_CHOICES m_GAMESLOT_selected
SAVECONFIRM_CHOICES m_SAVECONFIRM_selected
QUIT_CHOICES m_QUIT_selected
GAMEOVER_CHOICES m_GAMEOVER_selected
uint32 m_myScreenSurfaceID
uint32 m_mySlotSurface1ID
uint32 m_thumbSurfaceIDs [8]
uint32 m_grayThumbSurfaceIDs [8]
uint32 m_movieSurfaceIDs [24]
uint32 m_grayMovieSurfaceIDs [24]
uint32 m_profileSurface
LRECT m_fullscreen
LRECT m_movieRect
uint32 m_colourKey
bool8 m_moveLimiter
bool8 m_alterLimiter
bool8 m_choiceLimiter
bool8 m_controlPage1
uint32 m_controlAnimCursor
int m_move_sfx_channel
int m_choose_sfx_channel
bool8 m_canSave
uint32 m_cursorPos
char m_editBuffer [MAX_LABEL_LENGTH]
char m_defaultSlotName [MAX_LABEL_LENGTH]
bool8 m_editing
bool8 m_defaultWiper
int m_emptySlotFlag
uint32 m_timePlayed
bool8 m_paging
bool8 m_pageleft
LRECT m_slotBoundingRect
int32 m_slotsFuckOffBy
LRECT m_pageOn_from
LRECT m_pageOn_dest
LRECT m_pageOff_from
LRECT m_pageOff_dest
bool8 m_letJoystickQuitEdit
bool8 m_awaitingKeyPress
bool8 m_configLimiter
int m_assignFlash
bool8 m_creditControl
Crediter m_crediter
bool8 m_slideshowActive
bool8 m_slideLimiter
int32 m_currentSlide
int32 m_slideWadger
uint32 m_slideFillColour
uint32 m_margin
LRECT m_profileRect
int32 m_profileScrollingOffset
int32 m_profileScrollingLine
bool8 m_lastLineDisplayed
int32 m_profileScrolling

Friends

class Crediter

Detailed Description

Definition at line 290 of file options_manager_pc.h.


Constructor & Destructor Documentation

ICB::OptionsManager::OptionsManager (  ) 

Definition at line 563 of file options_manager_pc.cpp.

ICB::OptionsManager::~OptionsManager (  ) 

Definition at line 719 of file options_manager_pc.cpp.


Member Function Documentation

void ICB::OptionsManager::AlterSelected ( bool8  _right_  )  [private]

Definition at line 2461 of file options_manager_pc.cpp.

bool8 ICB::OptionsManager::AnimateBracketsToBox ( bool8  forwards,
uint32  surface_id = working_buffer_id 
) [private]

Definition at line 6159 of file options_manager_pc.cpp.

void ICB::OptionsManager::AnimateSlotsPaging (  )  [private]

Definition at line 5909 of file options_manager_pc.cpp.

bool8 ICB::OptionsManager::AnimateThoseBrackets ( bool8  forwards  )  [private]

Definition at line 6299 of file options_manager_pc.cpp.

void ICB::OptionsManager::BloodScreen (  )  [private]

Definition at line 6527 of file options_manager_pc.cpp.

uint32 ICB::OptionsManager::CalculateStringWidth ( const char *  str  ) 

Definition at line 6746 of file options_manager_pc.cpp.

void ICB::OptionsManager::CycleGameOverLogic (  )  [private]

Definition at line 995 of file options_manager_pc.cpp.

void ICB::OptionsManager::CycleInGameOptionsLogic (  )  [private]

Definition at line 952 of file options_manager_pc.cpp.

void ICB::OptionsManager::CycleLogic (  ) 

Definition at line 2015 of file options_manager_pc.cpp.

void ICB::OptionsManager::CycleMainOptionsLogic (  )  [private]

Definition at line 1905 of file options_manager_pc.cpp.

void ICB::OptionsManager::DarkenScreen (  )  [private]

Definition at line 6468 of file options_manager_pc.cpp.

void ICB::OptionsManager::DestroySlots (  )  [private]

Definition at line 3958 of file options_manager_pc.cpp.

void ICB::OptionsManager::DisplayText ( uint8 ad,
uint32  pitch,
const char *  str,
int32  x,
int32  y,
uint32  col,
bool8  centredHorizontally,
bool8  boxed = FALSE8 
)

Definition at line 6764 of file options_manager_pc.cpp.

void ICB::OptionsManager::DoChoice (  )  [private]

Definition at line 2975 of file options_manager_pc.cpp.

void ICB::OptionsManager::DoCredits (  ) 

Definition at line 7096 of file options_manager_pc.cpp.

void ICB::OptionsManager::DoScrollingText (  ) 

Definition at line 7135 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawAudioSettings (  )  [private]

Definition at line 5764 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawControllerConfiguration (  )  [private]

Definition at line 5286 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawControls ( uint32  surface_id = working_buffer_id  )  [private]

Definition at line 5528 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawExtrasScreen ( uint32  surface_id = working_buffer_id  )  [private]

Definition at line 4347 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawGameOptions (  )  [private]

Definition at line 5740 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawGameOverScreen (  )  [private]

Definition at line 1402 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawGameSlots ( uint32  slotOffset,
uint32  surface_id = working_buffer_id 
) [private]

Definition at line 3967 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawInGameOptionsScreen (  )  [private]

Definition at line 1443 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawMainLoadScreen ( uint32  surface_id = working_buffer_id  )  [private]

Definition at line 4260 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawMainOptionsScreen ( uint32  surface_id  )  [private]

Definition at line 1771 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawMovieScreen ( uint32  surface_id = working_buffer_id  )  [private]

Definition at line 4303 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawMovieSlots ( uint32  offset,
uint32  surface_id = working_buffer_id 
) [private]

Definition at line 4078 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawOverwriteSaveConfirmScreen ( uint32  surface_id = working_buffer_id  )  [private]

Definition at line 1744 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawPageIndicator ( uint32  x,
uint32  y,
bool8  up,
bool8  selected,
uint8 ad,
uint32  pitch 
) [private]

Definition at line 4975 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawPlaySelectScreen ( uint32  surface_id = working_buffer_id  )  [private]

Definition at line 4388 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawProfileScreen ( uint32  surface_id = working_buffer_id  )  [private]

Definition at line 4644 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawProfileSelectScreen ( uint32  surface_id = working_buffer_id  )  [private]

Definition at line 4447 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawQuitGameConfirmScreen ( uint32  surface_id = working_buffer_id  )  [private]

Definition at line 1713 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawRectangle ( bool8  selected,
uint32  x,
uint32  y,
uint32  width,
uint32  height,
uint8 surface_address,
uint32  pitch 
) [private]

Definition at line 6611 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawSlideShow (  )  [private]

Definition at line 7185 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawVideoSettings (  )  [private]

Definition at line 5824 of file options_manager_pc.cpp.

void ICB::OptionsManager::DrawWidescreenBorders (  )  [private]

Definition at line 4383 of file options_manager_pc.cpp.

void ICB::OptionsManager::EditSlotLabel (  )  [private]

Definition at line 3753 of file options_manager_pc.cpp.

void ICB::OptionsManager::FadeStrip ( uint32  x,
uint32  y,
uint32  w,
bool8  up,
uint8 ad,
uint32  pitch 
) [private]

Definition at line 4883 of file options_manager_pc.cpp.

void ICB::OptionsManager::ForceInGameScreenRefresh (  ) 

Definition at line 993 of file options_manager_pc.cpp.

void ICB::OptionsManager::GetCentredRectFotText ( const char *  str,
LRECT r,
int32  height 
) [private]

Definition at line 6806 of file options_manager_pc.cpp.

void ICB::OptionsManager::GetKeyAssignment (  )  [private]

Definition at line 5007 of file options_manager_pc.cpp.

const char * ICB::OptionsManager::GetTextFromReference ( uint32  hashRef  ) 

Definition at line 6635 of file options_manager_pc.cpp.

void ICB::OptionsManager::GrabThumbnailImage (  )  [private]

Definition at line 1337 of file options_manager_pc.cpp.

bool8 ICB::OptionsManager::HasControl (  )  [inline]

Definition at line 431 of file options_manager_pc.h.

void ICB::OptionsManager::InitialiseAProfile (  )  [private]

Definition at line 4484 of file options_manager_pc.cpp.

void ICB::OptionsManager::InitialiseControlsScreen (  )  [private]

Definition at line 5246 of file options_manager_pc.cpp.

void ICB::OptionsManager::InitialiseInGameOptions ( void   )  [private]

Definition at line 1203 of file options_manager_pc.cpp.

void ICB::OptionsManager::InitialiseScrollingText ( const char *  textFileName,
const char *  movieFileName,
int  frameStart 
)

Definition at line 7119 of file options_manager_pc.cpp.

void ICB::OptionsManager::InitialiseSlideShow (  )  [private]

Definition at line 7160 of file options_manager_pc.cpp.

void ICB::OptionsManager::InitialiseSlots (  )  [private]

Definition at line 3897 of file options_manager_pc.cpp.

void ICB::OptionsManager::InitialiseSounds (  )  [private]

Definition at line 2055 of file options_manager_pc.cpp.

void ICB::OptionsManager::KillAllSurfii (  )  [private]

Definition at line 756 of file options_manager_pc.cpp.

void ICB::OptionsManager::LoadBitmapFont (  )  [private]

Definition at line 6687 of file options_manager_pc.cpp.

void ICB::OptionsManager::LoadGlobalTextFile (  )  [private]

Definition at line 6699 of file options_manager_pc.cpp.

void ICB::OptionsManager::LoadPagingMovieShots ( uint32  slotOffset  )  [private]

Definition at line 2890 of file options_manager_pc.cpp.

void ICB::OptionsManager::LoadPagingThumbnails ( uint32  slotOffset  )  [private]

Definition at line 2878 of file options_manager_pc.cpp.

void ICB::OptionsManager::LoadTitleScreenMovie (  )  [private]

Definition at line 1048 of file options_manager_pc.cpp.

void ICB::OptionsManager::LoadVisibleMovieShots (  )  [private]

Definition at line 2850 of file options_manager_pc.cpp.

void ICB::OptionsManager::LoadVisibleThumbnails (  )  [private]

Definition at line 2838 of file options_manager_pc.cpp.

void ICB::OptionsManager::MakeAllSurfii (  )  [private]

Definition at line 724 of file options_manager_pc.cpp.

void ICB::OptionsManager::MakeGrayScaleThumbnail ( uint32  src_surface_id,
uint32  dst_surface_id,
uint32  w = 64,
uint32  h = 48 
) [private]

Definition at line 2803 of file options_manager_pc.cpp.

void ICB::OptionsManager::MoveSelected ( bool8  _down_  )  [private]

Definition at line 2080 of file options_manager_pc.cpp.

void ICB::OptionsManager::OnEscapeKey (  )  [private]

Definition at line 2918 of file options_manager_pc.cpp.

void ICB::OptionsManager::PlayChosenFX (  )  [private]

Definition at line 2046 of file options_manager_pc.cpp.

void ICB::OptionsManager::PlayMoveFX (  )  [private]

Definition at line 2037 of file options_manager_pc.cpp.

void ICB::OptionsManager::PlayMovie ( uint32  id  )  [private]

Definition at line 3683 of file options_manager_pc.cpp.

void ICB::OptionsManager::PollInput (  )  [private]

Definition at line 6934 of file options_manager_pc.cpp.

void ICB::OptionsManager::RenderCharacter ( uint8 ad,
uint32  pitch,
int32  nX,
int32  nY,
uint32  col 
) [private]

Definition at line 6820 of file options_manager_pc.cpp.

bool8 ICB::OptionsManager::SetCharacterSprite ( char  c  )  [private]

Definition at line 6729 of file options_manager_pc.cpp.

void ICB::OptionsManager::SetDesiredOptionsBoxParameters ( uint32  width,
uint32  height,
uint32  nFrames 
) [private]

Definition at line 1031 of file options_manager_pc.cpp.

void ICB::OptionsManager::SetDrawColour ( uint32  def  )  [private]

Definition at line 6586 of file options_manager_pc.cpp.

void ICB::OptionsManager::SetTargetBox ( uint32  x1,
uint32  x2,
uint32  y1,
uint32  y2,
uint32  nFrames 
) [private]

Definition at line 6121 of file options_manager_pc.cpp.

void ICB::OptionsManager::StartGameOverOptions (  ) 

Definition at line 839 of file options_manager_pc.cpp.

void ICB::OptionsManager::StartInGameOptions (  ) 

Definition at line 799 of file options_manager_pc.cpp.

void ICB::OptionsManager::StartMainOptions ( void   ) 

Definition at line 1108 of file options_manager_pc.cpp.

void ICB::OptionsManager::UnloadTitleScreenMovie (  )  [private]

Definition at line 1100 of file options_manager_pc.cpp.

void ICB::OptionsManager::UnlockMovies (  ) 

Definition at line 6896 of file options_manager_pc.cpp.

bool8 ICB::OptionsManager::VerifyLabel (  )  [private]

Definition at line 3737 of file options_manager_pc.cpp.


Friends And Related Function Documentation

friend class Crediter [friend]

Definition at line 291 of file options_manager_pc.h.


Member Data Documentation

Definition at line 324 of file options_manager_pc.h.

Definition at line 364 of file options_manager_pc.h.

Definition at line 397 of file options_manager_pc.h.

Definition at line 300 of file options_manager_pc.h.

Definition at line 306 of file options_manager_pc.h.

Definition at line 372 of file options_manager_pc.h.

Definition at line 365 of file options_manager_pc.h.

Definition at line 370 of file options_manager_pc.h.

Definition at line 361 of file options_manager_pc.h.

Definition at line 396 of file options_manager_pc.h.

Definition at line 366 of file options_manager_pc.h.

Definition at line 399 of file options_manager_pc.h.

Definition at line 400 of file options_manager_pc.h.

Definition at line 404 of file options_manager_pc.h.

Definition at line 375 of file options_manager_pc.h.

char ICB::OptionsManager::m_defaultSlotName[MAX_LABEL_LENGTH] [private]

Definition at line 377 of file options_manager_pc.h.

Definition at line 379 of file options_manager_pc.h.

Definition at line 322 of file options_manager_pc.h.

char ICB::OptionsManager::m_editBuffer[MAX_LABEL_LENGTH] [private]

Definition at line 376 of file options_manager_pc.h.

Definition at line 378 of file options_manager_pc.h.

Definition at line 380 of file options_manager_pc.h.

Definition at line 315 of file options_manager_pc.h.

Definition at line 317 of file options_manager_pc.h.

char ICB::OptionsManager::m_fontName[ENGINE_STRING_LEN] [private]

Definition at line 314 of file options_manager_pc.h.

Definition at line 316 of file options_manager_pc.h.

Definition at line 359 of file options_manager_pc.h.

Definition at line 296 of file options_manager_pc.h.

Definition at line 304 of file options_manager_pc.h.

Definition at line 297 of file options_manager_pc.h.

Definition at line 294 of file options_manager_pc.h.

Definition at line 308 of file options_manager_pc.h.

Definition at line 305 of file options_manager_pc.h.

Definition at line 408 of file options_manager_pc.h.

Definition at line 369 of file options_manager_pc.h.

Definition at line 363 of file options_manager_pc.h.

Definition at line 328 of file options_manager_pc.h.

Definition at line 360 of file options_manager_pc.h.

Definition at line 355 of file options_manager_pc.h.

Definition at line 302 of file options_manager_pc.h.

Definition at line 303 of file options_manager_pc.h.

Definition at line 386 of file options_manager_pc.h.

Definition at line 392 of file options_manager_pc.h.

Definition at line 391 of file options_manager_pc.h.

Definition at line 390 of file options_manager_pc.h.

Definition at line 389 of file options_manager_pc.h.

Definition at line 385 of file options_manager_pc.h.

Definition at line 409 of file options_manager_pc.h.

Definition at line 319 of file options_manager_pc.h.

Definition at line 403 of file options_manager_pc.h.

Definition at line 405 of file options_manager_pc.h.

Definition at line 327 of file options_manager_pc.h.

_SLOT* ICB::OptionsManager::m_slots[TOTAL_NUMBER_OF_GAME_SLOTS] [private]

Definition at line 326 of file options_manager_pc.h.

Definition at line 307 of file options_manager_pc.h.

Definition at line 298 of file options_manager_pc.h.

Definition at line 353 of file options_manager_pc.h.

Definition at line 382 of file options_manager_pc.h.

Definition at line 311 of file options_manager_pc.h.

Definition at line 295 of file options_manager_pc.h.

Definition at line 312 of file options_manager_pc.h.


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


Generated on Sat Sep 26 2020 05:03:41 for ResidualVM by doxygen 1.7.1
curved edge   curved edge