hikerstk
d7a6494f5b
Fixed VS compilation warnings/errors.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 11:56:48 +00:00
hikerstk
102a601192
Minor code cleanup.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3569 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 11:51:26 +00:00
auria
7d8d053157
Kart amount can now be set from GUI
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 01:06:05 +00:00
mbjornstk
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.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3567 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-31 20:40:25 +00:00
mbjornstk
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.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3566 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-31 20:35:55 +00:00
auria
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
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-31 02:04:14 +00:00
auria
54c2514148
fixed typo in code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3564 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-31 01:31:37 +00:00
auria
1f7ec5ae58
hopefully fixed Arthur's issue + more code work towards gamepad support
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-31 01:27:21 +00:00
auria
11703a68bd
trying another potential fix for Arthur
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3562 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-31 00:46:54 +00:00
auria
72c4ac468a
playing around a bit more with input. added debug prints to corner what's happening on Arthur's computer
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3561 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-31 00:40:42 +00:00
auria
99ab952a5f
fixed glitch in input config + cleaned up a bit the code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3560 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 23:45:51 +00:00
auria
4972f247be
made some keyboard keys always usable in menus (like arrows) when bindings don't use them
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3559 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 20:54:59 +00:00
auria
1a47cc900f
default value for 'rescue' is now 'backspace' rather than 'escape' since escape has a special meaning
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3558 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 20:48:25 +00:00
auria
42b965a254
pressing 'escape' in input sensing mode will now behave as expected instead of crashing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 20:47:03 +00:00
auria
e066360e79
when settings keys in Options, focus will stay where it was, making it much less annoying to configure without mouse
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3556 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 19:41:04 +00:00
auria
ff77ab2184
Can now configure keyboard bindings from Options screen (gamepad probably doesn't work)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 19:35:47 +00:00
auria
4601dfcc8a
fixed left/right keys selecting kart/track
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3554 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 19:02:53 +00:00
auria
dc84e15685
cleaned up old TuxKart crap left in input module (variables id0, id1, id2, whose meaning change from device to device... how brilliant)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 18:57:25 +00:00
auria
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
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3552 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 01:41:09 +00:00
hikerstk
7926d5fe97
Added 'old style'/simplified shadows back in - to be used for lower
...
end hardware.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3551 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-29 15:45:27 +00:00
hikerstk
d6a325b879
Fixed 'disappearing' rubber bands.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3550 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-29 15:43:21 +00:00
hikerstk
6b1974c459
Fixed incorrect culling of debug track, some minor code cleanup.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-29 15:42:00 +00:00
auria
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)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3548 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-29 00:55:43 +00:00
auria
f16339fc9f
updated Xcode project (see ya in hell, plib\!) + fixed a couple warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-29 00:06:39 +00:00
hikerstk
9b38b69057
Renamed GUIEngine::free() to GUIEngine::cleanUp(), which allows
...
the usage of the VS memory debugger (which redefines free using a macro).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3546 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-28 03:15:43 +00:00
hikerstk
043c4c0671
Removed dependency on plib - hooorayyyy!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3545 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-28 02:29:09 +00:00
hikerstk
eac584b350
Removed warning about macro redefinition (incorrect order of includes).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3544 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-28 02:13:42 +00:00
hikerstk
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.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3543 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-28 00:43:12 +00:00
hikerstk
62f5c82882
Removed VS warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-25 04:29:09 +00:00
hikerstk
cdb092ba05
Updates VS build environment (ssg_help.?pp were still listed).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3541 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-25 03:51:11 +00:00
hikerstk
d14bbb5150
Updated VS project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3540 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-24 10:59:46 +00:00
hikerstk
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).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-24 10:58:45 +00:00
auria
1f362f88b0
fixed issue with ribbons when not using mouse + improved looks of input config screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3538 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-24 01:28:56 +00:00
auria
cc2c62e024
options screen will now show current binding
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3537 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-24 01:22:13 +00:00
mbjornstk
e9a136b556
Files to process are input.cpp and input.hpp, not input.hpp twice.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-24 01:06:22 +00:00
auria
7e45011c6e
cleaned up options menu code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3535 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-24 00:52:31 +00:00
mbjornstk
2a7052de02
Fix compiling issue in Linux, definition of variables after case labels fail.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3534 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-23 23:43:26 +00:00
auria
becdbdf2f5
minor cleanup; removed some code from old input module that was left over and not used; replaced 'hello's in the GUI with a more appropriate empty label
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3533 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-23 23:04:57 +00:00
auria
4f2574818d
dampened camera moving around. should make you feel less dizzy while not ebing as static as it used to be
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3532 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-23 01:45:50 +00:00
auria
a08a59cc17
Added 'back' buttons to option screens
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3531 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-23 01:28:14 +00:00
auria
e7fcea9c09
updated Xcode project again (\me should check it works before committing)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3530 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-23 01:04:50 +00:00
auria
a2ceac5f2f
updated Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3529 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-23 01:03:04 +00:00
mbjornstk
ec4f9b2306
Source files should not be executable.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3528 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-22 15:58:28 +00:00
hikerstk
864c1d6fff
1) More redesign of drivelines into quad graphs. Moved
...
graph related functions from Track to QuadGraph,
removed plib usage. The AI is now able to drive
a loop (re-using the same quad, before continuing
on the original path). The beack track currently
defines a simple look at the first right hand
turn (the AI will drive down the hill, then
up again and then keep on going).
2) During the conversion process some AI called
function were significanly sped up, but it has
to be tested if this has any ill effects for
certain tracks or certain karts.
3) Tried to add support for moving sky domes, but
that doesn't work yet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3527 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-22 03:23:48 +00:00
mbjornstk
6042c2cb63
Remove exec prop/bit.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3526 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-20 00:05:01 +00:00
auria
5ed94ab22c
fixed incorrect music tag
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3525 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-19 23:49:42 +00:00
hikerstk
224278556e
Bugfix for windows, where a stat on a directory ending with
...
'/' does not work.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3524 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-19 12:09:53 +00:00
hikerstk
afdb422635
Added first version of track debug output showing all quads.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-19 03:24:56 +00:00
auria
2d86430956
Tried to fix file issues on Linux
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3522 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 23:18:40 +00:00
auria
aca5918785
fixed warning (and non-working code) + updated xcode project to remove some absolute paths
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3521 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 19:31:10 +00:00