Commit Graph

  • bd48fc0b8e protection against bogus config files auria 2009-06-22 01:45:56 +00:00
  • 7f709e4abb Rearrange modal dialog files. mbjornstk 2009-06-22 01:32:19 +00:00
  • 30b2f8472e Fixed old LISP config file crashing STK. auria 2009-06-22 00:31:46 +00:00
  • 28503654ad Started implementing track-screen pop-up auria 2009-06-21 20:00:39 +00:00
  • a1c3cc54f9 fixed makefiles (@Hiker: still don't want to use globbing? :P ) auria 2009-06-21 19:39:21 +00:00
  • 36bfc5e7fe The player list can now be extended in Options, and is saved to file and loaded too auria 2009-06-21 18:55:12 +00:00
  • 2e22e1c58a improved XML generation for user config (noew contains all comments) auria 2009-06-21 17:13:54 +00:00
  • b15cd04c5f Further improved XML generation for user config + prepared infrastructure for saving challenges/players (groups) auria 2009-06-21 16:15:27 +00:00
  • 6f2f918590 improved XML generation for user config auria 2009-06-21 15:44:02 +00:00
  • 7624194dd5 saving/loading to/from user config file should now work (in XML) auria 2009-06-21 01:44:11 +00:00
  • 2f6b05bace started converting user config to XML. Implementation is not 100% complete yet; saving works, not lodading. Implementation is not the prettiest but designed for minimal maintenance. auria 2009-06-21 01:10:43 +00:00
  • d9f999dff8 Closing " was missing for screenshot. mbjornstk 2009-06-21 00:42:39 +00:00
  • c06dd7cbe2 initial support for the 'enter a new player' dialog auria 2009-06-20 01:05:10 +00:00
  • 7f925012a6 fixed text in modal dialog moving when you clicked it auria 2009-06-20 00:42:13 +00:00
  • bfa5b18f24 misc cleanup (especially in modal dialogs) auria 2009-06-20 00:28:25 +00:00
  • 72ef6843ad Experiment just to show what ambient and a light can do. It should help figure what objects need fixing, what ambient range is useful or what mood we can get (redish ambient for lava tracks, etc). mbjornstk 2009-06-19 18:38:26 +00:00
  • cb5ec0e8b0 Added sun position. hikerstk 2009-06-19 00:07:58 +00:00
  • 8161ee32cc 1) Removed ambient light. 2) Made all items 'not lighted' since they appear (without ambient lighting) very blocky. 3) Renamed 'isCollected' to collected (since isCollected sounds more like a boolean function returning if an item is collected or not). hikerstk 2009-06-19 00:02:17 +00:00
  • f6c37bd837 Minor changes and code cleanup (still no fading/transparency). hikerstk 2009-06-18 23:54:46 +00:00
  • 7bb91862ff First version of skid marks (though the skid marks are not yet transparent, nor do they fade). hikerstk 2009-06-18 05:36:52 +00:00
  • 8130ab34af Bugfix: include of cstring was missing, resulting in strcmp not defined on some platforms. hikerstk 2009-06-18 02:13:00 +00:00
  • cb0b1d2d10 added enw background image by elisee auria 2009-06-17 01:11:42 +00:00
  • 35faf740ca working towards players list + added more control over widget positions when in sizers auria 2009-06-14 00:10:44 +00:00
  • 8af725a5ab Completed skin-file implementation + documented it auria 2009-06-13 19:37:43 +00:00
  • 6dd30317ae moved skin-specific files to a skins/skinname subdirectory, making it flexible and allowing for future modes auria 2009-06-13 19:05:41 +00:00
  • 1548e1f5b4 font color is now also specified in STK skin file auria 2009-06-13 18:17:44 +00:00
  • e4f2a2af2a replaced non-free background image with a free one (doesn't look as good unfotrunately) auria 2009-06-13 18:04:50 +00:00
  • dc26002e79 skin info is now mostly read from a config file, making it cleaner and opening the door for futur modding capabilities (continued) auria 2009-06-13 02:02:51 +00:00
  • a1044011d3 skin info is now mostly read from a config file, making it cleaner and opening the door for futur modding capabilities auria 2009-06-13 01:47:06 +00:00
  • ee90eca26e 1) Created new config subdir and moved the last remaining files into appropriate subdirs (only main.cpp and main_loop.?pp are now directly in the src directory). 2) Cleaned up all #include directives, so that all files now use the right subdirectories. 3) Some minor code cleanup. hikerstk 2009-06-11 10:00:43 +00:00
  • 2eceacbd70 1) Added new water splash effect (though it needs a proper texture, and better tweaked parameters). 2) Water and smoke special effects can now be triggered depending on terrain (default is off for everything). For testing purposes the lighthouse track has smoke for sand, and water splashed for sea (i.e. it is currently possible to drive on the water ... for testing purposes only :) ) hikerstk 2009-06-11 05:57:46 +00:00
  • 807e0dd011 improved skinning of list control auria 2009-06-11 01:00:42 +00:00
  • cc184e2115 updated Xcode project auria 2009-06-11 00:06:22 +00:00
  • c0ab52bfb3 Simplified smoke system (to use only one particle system instead of two), and improved the origin of the smoke to be the actual position of the wheels (though this is sometimes still not 'correct' enough atm). hikerstk 2009-06-10 13:04:30 +00:00
  • ba7c983d18 1) Script can now export 'empties' (i.e. items, bananas etc). 2) Improved handling of unsorted vertices (but still difficulties with determining the right start point for a shortcut). hikerstk 2009-06-10 05:35:39 +00:00
  • 2a99182969 Edited nitro PNG to be more circular and tweaked emision so it looks like the kart is leaving a fire trail. Also made it fire even if stopped, so driver sees nitro works (wasting it). mbjornstk 2009-06-09 23:04:18 +00:00
  • 5771a2b538 Bugfix: blender's vertices are not necessarily in the order in which the points of a driveline are connected. hikerstk 2009-06-09 12:33:21 +00:00
  • 3e62911873 game mode selection screen now features a description of the mode auria 2009-06-09 01:03:48 +00:00
  • ef2d5b6229 Configuring gamepad from GUI should now work on Linux auria 2009-06-07 23:04:18 +00:00
  • 63c6229fbc Fixed passing reolution on the command-line with -s. Improved command-line flags handling to not create a graphical context when none is required (like for --help or --version) auria 2009-06-07 15:20:51 +00:00
  • 5516028d4b The track exporter is now able to export the quads of a track, and partly the quad graph data structure, too. Not really finished yet, but getting there. hikerstk 2009-06-05 15:04:13 +00:00
  • b3a4e5b66b Fixed problem with race setup : kart amount would only be considered if you changed it, if you left the default value of 4 you'd be alone auria 2009-06-05 01:03:46 +00:00
  • 3cc2aad628 Tuning of skid smoke. Particle is more transparent and has slight cyan shade. More particles but smaller, with different life times. And trying to get them to fade, but that is not working (trying to get them to become red as test, final version should just fade transparency). mbjornstk 2009-06-04 20:16:38 +00:00
  • bab247c3f0 updated Xcode project to be friendly with built-in SVN support (this is user-specific, so each user will need to configure the repository on their end. But at least all project settings are friendly to allow this.) auria 2009-06-04 01:50:01 +00:00
  • 6ba50b831d tweaked material-specific slowdowns so that if you stop on e.g. sand, it's not hard to get out of there (before since acceleration was strongly cut at all times you could have trouble starting again if you stopped on sand) auria 2009-06-04 00:25:16 +00:00
  • 537a4613d6 updated Xcode project auria 2009-06-04 00:16:21 +00:00
  • f964dc5723 Cloned original smoke code by hiker to create nitro particles so I can test and tweak images if needed. xml was wrong but no obvious output in console so missing png was a real headache to figure. Tweaked drifting power loss (0.75 -> 0.5) and default brake power (100 -> 20). mbjornstk 2009-06-04 00:16:13 +00:00
  • 87d02728cf Added the png for tux shadow (direct convert from the rgb). mbjornstk 2009-06-03 23:38:31 +00:00
  • c5fbf40736 Experiments with smoke size and position. mbjornstk 2009-06-03 23:00:16 +00:00
  • 9d407561dc Fixed compilation problem (missing function getKartWidth). hikerstk 2009-06-03 13:41:02 +00:00
  • 25b9d9643c Replaced all remaining HEADER_.*_H with HEADER_.*_HPP . hikerstk 2009-06-03 02:17:43 +00:00
  • 590eab3315 Missed one file in previous commit - another wrong include fixed. hikerstk 2009-06-03 02:14:32 +00:00
  • 64d72dabad Fixed incorrect include paths. hikerstk 2009-06-03 02:12:37 +00:00
  • f84a77cf59 Test with two smoke trails. Easily undoable (not mixed the right and left parts yet, so erase _r part and mass replace s/_l//g). If this stays, better find the common parts and mix the rest so any change is done for both sides. mbjornstk 2009-06-03 01:49:57 +00:00
  • 96805cfc71 Moved race related files into new subdir 'race'. hikerstk 2009-06-03 01:36:48 +00:00
  • 83a032a27e Mover user_pointer into subdir. hikerstk 2009-06-03 00:54:17 +00:00
  • 70a924c105 fixed warning (and potential problem) auria 2009-06-03 00:44:37 +00:00
  • 9e6b1fb103 Removed unused file. hikerstk 2009-06-03 00:42:21 +00:00
  • e1b835cafd Fixed smoke system (minor issues: smoke comes from the middle of the kart, not from the two wheels anymore). hikerstk 2009-06-03 00:39:20 +00:00
  • d814a4b94d Updated Xcode project auria 2009-06-03 00:21:33 +00:00
  • 839ddc140f Removed unused file. hikerstk 2009-06-02 12:51:53 +00:00
  • 075c9dbb86 Moved more files into appropriate subdirs, update build system for VS (verified) and autoconf (not verified). hikerstk 2009-06-02 12:37:29 +00:00
  • 55c7bbe600 1) Explosions now work, though need a new texture and better particle parameters. 2) Minor work on smoke particle system, not finished. hikerstk 2009-06-02 12:06:35 +00:00
  • 2b9d7a0b55 Cleaned up #includes, for debugging F1 triggers now also an explosion. hikerstk 2009-06-02 12:01:27 +00:00
  • a93191dc49 1) Bugfix: exploding flyables could trigger a crash. 2) Moved explosion closer to ground. hikerstk 2009-06-02 11:59:17 +00:00
  • d7a6494f5b Fixed VS compilation warnings/errors. hikerstk 2009-06-02 11:56:48 +00:00
  • 102a601192 Minor code cleanup. hikerstk 2009-06-02 11:51:26 +00:00
  • 7d8d053157 Kart amount can now be set from GUI auria 2009-06-02 01:06:05 +00:00
  • 1bf249a438 Shadow was yellow but should be black. Nothing against colours in shadows if they can be justified by some kind fire or lights in kart model. mbjornstk 2009-05-31 20:40:25 +00:00
  • ab41b6fa78 Fixed shadow (front was back) and lowered it (overlapped wheels too many times). Probably it should made to follow the ground instead, maybe split into 2*2 (or equivalent triangles, to have control over the edges) or 4*4 quads too, for better shape adaptability. mbjornstk 2009-05-31 20:35:55 +00:00
  • a6460ee84c gamepads can now be configured! I cannot test if it works when you have mutliple gamepad models, people will need to help me here auria 2009-05-31 02:04:14 +00:00
  • 54c2514148 fixed typo in code auria 2009-05-31 01:31:37 +00:00
  • 1f7ec5ae58 hopefully fixed Arthur's issue + more code work towards gamepad support auria 2009-05-31 01:27:21 +00:00
  • 11703a68bd trying another potential fix for Arthur auria 2009-05-31 00:46:54 +00:00
  • 72c4ac468a playing around a bit more with input. added debug prints to corner what's happening on Arthur's computer auria 2009-05-31 00:40:42 +00:00
  • 99ab952a5f fixed glitch in input config + cleaned up a bit the code auria 2009-05-30 23:45:51 +00:00
  • 4972f247be made some keyboard keys always usable in menus (like arrows) when bindings don't use them auria 2009-05-30 20:54:59 +00:00
  • 1a47cc900f default value for 'rescue' is now 'backspace' rather than 'escape' since escape has a special meaning auria 2009-05-30 20:48:25 +00:00
  • 42b965a254 pressing 'escape' in input sensing mode will now behave as expected instead of crashing auria 2009-05-30 20:47:03 +00:00
  • e066360e79 when settings keys in Options, focus will stay where it was, making it much less annoying to configure without mouse auria 2009-05-30 19:41:04 +00:00
  • ff77ab2184 Can now configure keyboard bindings from Options screen (gamepad probably doesn't work) auria 2009-05-30 19:35:47 +00:00
  • 4601dfcc8a fixed left/right keys selecting kart/track auria 2009-05-30 19:02:53 +00:00
  • dc84e15685 cleaned up old TuxKart crap left in input module (variables id0, id1, id2, whose meaning change from device to device... how brilliant) auria 2009-05-30 18:57:25 +00:00
  • 83a731500c started implementing input sensing in options. currently, detects keypresses and prints them to the console. No gamepad supprot yet, bindings are not actually changed yet auria 2009-05-30 01:41:09 +00:00
  • 7926d5fe97 Added 'old style'/simplified shadows back in - to be used for lower end hardware. hikerstk 2009-05-29 15:45:27 +00:00
  • d6a325b879 Fixed 'disappearing' rubber bands. hikerstk 2009-05-29 15:43:21 +00:00
  • 6b1974c459 Fixed incorrect culling of debug track, some minor code cleanup. hikerstk 2009-05-29 15:42:00 +00:00
  • 21c5795deb endianness test is now done at runtime and not at compile time; this allows cross-compilation and makes some stuff quite easier (namely cross-building universal binaries on mac) auria 2009-05-29 00:55:43 +00:00
  • f16339fc9f updated Xcode project (see ya in hell, plib\!) + fixed a couple warnings auria 2009-05-29 00:06:39 +00:00
  • 9b38b69057 Renamed GUIEngine::free() to GUIEngine::cleanUp(), which allows the usage of the VS memory debugger (which redefines free using a macro). hikerstk 2009-05-28 03:15:43 +00:00
  • 043c4c0671 Removed dependency on plib - hooorayyyy! hikerstk 2009-05-28 02:29:09 +00:00
  • eac584b350 Removed warning about macro redefinition (incorrect order of includes). hikerstk 2009-05-28 02:13:42 +00:00
  • 59d5098ade 1) More support for quad graphs added. Now the AI should be able to use shortcuts and loops (e.g. using the same quads more than once). 2) More AI simplifications, and adjustments to handle off road driving with the new quad graph structure. 3) Fixed bug in LinearWorld: last_valid_sector was not defined anymore, resulting in crashes when a kart was rescued. hikerstk 2009-05-28 00:43:12 +00:00
  • 62f5c82882 Removed VS warning. hikerstk 2009-05-25 04:29:09 +00:00
  • cdb092ba05 Updates VS build environment (ssg_help.?pp were still listed). hikerstk 2009-05-25 03:51:11 +00:00
  • d14bbb5150 Updated VS project file. hikerstk 2009-05-24 10:59:46 +00:00
  • b5d7d2b506 Improved handling of using the same quad more than once (note: since esp. findOutOfRoadSector is not yet converted to use the quad graph structure, bugs and crashes can occur in some circumstances). hikerstk 2009-05-24 10:58:45 +00:00
  • 1f362f88b0 fixed issue with ribbons when not using mouse + improved looks of input config screen auria 2009-05-24 01:28:56 +00:00
  • cc2c62e024 options screen will now show current binding auria 2009-05-24 01:22:13 +00:00
  • e9a136b556 Files to process are input.cpp and input.hpp, not input.hpp twice. mbjornstk 2009-05-24 01:06:22 +00:00