Commit Graph

  • 6b5d200863 added cratestack.lua test Josh Holtrop 2009-10-19 03:15:40 +00:00
  • 724622e094 add absolute/relative force/torque addition functions Josh Holtrop 2009-10-19 02:53:58 +00:00
  • 7e22874623 added crate library object Josh Holtrop 2009-10-19 01:59:25 +00:00
  • 9a944721ca added command-line options to set width, height, fullscreen, and input grabbing Josh Holtrop 2009-10-19 01:18:14 +00:00
  • c6319a3a1b added ag::isKeyDown; Engine keeping track of which keys are currently pressed Josh Holtrop 2009-10-18 22:48:52 +00:00
  • c63a4bb808 Engine calling update_event, key_pressed_event, and key_released_event Josh Holtrop 2009-10-18 22:20:22 +00:00
  • 624f8a8dcc updated clean target in Makefile Josh Holtrop 2009-10-18 21:54:20 +00:00
  • 75a80ae378 added gen-sdl-keymap.pl to generate sdl_keymap.h and sdl_keymap.cc Josh Holtrop 2009-10-18 21:46:53 +00:00
  • 79b11ba619 updated Engine to use TextureCache Josh Holtrop 2009-10-18 16:33:58 +00:00
  • 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 Josh Holtrop 2009-10-17 22:12:34 +00:00
  • 387141b506 first time recompiling successfully after WFObj restructuring! Josh Holtrop 2009-10-17 21:58:34 +00:00
  • 580788097d added TOPLEVEL to recursively find includes relative to the top level directory Josh Holtrop 2009-10-17 21:25:54 +00:00
  • a984a625cd added a couple more externals Josh Holtrop 2009-10-17 19:43:06 +00:00
  • d58ceeaf01 added FileLoader external Josh Holtrop 2009-10-16 19:21:27 +00:00
  • dd00b76d50 added a textured checkerball model, but not loading textures to draw yet Josh Holtrop 2009-10-14 04:43:15 +00:00
  • 967b6ac5b5 added autoDrawObjects setting, on by default Josh Holtrop 2009-10-14 04:06:24 +00:00
  • 53e98eb57a added autoStartFrame and autoEndFrame Josh Holtrop 2009-10-14 04:03:04 +00:00
  • 3d5a5b1ecb implemented multi-sampling for full-screen anti-aliasing (FSAA) Josh Holtrop 2009-10-14 03:50:03 +00:00
  • cc83d92c18 moved Video out of Engine Josh Holtrop 2009-10-14 03:45:46 +00:00
  • eafeac9bf9 rolled back all changed to implement multitasking Josh Holtrop 2009-10-14 03:38:32 +00:00
  • 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. Josh Holtrop 2009-10-14 03:32:52 +00:00
  • e7d5e6eed1 supposed to be swapping buffers now but only getting a black screen... not a good sign Josh Holtrop 2009-10-14 02:44:45 +00:00
  • b9a4ce22ed reworked startFrame() and endFrame() Josh Holtrop 2009-10-14 01:36:18 +00:00
  • 59818a253d processing events in the engine thread Josh Holtrop 2009-10-14 01:27:54 +00:00
  • 917a226e0f maintaining an event queue for passing events to the engine thread from the main SDL thread Josh Holtrop 2009-10-14 01:20:58 +00:00
  • a630609767 compiling again after refactoring SDL calls out of Engine into anaglym.cc! Josh Holtrop 2009-10-14 00:32:02 +00:00
  • 38a517174b broke Engine into its own compilation module; this will assist with multithreading later... Josh Holtrop 2009-10-13 16:43:28 +00:00
  • 1e5ebc7d7e loading dwlogo from engine library instead of tests directory Josh Holtrop 2009-10-12 22:16:47 +00:00
  • 90651eb9e8 added dwlogo library object Josh Holtrop 2009-10-12 22:15:17 +00:00
  • fe403112c9 ballstairs.lua test script demonstrating loading model with scaling Josh Holtrop 2009-10-12 21:42:22 +00:00
  • 6864704d37 ag::loadModel and ag::loadStaticModel accepting a second optional parameter to specify the scale of the model to load Josh Holtrop 2009-10-12 21:40:47 +00:00
  • 968a35bc36 added scaling support when creating Engine::Objects Josh Holtrop 2009-10-12 21:30:56 +00:00
  • c4f07c6c93 added an "auto physics" mode, on by default, that will call doPhysics() before update() if on, settable via ag::setAutoPhysics() Josh Holtrop 2009-10-12 19:48:58 +00:00
  • 3f407b8970 added "dist" target to produce a distributable output Josh Holtrop 2009-10-12 18:38:19 +00:00
  • bddbf61f5f added lib directory for standard Anaglym library of models, textures, scripts, etc... Josh Holtrop 2009-10-12 17:44:30 +00:00
  • 792e087885 added visibility flag to Engine::Object and ag::object::setVisible() to control it Josh Holtrop 2009-10-12 16:41:42 +00:00
  • 207f7e628a finished implementing ag::object::destroy() so lua calls to object:destroy() will correctly remove the object from the scene Josh Holtrop 2009-10-12 16:16:39 +00:00
  • 5bf9e9f2ec moved Object contructor/destructor into .cc file, keeping track of number of references to OpenGL display list and deleting it when the last reference goes away Josh Holtrop 2009-10-12 15:00:46 +00:00
  • bd2d3d8b25 added ag::drawObjects() to draw all objects in the scene from a lua script Josh Holtrop 2009-10-12 14:54:40 +00:00
  • 2107a67d08 set ball test object to smooth and re-exported it; removed some old camera controls from ballstairs.lua test script Josh Holtrop 2009-10-12 14:48:14 +00:00
  • e6556d8bf3 finished implementing object cloning support; added dwlogo.phy; removed .blend1 backup files; added DEBUG parameter to Makefile Josh Holtrop 2009-10-11 23:42:16 +00:00
  • f237390761 refactoring for object cloning Josh Holtrop 2009-10-11 14:32:34 +00:00
  • 9ca4338d32 updated ballstairs.lua test so the camera follows the ball! Josh Holtrop 2009-10-09 20:42:03 +00:00
  • 0035a690a7 updated boxarena.phy with correct sizes from new phy_export.py Josh Holtrop 2009-10-09 20:38:32 +00:00
  • aff4d93989 added ball object, incorporated into ballstairs.lua Josh Holtrop 2009-10-09 20:16:21 +00:00
  • 426d046dbc fixed m_inputGrabbed initialization Josh Holtrop 2009-10-09 17:27:20 +00:00
  • a34e96d73f exported normals on boxarena.obj, still looks funny though Josh Holtrop 2009-10-09 17:25:09 +00:00
  • 0373aa75d1 added grab_input parameter to Video::start() Josh Holtrop 2009-10-09 03:02:18 +00:00
  • f260d83d47 added Engine::createObject() factory method, using new OdeWorld::Object interface Josh Holtrop 2009-10-08 04:12:09 +00:00
  • d595278039 migrating some Engine::Object functionality to OdeWorld::Object Josh Holtrop 2009-10-08 00:46:57 +00:00
  • 8f7fc49436 updated svn:ignore properties, added dwlogo object in tests directory Josh Holtrop 2009-10-07 20:57:51 +00:00
  • a3073efb89 enabling smooth shading model Josh Holtrop 2009-10-07 20:38:37 +00:00
  • 7fc07f1bf1 added tests folder with a demo Josh Holtrop 2009-10-05 22:02:30 +00:00
  • 452b8fe3f3 moved Engine::Object::draw() into .cc file as it got bigger Josh Holtrop 2009-10-05 20:03:14 +00:00
  • 4b34a2e565 fixed bug popping when i shouldnt have been and registering doPhysics() Josh Holtrop 2009-10-05 19:44:55 +00:00
  • 6a52215247 added doPhysics() Josh Holtrop 2009-10-05 19:06:42 +00:00
  • fccfb572e2 moved video start and stop functionality into Engine, calling update() lua function on redraw events Josh Holtrop 2009-10-05 16:52:12 +00:00
  • 5eac13339f fixed offset bug in lua_type() call in ag::object::setPosition() Josh Holtrop 2009-10-01 04:02:36 +00:00
  • 8e502af057 added ag::loadStaticModel() Josh Holtrop 2009-10-01 03:46:14 +00:00
  • 05858c0c22 filled in Engine::Object::{get,set}Position() Josh Holtrop 2009-10-01 03:38:39 +00:00
  • 0753f243c5 added body parameter to Engine::Object Josh Holtrop 2009-10-01 03:24:06 +00:00
  • 99a8835954 added ag::object::getObject() helper method, stub getPosition() and setPosition() methods Josh Holtrop 2009-10-01 03:00:59 +00:00
  • 95c13516ef added elapsedTime() Josh Holtrop 2009-10-01 02:02:57 +00:00
  • 7bc249599f made startFrame() callable from lua, filled in Engine::setCamera() Josh Holtrop 2009-09-30 15:32:24 +00:00
  • a1c8736488 moved startFrame(), endFrame() and setCamera() into Engine Josh Holtrop 2009-09-30 15:14:29 +00:00
  • 4bca35ee69 usleep() did not work on Windows - modified ag.cc to use Sleep() Josh Holtrop 2009-09-29 18:44:59 +00:00
  • 9d95158176 added exports to Makefile so subdirectories inherit flags Josh Holtrop 2009-09-29 18:31:23 +00:00
  • cb1186d9e8 added loadPhy() to Engine::Object Josh Holtrop 2009-09-27 23:11:16 +00:00
  • d476eb4639 compiling with optimizations, added collide callback to OdeWorld Josh Holtrop 2009-09-27 22:02:32 +00:00
  • 218d292388 initializing OpenGL in Video::start() Josh Holtrop 2009-09-27 21:22:50 +00:00
  • 639af8d59f added Engine::Object and ag::object::load; filled in ag::loadModel a bit more Josh Holtrop 2009-09-27 21:01:40 +00:00
  • 8a7e077604 updated Makefile to work with externals better Josh Holtrop 2009-09-26 16:49:07 +00:00
  • 70bb97d7cc added OdeWorld external reference Josh Holtrop 2009-09-26 16:39:13 +00:00
  • 708800d06a added Engine class to hold the state of the engine Josh Holtrop 2009-09-26 16:26:04 +00:00
  • c26261d1cf updated loadModel slightly Josh Holtrop 2009-09-22 22:19:51 +00:00
  • 302764c865 grabbing input and hiding cursor by default Josh Holtrop 2009-09-22 22:19:50 +00:00
  • aa37258391 program building on Windows with updated Makefile Josh Holtrop 2009-09-22 16:16:19 +00:00
  • c1e2cf8616 fixed LUA_INCLUDE to LUAINCLUDE in Makefile Josh Holtrop 2009-09-22 15:39:22 +00:00
  • 7154cd81c7 modifications to build in MSYS Josh Holtrop 2009-09-22 14:27:56 +00:00
  • ccf24d1777 getting ready to add GL calls to ag.cc Josh Holtrop 2009-09-20 01:32:28 +00:00
  • 0dfe8e5e98 added ODE flags Josh Holtrop 2009-09-20 01:32:27 +00:00
  • 8817201a27 added ag::sleep() Josh Holtrop 2009-09-20 01:32:27 +00:00
  • 6bb601355b minor fixes to Makefile Josh Holtrop 2009-09-20 01:32:26 +00:00
  • 5fac9f133b added ag::videoStart() and ag::videoStop() Josh Holtrop 2009-09-20 01:32:25 +00:00
  • c99b3308b6 renamed video module to Video Josh Holtrop 2009-09-20 01:32:24 +00:00
  • a9ef42e77b converted video interface to a C++ class Video Josh Holtrop 2009-09-20 01:32:23 +00:00
  • ad3c1c6fde obtaining default video dimensions Josh Holtrop 2009-09-19 17:02:48 +00:00
  • 0de689e6cb renamed sdl module to video Josh Holtrop 2009-09-19 16:59:33 +00:00
  • c9875f53b4 building with SDL Josh Holtrop 2009-09-19 16:57:19 +00:00
  • 99d01b9f26 added sdl module Josh Holtrop 2009-09-16 03:00:56 +00:00
  • 7424521468 fixed Makefile: added SHELL, s/LUA_INCLUDE/LUAINCLUDE/, stripping spaces Josh Holtrop 2009-09-16 02:40:22 +00:00
  • 7ad767dab0 updated Makefile to handle different environments Josh Holtrop 2009-09-15 15:40:46 +00:00
  • 917991df34 removed "ag_" prefix on ag:: functions Josh Holtrop 2009-09-14 23:01:43 +00:00
  • ed80f25cee added locateResource() and ag::ag_loadModel() Josh Holtrop 2009-09-14 03:58:53 +00:00
  • 795fcc13d6 added ag.println() function Josh Holtrop 2009-09-14 02:47:01 +00:00
  • 356d3961f1 fixed indexes when printing tables Josh Holtrop 2009-09-14 02:43:44 +00:00
  • 689349d2b6 fixed segfault by correcting indexes for recursively printing tables Josh Holtrop 2009-09-14 02:01:58 +00:00
  • 6686404032 set svn:ignore on . Josh Holtrop 2009-09-14 00:27:13 +00:00
  • 40c41ea780 added CPPFLAGS and LDFLAGS to Makefile Josh Holtrop 2009-09-14 00:24:38 +00:00
  • 0935ce484d added anaglym.cc and ag.cc Josh Holtrop 2009-09-13 23:00:04 +00:00