Commit Graph

  • dd95352fe2 Added file forgotten in previous commit auria 2009-07-12 00:34:40 +00:00
  • a44b531525 Replaced usage of some confusing IDs with more explicit pointers auria 2009-07-12 00:18:37 +00:00
  • d1c5c449f9 Improved sizing code + shriking effect in kart selection screen auria 2009-07-11 19:38:27 +00:00
  • ab4787f884 Fixed in bug in the device manager that could cause crashes auria 2009-07-11 19:29:33 +00:00
  • ab4cdcae00 A player can now remove himself by pressing rescue at the kart selection screen auria 2009-07-11 19:24:42 +00:00
  • 0e890dc5cc Work on associating a player to its device in the kart selection screen auria 2009-07-11 17:32:05 +00:00
  • f987fff348 more work on multiplayer kart selection screen & multioplayer input auria 2009-07-11 16:50:57 +00:00
  • c92c33ccb8 more work on multiplayer kart selection screen auria 2009-07-11 15:47:07 +00:00
  • e088c97939 Fixed resizing spinners auria 2009-07-11 15:34:30 +00:00
  • 71a2083819 Pressing fire on another devices in the kart selection screen will now cause new players to appear auria 2009-07-11 15:20:18 +00:00
  • d9cdb5415a removed old ugly unused code from ptr_vector [so hiker can't complain about it anymore ;)] auria 2009-07-11 02:04:20 +00:00
  • 8eaef3f63b Better player detection. Still getting some problems with irrlicht widgets : they internally catch some events without asking me. For instance, in 'press fire to join', if player has 'fire' assiged to the spacebar, pressing the spacebar results in irrlicht pressing the currently button - not sure how to get around this. auria 2009-07-11 01:56:07 +00:00
  • 3c6ba08857 Fixed ambient light not present when starting race with -N auria 2009-07-11 00:14:04 +00:00
  • 54c3c08558 Bugfix: incorrect name in #ifdef. hikerstk 2009-07-10 01:08:57 +00:00
  • 2474e7a164 Fixed steering direction for animation, and made animation smoother (i.e. when steering left and then start turning right, the animation started only after the 'straight ahead' point was reached, now the animation will start immediately). hikerstk 2009-07-09 04:25:38 +00:00
  • 0340a352fb Added Xapantu's kart exporter. hikerstk 2009-07-09 03:22:12 +00:00
  • d1e805ad78 dynamic casts are only used in debug builds auria 2009-07-09 01:37:10 +00:00
  • ae33627515 Added widget cast helper method to widget to accomodate windows not having RTTI auria 2009-07-09 01:29:23 +00:00
  • 18f898f34e Added missing file from previous commit. hikerstk 2009-07-09 01:13:01 +00:00
  • d9d9cc13e8 Smooth bomb. mbjornstk 2009-07-08 23:27:32 +00:00
  • 10f3541177 Bugfix: using char[128] for filenames is not long enough. Replaced with std::string so there is no more length restriction. hikerstk 2009-07-08 23:26:07 +00:00
  • 0e90316a99 Smooth box. Loop has correct reflection effect. mbjornstk 2009-07-08 23:17:22 +00:00
  • 3c50808965 Smooth tanks. Blue, cyan and green parts need something like EMT_SPHERE_MAP. mbjornstk 2009-07-08 23:09:00 +00:00
  • 412b1e9d58 Smooth cake. mbjornstk 2009-07-08 22:52:26 +00:00
  • 31fb2f971f Anchor is smooth too. Change naming a bit (but still some "anvils" around). Bonus hack: temporarily using anchor as rescue model (avoids crashes). mbjornstk 2009-07-08 22:40:54 +00:00
  • c6c561c387 Smooth model (enable "Normals" in B3D export options). mbjornstk 2009-07-08 22:17:27 +00:00
  • f332c3a345 Moved timeToString into StringUtils. hikerstk 2009-07-08 12:34:39 +00:00
  • e8c70f73af Finished support for lap counting using checklines. hikerstk 2009-07-08 12:33:22 +00:00
  • 0f47c60042 Added support for VS heap check. hikerstk 2009-07-08 12:32:25 +00:00
  • 67091b1b4e Bugfix: dynamic_cast does not work if irrlicht is compiled without rtti (which it happens to be by default with visual studio). hikerstk 2009-07-08 03:21:13 +00:00
  • c5afb804c3 Patch by StephenIRC to fix input when starting with -N auria 2009-07-08 00:46:47 +00:00
  • 1b6d075346 Lap counting is now done using checklines, old code for this removed. hikerstk 2009-07-08 00:44:55 +00:00
  • 9d88f0c07a 1) Fixed several typos (self. missing in function calls before I added an object for the exporter) 2) Bugfix: Checklines are now convverted to world coordinates. 3) Added 'main-driveline' type, and simplified driveline definition (e.g. it can have connecting vertices from the left to the right driveline, but it also works if they are not there). 4) Fixed support for old-style items defined using the name RHERRING, which can have a number attached to it, e.g. RHERRING.001. hikerstk 2009-07-08 00:42:45 +00:00
  • 7f5fccbeff Updated VS project file. hikerstk 2009-07-06 13:46:11 +00:00
  • 8c1bba8abb Added initial support for checklines (though atm they don't do anything yet). hikerstk 2009-07-06 13:35:33 +00:00
  • 18dc556fe6 Added functions to clean-up input after a game (though they're not called yet) auria 2009-07-04 20:09:49 +00:00
  • a7abbf4c82 More work towards multiplayer (player 1 is now assigned an input device when pressing 'new game'). Cleanup when restarting game not implemented auria 2009-07-04 20:00:18 +00:00
  • 1c256c7805 Refactored kart selection screen code to work towards multiplayer auria 2009-07-04 17:24:09 +00:00
  • a3af7f63a9 Added forward to help compilation auria 2009-07-03 22:57:21 +00:00
  • 1e6373f999 The list of players shown in the kart selection screen now comes directly from preferences auria 2009-07-03 19:13:53 +00:00
  • 58cfaa27fa Implemented model preview for all karts auria 2009-07-03 19:06:24 +00:00
  • c08e0eaf0a Spinners can now contain text + the number; used it for the number of laps selector auria 2009-07-03 18:17:11 +00:00
  • c8e7c5b92b Cleaned up widget code so type is automatically determined and does not need to be manually set auria 2009-07-03 18:06:04 +00:00
  • 43ec7af757 Removing a player now triggers a confirmation dialog auria 2009-07-03 17:52:13 +00:00
  • 1f2f028104 Improved player info dialog, with a cancel button, and by putting the delete button apart auria 2009-07-03 17:24:44 +00:00
  • 55a282c829 fixed compiler warning auria 2009-07-03 17:17:10 +00:00
  • ec86727813 Fixed line endings. hikerstk 2009-07-03 03:54:33 +00:00
  • fbec6365c3 Added support for exporting physical objects. hikerstk 2009-07-03 03:49:45 +00:00
  • 6b58198830 Improved Release target of Xcode to build application bundle with data cleanly auria 2009-07-03 01:44:55 +00:00
  • 88600d7d2e 1) Animations can now be bullet rigid bodies, which means collisions are possible. 2) The track exporter supports now exporting a single animation model only even if the model is used in several animations. 3) Changed the rad to/from degree macros to be uses as multiplication factors, i.e. RAD_TO_DEGREE*x instead if RAD_TO_DEGREE(x). This allows more compact code if vectors are convered (RAD_TO_DEGREE*vec3 instead of three separate macro invocations, once for each component) hikerstk 2009-07-03 00:51:31 +00:00
  • 853bd9a0d3 Added some ambient light for windows only, since otherwise the tracks are just too dark. Reason for this is not known, it looks fine on Macs without this call. hikerstk 2009-07-02 23:59:39 +00:00
  • 3d68830c60 Updated Xcode project so that executing STK will work out-of-the-box without needing to give data path to executable manually auria 2009-07-02 01:47:01 +00:00
  • da030d923d Removed compiler warning. hikerstk 2009-07-01 12:05:24 +00:00
  • d9e90576c7 Added support for bezier interpolation. hikerstk 2009-07-01 12:04:26 +00:00
  • 0fffe4c97f Fixed typo (writing incorrect coordinate). hikerstk 2009-07-01 12:03:08 +00:00
  • d1807bf4c4 More animation support (still not complete) - animated objects in blender will now be exported with local coordinates, and the right location is exported in the .scene file and used in STK. hikerstk 2009-07-01 02:14:30 +00:00
  • f4c08a75bf updated Xcode project with new files auria 2009-07-01 01:40:56 +00:00
  • 6cefc34b31 More work on animations (still work in progress) hikerstk 2009-06-30 12:51:38 +00:00
  • d9f3a197cc Fixed compiler warnings (and potential memory issues) auria 2009-06-29 23:56:26 +00:00
  • fc52b751b6 Updated Xcode project auria 2009-06-29 23:54:37 +00:00
  • e6fb0c9231 Removed compiler warning. hikerstk 2009-06-29 03:38:48 +00:00
  • 555a6cb8e8 Implemented FPS display. Limited FPS in menus where it's really not necessary to push the graphics card hard auria 2009-06-29 01:40:15 +00:00
  • ac66e015c9 Removed much useless calculations (done over and over on every frame) from skin auria 2009-06-29 01:09:03 +00:00
  • ab115262f1 Added support for exporting IPO based animations. hikerstk 2009-06-29 00:47:50 +00:00
  • ade547bd2e Removed a little unneeded overhead in skin auria 2009-06-29 00:32:09 +00:00
  • 9ccd391906 Improved input sensing for gamepad auria 2009-06-29 00:06:37 +00:00
  • b8f2ef6c16 Some cleanup in input sensing code + fixed a totally stupid bug auria 2009-06-28 23:24:58 +00:00
  • a359f74ea4 Added label to players preferences to explain how to edit a player auria 2009-06-28 21:08:19 +00:00
  • d2f3e9d70c Improved keyboard navigation within lists somewhat (it's still wrong when going up, but i have no idea how to avoid this problem without rewriting the list control) auria 2009-06-28 21:03:53 +00:00
  • 47224bd947 Improved keyboard navigation within lists somewhat auria 2009-06-28 20:52:10 +00:00
  • 94c1addf3f Fixed broken 'new player' dialog auria 2009-06-28 20:49:47 +00:00
  • 23192bfe21 Allowed deleting players auria 2009-06-28 20:46:20 +00:00
  • fc826538f6 Allowed renaming players auria 2009-06-28 20:39:05 +00:00
  • ec8a77041d Small improvements to 'enter player' dialog code auria 2009-06-28 20:22:49 +00:00
  • 33899210b2 Implemented 'press esc to cancel' buttons in some modal dialogs auria 2009-06-28 20:07:06 +00:00
  • aba5e61935 Fixed some absolute paths in Xcode auria 2009-06-28 13:26:24 +00:00
  • 186e4515b6 Updated Xcode project auria 2009-06-27 15:29:51 +00:00
  • fadb3692f8 Added files missing in previous commit. hikerstk 2009-06-26 23:56:37 +00:00
  • c14ffd586e Added framework for animation (doesn't do anything atm). hikerstk 2009-06-26 03:21:22 +00:00
  • a4ab2fa094 1) Main fields (name of track, description, ...) can now be set as id properties in the python scene. 2) Started adding some support for animations. hikerstk 2009-06-26 02:57:05 +00:00
  • b886b3bb1c Tux now has smooth wheels auria 2009-06-26 01:31:58 +00:00
  • 7a2e67505f Tux now has wheels in the kart selection screen auria 2009-06-26 01:19:57 +00:00
  • 708b65b0af Fixed pressing escape in-game auria 2009-06-26 00:40:18 +00:00
  • 5b5d4f3ee9 Updated Xcode project + updated translation code to work with libintl framework on mac auria 2009-06-26 00:07:56 +00:00
  • 1914a06d55 improved in-game shading (used values that make more sense) auria 2009-06-25 01:50:16 +00:00
  • b52d4e0dc8 improved in-game shading (some fine-tuning will be required for it to look good. consider this an initial implementation) auria 2009-06-25 01:44:32 +00:00
  • 10ce5a6aa9 Tux is now smooth\! auria 2009-06-25 01:10:10 +00:00
  • ec590c76b8 Gave some light to kart preview (not smooth yet) auria 2009-06-25 00:50:58 +00:00
  • b13b651703 The track exporter is now able to export old and new drivelines. hikerstk 2009-06-24 23:55:23 +00:00
  • e7433c50dd Improved the kart model view auria 2009-06-24 23:01:45 +00:00
  • 9646c029f7 Worked around a irrLicht bug that caused a crash upon entering a new player auria 2009-06-24 18:59:01 +00:00
  • 5c57b19a0a Improved text box widget implementation. Main consequence is that keyboard naviagtion is now possible in player info dialog auria 2009-06-24 18:18:20 +00:00
  • cf85ff876d Player dialog is now shown when pressing enter/double-clicking on a player in the list. Fixed dismissing dialogs with escape. auria 2009-06-24 17:53:22 +00:00
  • 604c7adeea Widgets in modal dialogs can now be skinned auria 2009-06-24 16:09:59 +00:00
  • 238b401cc2 Added initial support for bezier curves to be exported from blender and imported into stk (though they are not used for anything atm). hikerstk 2009-06-24 01:27:05 +00:00
  • 09ce7366c8 Added saving challenges to config file auria 2009-06-23 01:44:49 +00:00
  • d2cd16910a Fixed bug with config file when switching resolution auria 2009-06-23 00:46:13 +00:00
  • 516fb47751 Some clean up documentation strings. mbjornstk 2009-06-22 22:34:42 +00:00
  • 2dd3153a87 Fixed some compiler warnings (turned track-debug back into an int since it will be used in future to switch on/off different options at runtime). hikerstk 2009-06-22 02:00:36 +00:00
  • 0b96e842fe Updared VS project file. hikerstk 2009-06-22 01:54:48 +00:00