13 Commits

Author SHA1 Message Date
Josh Holtrop
79b11ba619 updated Engine to use TextureCache
git-svn-id: svn://anubis/anaglym/trunk@95 99a6e188-d820-4881-8870-2d33a10e2619
2009-10-18 16:33:58 +00:00
Josh Holtrop
e537e89568 fixed loading .phy files for physics information - back to working demo where i was before restructuring WFObj; need to add TextureCache support and support for placing non-physics models
git-svn-id: svn://anubis/anaglym/trunk@94 99a6e188-d820-4881-8870-2d33a10e2619
2009-10-17 22:12:34 +00:00
Josh Holtrop
387141b506 first time recompiling successfully after WFObj restructuring!
git-svn-id: svn://anubis/anaglym/trunk@93 99a6e188-d820-4881-8870-2d33a10e2619
2009-10-17 21:58:34 +00:00
Josh Holtrop
967b6ac5b5 added autoDrawObjects setting, on by default
git-svn-id: svn://anubis/anaglym/trunk@88 99a6e188-d820-4881-8870-2d33a10e2619
2009-10-14 04:06:24 +00:00
Josh Holtrop
53e98eb57a added autoStartFrame and autoEndFrame
git-svn-id: svn://anubis/anaglym/trunk@87 99a6e188-d820-4881-8870-2d33a10e2619
2009-10-14 04:03:04 +00:00
Josh Holtrop
cc83d92c18 moved Video out of Engine
git-svn-id: svn://anubis/anaglym/trunk@85 99a6e188-d820-4881-8870-2d33a10e2619
2009-10-14 03:45:46 +00:00
Josh Holtrop
eafeac9bf9 rolled back all changed to implement multitasking
git-svn-id: svn://anubis/anaglym/trunk@84 99a6e188-d820-4881-8870-2d33a10e2619
2009-10-14 03:38:32 +00:00
Josh Holtrop
bf32dab70c MULTITHREADING NOT WORKING - OpenGL calls do not work properly called from a thread different from the one that OpenGL was initialized in. But, I need SDL calls to be called from the thread that SDL was initialized in, which is the thread that initializes OpenGL. That means that in order to use multithreading all OpenGL and SDL calls would have to be done from the main thread and not from the lua thread. This means that every single draw operation would have to be passed from the lua thread to the main thread for execution. This is a bad idea. So, I am going to revert all of these changes for multithreading and look into lua_sethook() for handling infinite loops instead.
git-svn-id: svn://anubis/anaglym/trunk@83 99a6e188-d820-4881-8870-2d33a10e2619
2009-10-14 03:32:52 +00:00
Josh Holtrop
e7d5e6eed1 supposed to be swapping buffers now but only getting a black screen... not a good sign
git-svn-id: svn://anubis/anaglym/trunk@82 99a6e188-d820-4881-8870-2d33a10e2619
2009-10-14 02:44:45 +00:00
Josh Holtrop
b9a4ce22ed reworked startFrame() and endFrame()
git-svn-id: svn://anubis/anaglym/trunk@81 99a6e188-d820-4881-8870-2d33a10e2619
2009-10-14 01:36:18 +00:00
Josh Holtrop
917a226e0f maintaining an event queue for passing events to the engine thread from the main SDL thread
git-svn-id: svn://anubis/anaglym/trunk@79 99a6e188-d820-4881-8870-2d33a10e2619
2009-10-14 01:20:58 +00:00
Josh Holtrop
a630609767 compiling again after refactoring SDL calls out of Engine into anaglym.cc!
git-svn-id: svn://anubis/anaglym/trunk@78 99a6e188-d820-4881-8870-2d33a10e2619
2009-10-14 00:32:02 +00:00
Josh Holtrop
38a517174b broke Engine into its own compilation module; this will assist with multithreading later...
git-svn-id: svn://anubis/anaglym/trunk@77 99a6e188-d820-4881-8870-2d33a10e2619
2009-10-13 16:43:28 +00:00