Benau
ebef08c3d8
Try to combine all text field dialogs
2016-12-26 10:53:14 +08:00
Benau
3c9174d278
Add a general debug dialog
...
To be used later
2016-12-25 16:41:55 +08:00
Benau
2a9656bfdc
Allow all shader files to be loaded only once
...
Todo: preload
2016-12-18 10:51:05 +08:00
Benau
7894e5c864
Try to use a smarter approach
2016-12-18 09:27:50 +08:00
Benau
90a556fe9c
Try to share shaders across different programs
...
Todo: non-instanced version
2016-12-17 15:59:40 +08:00
hiker
b12453e9ca
Made Physics a singleton, removing the accessor functions from World.
...
Removes dependency on World for a few files.
2016-12-13 08:31:08 +11:00
hiker
ddcddf4a0a
Compile SERVER_ONLY (by #ifdef'ing out all graphics related code).
...
Does not link yet!!
2016-11-11 23:46:22 +11:00
Benau
3e70fa27d9
Add doxygen for Font modules
...
Plus some coding-style cleanup
2016-10-22 00:01:48 +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
6ca0eed28f
Added debug option to trigger a kart explosion in debug mode.
2016-07-27 17:34:59 +10:00
Benau
6a319cbed2
Clean up old font code
2016-07-18 23:00:40 +08:00
hiker
434a00640b
Use switch instead of if.
2016-04-19 17:08:53 +10:00
hiker
d1f611197f
Fixed reset of cameras, and switching to debug views.
2016-04-19 09:40:14 +10:00
hiker
d65dd6c199
Started to refactor the camera into different classes. Normal
...
camera is working atm. but not much more.
2016-04-18 23:29:10 +10:00
hiker
f59ea0f258
Moved the camera debug parameter from UserConfig to a static value
...
in camera. Added proper names for the debug modes instead of int.
2016-04-14 09:30:26 +10:00
Benau
bb88a0f0ec
Allow auto-save replay when specified in time trial mode.
...
It will disable AI when recording, also it will only save if the
race is completed, ie no one gave up or all events fit in max frame recorded.
2016-02-11 00:42:33 +08:00
Benau
d14a39e0f7
Initial work on soccer AI, plus lots of code re-factor/clean up.
...
To test, you need to update stk-assets with the dummy soccer field.
In single player, you are limited to be in red team for now, so just
shoot the ball into the blue goal. Also max-goal is limited to 4.
Regarding AIs, the steering with ball logic is handled in
SoccerAI::correctBallPosition, max AI supported in single player
is limited to 5 by now.
The AI is not as good as Zidane or Ronaldo, but steering with ball
for human is not as easy as not normal driving anyway, so don't
laugh at the AIs. :)
TODO: Friendly-team firing, polish the soccer field.
2016-01-15 18:25:52 +08:00
hiker
68e37c902f
Merge remote-tracking branch 'origin/master' into refactor_networking
2015-12-15 22:52:55 +11:00
hiker
e0b3de17f6
Added new isLocalPlayerKart() function to controller, which is used
...
to detect when sfx and graphical effects should be shown. The isPlayerKart
funtion is used to detect a (local or remote) player, e.g. for rubber-banding
the AI, or finding the Xth player kart.
2015-12-10 17:35:31 +11:00
Benau
2644b0458b
Merge remote-tracking branch 'origin/master' into battleAI
2015-12-08 10:09:35 +08:00
Benau
ba706f4476
Make swatter works better
2015-12-07 02:27:21 +08:00
Flakebi
aea68a2c14
Remove characteristics from kart
2015-11-29 04:08:12 +01:00
Benau
e1f1461488
Fix some bugs and copyright year
2015-11-22 15:01:22 +08:00
Flakebi
ffa85d2206
Merge remote-tracking branch 'upstream/master' into kart-properties
2015-11-21 23:03:58 +01:00
Marianne Gagnon
e1a6478038
Forgotten file in previous commit
2015-10-08 21:35:18 -04:00
Marianne Gagnon
7c5d6711b9
Introduce new mechanic to create keyboard shortcuts for debug functions, and start using it for FPS camera. Fixes #2341
2015-10-08 20:06:42 -04:00
Flakebi
5d36b95c95
Merge remote-tracking branch 'upstream/master' into kart-properties
...
Conflicts:
data/stk_config.xml
sources.cmake
src/karts/kart.cpp
src/karts/kart.hpp
src/karts/kart_properties.cpp
src/karts/kart_properties.hpp
src/tracks/track.cpp
2015-07-29 02:48:43 +02:00
hiker
672314fbe2
Added camera-at-side-of-kart debug mode.
2015-07-24 11:00:13 +10:00
Flakebi
ffca848a33
Remove more outdated variables
2015-07-12 01:29:17 +02:00
hiker
369ed86380
Added 'behind kart' camera which helps debugging graphical
...
vs physical chassis position issues.
2015-07-02 16:39:13 +10:00
hiker
a51d56a6e5
Merge remote-tracking branch 'origin/master' into refactor_shaders
...
Conflicts:
src/tracks/track_object_presentation.cpp
2015-06-01 09:28:23 +10:00
Marianne Gagnon
080936f144
Work on scripting
2015-05-17 19:27:25 -04:00
hiker
93f24f2a74
Removed Shaders instance out of irr-driver, and use a class
...
with static members instead.
2015-05-08 23:46:52 +10:00
hiker
865760ffa4
Fixed reloadShader functionality.
2015-04-24 12:36:25 +10:00
hiker
8d07d26c25
Updated (c) year to include 2015.
2015-03-30 11:42:50 +11:00
Flakebi
060bf2a2cf
Reset rotation of first person camera when activating
2015-03-24 02:46:10 +01:00
auriamg
4f949e42bd
Merge pull request #1958 from konstin/devel
...
set "Adjust Lights" base position to camera position
2015-03-15 19:28:10 -04:00
Flakebi
5b8834b48f
Add possibility to attach the fps camera to the kart
2015-03-08 17:35:57 +01:00
konstin
d489393ff8
set "Adjust Lights" base position to camera position
2015-02-04 19:31:11 +01:00
hiker
94d663eead
Fixed compiler warnings.
2015-01-22 16:29:06 +11:00
hiker
001544133f
Fixed compiler warnings.
2015-01-05 08:15:51 +11:00
konstin
84f5e98e39
corrections from comments
2015-01-02 02:12:43 +01:00
konstin
531b94a0ac
cleaning up and adding radius and energy sliders
2014-12-30 18:47:25 +01:00
konstin
334245183e
finer grained control over the values
2014-12-30 18:47:25 +01:00
konstin
7fb129ab05
Make red, green and blue of the nearest visible lamp changable
2014-12-30 18:47:25 +01:00
Flakebi
3e53787598
Smooth camera movement
2014-11-18 22:01:02 +01:00
Flakebi
497fa10695
First try of a fps camera
2014-11-18 11:55:32 +01:00
Vincent Lejeune
6ea56bb974
Display bounding boxes
2014-10-31 01:46:35 +01:00
hiker
bc7d8f6103
Fixed compiler warning.
2014-10-08 22:49:32 +11:00
hiker
b5a85ae100
Fixed typo in xml output.
2014-10-03 16:48:47 +10:00