mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fix comment
This commit is contained in:
parent
626136548f
commit
b600ff2aa5
@ -29,8 +29,8 @@
|
|||||||
// Description: A convenience function for loading explicit prc files
|
// Description: A convenience function for loading explicit prc files
|
||||||
// from a disk file or from within a multifile (via the
|
// from a disk file or from within a multifile (via the
|
||||||
// virtual file system). Save the return value and pass
|
// virtual file system). Save the return value and pass
|
||||||
// it to unload_prc_file() if you ever want to load this
|
// it to unload_prc_file() if you ever want to unload
|
||||||
// file later.
|
// this file later.
|
||||||
//
|
//
|
||||||
// The filename is first searched along the default prc
|
// The filename is first searched along the default prc
|
||||||
// search path, and then also along the model path, for
|
// search path, and then also along the model path, for
|
||||||
@ -116,6 +116,10 @@ load_prc_file_data(const string &name, const string &data) {
|
|||||||
// prc file that was previously loaded by
|
// prc file that was previously loaded by
|
||||||
// load_prc_file(). Returns true if successful, false
|
// load_prc_file(). Returns true if successful, false
|
||||||
// if the file was unknown.
|
// if the file was unknown.
|
||||||
|
//
|
||||||
|
// After this function has been called, the ConfigPage
|
||||||
|
// pointer is no longer valid and should not be used
|
||||||
|
// again.
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
bool
|
bool
|
||||||
unload_prc_file(ConfigPage *page) {
|
unload_prc_file(ConfigPage *page) {
|
||||||
|
@ -30,8 +30,8 @@ BEGIN_PUBLISH
|
|||||||
// Description: A convenience function for loading explicit prc files
|
// Description: A convenience function for loading explicit prc files
|
||||||
// from a disk file or from within a multifile (via the
|
// from a disk file or from within a multifile (via the
|
||||||
// virtual file system). Save the return value and pass
|
// virtual file system). Save the return value and pass
|
||||||
// it to unload_prc_file() if you ever want to load this
|
// it to unload_prc_file() if you ever want to unload
|
||||||
// file later.
|
// this file later.
|
||||||
//
|
//
|
||||||
// The filename is first searched along the default prc
|
// The filename is first searched along the default prc
|
||||||
// search path, and then also along the model path, for
|
// search path, and then also along the model path, for
|
||||||
@ -67,6 +67,10 @@ load_prc_file_data(const string &name, const string &data);
|
|||||||
// prc file that was previously loaded by
|
// prc file that was previously loaded by
|
||||||
// load_prc_file(). Returns true if successful, false
|
// load_prc_file(). Returns true if successful, false
|
||||||
// if the file was unknown.
|
// if the file was unknown.
|
||||||
|
//
|
||||||
|
// After this function has been called, the ConfigPage
|
||||||
|
// pointer is no longer valid and should not be used
|
||||||
|
// again.
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
EXPCL_PANDA bool
|
EXPCL_PANDA bool
|
||||||
unload_prc_file(ConfigPage *page);
|
unload_prc_file(ConfigPage *page);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user