aboutsummaryrefslogtreecommitdiff
path: root/bin/client/data
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-07-15 11:35:44 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2017-07-15 11:35:44 -0400
commitfa49161fe2d7e0a025c9fd8559815d56dfd1f427 (patch)
treecb3a64e2d45ff9f675c256a94f5c1ccb01ec5a09 /bin/client/data
parentb98dbac4ed2f755ce71bd9be17f26a3f86c1e3cc (diff)
downloadbrokengine-fa49161fe2d7e0a025c9fd8559815d56dfd1f427.tar.gz
brokengine-fa49161fe2d7e0a025c9fd8559815d56dfd1f427.tar.bz2
brokengine-fa49161fe2d7e0a025c9fd8559815d56dfd1f427.zip
Added static physics things
Added some phyics stuff! woo! * Added physics models from file * Added physics boxes * Added a maya camera * Added lights * Various refactoring
Diffstat (limited to 'bin/client/data')
-rw-r--r--bin/client/data/deviceinit.lua92
1 files changed, 92 insertions, 0 deletions
diff --git a/bin/client/data/deviceinit.lua b/bin/client/data/deviceinit.lua
new file mode 100644
index 0000000..ebc9cc3
--- /dev/null
+++ b/bin/client/data/deviceinit.lua
@@ -0,0 +1,92 @@
+print("Hello, world!")
+return {
+ --[[
+ Anti-Alias
+ Should the window use fullscreen anti aliasing
+ Default:16
+ ]]
+ ["Anti Alias"] = 16,
+ --[[
+ Bits Per Pixel
+ The minimum bits per pixel of the color buffer in fullscreen. Ignored in window mode.
+ Default:16
+ ]]
+ ["Bits Per Pixel"] = 16,
+ --[[
+ Device Type
+ Options:
+ WIN32 - Only avaliable on windows desktops
+ WINCE - Only avaliable on windows mobile
+ COCOA - Only avaliable on OSX
+ X11 - Avaliable on Linux, Solaris, BSD, anyone that uses X11
+ SDL - Avaliable on most systems
+ CONSOLE - Usually avaliable, but can only render text
+ BEST - Automatically choose the best device.
+ Default:Best
+ ]]
+ ["Device Type"] = "BEST",
+ --[[
+ Display Adapter
+ Pick which graphics card is used for rendering when there is more than one.
+ Default:0
+ ]]
+ ["Display Adapter"] = 0,
+ --[[
+ Double Buffer
+ Should the window use doublebuffering?
+ Default:false
+ ]]
+ ["Double Buffer"] = false,
+ --[[
+ Multithreaded
+ Should the display use multiple threads?
+ Default:false
+ ]]
+ ["Multithreaded"] = false,
+ --[[
+ Driver Type
+ The video driver used to render graphics
+ Options:
+ NULL - You probably don't want this one
+ SOFTWARE - Donate your computer to a mueseum
+ BURNINGS - a software alternative
+ D3D8 - Direct 3D 8 Win32 only
+ D3D9 - Direct 3D 9 Win32 only
+ OPENGL - Open GL
+ (vulkan support comming soon... maybe.)
+ Default:OPENGL
+ ]]
+ ["Driver Type"] = "OPENGL",
+ --[[
+ Fullscreen
+ Should the window be fullscreen?
+ Default:false
+ ]]
+ ["Fullscreen"] = false,
+ --[[
+ Stencil buffer
+ Should the stencil buffer be enabled?
+ Default:false
+ ]]
+ ["Stencil Buffer"] = false,
+ --[[
+ Stereo Buffer
+ Should the window use stereo buffers?
+ Default:false
+ ]]
+ ["Stereo Buffer"] = false,
+ --[[
+ Vertical Sync
+ Should the frame wait to be displayed to screen before starting the next draw?
+ Enable this if you are getting graphical artifacts
+ Default:false
+ ]]
+ ["VSync"] = false,
+ --[[
+ Window Width/height
+ Adjusts the size of the window.
+ Default: 640,480
+ ]]
+ ["Window Width"] = 640,
+ ["Window Height"] = 480,
+}