Benau
0c254dfa5d
Try to make AI work like zidane
2016-05-26 08:24:45 +08:00
hiker
3ec56386df
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-25 21:35:17 +10:00
hiker
566df3dee6
Made more physics parameters for objects adjustable in the xml file
...
(for now to support a puck).
2016-05-25 17:21:31 +10:00
Deve
396bbd0199
Fixed an error message when unlocking texture in spherical harmonics.
...
On some tracks it was reporting following message:
[warn ] GLWrap: OpenGL debug callback - API
[warn ] GLWrap: Error type : ERROR
[warn ] GLWrap: Severity : HIGH
[warn ] GLWrap: Message : GL_INVALID_VALUE error generated. Size and/or offset out of range.
This fixes #2504
2016-05-24 18:59:51 +02:00
Benau
221a757942
Merge branch 'arena_ai_profiling'
2016-05-24 15:52:32 +08:00
Benau
63a3b50bb7
More details on profiling
2016-05-24 15:50:34 +08:00
Benau
f4e297c415
Merge branch 'advanced_soccer_ai' into arena_ai_profiling
2016-05-24 15:49:25 +08:00
Benau
a18c53f4e7
Add more defense
2016-05-24 15:48:38 +08:00
hiker
5f6f1ec448
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-24 17:37:28 +10:00
hiker
de7ba54b90
Updated debug outpout (commented out).
2016-05-24 09:19:54 +10: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
Deve
41283ad408
Added a check for GL_ARB_explicit_attrib_location extension.
...
It is enabled by default for OpenGL 3.3, but we need it for some of our shaders in render_geometry.cpp (which are OpenGL >= 3.2) and also for InstancedColorizeShader.
2016-05-20 20:12:34 +02: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
hiker
53f9d9d1ba
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-19 13:26:20 +10:00
hiker
92be0c65ad
Added support for setting the restitution for physical objects.
2016-05-19 13:25:29 +10:00
Deve
edfc7d285c
Fixed shadows and GI for mesa drivers.
...
The check for GL_ARB_geometry_shader4 doesn't have sense at all because we don't use this extension and our geometry shaders use functionality which is available in core OpenGL 3.2.
The reason that it wasn't working for older mesa versions must be a bug in mesa or maybe missing other functionality (but not GL_ARB_geometry_shader4).
I checked it with mesa 11.2 and current git version and it works fine on intel, nouveau and with software rendering.
It needs some testing because it potentially affects all drivers with OpenGL >= 3.2 on every platform.
If someone could test it with Radeon drivers, I would be really happy to enable it in upcoming release, at least on linux.
2016-05-18 22:19:31 +02:00
Benau
9a815b4e65
Fix x N items font size
...
It should depend on screen scaling.
2016-05-18 13:03:35 +08:00
Benau
12522cc99f
Don't crash if missing texture
2016-05-18 10:05:12 +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
hiker
b3d59de288
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-11 00:04:11 +10:00
hiker
01ce2c32ef
Properly fixed #1347 . Made a global variable part of the
...
KartSelection object, to avoid the two instances of the
kart selection screen to interfere with each other. Removed
tearing down the kart selection screen. Also fixed crash
when starting the kart screen after a network kart screen.
2016-05-10 17:27:50 +10: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
hiker
898cefc91e
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-07 00:20:58 +10:00
hiker
bc418acb05
Fixed second location where the kart/playe rname was used.
2016-05-07 00:16:36 +10:00
Benau
264e5af3ee
Fix determineTurnRadius in ArenaAI
...
Before this function always return nan/inf/too large number of
radius, now this function will calculate the radius of curvature
correctly.
2016-05-06 22:03:01 +08:00
hiker
6c9f3d73b5
Show the name of the player in the grand prix result screen.
2016-05-06 16:47:36 +10:00
hiker
c92f369cdd
Allow 0 laps GP in artist debug mode.
2016-05-06 16:47:05 +10:00
Benau
db6ea0e740
Add help for translator
2016-05-06 08:37:05 +08:00
hiker
ef4b200dca
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-06 09:13:50 +10:00
auria.mg
ce6bc4a3fe
Document new command-line option
2016-05-05 19:12:27 -04:00
hiker
43c2cb37c9
Use a #define SkiddingAI TestAI in the TestAI to make this file
...
as close as possible to the SkiddingAI, which makes it easier to
compare the two AIs to find significant differences.
2016-05-06 08:52:46 +10:00
hiker
e8c54bbdcd
Use getControllerName instead of hard coded to string, minor
...
coding style fixes.
2016-05-06 08:52:19 +10:00
hiker
c1bdfabc89
Fixed comment.
2016-05-06 08:25:46 +10:00
hiker
ff561aa679
Fixed steering when avoiding a collision (see 79b3864511
...
for same patch on skidding ai).
2016-05-06 08:24:45 +10:00
hiker
79b3864511
Fixed incorrect steering direction when trying to avoid a crash.
2016-05-06 08:12:58 +10:00
hiker
ca379d921d
Left the comments in, but reset the test ai to be identical to the
...
skidding ai again.
2016-05-05 18:42:11 +10:00
Benau
bbde4659c1
Allow arena ai profiling
2016-05-05 16:25:54 +08:00
hiker
101611af3e
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-05 12:51:40 +10:00