Commit Graph

1886 Commits

Author SHA1 Message Date
auria
f21c7e9aa9 added a better font. but for now it's not any better because the irrlicht font system is too crappy to alow resizing fonts at runtime *sigh*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-24 14:19:20 +00:00
auria
f3cbe0984b attempt to detect available video modes. fails miserably for the moment, please test on other platforms...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-24 00:14:04 +00:00
auria
94bbe12636 show black before resolution switch so we don't see OpenGL's buffer garbage during switch; made the 'previous' width and height in user preferences valid again
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3418 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-23 23:34:41 +00:00
auria
db978329ad added the necessary core code to allow resolution switching. currently you can't choose from list, but clicking the 'apply video changes' button will test it by going into 800x480 resolution (so don't try this when fullscreen...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-23 23:27:06 +00:00
auria
8bc4ed83e9 added scrolling ribbon component
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-23 01:05:17 +00:00
auria
b262fd7f96 made player list navigatable without mouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 19:34:40 +00:00
auria
0ee65fc802 cleanup in gui/screen.cpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 19:14:55 +00:00
auria
f92c52582e music volume is now saved to config file, and read from it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 18:44:35 +00:00
auria
3a8fc00861 SFX volume is now saved to config file, and read from it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 18:36:53 +00:00
auria
2f20cb49b1 Removed debug print, made button text in options clearer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 18:20:01 +00:00
auria
e0ff3f3122 small cleanup over previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 18:10:58 +00:00
auria
7c365ee1ea the sound slider in preferences will now play a sound to help you know how loud the volume you chose is
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 18:07:03 +00:00
auria
c9234b5884 tweaked checkbox image so it's more obvious that it's focused
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 16:08:22 +00:00
auria
a1826c8c0d fixed bug in scrolling icon grids - if more items than available space existed, scrolling would be useless
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 16:03:55 +00:00
auria
ccefa05789 improved presentation of audio/video options screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3406 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 15:27:57 +00:00
auria
546816d2d4 started adding resolution choice... a bit different from proposed design, but simpler this way. work in progress, does nothing yet, presentation can be improved
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-19 01:49:08 +00:00
auria
3e285d2e56 made gauges react properly to mouse clicks. this was very hard given irrlicht's skin system, so a consequence is that you can make the slider move by clicking slighlty next to it; probably not too important
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-19 00:58:07 +00:00
auria
966e3563ce fixed graphical glitches (stretched shadows under spinners, etc.)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-19 00:21:02 +00:00
auria
7cea6e6c87 made checkboxes in audio options work
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-18 23:56:58 +00:00
auria
c1bd49c8af code simplification; crash fix; checkboxes in options now work, but you need to restart STK
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-18 23:50:55 +00:00
auria
5e249e0aed added more documentation to GUI code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-18 23:38:29 +00:00
auria
54c61cb569 made checkboxes clickable (those in options don't have any effect yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-18 23:25:59 +00:00
auria
7ecc233171 improved focus behaviour of spinners when using mouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-18 23:19:08 +00:00
auria
f875392acb skinned checkboxes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-18 23:12:41 +00:00
auria
05826d1e96 more fixes to xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-17 14:27:41 +00:00
auria
c26340a499 fixed assertion failure
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-17 00:23:07 +00:00
hikerstk
c603d48a06 Removed warnings on VS.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 10:35:35 +00:00
auria
956178350f fixed music volume gauge... actually the bug was mine *blush*, discard the explaination i gave in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 01:42:57 +00:00
auria
7ff6333abc minor improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 01:38:41 +00:00
auria
35d046ee42 skinned gauges. default value is now read from audio managers - it just doesn't work for music yet because no default value is set for music volume in preferences.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 01:29:06 +00:00
auria
5ddb03e272 music and sound volume can be modified in options. much left to do : make the gauge nicer-looking, save value to file, load value from file, make the slider start at an actual value, ...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 00:46:21 +00:00
auria
35bb0035be cosmetic changes to ribbons and spinners
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 00:21:32 +00:00
auria
ea16856103 gui docs update + some minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 00:10:49 +00:00
auria
c54a87d6a1 Fixed clicking spinner arrows
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3387 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 00:05:16 +00:00
auria
d6bb49e492 Added extensive documentation of my GUI engine to gui/engine.hpp + various minor fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-12 20:19:50 +00:00
auria
57ce9a3879 fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-12 18:22:54 +00:00
stevo14
e1f93c4527 Added support for changing the master SFX volume.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3384 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-12 11:20:13 +00:00
hikerstk
3ffcce3351 Fixed compiler warnings on VS.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-12 07:42:53 +00:00
auria
65268c3e5f made some textures power-of-two in size
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 23:18:33 +00:00
auria
87512fef4e improved selection focus ring
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 20:13:36 +00:00
auria
2e7de89e69 added a different type of seleection for karts and tracks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 19:57:10 +00:00
auria
a826fc0311 fixed bug when setting number of AI karts to 0 in GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 19:10:20 +00:00
auria
b057267db1 more on skinning : replaced ugly blue rectangle with a subtle glow. more tweakings necessary to make it good everywhere
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 19:02:33 +00:00
auria
6955c8214c skinned tabs + improved look of ribbons (removed some red rectangles)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 18:34:17 +00:00
auria
aa37c894fe improved spinner skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 18:13:06 +00:00
auria
0197d081d5 Added basic skinning to spinners
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 16:43:24 +00:00
auria
b8033334d6 starting to implement better skinning. currently, only plain buttons are skinned (you can see one in the help screens if you wish to see). I made a theme as proof of concept, if people don't like it, it can easily be replaced ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 16:07:41 +00:00
auria
de53cd22c1 fixed going back in menus with gamepad (use rescue, should now work)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-10 23:07:21 +00:00
auria
d7a032944e skin work (only in code, no visible change yet, but I'm preparing the way for visible changes :] )
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-08 20:31:50 +00:00
hikerstk
574ebfa94d Added support for steering animations. Note: since there is
currently no model with animations, there are no visible
changes atm.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-07 13:43:18 +00:00