NoteTypeToLocalizedString

This commit is contained in:
Glenn Maynard
2006-02-02 22:50:14 +00:00
parent e7844d28b5
commit d8b5f39282
3 changed files with 14 additions and 0 deletions
+11
View File
@@ -201,6 +201,17 @@ Connection to server dropped.=Connection to server dropped.
Initializing Client Network...=Initializing Client Network...
Initializing server...=Initializing server...
[NoteType]
4th=4th
8th=8th
12th=12th
16th=16th
24th=24thXXX
32nd=32nd
48th=48th
64th=64th
192nd=192nd
[OptionExplanations]
Accel=Accel
AllowExtraStage=AllowExtraStage
+2
View File
@@ -4,6 +4,7 @@
#include "LuaManager.h"
#include "LuaFunctions.h"
#include "XmlFile.h"
#include "LocalizedString.h"
TapNote TAP_EMPTY ( TapNote::empty, TapNote::SubType_invalid, TapNote::original, "", 0, false, 0 );
TapNote TAP_ORIGINAL_TAP ( TapNote::tap, TapNote::SubType_invalid, TapNote::original, "", 0, false, 0 );
@@ -29,6 +30,7 @@ static const char *NoteTypeNames[] = {
XToString( NoteType, NUM_NoteType );
LuaXToString( NoteType )
LuaXType( NoteType, NUM_NoteType, "NOTE_TYPE_", true )
XToLocalizedString( NoteType );
float NoteTypeToBeat( NoteType nt )
{
+1
View File
@@ -197,6 +197,7 @@ enum NoteType
NOTE_TYPE_INVALID
};
const RString& NoteTypeToString( NoteType nt );
const RString& NoteTypeToLocalizedString( NoteType nt );
float NoteTypeToBeat( NoteType nt );
NoteType GetNoteType( int row );
NoteType BeatToNoteType( float fBeat );