Commit Graph

1463 Commits

Author SHA1 Message Date
Benau
52b19dd83a Use glVertexAttrib only in debug view 2017-12-27 13:50:17 +08:00
Benau
daf1294e6f Add minimap and adjust unlit shader for it 2017-12-26 14:34:34 +08:00
Benau
7797115867 Add SP for correct normal and easier shader system 2017-12-25 14:00:10 +08:00
Benau
d9937d7b33 Fix physical object from meta library 2017-12-03 23:58:17 +08:00
Benau
7ab8477a53 Reserve onReset of scripting method for library nodes (unused atm) 2017-12-02 15:24:36 +08:00
Benau
60a3890c78 Add support for meta library objects 2017-12-01 13:59:00 +08:00
Benau
69c86930e8 Don't raycast driveable objects that are not enabled 2017-11-05 01:32:41 +08:00
Benau
628bc7ce50 Allow light to be disabled by scripting 2017-11-04 14:01:47 +08:00
Benau
fa48d099f2 Fix the remaining msvc warnings 2017-10-17 10:51:52 +08:00
Benau
88e15147b8 Merge remote-tracking branch 'origin/win-64bit' 2017-10-17 00:55:22 +08:00
Benau
7e0d706946 Don't call setLastTriggeredCheckline for check cannon
It will override the track check line
2017-10-16 13:47:21 +08:00
Benau
4573e51e98 Fix #2427 2017-10-15 19:14:07 +08:00
Benau
998b11ed51 Add an option to disable pre-generation for explosion particles
Also remove some unused code
2017-10-15 11:32:58 +08:00
Benau
0066722dab Features completed cpu particle 2017-10-14 00:19:59 +08:00
Deve
f96863c421 Add a possibility to totally disable particles.
Particles cause a crash on some radeon devices, so people can at least disable it to make the game working.
Also tfb causes quite big slowdown on slow devices even if there is no particles displayed, so it can give few more fps.
2017-09-08 00:33:46 +02:00
Deve
6710fc2a5c Don't add absolute path if screenshot name is empty 2017-09-02 23:47:25 +02:00
Benau
f07a7062b3 Add min / max height testing for all graphs 2017-09-01 14:12:10 +08:00
Deve
69e26d7561 Remove unclear warning.
Weather node without particles is fine and it's used in Blackhill Mansion (just for lightning). The warning was suggesting that something is wrong there.
2017-08-30 21:21:43 +02:00
hiker
ab6fbd2609 Merge remote-tracking branch 'origin/master' into fix-ball-cannon 2017-08-29 09:19:41 +10:00
hiker
f3d56b37df Merge branch 'master' into win-64bit 2017-08-16 17:29:57 +10:00
Benau
3031fabcf9 Add spm loader 2017-08-16 13:48:27 +08:00
Benau
ea97258b65 Add scripting code for throwing banana monkeys 2017-08-09 12:23:37 +08:00
Benau
ac406e1e00 Fix #2891 2017-08-03 01:34:35 +08:00
hiker
1b75ed9b4c First fix for the basket-ball in cannon - make the ball follow
the cannon.
2017-05-12 17:11:46 +10:00
hiker
c23873da37 Properly fix driving no physical objects to enable smoothing (e.g.
volcano in both directions).
2017-04-18 23:07:24 +10:00
hiker
efec344738 Fixed more 64-bit related compiler warnings. 2017-04-11 22:30:57 +10:00
hiker
f2138e062d Tried to fix all 64-bit related compiler warnings triggered from files
in graphics.
2017-04-08 23:25:33 +10:00
hiker
668fdd3b49 Fixed some 64-bit related compiler warnings. 2017-04-07 23:25:52 +10:00
hiker
00bba293ad Merge remote-tracking branch 'origin/master' into physics-tweaks 2017-04-05 23:59:34 +10:00
hiker
f55c39b3b1 Support setting of friction for karts, moveable and track in stk_config.xml
and kart_characteristics.xml (for now no changed settings, all are at
tbe default of 0.5).
2017-03-22 19:52:03 +11:00
hiker
5bbacfc72d Allow tracks to set their friction (defaults to the bullet default 0f 0.5). 2017-03-21 16:24:29 +11:00
Benau
de3c9d7411 Allow to preserve more texture config 2017-03-16 16:20:05 +08:00
hiker
e5eb40b773 Smooth skidding rotation when entering a cannon. 2017-03-14 12:51:10 +11:00
hiker
5640436aa8 Support cannons in reverse tracks. 2017-03-10 08:38:03 +11:00
hiker
c8b69cecb6 Merge remote-tracking branch 'origin/master' into fix-cannon 2017-03-09 23:05:03 +11:00
hiker
f0efce62b1 Added debug view of target cannon line. 2017-02-23 09:00:07 +11:00
Benau
0cf0002c08 Header clean up 2017-02-21 12:09:22 +08:00
hiker
a17b537699 Make cannon smoother. 2017-02-20 07:48:43 +11:00
Benau
48f27df1c9 Fix wrong angle when normal is exactly 0, -1 ,0 2017-02-11 16:05:10 +08:00
Benau
0ddada2897 Fix --track-debug crash 2017-02-11 14:42:24 +08:00
auria.mg
01765fce80 Fix crash 2017-02-02 19:54:48 -05:00
samuncle
996cea5a14 Oups, I forgot to drop the light 2017-01-22 20:32:25 -05:00
samuncle
979f61b8c1 Add support for day/night notion in tracks 2017-01-22 19:28:08 -05:00
hiker
620a5b34f2 Merge branch 'master' of github.com:supertuxkart/stk-code 2017-01-20 14:15:55 +11:00
hiker
b5f285a182 Fixed #2742 - incorrect triggering if cannon line triggereed Caused
by not updating m_front_xyz when moving the kart (so an incorrect
position was used to detect checkline triggering).
2017-01-20 14:13:12 +11:00
auria.mg
7234caffd9 Fix travis build 2017-01-19 21:11:44 -05:00
auria.mg
52fff152de Scripting : add support for "onStart" callbacks in library objects 2017-01-19 21:03:09 -05:00
Benau
3105407b2f Remove error when dropping tires in battle mode when kart dead 2017-01-11 13:33:54 +08:00
Benau
3bffe1f1a7 Allow texture error message to be used in STKTexManager 2017-01-11 10:55:18 +08:00
Benau
874d3d347d Remove unused resize texture code 2017-01-11 09:46:00 +08:00
hiker
55e98e041c Removed unused (or replaceable in case of clamp) functions from helpers. 2017-01-10 13:25:26 +11:00
Benau
46be4948b2 AZDO for new texture format 2017-01-09 13:03:50 +08:00
auria.mg
67e66b44b0 Improve texture cache code to use precise subpaths instead of hashes 2017-01-06 21:07:53 -05:00
Benau
ba8846522e Implement cleaning for new texture
Also warn if there is possible texture leaking when exit STK
2017-01-06 23:45:25 +08:00
Benau
555cdacd83 Improve warning 2017-01-06 20:54:22 +08:00
Benau
437f89eea7 Clean up 2017-01-06 20:28:03 +08:00
Benau
827a483e85 Allow legacy pipeline to use new texture format 2017-01-06 15:04:15 +08:00
Benau
497f1e2785 Clean up billboard texture code
Todo: compress them in STKTexture class
2017-01-04 14:35:49 +08:00
Benau
19ac8a0d3c Allow sky box and SH to use new texture format 2017-01-03 10:18:11 +08:00
Benau
dbe148baf6 Max 10 players supported in arena
See #2705
2016-12-31 09:27:39 +08:00
Benau
caf9dbab0c Fix crash when loading particle texture inside track folder 2016-12-30 13:28:13 +08:00
Benau
15469e555d Allow track loading to take care of geometry details 2016-12-27 11:15:24 +08:00
Benau
6a142e8d2e Allow animated models in track to have different animation 2016-12-24 13:11:08 +08:00
Benau
31f2a720ca Try to reduce the header size of materials.hpp
Plus header clean up
2016-12-23 14:44:18 +08:00
Benau
752d847b09 Add the remaining shaders for GL3 hardware skinning
Also use the same shader code for normal map shader
2016-12-15 15:55:14 +08:00
hiker
4ee6f6315f Made World::m_weather a singleton to further remove dependencies on World. 2016-12-13 17:14:29 +11:00
hiker
4d406490e1 Made ScriptingEngine a singleton and removed it from World, which reduces
more dependencies on world.
2016-12-13 09:18:59 +11: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
cd149ab5d7 Moved m_track out of World into a static m_track in Track. Makes
world smaller and removes a few dependencies on World.
2016-12-13 07:53:33 +11:00
hiker
8785ddf148 Moved force-fog settings into track. 2016-12-12 08:05:07 +11:00
hiker
22092e6459 Moved background/clear color from world to irr_driver. 2016-12-09 17:14:04 +11:00
hiker
1939075a1b Merge remote-tracking branch 'origin/master' into nw 2016-12-06 18:45:17 +11:00
hiker
746bac00ce Merge remote-tracking branch 'origin/new-pi' into nw 2016-12-06 09:26:07 +11:00
Benau
902f4e20a5 Leave the loop as soon as one material is colorizable 2016-12-04 11:15:32 +08:00
Benau
2d980264b4 Update LOD to support colorization 2016-12-04 10:47:08 +08:00
Benau
4fbce474c5 Fix ambient light on track not updated 2016-12-02 19:17:55 +08:00
Benau
9e8fb63dc4 Fix AZDO with colorization
Also re-arrange texture layer
2016-11-30 13:52:06 +08:00
Benau
eb84de2666 Fix #2491 2016-11-23 10:11:08 +08:00
hiker
245045f575 Fixed various crashes on server. 2016-11-14 10:09:25 +11:00
hiker
f2b67f75b6 Minor coding style fixes. 2016-11-14 10:02:46 +11:00
hiker
73182863df Fixed linking problems - will probably not run ;) 2016-11-14 09:59: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
6b282acae2 Use bullet built-in function 2016-11-11 10:20:15 +08:00
Benau
7da108c8b1 Header clean up
Also move getUnicolorTexture to a better location
2016-11-04 20:30:08 +08:00
Benau
2f0252be98 Merge remote-tracking branch 'origin/master' into renderer_refactoring 2016-10-28 21:41:49 +08:00
Benau
24f926b780 Merge remote-tracking branch 'origin/spare_tire_kart' 2016-10-18 14:32:44 +08:00
Benau
8eb8e805eb Fix dropping of normal map wheel in battle mode 2016-10-18 14:18:51 +08:00
auria.mg
020edf1679 Add support for directional (forward-only or backwards-only) driveline segments 2016-10-15 18:56:13 -04:00
Benau
604e454f33 Fix normal map in library and track objects if they are animated 2016-10-15 15:21:34 +08:00
Benau
e09fe6ff8a Fix memory leak of mesh tool 2016-10-13 14:08:58 +08:00
Benau
48e6128e12 Grab light in the correct place, fixed all leaking of lights 2016-10-12 11:48:50 +08:00
Benau
fb79cf3a6e Let spare tire karts follow bounding box points 2016-10-11 10:52:08 +08:00
Benau
03f9fb35da Fix valgrind warning 2016-10-10 13:04:34 +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
59edb96489 Fix warning when eliminate a kart in battle mode 2016-10-08 08:35:07 +08:00
Nado
4c0b4d8078 Fixes -Wsign-compare
See #2613
2016-10-04 08:43:38 +02:00
Benau
21a04213d5 Fix typo 2016-10-03 10:30:06 +08:00
Benau
c64c8717a5 Use 16bit integer to save some space in ArenaGraph 2016-10-03 09:28:12 +08:00
Benau
62dfef1fb9 Improve performance for findOutOfRoadSector on ArenaGraph 2016-09-30 09:27:44 +08:00
Benau
3c24c73faa Fix unknown sector in arena after rescue 2016-09-30 08:15:36 +08:00
Benau
43c40c062e Make m_bb_max and m_bb_min private in Graph again
Avoid setting them in ArenaGraph, let createQuad handle them all
2016-09-29 13:36:50 +08:00
hiker
18b1218312 Oops - made boundary box protected again, it is accessed in the ArenaGraph. 2016-09-29 15:21:59 +10:00
hiker
0b76a576a3 Exit loop as soon as kart is found to be on one GraphNode. 2016-09-29 15:11:08 +10:00
hiker
fb7b42a625 Fixed compiler warning. 2016-09-29 15:10:51 +10:00
hiker
7f6d800fe7 Made the boundary box private to Graph. 2016-09-29 15:10:26 +10:00
Benau
123e667ab4 Simplify code 2016-09-24 10:05:15 +08:00
Benau
8a0a9b2617 Allow showing 3D quad in track debug better 2016-09-19 08:49:59 +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
a0005d57e9 Bugfix and better error handling in ArenaGraph 2016-09-16 12:21:38 +08:00
Benau
20e85aa781 Port all function from battle graph to new graph interface 2016-09-16 11:08:19 +08:00
Benau
05d2d05f2a Make ArenaAI use only new graph interface 2016-09-16 09:22:57 +08:00
Benau
1491236e84 Allow TrackSector to use with new graph class 2016-09-15 15:47:17 +08:00
Benau
05ad91c701 Port all function from battle graph to arena graph
Todo: AI and worlds
2016-09-15 13:29:26 +08:00
Benau
8c830bdabf Inital work on one graph interface 2016-09-15 11:46:31 +08:00
Benau
061f187142 Make slipstream work in upside down track 2016-09-13 15:07:07 +08:00
Benau
b699018879 Only do custom direction of raycast if item is on quad graph 2016-09-12 13:04:05 +08:00
Benau
f687454313 Fix item positioning on Node3D 2016-09-11 16:31:57 +08:00
Benau
ceb92f9b4a Try to completely fix rescue issue 2016-09-10 01:20:11 +08:00
Benau
ca4640716a Fix findOutOfRoadSector with Node3D 2016-09-09 16:30:35 +08:00
Benau
505b50da0c Make getNode return pointer. (easier with dynamic_cast later) 2016-09-09 16:14:28 +08:00
Benau
262eb40dfe Allow showing yellow (2d) / green (3d) quads in track debug 2016-09-04 14:33:23 +08:00
Benau
9d41f4b429 Add assert check for graph.xml 2016-09-04 13:15:51 +08:00
Benau
21dc569f70 Start to clean up quad and graph node 2016-09-04 11:56:03 +08:00
Benau
35ce9a39ce Merge branch 'master' into walldriving 2016-08-26 15:36:57 +08:00
Benau
91e11a8d88 Don't crash in overworld 2016-08-20 09:01:52 +08:00
Elderme
41cd1e0364 merged with master 2016-08-18 22:36:19 +02:00
Benau
a1c09c4adb Fix potential crash 2016-08-18 15:34:58 +08:00
Benau
f07452842d Add support for colorizing library objects using material.xml only 2016-08-17 11:57:18 +08:00
Benau
10937333a1 Remove duplicated code in navmesh 2016-08-03 12:37:48 +08:00
Elderme
a21d7b4b71 Merge branch 'master' into renderer_refactoring 2016-07-26 22:16:48 +02:00
Elderme
cd1b9a66a0 Merged master in branch 2016-07-26 21:31:52 +02:00
hiker
7196ddfba8 The unit test for battle graph detects incorrect parents for some
(other) arenas. Those are false positives (often there is more
than one shortest path, all with the same length; e.g. in case of
a regular gridded section). Added more details in error reporting
to help in debugging, but generally disabled the test for identical
paths, only the actual path length is tested now.
2016-07-25 08:11:56 +10:00
hiker
2654705da1 Fixed linux compilation. 2016-07-22 11:50:41 +10:00
hiker
9fcb55aac3 Use Dijkstra instead of Floy-Warshall for computing the paths in battle mode
(which is signiccantly faster). Added unit testing for dijksta based on
the F.W. algorithm.
2016-07-22 11:06:32 +10:00
hiker
d6a62a85b7 Removed unnecessary #include. 2016-07-22 09:58:10 +10:00
hiker
2cfe99827f Merge branch 'master' into dijkstra-test 2016-07-21 09:18:07 +10:00
Benau
6a319cbed2 Clean up old font code 2016-07-18 23:00:40 +08:00
Benau
9fd6fd2673 Fix crashes when using the uninitialized layer 8 texture 2016-07-15 15:23:17 +08:00
Benau
53374176ad First try to support colorization texture mask 2016-07-15 00:53:22 +08:00
hiker
b2a62c222c Merge branch 'camera-refactor' 2016-07-08 06:47:32 +10:00
David CARLIER
a99d02f366 couple of resource leaks fixes (#2526) 2016-06-27 19:47:56 -04:00
Elderme
b359e8f9fd Merged with master, solved conflicts 2016-06-18 19:28:54 +02:00
hiker
d444ab802d Added test-implementation of dijkstra. 2016-06-01 23:51:12 +10:00
Benau
913bb511b8 Use an improved turn radius determination 2016-05-29 16:31:40 +08:00
Benau
91b9d13611 Make gift package playable 2016-05-28 00:33:06 +08:00
Benau
221a757942 Merge branch 'arena_ai_profiling' 2016-05-24 15:52:32 +08:00
hiker
92be0c65ad Added support for setting the restitution for physical objects. 2016-05-19 13:25:29 +10: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
7e8ca70bc6 First version of advanced soccer ai 2016-05-16 00:46:06 +08:00
Benau
9624d27f59 Try to fix lost control for soccer ai 2016-05-10 08:53:33 +08:00
hiker
92f0ab6819 Implemented command line option "--dont-load-navmesh" to disable
loading of any navmeshes (to avoid extremly slow loading times
in debug mode, e.g. for temple).
2016-04-28 17:15:07 +10: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
auria.mg
ab2f46cc90 Improve reverse track support 2016-04-24 19:36:52 -04: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
Benau
f9b0b05d53 Fix warning 2016-04-14 10:40:15 +08: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
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
5b7161710d Add GUI option in track info screen for random item location. 2016-03-17 12:16:19 +08:00
Benau
d2509baf5c Allow random items number and type for arena with navmesh.
Number and types are hard-coded for now.
2016-03-17 01:27:24 +08:00
Benau
8f1daabbe1 Merge remote-tracking branch 'origin/master' into fix_replay 2016-02-22 07:26:26 +08:00
Tobias Markus
d8cce95b0e Add forgotten override's where necessary 2016-02-21 01:36:15 +01:00
Elderme
5b81d97482 Merge branch 'master' into renderer_refactoring 2016-02-07 13:56:25 +01:00
Benau
5810acb114 Fix memory leak 2016-02-04 10:11:14 +08:00
Benau
38eeddd4e8 No reference for int and float 2016-02-04 09:51:59 +08:00
Marianne Gagnon
3de922bc19 Fix animated textures not working on animated meshes. FIxes #2432 2016-01-30 18:11:58 -05:00
Elderme
1e7e126b55 merged with master 2016-01-30 15:00:22 +01:00
Benau
1ee9979fe1 More soccer mode improvements:
1. Max 8 karts are supported now

2. Clearer starting position assignment in soccer world

3. Reset all karts to starting position after each goal
2016-01-21 15:28:11 +08:00
Elderme
e9087a7dd6 Merged with master 2016-01-17 14:42:11 +01:00
Benau
b45d926a00 Clean up and bug fixes 2016-01-16 09:14:19 +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
Elderme
e58a45441b Fixed aliasing issue with render to texture 2016-01-07 15:59:06 +01:00
Elderme
c14ce23e66 Merged with master and solved conflict with the new graph structure 2016-01-07 14:56:09 +01:00
Marianne Gagnon
4eb5ee6e77 Fix crash due to goal checklines not initializing properly 2016-01-05 20:36:01 -05:00
Elderme
290ac3489b Added render to texture support for legacy OpenGL (but rendering with legacy GL is currently bugged) 2016-01-04 22:19:19 +01:00
Elderme
a257acfd4b Fixed memory leak and improved interfaces for rendering to texture 2016-01-04 21:36:00 +01:00
Benau
405d31ecfc Better pointInPoly 2016-01-04 16:10:38 +08:00
Elderme
956ae27eca Added abstract RenderTarget class for rendering to texture, and a renderToTexture method in IrrDriver 2015-12-30 12:02:11 +01:00
Benau
4e5197e7c1 Different max number of AIs per arena
Now I make large arena like stadium to have max 8 player-slots,
should be very fun to play

Remember update stk-assets to test!
2015-12-20 16:28:01 +08:00
Benau
fefeffad91 Further clean 2015-12-20 09:01:50 +08:00
Benau
3d409a9742 Fix comment 2015-12-20 01:13:51 +08:00
Benau
08b2e27ed9 More clean up 2015-12-19 16:23:18 +08:00
Benau
74c547cb1d Remove duplicated code, plus some more cleanup 2015-12-19 02:09:37 +08:00
Benau
12e4c76a6f Add minimap for battle mode when it has a navigation mesh
TODO: update battle island arena to use only 4 vertices per poly
2015-12-15 02:32:01 +08:00
Benau
2644b0458b Merge remote-tracking branch 'origin/master' into battleAI 2015-12-08 10:09:35 +08:00
auriamg
f0fafc2651 Merge pull request #2245 from Flakebi/kart-properties
Kart properties
2015-12-07 18:44:14 -05:00
Marianne Gagnon
ae916fced6 Add warning when animated texture not found 2015-12-06 20:14:55 -05:00
Marianne Gagnon
27290b4ffb More work on scripting Property animator 2015-12-05 20:45:37 -05:00
Marianne Gagnon
840bc3df64 Make more properties animatable + fix build (oops, forgot files in previous commit) 2015-12-05 20:03:11 -05:00
Marianne Gagnon
2252495fdc Scripting refactor : add new property animator helper, transfer light animations to this new animator class. Can be used in the future to animate more properties 2015-12-05 19:42:06 -05:00
Elderme
ba7aa4bc58 Moved m_spherical_harmonics from IrrDriver to ShaderBasedRenderer class 2015-12-05 21:43:04 +01:00
Benau
ab428dc8cf Different AI intelligence per difficulties 2015-12-03 16:13:39 +08:00
Benau
b5d4610f45 Better navmesh handling 2015-12-02 10:41:32 +08:00
Benau
084a4ee844 Fix crashes when no navmesh
User should have no way to start with ai in battle mode,
when the arena has no navmesh.

Unless artist debug mode or more than 1 human players.
2015-12-02 10:08:03 +08:00
Benau
c910c19827 Backwards firing and hard u-turn for backward node
TODO:
correct unstuck and perfect angle fire?
2015-12-01 09:27:49 +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
Benau
62f5be0d9d First playable version of battle AI
TODO:
backwards firing
better handling to obstacles
ai karts number selection
win/lose screen handling

Please use a better navmesh to test
2015-11-21 15:58:03 +08:00
Benau
f4b723de82 Merge remote-tracking branch 'origin/battleAI' into battleAI 2015-11-15 12:29:01 +08:00
Marianne Gagnon
66909086fd Scripting : allow smoothly animating lights 2015-10-27 19:08:12 -04:00
Marianne Gagnon
953c29089e Scripting : start adding features to control light objects 2015-10-27 18:33:54 -04:00
Marianne Gagnon
d63837260f Remove seemingly uneeded rotation, see #2345. Not sure I understand what is going on 2015-10-10 20:52:12 -04:00
Deve
ec33e92ad0 Forgot about sun 2015-10-03 21:12:41 +02:00
Flakebi
5e6e85ab79 Merge branch master into kart-properties 2015-10-03 15:20:06 +02:00
Marianne Gagnon
0cce586c87 Fix animated physics-only objects. Fixes #2292 2015-08-25 19:14:10 -04:00
Flakebi
586724c855 Merge branch 'master' into kart-properties
Conflicts:
	src/karts/kart.cpp
2015-08-19 12:03:43 +02:00
hiker
f8f0c4e4e4 Fixed compiler warning. 2015-08-18 16:54:55 +10:00
Flakebi
b51eadae28 Merge branch 'master' into kart-properties 2015-08-16 16:45:47 +02:00
hiker
e97b0a9955 Avoid crash when using --check-debug (still wip). 2015-08-14 23:14:19 +10:00
hiker
3a0f2e7ce5 Merge branch 'master' of github.com:supertuxkart/stk-code 2015-08-13 13:49:31 +10:00
hiker
567d08d360 Visualise invisible physics-only meshes when --physics-debug is
specified (helps debugging invisible walls).
2015-08-13 09:51:45 +10:00
Deve
63249309c3 Fixed compiler warning.
Previously address of local variable was returned.
2015-08-12 19:23:38 +02:00
Marianne Gagnon
7b8da0ef34 Bugfix : objects with a physics collision from a library should rotate and scale according to the parent library object 2015-08-11 20:55:04 -04:00
Marianne Gagnon
d488c043d1 Continue work on scripting, fixing #2268. Use this as an opportunity to clean up a lot of old hardcoded overworld code, and replace it with cleaner scripting. Make sure to update SVN and the exporter (other commits in SVN coming soon) 2015-08-09 21:38:01 -04:00
Marianne Gagnon
43d5dbeb3e Implement setEnabled method for sound track objects, fixes warnings on terminal and fixes hiding objects containing sounds from scripting 2015-08-07 18:26:37 -04:00
Elderme
ae5f71e50e Merge branch 'master' into skybox_refactoring 2015-08-07 15:12:56 +02:00
Elderme
87b493aaa2 Cleaned code 2015-08-07 15:11:32 +02:00
Elderme
f583fafd97 Fixed bug (SH textures were not taken into account) 2015-08-07 14:26:38 +02:00
Marianne Gagnon
518a55d1e3 Fix quad requirements issue causing rescues to wrong quad 2015-08-06 20:24:20 -04:00
hiker
340dec329c Support to mirror a texture around U or V axis if a track is driven
in reverse.
2015-08-03 23:25:11 +10:00
Elderme
2817fda910 Merge branch 'master' into skybox_refactoring 2015-08-02 00:09:10 +02:00
hiker
7799e9835d Added a getStartTransform function to World. Use this to change
the start position of the non-leader karts in a FTL race, so that
those karts now start at the end of all start positions, and not
directly behind the leader.
2015-07-30 17:12:48 +10:00
Elderme
39d1c87b11 Fixed incorrect rendering when there is no spherical harmonic textures 2015-07-30 08:14:57 +02: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
Tobias Markus
fcc3e75a99 Fix crash when loading story mode 2015-07-26 16:41:36 +02:00
hiker
622d0821cf Fixed rescue (which my previous commit broke). 2015-07-24 21:38:35 +10:00
hiker
ac779d0652 Merge branch 'master' of github.com:supertuxkart/stk-code 2015-07-24 16:40:37 +10:00
hiker
cefce3152c Fixed #2246. 2015-07-24 16:36:55 +10:00
hiker
cd8fd7fb16 Merge remote-tracking branch 'origin/master' into Flakebi-fixes 2015-07-20 09:10:05 +10:00
hiker
e755a7eda8 Merge remote-tracking branch 'origin/master' into graphical_chassis_to_physical_chassis 2015-07-18 11:53:49 +10:00
Marianne Gagnon
675b0b9458 Improve scripting error handling, more work on different shapes for collision triggers 2015-07-17 19:18:12 -04:00
Marianne Gagnon
3cb57358a3 Fix #2242 2015-07-16 19:38:34 -04:00
Marianne Gagnon
84e78e0d40 Some cleanup to check structures, start adding new cylinder check structure (WIP) 2015-07-14 19:00:00 -04:00
Marianne Gagnon
77fac34e41 More cleanup to remove hardcoded things in favor of scripting, and start work to allow for more action trigger shapes (work in progress) 2015-07-13 20:27:16 -04:00
Flakebi
9fc6f84545 Switch from properties to characteristics 2015-07-11 19:22:27 +02:00
hiker
93282f8abf Completely removed the usage of a physical wheel radius in the physics, it was
never really necessary, the phsyics are basically the same). Wheel rotation is
was refactored to be completely done in KartModel now.
2015-07-09 23:59:53 +10:00
Flakebi
fbf26df23d Merge branch 'master' into fixes
Conflicts:
	src/graphics/2dutils.cpp
	src/graphics/graphics_restrictions.cpp
	src/graphics/render_skybox.cpp
	src/graphics/rtts.hpp
2015-07-03 15:29:53 +02:00
hiker
8aabb30687 Fixed memory leak. 2015-07-01 08:58:15 +10:00
Marianne Gagnon
1ceb05c2cb More scripting functions to control particles 2015-06-28 19:10:43 -04:00
Marianne Gagnon
68eb4eb359 Start work to control particle emitters from scripts, and allow getting kart velocity from script 2015-06-28 19:00:25 -04:00
hiker
0dc2e66039 Fixed compiler warnings. 2015-06-29 08:24:31 +10:00
Marianne Gagnon
f992b864e1 More work on moving track objects via scripting 2015-06-25 19:33:28 -04:00
Marianne Gagnon
74f19f0cbc Start working on scripting API to move objects 2015-06-22 19:36:30 -04:00
Marianne Gagnon
ae18901bb2 Try fixing travis build 2015-06-21 19:57:06 -04:00
Marianne Gagnon
789384a7bf Fix loading scripts in local library nodes 2015-06-18 19:24:39 -04:00
Marianne Gagnon
8119b59af0 More fixes on intially hidden objects 2015-06-18 19:09:13 -04:00
Marianne Gagnon
403d61e754 Allow creating initially hidden objects, that can later be shown through scripting 2015-06-17 19:33:53 -04:00