This causes "default constructor could not be generated" warnings (sort of
spuriously, but it's a useful warning and I don't want to turn it off), and we don't need to declare every member const to have a const object--you just have a const pointer to the object.
This commit is contained in:
@@ -30,18 +30,18 @@ struct lua_State;
|
||||
class Game
|
||||
{
|
||||
public:
|
||||
const char *const m_szName;
|
||||
const char * m_szName;
|
||||
|
||||
const bool m_bCountNotesSeparately; // Count multiple notes in a row as separate notes or as one note
|
||||
const bool m_bAllowHopos; // allow Hammer-ons and Pull-offs? Only useful for guitar type input.
|
||||
const InputScheme m_InputScheme;
|
||||
bool m_bCountNotesSeparately; // Count multiple notes in a row as separate notes or as one note
|
||||
bool m_bAllowHopos; // allow Hammer-ons and Pull-offs? Only useful for guitar type input.
|
||||
InputScheme m_InputScheme;
|
||||
|
||||
TapNoteScore MapTapNoteScore( TapNoteScore tns ) const;
|
||||
const TapNoteScore m_mapW1To;
|
||||
const TapNoteScore m_mapW2To;
|
||||
const TapNoteScore m_mapW3To;
|
||||
const TapNoteScore m_mapW4To;
|
||||
const TapNoteScore m_mapW5To;
|
||||
TapNoteScore m_mapW1To;
|
||||
TapNoteScore m_mapW2To;
|
||||
TapNoteScore m_mapW3To;
|
||||
TapNoteScore m_mapW4To;
|
||||
TapNoteScore m_mapW5To;
|
||||
|
||||
//
|
||||
// Lua
|
||||
|
||||
Reference in New Issue
Block a user