hikerstk
be34f742e7
Removed 'very clever' logic (to avoid trying to collect items that
...
are too far out of our way) ... which only resulted in the AI not
being able to decide which of two items to pick, and then driving
left/right/left ... till it missed both items.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11552 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-05 06:56:49 +00:00
auria
0f17674e1e
Fix stupid crash, I should probably go to bed :) while I'm at it shut up harmless warning
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11551 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-05 02:06:55 +00:00
auria
72b915191c
Revert edit accidentally committed in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11550 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-05 02:02:24 +00:00
auria
d6a0b12df4
No pink skidlines for Nolok bubblegums
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-05 02:00:49 +00:00
auria
353d0dbd3b
Another forgotten file...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11548 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-05 01:35:29 +00:00
auria
c9cd4d6063
File forgotten in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-05 01:27:53 +00:00
auria
af219c1672
Give nolok his special bubblegum
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11546 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-05 01:16:01 +00:00
auria
718a90e009
Add nolok hammer sound
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11545 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-05 00:19:08 +00:00
hikerstk
fba4298b07
Fixed compiler warning in linux (and getPowerup() will never be NULL).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11543 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-04 23:39:00 +00:00
hikerstk
c50fc164b6
Removed debugging output and dead code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-04 23:29:26 +00:00
hikerstk
6c7bfd3050
Improved handling of situations in which a good and bad item
...
are close, which results in the AI getting the bad item when
trying to collect the good one. Some refactoring of code by
adding a hitLine function to Item.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11541 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-04 23:17:09 +00:00
auria
06821dc880
Give nolok a special swatter
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-04 01:54:28 +00:00
auria
bfc1a5e14c
Give nolok some special powers in the last fight against him. Changing the swatter and bubble gum to different models might help make it more dramatic of course
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11538 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-04 00:39:14 +00:00
hikerstk
35c7cf0848
Added first version of item avoidance to the AI.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11537 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-03 22:49:30 +00:00
auria
20382c0f15
Allow a challenge to specify which AI kart to use, and use it for the final race against Nolok challenge
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-03 20:18:48 +00:00
samuncle
f20fe77a98
An improved skybox and a new lightmap
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11534 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-02 19:43:13 +00:00
magned
0aa7494469
Enables both new skidding behaviour and new skidding AI. Disables old sharp turn behaviour and PRESENT_AI.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11533 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-01 22:45:07 +00:00
auria
afe3d7b910
Make car accel sound mono so that OpenAL can pan it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11532 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-01 00:24:43 +00:00
auria
39069aa684
Add audio to end cutscene
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11530 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-31 23:49:11 +00:00
auria
bdc744a3fd
End cutscene updates
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11527 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-31 01:58:58 +00:00
auria
e211de77b6
Lock gnu and nolok until the last challenge is solved
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11525 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-29 23:53:44 +00:00
hikerstk
7e2b9abc6e
Fixed release mode compilation and removed some compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11524 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-27 23:05:44 +00:00
wardje
23b5d5cd43
Fix wrong grouping fort magma introduced in r11436.
...
Didn't notice this when applying ctdabomb's patch that makes up
r11436. It made fortmagma be alone in a group called "bigupdate".
Switching back to standard.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11521 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-25 14:38:34 +00:00
wardje
01226565b1
Remove overworld from track listing
...
Someone probably wants to make this more permanent in the media repo,
assuming that it isn't that is.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11520 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-25 14:32:05 +00:00
mbjornstk
9905a5a982
Update build system with new ai_properties.[ch]pp files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11519 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-24 03:38:36 +00:00
hikerstk
983e3b036f
Updated cmake build environment to include new files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11518 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-24 00:57:38 +00:00
hikerstk
a1c51d61a5
Added first and early version of an item-collecting AI (within
...
SkiddingAI).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11517 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-23 22:00:36 +00:00
auria
fe65f46035
Work on end cutscene. Code to start particles based on a condition
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-23 01:52:55 +00:00
auria
6f88c78753
Work around special keys annoyance where control key presses are eaten by my window manager
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-23 01:50:21 +00:00
hikerstk
ed9b701e53
Added maximum amount of nitro a kart can collect to stk_config.xml
...
(instead of "const int MAX_NITRO = 16" in moveable.hpp).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11512 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-19 23:41:36 +00:00
hikerstk
ecd569b093
1) Fixed crash: hovering on top of random kart in the kart selection screen
...
would crash since getItemModel was not static (and no ItemManager instance
exists at that time).
2) Items are now also stored in quad-based containers, which will allow the
AI to better find 'interesting' items.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11511 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-16 22:02:41 +00:00
hikerstk
df103e413e
Hopefully fixed NAN problem #687 .
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-16 05:59:04 +00:00
hikerstk
36c6284ebe
Added more asserts to find #687 (nan when setting engine force).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11509 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-16 04:22:33 +00:00
auria
b966057611
Change intro music to something free and hopefully better too
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-14 22:40:33 +00:00
auria
dda9b8f831
Fix a few minor glitches in part 1 of intro
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-14 00:50:17 +00:00
hikerstk
e467e711fb
Disable new skidding AI, which was committed accidentally.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11504 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-13 01:09:25 +00:00
auria
81966f33d6
Pressing escape cancels both parts of the cutscene
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11503 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-13 00:25:30 +00:00
auria
cd0ba32a65
Play the 2 parts of the intro
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11502 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-13 00:23:18 +00:00
hikerstk
d73421afbc
Fixed minor memory leak.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-09 06:53:24 +00:00
hikerstk
e2caea1c05
Refactored ItemManager to use static components to load
...
the default item meshes. An instance of it is now only
created when a race is started (and deleted once the
race is finished). This makes the race-specific
initialisation and cleanup better to understand. Also
added singleton access to the one instance of ItemManager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11498 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-09 06:37:29 +00:00
hikerstk
98c5a5aba9
Added leak checking to items.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11497 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-09 05:58:56 +00:00
hikerstk
08efb945f2
Bugfix: an item that was collected and that had not yet re-appeared
...
was invisible when the race was restarted.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11496 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-09 05:58:34 +00:00
auria
dcfab8bea2
Add music to part II of intro cutscene. Not sure how well it fits, we can change it if needed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11495 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-09 00:15:00 +00:00
auria
f6c89a20be
Make sure subtitles are properly synchronized
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-08 23:59:28 +00:00
auria
ac0326fe77
Fix backdrop of intro cutscene 2 and a few other minor thingas
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-08 23:47:51 +00:00
auria
71a5e77ead
Tweak some timings in intro cutscene
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-08 23:19:13 +00:00
hikerstk
fcb815856c
Fixed linux compilation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-08 23:06:32 +00:00
hikerstk
16316364ea
Removed unnecessary m_all_meshes and m_all_low_meshes mappings,
...
some refactoring to avoid code duplication.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11488 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-08 07:05:59 +00:00
hikerstk
b972a2b2a3
Renamed GraphNode::getIndex to getQuadIndex.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11487 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-08 06:57:55 +00:00
hikerstk
bb0219fa42
Fixed NAN crash, which could happen because m_curve_center was not
...
initialised. If m_current_track_direction was UNDEFINED,
m_curve_center was actually used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-07 23:31:35 +00:00