Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ScreenEdit Class Reference

#include <ScreenEdit.h>

Inheritance diagram for ScreenEdit:

Inheritance graph
[legend]
Collaboration diagram for ScreenEdit:

Collaboration graph
[legend]
List of all members.

Public Types

enum  MainMenuChoice {
  edit_notes_statistics, play_whole_song, play_current_beat_to_end, save,
  reload, player_options, song_options, edit_song_info,
  edit_bpm, edit_stop, edit_bg_change, play_preview_music,
  preferences, exit, NUM_MAIN_MENU_CHOICES
}
enum  AreaMenuChoice {
  cut, copy, paste_at_current_beat, paste_at_begin_marker,
  clear, quantize, turn, transform,
  alter, tempo, play, record,
  insert_and_shift, delete_and_shift, shift_pauses_forward, shift_pauses_backward,
  convert_beat_to_pause, convert_pause_to_beat, NUM_AREA_MENU_CHOICES
}
enum  TurnType {
  left, right, mirror, shuffle,
  super_shuffle, NUM_TURN_TYPES
}
enum  TransformType {
  noholds, nomines, little, wide,
  big, quick, bmrize, skippy,
  mines, echo, stomp, planted,
  floored, twister, nojumps, nohands,
  noquads, NUM_TRANSFORM_TYPES
}
enum  AlterType {
  backwards, swap_sides, copy_left_to_right, copy_right_to_left,
  clear_left, clear_right, collapse_to_one, collapse_left,
  shift_left, shift_right, NUM_ALTER_TYPES
}
enum  TempoType {
  compress_2x, compress_3_2, compress_4_3, expand_4_3,
  expand_3_2, expand_2x, NUM_TEMPO_TYPES
}
enum  EditNotesStatisticsChoice {
  difficulty, meter, description, predict_meter,
  tap_notes, hold_notes, stream, voltage,
  air, freeze, chaos, NUM_EDIT_NOTES_STATISTICS_CHOICES
}
enum  EditSongInfoChoice {
  main_title, sub_title, artist, credit,
  main_title_transliteration, sub_title_transliteration, artist_transliteration, NUM_EDIT_SONG_INFO_CHOICES
}
enum  BGChangeChoice {
  rate, fade_last, rewind_movie, loop,
  add_random, add_song_bganimation, add_song_movie, add_song_still,
  add_global_random_movie, add_global_bganimation, add_global_visualization, delete_change,
  NUM_BGCHANGE_CHOICES
}
enum  PrefsChoice { pref_show_bgs_play, NUM_PREFS_CHOICES }

Public Member Functions

 ScreenEdit (CString sName)
virtual ~ScreenEdit ()
virtual void Update (float fDeltaTime)
virtual void DrawPrimitives ()
virtual void Input (const DeviceInput &DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI)
void InputEdit (const DeviceInput &DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI, EditButton EditB)
void InputRecord (const DeviceInput &DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI, EditButton EditB)
void InputPlay (const DeviceInput &DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI, EditButton EditB)
virtual void HandleScreenMessage (const ScreenMessage SM)
void HandleMainMenuChoice (MainMenuChoice c, int *iAnswers)
void HandleAreaMenuChoice (AreaMenuChoice c, int *iAnswers)
void HandleEditNotesStatisticsChoice (EditNotesStatisticsChoice c, int *iAnswers)
void HandleEditSongInfoChoice (EditSongInfoChoice c, int *iAnswers)
void HandleBGChangeChoice (BGChangeChoice c, int *iAnswers)
void InitEditMappings ()
bool DeviceToEdit (DeviceInput DeviceI, EditButton &button) const
bool EditToDevice (EditButton button, int iSlotNum, DeviceInput &DeviceI) const
bool EditPressed (EditButton button, const DeviceInput &DeviceI)
bool EditIsBeingPressed (EditButton button) const
const MapEditToDIGetCurrentMap () const

Public Attributes

MapEditToDI g_EditMappings
MapEditToDI g_PlayMappings
MapEditToDI g_RecordMappings

Protected Types

enum  EditMode { MODE_EDITING, MODE_RECORDING, MODE_PLAYING }

Protected Member Functions

void TransitionFromRecordToEdit ()
void TransitionToEdit ()
void PlayTicks ()
void PlayPreviewMusic ()
void UpdateTextInfo ()
void OnSnapModeChange ()
void MenuItemGainFocus (BitmapText *menuitem)
void MenuItemLoseFocus (BitmapText *menuitem)
void SetupCourseAttacks ()

Protected Attributes

EditMode m_EditMode
Songm_pSong
Stepsm_pSteps
NoteField m_NoteFieldEdit
NoteData m_NoteDataEdit
SnapDisplay m_SnapDisplay
AutoActor m_sprOverlay
BitmapText m_textHelp
BitmapText m_textInfo
float m_fTrailingBeat
int g_iShiftAnchor
NoteData m_Clipboard
RageSound m_soundChangeLine
RageSound m_soundChangeSnap
RageSound m_soundMarker
Transition m_In
Transition m_Out
NoteField m_NoteFieldRecord
NoteData m_NoteDataRecord
Player m_Player
Background m_Background
Foreground m_Foreground
Coursem_pAttacksFromCourse
Quad m_rectRecordBack
RageSound m_soundMusic
RageSound m_soundAssistTick

Member Enumeration Documentation

enum ScreenEdit::AlterType
 

Enumeration values:
backwards 
swap_sides 
copy_left_to_right 
copy_right_to_left 
clear_left 
clear_right 
collapse_to_one 
collapse_left 
shift_left 
shift_right 
NUM_ALTER_TYPES 

enum ScreenEdit::AreaMenuChoice
 

Enumeration values:
cut 
copy 
paste_at_current_beat 
paste_at_begin_marker 
clear 
quantize 
turn 
transform 
alter 
tempo 
play 
record 
insert_and_shift 
delete_and_shift 
shift_pauses_forward 
shift_pauses_backward 
convert_beat_to_pause 
convert_pause_to_beat 
NUM_AREA_MENU_CHOICES 

enum ScreenEdit::BGChangeChoice
 

Enumeration values:
rate 
fade_last 
rewind_movie 
loop 
add_random 
add_song_bganimation 
add_song_movie 
add_song_still 
add_global_random_movie 
add_global_bganimation 
add_global_visualization 
delete_change 
NUM_BGCHANGE_CHOICES 

enum ScreenEdit::EditMode [protected]
 

Enumeration values:
MODE_EDITING 
MODE_RECORDING 
MODE_PLAYING 

enum ScreenEdit::EditNotesStatisticsChoice
 

Enumeration values:
difficulty 
meter 
description 
predict_meter 
tap_notes 
hold_notes 
stream 
voltage 
air 
freeze 
chaos 
NUM_EDIT_NOTES_STATISTICS_CHOICES 

enum ScreenEdit::EditSongInfoChoice
 

Enumeration values:
main_title 
sub_title 
artist 
credit 
main_title_transliteration 
sub_title_transliteration 
artist_transliteration 
NUM_EDIT_SONG_INFO_CHOICES 

enum ScreenEdit::MainMenuChoice
 

Enumeration values:
edit_notes_statistics 
play_whole_song 
play_current_beat_to_end 
save 
reload 
player_options 
song_options 
edit_song_info 
edit_bpm 
edit_stop 
edit_bg_change 
play_preview_music 
preferences 
exit 
NUM_MAIN_MENU_CHOICES 

enum ScreenEdit::PrefsChoice
 

Enumeration values:
pref_show_bgs_play 
NUM_PREFS_CHOICES 

enum ScreenEdit::TempoType
 

Enumeration values:
compress_2x 
compress_3_2 
compress_4_3 
expand_4_3 
expand_3_2 
expand_2x 
NUM_TEMPO_TYPES 

enum ScreenEdit::TransformType
 

Enumeration values:
noholds 
nomines 
little 
wide 
big 
quick 
bmrize 
skippy 
mines 
echo 
stomp 
planted 
floored 
twister 
nojumps 
nohands 
noquads 
NUM_TRANSFORM_TYPES 

enum ScreenEdit::TurnType
 

Enumeration values:
left 
right 
mirror 
shuffle 
super_shuffle 
NUM_TURN_TYPES 


Constructor & Destructor Documentation

ScreenEdit::ScreenEdit CString  sName  ) 
 

ScreenEdit::~ScreenEdit  )  [virtual]
 


Member Function Documentation

bool ScreenEdit::DeviceToEdit DeviceInput  DeviceI,
EditButton button
const
 

void ScreenEdit::DrawPrimitives  )  [virtual]
 

Reimplemented from ActorFrame.

bool ScreenEdit::EditIsBeingPressed EditButton  button  )  const
 

bool ScreenEdit::EditPressed EditButton  button,
const DeviceInput DeviceI
 

bool ScreenEdit::EditToDevice EditButton  button,
int  iSlotNum,
DeviceInput DeviceI
const
 

const MapEditToDI * ScreenEdit::GetCurrentMap  )  const
 

void ScreenEdit::HandleAreaMenuChoice AreaMenuChoice  c,
int iAnswers
 

void ScreenEdit::HandleBGChangeChoice BGChangeChoice  c,
int iAnswers
 

void ScreenEdit::HandleEditNotesStatisticsChoice EditNotesStatisticsChoice  c,
int iAnswers
 

void ScreenEdit::HandleEditSongInfoChoice EditSongInfoChoice  c,
int iAnswers
 

void ScreenEdit::HandleMainMenuChoice MainMenuChoice  c,
int iAnswers
 

void ScreenEdit::HandleScreenMessage const ScreenMessage  SM  )  [virtual]
 

Reimplemented from Screen.

void ScreenEdit::InitEditMappings  ) 
 

void ScreenEdit::Input const DeviceInput DeviceI,
const InputEventType  type,
const GameInput GameI,
const MenuInput MenuI,
const StyleInput StyleI
[virtual]
 

Reimplemented from Screen.

void ScreenEdit::InputEdit const DeviceInput DeviceI,
const InputEventType  type,
const GameInput GameI,
const MenuInput MenuI,
const StyleInput StyleI,
EditButton  EditB
 

void ScreenEdit::InputPlay const DeviceInput DeviceI,
const InputEventType  type,
const GameInput GameI,
const MenuInput MenuI,
const StyleInput StyleI,
EditButton  EditB
 

void ScreenEdit::InputRecord const DeviceInput DeviceI,
const InputEventType  type,
const GameInput GameI,
const MenuInput MenuI,
const StyleInput StyleI,
EditButton  EditB
 

void ScreenEdit::MenuItemGainFocus BitmapText menuitem  )  [protected]
 

void ScreenEdit::MenuItemLoseFocus BitmapText menuitem  )  [protected]
 

void ScreenEdit::OnSnapModeChange  )  [protected]
 

void ScreenEdit::PlayPreviewMusic  )  [protected]
 

void ScreenEdit::PlayTicks  )  [protected]
 

void ScreenEdit::SetupCourseAttacks  )  [protected]
 

void ScreenEdit::TransitionFromRecordToEdit  )  [protected]
 

void ScreenEdit::TransitionToEdit  )  [protected]
 

void ScreenEdit::Update float  fDeltaTime  )  [virtual]
 

Reimplemented from Screen.

void ScreenEdit::UpdateTextInfo  )  [protected]
 


Member Data Documentation

MapEditToDI ScreenEdit::g_EditMappings
 

int ScreenEdit::g_iShiftAnchor [protected]
 

MapEditToDI ScreenEdit::g_PlayMappings
 

MapEditToDI ScreenEdit::g_RecordMappings
 

Background ScreenEdit::m_Background [protected]
 

NoteData ScreenEdit::m_Clipboard [protected]
 

EditMode ScreenEdit::m_EditMode [protected]
 

Foreground ScreenEdit::m_Foreground [protected]
 

float ScreenEdit::m_fTrailingBeat [protected]
 

Transition ScreenEdit::m_In [protected]
 

NoteData ScreenEdit::m_NoteDataEdit [protected]
 

NoteData ScreenEdit::m_NoteDataRecord [protected]
 

NoteField ScreenEdit::m_NoteFieldEdit [protected]
 

NoteField ScreenEdit::m_NoteFieldRecord [protected]
 

Transition ScreenEdit::m_Out [protected]
 

Course* ScreenEdit::m_pAttacksFromCourse [protected]
 

Player ScreenEdit::m_Player [protected]
 

Song* ScreenEdit::m_pSong [protected]
 

Steps* ScreenEdit::m_pSteps [protected]
 

Quad ScreenEdit::m_rectRecordBack [protected]
 

SnapDisplay ScreenEdit::m_SnapDisplay [protected]
 

RageSound ScreenEdit::m_soundAssistTick [protected]
 

RageSound ScreenEdit::m_soundChangeLine [protected]
 

RageSound ScreenEdit::m_soundChangeSnap [protected]
 

RageSound ScreenEdit::m_soundMarker [protected]
 

RageSound ScreenEdit::m_soundMusic [protected]
 

AutoActor ScreenEdit::m_sprOverlay [protected]
 

BitmapText ScreenEdit::m_textHelp [protected]
 

BitmapText ScreenEdit::m_textInfo [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 21:02:32 2005 for StepMania by doxygen 1.3.7