mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
publish more prc stuff
This commit is contained in:
parent
255b1ffffa
commit
d156c4a1d5
@ -42,7 +42,7 @@ private:
|
|||||||
public:
|
public:
|
||||||
INLINE bool operator < (const ConfigDeclaration &other) const;
|
INLINE bool operator < (const ConfigDeclaration &other) const;
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
INLINE ConfigPage *get_page() const;
|
INLINE ConfigPage *get_page() const;
|
||||||
INLINE ConfigVariableCore *get_variable() const;
|
INLINE ConfigVariableCore *get_variable() const;
|
||||||
|
|
||||||
|
@ -337,6 +337,20 @@ get_declaration(int n) const {
|
|||||||
return _declarations[n];
|
return _declarations[n];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
// Function: ConfigPage::modify_declaration
|
||||||
|
// Access: Published
|
||||||
|
// Description: Returns a modifiable pointer to the nth declaration
|
||||||
|
// on the page. Any modifications will appear in the
|
||||||
|
// output, if the page is written out with
|
||||||
|
// ConfigPage::write().
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
ConfigDeclaration *ConfigPage::
|
||||||
|
modify_declaration(int n) {
|
||||||
|
nassertr(n >= 0 && n < (int)_declarations.size(), (ConfigDeclaration *)NULL);
|
||||||
|
return _declarations[n];
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: ConfigPage::get_variable_name
|
// Function: ConfigPage::get_variable_name
|
||||||
// Access: Published
|
// Access: Published
|
||||||
|
@ -65,6 +65,7 @@ PUBLISHED:
|
|||||||
|
|
||||||
int get_num_declarations() const;
|
int get_num_declarations() const;
|
||||||
const ConfigDeclaration *get_declaration(int n) const;
|
const ConfigDeclaration *get_declaration(int n) const;
|
||||||
|
ConfigDeclaration *modify_declaration(int n);
|
||||||
string get_variable_name(int n) const;
|
string get_variable_name(int n) const;
|
||||||
string get_string_value(int n) const;
|
string get_string_value(int n) const;
|
||||||
bool is_variable_used(int n) const;
|
bool is_variable_used(int n) const;
|
||||||
|
@ -41,7 +41,7 @@ private:
|
|||||||
ConfigVariableCore(const ConfigVariableCore &templ, const string &name);
|
ConfigVariableCore(const ConfigVariableCore &templ, const string &name);
|
||||||
~ConfigVariableCore();
|
~ConfigVariableCore();
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
INLINE const string &get_name() const;
|
INLINE const string &get_name() const;
|
||||||
INLINE bool is_used() const;
|
INLINE bool is_used() const;
|
||||||
|
|
||||||
|
@ -31,6 +31,8 @@ forcetype DConfig
|
|||||||
forcetype ConfigFlags
|
forcetype ConfigFlags
|
||||||
forcetype ConfigPage
|
forcetype ConfigPage
|
||||||
forcetype ConfigPageManager
|
forcetype ConfigPageManager
|
||||||
|
forcetype ConfigDeclaration
|
||||||
|
forcetype ConfigVariableCore
|
||||||
forcetype ConfigVariable
|
forcetype ConfigVariable
|
||||||
forcetype ConfigVariableBase
|
forcetype ConfigVariableBase
|
||||||
forcetype ConfigVariableBool
|
forcetype ConfigVariableBool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user