comparison SequenceController.h @ 35:3b10a26da293

refactoring and log
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Wed, 26 Nov 2014 18:18:20 +0000
parents 3af380769779
children 146033869165
comparison
equal deleted inserted replaced
34:3af380769779 35:3b10a26da293
13 #include "ofMain.h" 13 #include "ofMain.h"
14 #include "presetManager.h" 14 #include "presetManager.h"
15 #include "TrainingScoreManager.h" 15 #include "TrainingScoreManager.h"
16 #define MIN_TARGETS_IN_SEQUENCE 1 16 #define MIN_TARGETS_IN_SEQUENCE 1
17 #define MAX_TARGETS_IN_SEQUENCE 7 17 #define MAX_TARGETS_IN_SEQUENCE 7
18 #define MIN_TEMPO 80 18 #define MIN_TEMPO 60
19 #define MAX_TEMPO 400 19 #define MAX_TEMPO 500
20 #define NUM_TEMPO_STEPS 12 20 #define NUM_TEMPO_STEPS 15
21 #define NUM_PRESETS 8 21 #define NUM_PRESETS 8
22 #define SPACER_BARS false 22 #define SPACER_BARS false
23 #define NO_GUIDES_LEVEL false 23 #define NO_GUIDES_LEVEL false
24 class AnimStep{ 24 class AnimStep{
25 25
28 28
29 AnimStep(); 29 AnimStep();
30 typedef enum {PREVIEW_NEUTRAL_COUNT, 30 typedef enum {PREVIEW_NEUTRAL_COUNT,
31 MATCHING_NEUTRAL_COUNT, 31 MATCHING_NEUTRAL_COUNT,
32 PREVIEW_MOVE, 32 PREVIEW_MOVE,
33 PREVIEW_HIT, 33 PREVIEW_LAST,
34 GUIDED_MOVE, 34 GUIDED_MOVE,
35 GUIDED_HIT, 35 GUIDED_HIT,
36 MATCHING_MOVE, 36 MATCHING_MOVE,
37 MATCHING_HIT} 37 MATCHING_LAST}
38 stepType; 38 stepType;
39 39
40 stepType type; 40 stepType type;
41 41
42 float getTimeBetweenTicks(){ 42 float getTimeBetweenTicks(){
49 bool isLastOfAll; 49 bool isLastOfAll;
50 50
51 int tempo; 51 int tempo;
52 int seqNumber; 52 int seqNumber;
53 int runNumber; 53 int runNumber;
54 int difficulty;
54 bool isLastOfSeq; 55 bool isLastOfSeq;
55 bool isLastOfRun; 56 bool isLastOfRun;
56 57
57 bool showsGuides; // depends on 'level' 58 bool showsGuides; // depends on 'level'
58 bool showsIcons; 59 bool showsIcons;