Commit Graph

  • 084412ec7a added documentation for std.loadModelBounds() and added "distclean" target to Makefile Josh Holtrop 2009-12-10 16:32:57 +00:00
  • 873e12e3cf added std.loadModelBounds() Josh Holtrop 2009-12-09 22:31:07 +00:00
  • ca6aa317ce testing gravity in tests/bowling.lua, updated ag.setGravity() documentation Josh Holtrop 2009-12-09 00:14:17 +00:00
  • ea4346a55e added ag::setGravity() so the script programmer can change the world gravity Josh Holtrop 2009-12-09 00:07:30 +00:00
  • b82458aa98 added getAABB() and getSize() object functions Josh Holtrop 2009-12-09 00:01:44 +00:00
  • 7ab0cadeb2 removed TODO Josh Holtrop 2009-12-05 21:54:42 +00:00
  • b546ea74dd updated documentation - added handler / callback prototype section, added key names section; added ag::drawArc() and ag::drawCircle() w/ documentation; added tests/transparent.png and tests/imagetest.lua; renamed init() event to init_event(); re-added missing drawImage Lua hook; changed images to draw transparent parts correctly through to background Josh Holtrop 2009-11-27 03:34:50 +00:00
  • 8ea89aea33 finished documentation Josh Holtrop 2009-11-25 01:15:55 +00:00
  • 07d2ceb9c0 finished std library documentation Josh Holtrop 2009-11-25 01:02:31 +00:00
  • a2205bce3b removed some leftover debug code, re-added drawText and getTextSize ag functions Josh Holtrop 2009-11-25 00:50:47 +00:00
  • aaa0cda3a5 finished documentation for ag library Josh Holtrop 2009-11-25 00:19:48 +00:00
  • 3dd1cb8305 renamed Object::addRel{Force,Torque} to add{Force,Torque}Rel Josh Holtrop 2009-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 Holtrop 2009-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 Holtrop 2009-11-20 04:52:17 +00:00
  • 318697cc0d always deleting WFObj objects after rendering them to reclaim memory Josh Holtrop 2009-11-18 01:14:55 +00:00
  • 016ae7f1a2 added DEBUG_GL_ERROR debug functionality Josh Holtrop 2009-11-18 00:20:04 +00:00
  • 72173f9fa0 updated .todo Josh Holtrop 2009-11-17 23:08:24 +00:00
  • 2472e9ee4d updated Engine::drawText() - and broke something with drawing text on the way... Josh Holtrop 2009-11-17 04:45:33 +00:00
  • 5de4ed348b added ag::drawImage() Josh Holtrop 2009-11-17 04:38:39 +00:00
  • f410c305c2 added ag::drawRect() and ag::fillRect() Josh Holtrop 2009-11-17 04:01:00 +00:00
  • 27c0d4f7b9 added ag::drawLine() Josh Holtrop 2009-11-17 03:46:50 +00:00
  • 42762f4f3c messing with tests/bowling.lua more Josh Holtrop 2009-11-17 00:59:07 +00:00
  • ff8fe856d6 updated tests/bowling.lua Josh Holtrop 2009-11-17 00:52:23 +00:00
  • 0de2736a1e updated .todo Josh Holtrop 2009-11-17 00:45:02 +00:00
  • dec24f3af5 added ag::object::getMass() and ag::object::setMass() Josh Holtrop 2009-11-17 00:44:47 +00:00
  • 2ec38be58c added tests/bowling.lua Josh Holtrop 2009-11-17 00:17:14 +00:00
  • 8b2ef3a53d updated .todo Josh Holtrop 2009-11-16 17:46:01 +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 Holtrop 2009-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 Holtrop 2009-11-16 16:32:04 +00:00
  • 6647f81dc0 trying to fix rendering of managed objects when a textured object comes along... Josh Holtrop 2009-11-16 03:23:39 +00:00
  • cdfaf84c28 renamed CCYLINDER to CAPSULE Josh Holtrop 2009-11-16 03:09:59 +00:00
  • 98eee6fc87 shifted bowling_pin model to properly set its center-of-mass at the origin Josh Holtrop 2009-11-16 03:06:54 +00:00
  • b9c009c3a6 updated bowling_pin physics model, now getting a weird ODE box error Josh Holtrop 2009-11-15 23:10:58 +00:00
  • b9bc0d74ac added a bowling_pin object Josh Holtrop 2009-11-14 21:59:51 +00:00
  • e824f6f40f changed PHY importer to load capsules, not cylinders Josh Holtrop 2009-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 Holtrop 2009-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 Holtrop 2009-11-14 14:32:08 +00:00
  • c3a9443c16 updated todo Josh Holtrop 2009-11-13 14:25:28 +00:00
  • d4df124dcc added ag::getTextSize(), varying text size demo in tests/cratestack.lua Josh Holtrop 2009-11-13 05:16:16 +00:00
  • c26a3e7deb added Engine::getTextSize() Josh Holtrop 2009-11-13 04:55:42 +00:00
  • c478b44d28 added an update_overlay event and drawing text with Engine::drawText() Josh Holtrop 2009-11-13 04:24:13 +00:00
  • f9c3bcfcc7 rudimentary FTGL text working Josh Holtrop 2009-11-13 02:35:02 +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 Holtrop 2009-11-08 05:02:06 +00:00
  • 8746e81fe4 added create*TextBox() methods for creating various types of text boxes Josh Holtrop 2009-11-08 04:33:25 +00:00
  • 3f429be13b added getScreenSize() Josh Holtrop 2009-11-08 03:48:45 +00:00
  • f7f6c83795 cleaning up text surfaces upon Engine deletion Josh Holtrop 2009-11-08 03:27:20 +00:00
  • 01c65d68dd adding text surfaces to m_texts, switched floats to Uint8's for SDL_Color Josh Holtrop 2009-11-08 03:22:33 +00:00
  • 4831fd7658 added FreeSans.ttf to lib folder; added Engine::renderText() Josh Holtrop 2009-11-08 03:03:52 +00:00
  • e8c5c7c5e4 added SDL_ttf boilerplate code Josh Holtrop 2009-11-05 13:27:33 +00:00
  • 830f633c16 added overlay items to .todo Josh Holtrop 2009-11-04 21:30:16 +00:00
  • 96ef0ef7ac drawing textures on planes now Josh Holtrop 2009-11-03 14:38:40 +00:00
  • 9319b39d2a removed infinite loop from managed_objects test script Josh Holtrop 2009-11-03 04:32:10 +00:00
  • a9ab2a2be4 added count hook to prevent infinite lua loops from running the engine forever Josh Holtrop 2009-11-03 04:01:57 +00:00
  • 7e17b0f220 updated todo now that i can load textures for managed objects... Josh Holtrop 2009-11-03 02:53:45 +00:00
  • b83e05218a added ag::loadTexture() and ag::object::setTexture() Josh Holtrop 2009-11-03 02:53:31 +00:00
  • 24d37092e2 fixed bug in ag::createPlaneSpecify(), added standard lua library "std.lua" Josh Holtrop 2009-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 Holtrop 2009-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 Holtrop 2009-11-01 21:27:20 +00:00
  • f8b15d60ff fixed call to glNormal3fv() when dReal is a double Josh Holtrop 2009-10-31 21:55:34 +00:00
  • 8139866c77 added todo item Josh Holtrop 2009-10-30 14:25:34 +00:00
  • 8599a2a6b8 minor tweaks Josh Holtrop 2009-10-29 16:08:07 +00:00
  • 18f745d77a statically linking ODE so not copying the DLL to "dist" Josh Holtrop 2009-10-29 14:27:14 +00:00
  • de2414e970 renamed CappedCylinder to Capsule to remove deprecated compiler warnings Josh Holtrop 2009-10-29 14:14:26 +00:00
  • 8ae04eb833 added a couple todo items Josh Holtrop 2009-10-29 13:39:55 +00:00
  • acae74107a renamed CCylinder to Capsule globally Josh Holtrop 2009-10-29 02:58:37 +00:00
  • c802886b11 not calling dGeomGetPosition/Rotation() for planes Josh Holtrop 2009-10-29 02:51:55 +00:00
  • 65520cd4a3 added .todo Josh Holtrop 2009-10-28 15:56:15 +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 Holtrop 2009-10-28 15:50:45 +00:00
  • c3d50a4f30 git-svn-id: svn://anubis/anaglym/trunk@135 99a6e188-d820-4881-8870-2d33a10e2619 Josh Holtrop 2009-10-28 03:56:51 +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 Holtrop 2009-10-28 03:32:07 +00:00
  • e0d20f1a2b fixed bug in Engine::Object destructor Josh Holtrop 2009-10-28 03:02:10 +00:00
  • 2616100ded finished filling in ag::create<Object>() functions Josh Holtrop 2009-10-28 02:51:28 +00:00
  • d564f3b5a0 adding ag::create<Object>() lua interfaces - in progress (not compiling) Josh Holtrop 2009-10-28 00:31:14 +00:00
  • 9c94186d31 added ag::object::setColor() Josh Holtrop 2009-10-27 23:59:08 +00:00
  • e5f616b841 fixed up managed plane rendering a bit Josh Holtrop 2009-10-27 23:38:23 +00:00
  • 0d15c1a054 finished drawing managed planes (i think) Josh Holtrop 2009-10-27 23:34:02 +00:00
  • ce1da5f7a8 working on drawing planes Josh Holtrop 2009-10-27 21:31:21 +00:00
  • c79ff10b43 drawing managed boxes now (i think) Josh Holtrop 2009-10-27 15:23:20 +00:00
  • 3ee41bfa9f drawing capped cylinders now (i think) Josh Holtrop 2009-10-27 14:56:06 +00:00
  • 869e6465cc working on rendering managed objects Josh Holtrop 2009-10-26 03:20:10 +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 Holtrop 2009-10-26 02:31:47 +00:00
  • 8e858a2aa1 getting ready to add user-defined object types Josh Holtrop 2009-10-24 21:16:00 +00:00
  • 1ade25beaa moved loadPhy() functionality from OdeWorld to Engine::Object Josh Holtrop 2009-10-24 01:13:43 +00:00
  • 8549511901 added a level to cannon test Josh Holtrop 2009-10-21 00:23:02 +00:00
  • f3e313acf3 fixed bug in calling update_event() Josh Holtrop 2009-10-21 00:11:05 +00:00
  • 812af7cc92 added "cannon" example (spacebar to "shoot" a "checkerball" model) Josh Holtrop 2009-10-20 23:48:36 +00:00
  • a235db919a added getCamera() Josh Holtrop 2009-10-20 23:20:41 +00:00
  • ebb8667962 seeding the random number generator based on the time Josh Holtrop 2009-10-20 18:09:08 +00:00
  • e1281bde17 added registerEventHandler() and clearEventHandler() Engine functions with ag:: lua interfaces Josh Holtrop 2009-10-20 02:19:43 +00:00
  • 47515f7b1c better error reporting Josh Holtrop 2009-10-20 00:39:41 +00:00
  • f8e918526e F1 toggles fullscreen, F2 toggles mouse cursor grabbing Josh Holtrop 2009-10-20 00:11:58 +00:00
  • 66e8b9c015 added 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
  • bd4eab495c added mouse button down/up and mouse motion events Josh Holtrop 2009-10-19 21:44:08 +00:00
  • 978293a57e restructured events a bit for efficiency Josh Holtrop 2009-10-19 18:58:46 +00:00
  • 3aa41bedd8 added ag::object::setRotation() Josh Holtrop 2009-10-19 17:25:51 +00:00
  • c9b0bc2d82 fixed 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
  • 2f0bef4297 realigned comments Josh Holtrop 2009-10-19 16:02:10 +00:00
  • 28242e159b updated Engine to use fopen instead of open so that binary files are loaded properly on Windows Josh Holtrop 2009-10-19 12:44:37 +00:00
  • fc55b0c3e7 updated to build in MSYS again... Josh Holtrop 2009-10-19 12:30:13 +00:00
  • 9473b592e4 adding delete key to cratestack.lua - something is not working though :) Josh Holtrop 2009-10-19 03:34:49 +00:00