mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
prc files start with digits now
This commit is contained in:
parent
679b7ec444
commit
37ea14ed18
23
doc/INSTALL
23
doc/INSTALL
@ -681,23 +681,26 @@ Panda is compiled and is only used at build time. The prc files are
|
|||||||
read in every time Panda is started and control the way Panda behaves
|
read in every time Panda is started and control the way Panda behaves
|
||||||
at runtime.
|
at runtime.
|
||||||
|
|
||||||
The system-defined prc files begin with the underscore character, so
|
The system-defined prc files begin with digits, so that they sort to
|
||||||
that they sort to the top of the list and are read first (and so that
|
the top of the list and are read first (and so that you may define one
|
||||||
you may define one or more additional files that are read afterwards
|
or more additional files that are read afterwards and that will
|
||||||
and that will therefore override the values specified in these system
|
therefore override the values specified in these system files). The
|
||||||
files).
|
digits also imply an ordering between the prc files. We recommend
|
||||||
|
that you name your own prc file(s) beginning with letters, unless for
|
||||||
|
some reason you need a file to be loaded before one of the
|
||||||
|
system-defined prc files.
|
||||||
|
|
||||||
We suggest creating a file in $INSTALL_DIR/etc called Config.prc,
|
We suggest creating a file in $INSTALL_DIR/etc called Config.prc, into
|
||||||
where you will put your own custom configuration options. For
|
which you will put your own custom configuration options. For
|
||||||
instance, if you want to run using OpenGL instead of the Windows
|
instance, if you want to run using OpenGL instead of the Windows
|
||||||
default of DirectX9, you can add the line:
|
default of DirectX9, you can add the line:
|
||||||
|
|
||||||
load-display pandagl
|
load-display pandagl
|
||||||
|
|
||||||
to your Config.prc file. If you choose not to do this at this time,
|
to your Config.prc file. If you choose not to do this at this time,
|
||||||
you can just leave this file empty for now; we do recommend creating
|
you can just leave this file empty for now; however, we do recommend
|
||||||
at least an empty Config.prc file as a placeholder into which you can
|
creating at least an empty Config.prc file as a placeholder into which
|
||||||
add your custom configuration options later.
|
you can add your custom configuration options later.
|
||||||
|
|
||||||
The complete list of available configuration options is very large and
|
The complete list of available configuration options is very large and
|
||||||
is not fully documented; but there are other documents that list
|
is not fully documented; but there are other documents that list
|
||||||
|
Loading…
x
Reference in New Issue
Block a user