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
hikerstk
0a8ddf3a1f
Moved asserts to find reason for NANs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-07 23:23:48 +00:00
hikerstk
a13dc9835d
Added more asserts to find NAN crash.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-07 23:10:09 +00:00
hikerstk
cc364e9f23
Simplified leak checks (removed one unnecessary class), and made
...
the data structure thread safe to avoid a race condition that would
(very infrequently) crash the game.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-07 01:54:27 +00:00
hikerstk
f63011d003
Added default constructor, which simplifies usage of this object.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-07 01:35:41 +00:00
hikerstk
43359f9292
Removed debugging which was committed by accident.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-06 23:49:51 +00:00
wardje
361d2362fa
Fix parentheses warning and an outdated comment
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-06 16:54:36 +00:00
auria
39e29c3c2e
On Linux, with regards to feature 'remember window location', make sure to get the coordinate of the window including borders, not coordinates of the contents as was done before, which resulted in the window going down a bit on every launch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-06 01:39:42 +00:00
hikerstk
d5284adf89
Added assert to catch a nan problem (reported in mailing list).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-06 01:20:55 +00:00