Make some variables accessable (public) so MIPSpro can compile it.
This commit is contained in:
parent
63eec99347
commit
1fc105582e
1 changed files with 15 additions and 5 deletions
|
@ -232,10 +232,16 @@ class MK_VIII : public SGSubsystem
|
|||
tie(node->getNode(relative_path, true), raw_value);
|
||||
}
|
||||
|
||||
PropertiesHandler() {};
|
||||
|
||||
void init ();
|
||||
void unbind ();
|
||||
};
|
||||
|
||||
public:
|
||||
PropertiesHandler properties_handler;
|
||||
|
||||
private:
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// MK_VIII::PowerHandler ////////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -431,6 +437,7 @@ class MK_VIII : public SGSubsystem
|
|||
// MK_VIII::IOHandler ///////////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
public:
|
||||
class IOHandler
|
||||
{
|
||||
public:
|
||||
|
@ -604,6 +611,8 @@ class MK_VIII : public SGSubsystem
|
|||
|
||||
void bind (SGPropertyNode *node);
|
||||
|
||||
MK_VIII *mk;
|
||||
|
||||
private:
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
@ -627,8 +636,6 @@ class MK_VIII : public SGSubsystem
|
|||
// MK_VIII::IOHandler (continued) /////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
MK_VIII *mk;
|
||||
|
||||
TerrainClearanceFilter terrain_clearance_filter;
|
||||
|
||||
Lamp _lamp;
|
||||
|
@ -678,6 +685,8 @@ class MK_VIII : public SGSubsystem
|
|||
const char *name,
|
||||
int *output);
|
||||
|
||||
public:
|
||||
|
||||
bool get_discrete_input (bool *ptr) const;
|
||||
void set_discrete_input (bool *ptr, bool value);
|
||||
|
||||
|
@ -860,7 +869,7 @@ class MK_VIII : public SGSubsystem
|
|||
|
||||
inline void bind (SGPropertyNode *node) { speaker.bind(node); }
|
||||
|
||||
private:
|
||||
public:
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// MK_VIII::VoicePlayer::Speaker //////////////////////////////////////////
|
||||
|
@ -890,13 +899,13 @@ class MK_VIII : public SGSubsystem
|
|||
&MK_VIII::VoicePlayer::Speaker::set_property));
|
||||
}
|
||||
|
||||
public:
|
||||
template <class T>
|
||||
inline void set_property (T *ptr, T value) { *ptr = value; update_configuration(); }
|
||||
|
||||
template <class T>
|
||||
inline T get_property (T *ptr) const { return *ptr; }
|
||||
|
||||
public:
|
||||
double volume;
|
||||
|
||||
inline Speaker (VoicePlayer *_player)
|
||||
|
@ -917,6 +926,7 @@ class MK_VIII : public SGSubsystem
|
|||
void update_configuration ();
|
||||
};
|
||||
|
||||
private:
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// MK_VIII::VoicePlayer (continued) ///////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
@ -949,6 +959,7 @@ class MK_VIII : public SGSubsystem
|
|||
inline void make_voice (Voice **voice, T1 e1, T2 e2, T3 e3, T4 e4) { make_voice(voice, e1, e2, e3); append(*voice, e4); }
|
||||
};
|
||||
|
||||
private:
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// MK_VIII::SelfTestHandler /////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -1573,7 +1584,6 @@ class MK_VIII : public SGSubsystem
|
|||
string name;
|
||||
int num;
|
||||
|
||||
PropertiesHandler properties_handler;
|
||||
PowerHandler power_handler;
|
||||
SystemHandler system_handler;
|
||||
ConfigurationModule configuration_module;
|
||||
|
|
Loading…
Add table
Reference in a new issue