Benau
6b282acae2
Use bullet built-in function
2016-11-11 10:20:15 +08:00
Benau
df57a73813
Fix start projection of karts
2016-10-30 10:10:09 +08:00
hiker
fda3afad93
Fix 2658 by separating networking code from main loop.
2016-10-27 21:33:42 +11:00
Benau
24f926b780
Merge remote-tracking branch 'origin/spare_tire_kart'
2016-10-18 14:32:44 +08:00
auria.mg
929b9b5c20
Stop world imer when game is paused
2016-10-15 20:28:48 -04:00
auria.mg
020edf1679
Add support for directional (forward-only or backwards-only) driveline segments
2016-10-15 18:56:13 -04:00
Benau
1f8149f138
Merge remote-tracking branch 'origin/skinned_mesh_normal_map'
2016-10-15 15:25:20 +08:00
Benau
965e901796
Fix typo
2016-10-12 14:00:51 +08:00
hiker
b0bb6ce00f
Simplified structure.
2016-10-11 18:13:21 +11:00
hiker
7b3fc04d26
Removed debug output.
2016-10-11 08:46:14 +11:00
hiker
09ce5515b0
Avoid extrapolation by making sure the client starts after receiving
...
a message from the server, and only updating the previous position
if the new previous position is indeed before the current client time.
Fixed conflicts, removed dumb-client related interpolation code, left
client starting in place.
2016-10-11 08:44:17 +11:00
Benau
6750fb3c94
Fix leaking of script engine
2016-10-11 00:11:45 +08:00
Benau
fdcb4dac8d
Fix assertion when no spare tire karts
2016-10-09 17:41:20 +08:00
Benau
fb0f4fca3c
Allow BattleAI to collect lives
2016-10-09 13:24:00 +08:00
Benau
6b8156c254
Pre-spawn spare tire karts on random nodes in graph
...
Don't use the item location, as it can be remembered by players
2016-10-09 11:17:36 +08:00
Benau
357567ae8d
Move spare tire num info to race_manager
...
It allows this info to be get more easily
2016-10-09 09:50:26 +08:00
Benau
71359a087d
Add heart billboard with red kart for spare tire karts
2016-10-08 14:29:28 +08:00
Benau
8889654d96
Move STA function out of world
2016-10-08 09:41:02 +08:00
Benau
71662df159
Improve spawn formula
2016-10-07 21:49:05 +08:00
Benau
b055fa573d
Try to fix hangs when firstly spawn STA
2016-10-07 15:29:36 +08:00
Benau
91af45337f
Pre-add spare tire karts probably
2016-10-07 14:39:39 +08:00
Benau
a91af96637
Initial work on spare tire kart in battle mode
...
Some values are hard-coded for now
2016-10-05 16:18:39 +08:00
hiker
8949e89809
Merge remote-tracking branch 'origin/master' into rewind
...
Fixed conflicts.
2016-10-05 08:21:10 +11:00
hiker
9cf88ef874
Merge remote-tracking branch 'origin/master' into rewind.
...
Fixed conflicts.
2016-10-04 08:15:40 +11:00
Benau
c22714951c
Missed reset before update TrackSector
2016-09-30 00:42:04 +08:00
Benau
32f87fa8a9
Fix wrong doxygen comments
2016-09-29 10:19:18 +08:00
Benau
100c23b3c0
Move TrackSector to WorldWithRank
2016-09-28 13:48:32 +08:00
Benau
3d89d5adc6
Make OverWorld be derived from World
2016-09-28 11:24:04 +08:00
Benau
7867a30276
Allow auto-rescue for ArenaAI if off road for some times
2016-09-28 09:59:33 +08:00
Benau
e26920e479
Improved skidding when closing to item or kart as target
2016-09-27 15:30:31 +08:00
hiker
74f521980a
Fixed time handling to be in synch between history and rewind.
2016-09-23 07:56:21 +10:00
hiker
1651d28a4c
In case of history replay update dt earlier so that World is updated
...
with the replay dt value.
2016-09-21 17:31:24 +10:00
Benau
36eca8bc55
Avoid setting gravity in btKart
2016-09-19 11:18:16 +08:00
Benau
eeac5668d9
Rename QuadGraph to DriveGraph, make it use the new Graph interface
2016-09-17 14:30:28 +08:00
Benau
606a5401d3
Allow starting position on an upside down surface in arena
...
Todo: referee and make btKart cast ray at correct normal
2016-09-17 09:53:44 +08:00
Benau
1491236e84
Allow TrackSector to use with new graph class
2016-09-15 15:47:17 +08:00
Benau
ba047a4f99
Keep flying karts parallel to the ground in the physics, not outside
...
Like 44da1fb4f2
, but takes terrain
into account
2016-09-11 15:35:42 +08:00
Benau
7cfd9752d0
Fix restarting the race when karts are up-side-down
2016-09-10 11:11:52 +08:00
Benau
fde9ccd53e
Move updateTerrainInfo to a better location
2016-09-10 11:09:52 +08:00
Benau
ceb92f9b4a
Try to completely fix rescue issue
2016-09-10 01:20:11 +08:00
Benau
505b50da0c
Make getNode return pointer. (easier with dynamic_cast later)
2016-09-09 16:14:28 +08:00
hiker
a563266988
Made the KartRewinder to be a kart (which gives it easier access to
...
some of the kart attributes that need to be saved).
2016-09-05 08:00:21 +10:00
Benau
23a49d5245
Merge remote-tracking branch 'origin/master' into walldriving
2016-09-04 11:56:28 +08:00
Benau
21dc569f70
Start to clean up quad and graph node
2016-09-04 11:56:03 +08:00
LoadingPleaseWait
3dc13eb071
Fix CPU marker typo
2016-08-31 15:36:15 -05:00
hiker
2a06036fb7
Changed order in which rendering and various updates are done, which
...
results in the physics reacting one frame earlier to user input.
2016-08-31 16:31:59 +10:00
Benau
35ce9a39ce
Merge branch 'master' into walldriving
2016-08-26 15:36:57 +08:00
Benau
6b0fe9dd89
Clean up:
...
Try to use forward enum declaration for KartRenderType
NoCopy for RenderInfo
2016-08-18 11:15:05 +08:00
hiker
a15c9529a5
Merge remote-tracking branch 'origin/master' into rewind
2016-08-01 08:18:38 +10:00
Benau
8c38e9e79b
Merge remote-tracking branch 'origin/fix_timer'
2016-07-25 14:46:58 +08:00
hiker
d6a62a85b7
Removed unnecessary #include.
2016-07-22 09:58:10 +10:00
Benau
1d6c7fa60f
Remove vector int in RenderInfo
2016-07-15 12:31:00 +08:00
auria.mg
1463cf9344
Fix uninitialized variables, fixes #2567
2016-07-12 19:39:44 -04:00
Benau
b903baf226
Fix crash sound only working once if the timer counts backwards
2016-07-08 23:43:12 +08:00
hiker
b2a62c222c
Merge branch 'camera-refactor'
2016-07-08 06:47:32 +10:00
Benau
5bb2a5cf7e
Allow changing kart color on-the-fly
2016-06-30 09:30:52 +08:00
Benau
22e5c0909c
Allow setting color without copying the mesh
2016-06-28 14:55:48 +08:00
Benau
f1dd7ce06e
Remove the arrows in soccer mode if using glsl
2016-06-26 07:53:59 +08:00
Benau
7e806fe86f
Merge remote-tracking branch 'origin/master' into render_kart_driver_differently
2016-06-25 16:31:08 +08:00
Benau
2f217fd55b
Allow render red or blue karts in soccer mode using shader
2016-06-25 16:29:54 +08:00
auria.mg
f90703beb6
Move hardcoded cutscene FOV to a config file
2016-06-23 19:10:56 -04:00
Michael Murphey
c849aa3b8d
More information in race result GUI ( #2516 )
...
* More information in race result GUI
* Fix extra race result GUI information
* Rename displayHighScores()
* Use race_manager->hasModeLaps() and fix clang compile error
* Don't initialize best_lap_time unless the mode has laps
2016-06-15 19:36:37 -04:00
Benau
d1d591ca34
Fix compiler warning
2016-06-11 15:58:17 +08:00
Benau
023dbe1968
More statistics in soccer mode profiling
2016-06-11 15:31:58 +08:00
Benau
bbc61480a4
Fix missing white-space
2016-06-10 21:11:55 +08:00
Benau
eaf1486d9c
Remove misleading-FPS info in soccer mode profiling
...
As it will increase with the total polycount of the soccer field.
Now just use total frame elapsed to estimate AI performance.
2016-06-10 20:52:38 +08:00
Benau
d234954e14
Call enterRaceOverState from base class for 3SB too
2016-06-08 08:40:33 +08:00
Benau
315ea69020
Call enterRaceOverState from base class in soccer world
...
Even when profiling
2016-06-07 10:15:07 +08:00
Benau
c66df6082d
Remove not too useful angle calculation
...
Fix a bug in reverse position returned
2016-06-01 08:21:35 +08:00
Benau
0c254dfa5d
Try to make AI work like zidane
2016-05-26 08:24:45 +08:00
Benau
63a3b50bb7
More details on profiling
2016-05-24 15:50:34 +08:00
Benau
02779e39a9
Merge remote-tracking branch 'origin/advanced_soccer_ai' into arena_ai_profiling
2016-05-21 11:41:02 +08:00
Benau
ae18983655
Fix wrong colon
2016-05-21 11:31:43 +08:00
Benau
390f45a9d1
Fix crashes in arena profiling mode
...
Notice: you need to merge arena_ai_profiling into here to test
2016-05-21 01:11:37 +08:00
Benau
0f9438d824
Use math formula to determine overtake position
2016-05-21 00:37:11 +08:00
Benau
a94fc6c1c3
Fix goal target not updated when going back
...
Also fix some unitialized value issue
2016-05-18 00:50:29 +08:00
Benau
de8d172c07
Improvements in soccer mode with minimap
...
1. Larger ball
2. Draw goal line of two teams in minimap
2016-05-17 16:01:27 +08:00
Benau
d2f26fe70d
First playable advanced soccer ai
2016-05-16 15:24:05 +08:00
Benau
748051871c
Get rid of two more member values
2016-05-16 07:54:03 +08:00
Benau
b5345c8b31
Remove unneeded memeber
2016-05-16 07:19:18 +08:00
Benau
7e8ca70bc6
First version of advanced soccer ai ⚽
2016-05-16 00:46:06 +08:00
auria.mg
8fa902a748
Another attempt at fixing camera roll in cutscenes, hopefully the right one this time. See #2483
2016-05-11 20:18:07 -04:00
auria.mg
b84b28b3a7
Undo previous "bugfix", it doesn't work
2016-05-11 19:45:42 -04:00
auria.mg
dc885fbf05
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-11 19:35:08 -04:00
auria.mg
17f96ac9ef
Fix camera roll in cutscenes
2016-05-11 19:35:00 -04:00
Benau
9624d27f59
Try to fix lost control for soccer ai
2016-05-10 08:53:33 +08:00
Benau
bb01c83d6e
Auto-balance the number of AIs
...
If there are uneven the number of human players in each team
2016-05-08 08:08:57 +08:00
Benau
bbde4659c1
Allow arena ai profiling
2016-05-05 16:25:54 +08:00
hiker
2e6eeb15ea
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-03 21:31:49 +10:00
hiker
a5ba5b0a2a
Improved profile statistics somewhat.
2016-05-03 21:31:32 +10:00
hiker
2745e42935
Added a new 'testing ai', which can be started using a command line
...
option to either test it in play against computer, or in AI against
AI races. Atm the test_ai is nearly identical to the skidding
ai, except for one brake statement that needs to be investigated.
2016-05-03 21:28:11 +10:00
Antonius Riha
342b4f299e
Delay start for 3s when intro sound is off
...
To bridge the silence before ready-set-go, the engines are started earlier than normal if intro sound is off.
2016-05-02 21:53:34 +02:00
Antonius Riha
d4f1f28070
Support disabling race intro and start sounds
2016-05-02 11:32:04 +02:00
hiker
b83246aac2
Revert "Do not compute the battle graph in case of a single kart in debug"
...
since Benau has suggested a better approach.
This reverts commit c9c37fb400
.
2016-04-28 16:58:37 +10:00
hiker
c9c37fb400
Do not compute the battle graph in case of a single kart in debug
...
mode in an arena: in debug mode computing the distance matrix
takes a LONG time (approximately 12 minutes on my machine). In
release mode it's fast enough for now.
2016-04-28 11:17:20 +10:00
hiker
d1f611197f
Fixed reset of cameras, and switching to debug views.
2016-04-19 09:40:14 +10:00
hiker
7d0953ad83
Merge branch 'master' into rewind
2016-04-12 17:36:56 +10:00
Benau
d914e1eea3
Make game playable when start racing
2016-04-08 15:44:50 +08:00
Benau
6dc05a1ec7
Merge remote-tracking branch 'origin/master' into walldriving
2016-04-08 13:42:58 +08:00
Benau
ae8fac6dcb
No powerup display when watching replay
2016-04-04 07:54:24 +08:00