Engine:Console commands: Difference between revisions

Line 39: Line 39:


=== Render module ===
=== Render module ===
==== Global commands ====
 
Global commands:
: none
: none
==== Global vars ====
 
Global vars:
: [[CVAR r_width|r_width]] - '900' - Initial main window height.
: [[CVAR r_width|r_width]] - '900' - Initial main window height.
: [[CVAR r_height|r_height]] - '600' - Initial main window width.
: [[CVAR r_height|r_height]] - '600' - Initial main window width.
Line 49: Line 51:
: [[CVAR r_vsync|r_vsync]] - '1.0' - If should render each frame one frame synced with device rate.
: [[CVAR r_vsync|r_vsync]] - '1.0' - If should render each frame one frame synced with device rate.


==== Assignments ====
Assignments:
: none
: none


=== Input module ===
=== Input module ===
==== Global commands ====
 
Global commands:
: [[MACRO quit|quit]] - quit, /quit - Exits engine immediately with graceful shutdown.
: [[MACRO quit|quit]] - quit, /quit - Exits engine immediately with graceful shutdown.


==== Global vars ====
Global vars:
: [[CVAR m_sensitivity|m_sensitivity]] - '1.0' - General mouse sensitivity.
: [[CVAR m_sensitivity|m_sensitivity]] - '1.0' - General mouse sensitivity.
: [[CVAR m_raw|m_raw]] - '1' (0,1,2) - 0 off if can, 1 on if can, 2 force on. Windows always on. Off if platform not complete or in a VM.
: [[CVAR m_raw|m_raw]] - '1' (0,1,2) - 0 off if can, 1 on if can, 2 force on. Windows always on. Off if platform not complete or in a VM.


==== Bindings ====
Bindings:
: KB_ESC - 'quit'
: KB_ESC - 'quit'
==== Assignments ====
 
Assignments:
: none
: none