mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
report panda3d version
This commit is contained in:
parent
131fc2cfdf
commit
3f5dd0d039
@ -1035,8 +1035,17 @@ delete_instance(P3D_instance *inst) {
|
||||
void Panda3D::
|
||||
usage() {
|
||||
cerr
|
||||
<< "\nUsage:\n"
|
||||
<< " panda3d [opts] file.p3d [args]\n\n"
|
||||
<< "\nThis is panda3d version "
|
||||
<< P3D_PLUGIN_MAJOR_VERSION << "."
|
||||
<< P3D_PLUGIN_MINOR_VERSION << "."
|
||||
<< P3D_PLUGIN_SEQUENCE_VERSION;
|
||||
#ifndef PANDA_OFFICIAL_VERSION
|
||||
cerr << "c";
|
||||
#endif
|
||||
|
||||
cerr
|
||||
<< "\n\nUsage:\n"
|
||||
<< " panda3d [opts] file.p3d [args]\n"
|
||||
<< " panda3d -m [opts] file_a.p3d file_b.p3d [file_c.p3d ...]\n\n"
|
||||
|
||||
<< "This program is used to execute a Panda3D application bundle stored\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user