a2205bce3bremoved some leftover debug code, re-added drawText and getTextSize ag functions
Josh Holtrop
2009-11-25 00:50:47 +00:00
aaa0cda3a5finished documentation for ag library
Josh Holtrop
2009-11-25 00:19:48 +00:00
3dd1cb8305renamed Object::addRel{Force,Torque} to add{Force,Torque}Rel
Josh Holtrop
2009-11-24 23:39:33 +00:00
6b62b9d00fadded initial documentation (in progress), renamed ag:: functions with "Static" in the middle to have "Static" at the end
Josh Holtrop
2009-11-23 02:24:30 +00:00
459b3704d6fixed bug in drawing text (working around FTGL deficiency) by setting texture environment mode to GL_BLEND when drawing text
Josh Holtrop
2009-11-20 04:52:17 +00:00
318697cc0dalways deleting WFObj objects after rendering them to reclaim memory
Josh Holtrop
2009-11-18 01:14:55 +00:00
1fe81ff898Changed Makefile to use 'svn export' instead of copying and removing .svn folders; Added 'doc' folder which will eventually contain documentation for Lua interfaces
Josh Holtrop
2009-11-16 17:15:28 +00:00
1926668aa3Fixed compile warning in ag.cc; updated Makefile "dist" target to include DLLs for FTGL and FreeType
Josh Holtrop
2009-11-16 16:32:04 +00:00
6647f81dc0trying to fix rendering of managed objects when a textured object comes along...
Josh Holtrop
2009-11-16 03:23:39 +00:00
cdfaf84c28renamed CCYLINDER to CAPSULE
Josh Holtrop
2009-11-16 03:09:59 +00:00
98eee6fc87shifted bowling_pin model to properly set its center-of-mass at the origin
Josh Holtrop
2009-11-16 03:06:54 +00:00
b9c009c3a6updated bowling_pin physics model, now getting a weird ODE box error
Josh Holtrop
2009-11-15 23:10:58 +00:00
b9bc0d74acadded a bowling_pin object
Josh Holtrop
2009-11-14 21:59:51 +00:00
e824f6f40fchanged PHY importer to load capsules, not cylinders
Josh Holtrop
2009-11-14 21:49:27 +00:00
5bb04ca7f2added F5 reload script key which will re-load the current script and discover any newly added event handler functions
Josh Holtrop
2009-11-14 14:54:55 +00:00
6de2b93e3dadded an init event so that initialization can be done inside of it and no code outside of a function is necessary
Josh Holtrop
2009-11-14 14:32:08 +00:00
c3a9443c16updated todo
Josh Holtrop
2009-11-13 14:25:28 +00:00
d4df124dccadded ag::getTextSize(), varying text size demo in tests/cratestack.lua
Josh Holtrop
2009-11-13 05:16:16 +00:00
c478b44d28added an update_overlay event and drawing text with Engine::drawText()
Josh Holtrop
2009-11-13 04:24:13 +00:00
f9c3bcfcc7rudimentary FTGL text working
Josh Holtrop
2009-11-13 02:35:02 +00:00
8425807f99finished 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 Holtrop
2009-11-08 05:02:06 +00:00
8746e81fe4added create*TextBox() methods for creating various types of text boxes
Josh Holtrop
2009-11-08 04:33:25 +00:00
830f633c16added overlay items to .todo
Josh Holtrop
2009-11-04 21:30:16 +00:00
96ef0ef7acdrawing textures on planes now
Josh Holtrop
2009-11-03 14:38:40 +00:00
9319b39d2aremoved infinite loop from managed_objects test script
Josh Holtrop
2009-11-03 04:32:10 +00:00
a9ab2a2be4added count hook to prevent infinite lua loops from running the engine forever
Josh Holtrop
2009-11-03 04:01:57 +00:00
7e17b0f220updated todo now that i can load textures for managed objects...
Josh Holtrop
2009-11-03 02:53:45 +00:00
b83e05218aadded ag::loadTexture() and ag::object::setTexture()
Josh Holtrop
2009-11-03 02:53:31 +00:00
24d37092e2fixed bug in ag::createPlaneSpecify(), added standard lua library "std.lua"
Josh Holtrop
2009-11-02 21:15:21 +00:00
2ccff9db76changed plane construction to accept 4 parameters to specify (a,b,c,d) directly (in addition to 6 parameter mode)
Josh Holtrop
2009-11-02 18:59:40 +00:00
2081cf7277added ag::exit() and ag::import() to exit the lua script and import other lua modules
Josh Holtrop
2009-11-01 21:27:20 +00:00
f8b15d60fffixed call to glNormal3fv() when dReal is a double
Josh Holtrop
2009-10-31 21:55:34 +00:00
8139866c77added todo item
Josh Holtrop
2009-10-30 14:25:34 +00:00
445a08d2e1calling 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 Holtrop
2009-10-28 15:50:45 +00:00
1d97d948fcfixed drawing of cylinders (physics with ODE doesn' work anyway), fixed re-rendering managed object when the color changes, added managed_objects demo
Josh Holtrop
2009-10-28 03:32:07 +00:00
e0d20f1a2bfixed bug in Engine::Object destructor
Josh Holtrop
2009-10-28 03:02:10 +00:00
2616100dedfinished filling in ag::create<Object>() functions
Josh Holtrop
2009-10-28 02:51:28 +00:00
ce1da5f7a8working on drawing planes
Josh Holtrop
2009-10-27 21:31:21 +00:00
c79ff10b43drawing managed boxes now (i think)
Josh Holtrop
2009-10-27 15:23:20 +00:00
3ee41bfa9fdrawing capped cylinders now (i think)
Josh Holtrop
2009-10-27 14:56:06 +00:00
869e6465ccworking on rendering managed objects
Josh Holtrop
2009-10-26 03:20:10 +00:00
d1a57b673emoved Engine::Object::ObjectType to OdeWorld::GeomType; using refptr in Engine::Object to keep track of object arguments for managed objects
Josh Holtrop
2009-10-26 02:31:47 +00:00
66e8b9c015added mousebutton_{up/down} and mouse_motion events, renamed "pressed" to "down" and "released" to "up" in event names
Josh Holtrop
2009-10-19 21:50:53 +00:00
c9b0bc2d82fixed Engine::removeObject() to destroy the OdeWorld object as well to remove it from the physics computations
Josh Holtrop
2009-10-19 16:22:59 +00:00