3dd1cb8305
renamed Object::addRel{Force,Torque} to add{Force,Torque}Rel
Josh Holtrop2009-11-24 23:39:33 +00:00
6b62b9d00f
added initial documentation (in progress), renamed ag:: functions with "Static" in the middle to have "Static" at the end
Josh Holtrop2009-11-23 02:24:30 +00:00
459b3704d6
fixed bug in drawing text (working around FTGL deficiency) by setting texture environment mode to GL_BLEND when drawing text
Josh Holtrop2009-11-20 04:52:17 +00:00
318697cc0d
always deleting WFObj objects after rendering them to reclaim memory
Josh Holtrop2009-11-18 01:14:55 +00:00
1fe81ff898
Changed Makefile to use 'svn export' instead of copying and removing .svn folders; Added 'doc' folder which will eventually contain documentation for Lua interfaces
Josh Holtrop2009-11-16 17:15:28 +00:00
1926668aa3
Fixed compile warning in ag.cc; updated Makefile "dist" target to include DLLs for FTGL and FreeType
Josh Holtrop2009-11-16 16:32:04 +00:00
6647f81dc0
trying to fix rendering of managed objects when a textured object comes along...
Josh Holtrop2009-11-16 03:23:39 +00:00
e824f6f40f
changed PHY importer to load capsules, not cylinders
Josh Holtrop2009-11-14 21:49:27 +00:00
5bb04ca7f2
added F5 reload script key which will re-load the current script and discover any newly added event handler functions
Josh Holtrop2009-11-14 14:54:55 +00:00
6de2b93e3d
added an init event so that initialization can be done inside of it and no code outside of a function is necessary
Josh Holtrop2009-11-14 14:32:08 +00:00
8425807f99
finished textbox implementation and it does not work -- apparently blitting to an OpenGL surface does not work for any font type... i'll have to switch to FTGL or something else
Josh Holtrop2009-11-08 05:02:06 +00:00
8746e81fe4
added create*TextBox() methods for creating various types of text boxes
Josh Holtrop2009-11-08 04:33:25 +00:00
9319b39d2a
removed infinite loop from managed_objects test script
Josh Holtrop2009-11-03 04:32:10 +00:00
a9ab2a2be4
added count hook to prevent infinite lua loops from running the engine forever
Josh Holtrop2009-11-03 04:01:57 +00:00
7e17b0f220
updated todo now that i can load textures for managed objects...
Josh Holtrop2009-11-03 02:53:45 +00:00
b83e05218a
added ag::loadTexture() and ag::object::setTexture()
Josh Holtrop2009-11-03 02:53:31 +00:00
24d37092e2
fixed bug in ag::createPlaneSpecify(), added standard lua library "std.lua"
Josh Holtrop2009-11-02 21:15:21 +00:00
2ccff9db76
changed plane construction to accept 4 parameters to specify (a,b,c,d) directly (in addition to 6 parameter mode)
Josh Holtrop2009-11-02 18:59:40 +00:00
2081cf7277
added ag::exit() and ag::import() to exit the lua script and import other lua modules
Josh Holtrop2009-11-01 21:27:20 +00:00
f8b15d60ff
fixed call to glNormal3fv() when dReal is a double
Josh Holtrop2009-10-31 21:55:34 +00:00
445a08d2e1
calling dInitODE() and dCloseODE() properly for ODE version 0.11.1; cylinder-capsule and cylinder-cylinder collisions still not working (ODE problem); need to stop calling dGeomGetPosition() for planes; need to rework plane initialization to support creating planes with (a,b,c,d) parameters
Josh Holtrop2009-10-28 15:50:45 +00:00
1d97d948fc
fixed drawing of cylinders (physics with ODE doesn' work anyway), fixed re-rendering managed object when the color changes, added managed_objects demo
Josh Holtrop2009-10-28 03:32:07 +00:00
e0d20f1a2b
fixed bug in Engine::Object destructor
Josh Holtrop2009-10-28 03:02:10 +00:00
2616100ded
finished filling in ag::create<Object>() functions
Josh Holtrop2009-10-28 02:51:28 +00:00
d1a57b673e
moved Engine::Object::ObjectType to OdeWorld::GeomType; using refptr in Engine::Object to keep track of object arguments for managed objects
Josh Holtrop2009-10-26 02:31:47 +00:00
66e8b9c015
added mousebutton_{up/down} and mouse_motion events, renamed "pressed" to "down" and "released" to "up" in event names
Josh Holtrop2009-10-19 21:50:53 +00:00
c9b0bc2d82
fixed Engine::removeObject() to destroy the OdeWorld object as well to remove it from the physics computations
Josh Holtrop2009-10-19 16:22:59 +00:00