Elderme
0b748634ae
Removed calls to resizeBox for nitro emitter
2015-08-13 18:15:34 +02:00
Elderme
01c8b25cb6
When the particles position is computed, the position of the emitter in both current and previous frames is now taken into account. There is no more visual artifact when the particles velocity and emitter velocity are not aligned (for example with nitro particles when a kart is skidding)
2015-08-13 14:53:45 +02: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
Torbjörn Söderstedt
bc4e532510
Use actual screen size when fading cutscenes.
2015-08-12 22:54:42 +02:00
Deve
63249309c3
Fixed compiler warning.
...
Previously address of local variable was returned.
2015-08-12 19:23:38 +02:00
Deve
7a4112e89c
Fixed compiler warning.
...
Based on fread specification, it returns number of elements which has been read.
Here is declared one element with size of whole file (len), so returned value should be always equal to 1.
2015-08-12 18:37:31 +02:00
temeliak
eb2b5c400f
Adding spaces to improve readability
2015-08-12 12:03:07 +01:00
temeliak
5616e791cb
Adding space in if statements to make them more readable.
2015-08-12 11:55:51 +01: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
temeliak
a07029a365
Added SFX to nitro
2015-08-12 00:50:35 +01:00
Marianne Gagnon
ea9520863d
Try to correct string encoding issue in scripting. Fixes #2278
2015-08-11 19:30:20 -04:00
temeliak
0b60d4e9f6
Offer the possibility to look backward during the start phase.
2015-08-11 02:39:25 +01:00
Marianne Gagnon
70799539a6
Add graphical level preset between 4 and 5, the difference between the 2 was a little too steep
2015-08-10 19:04:35 -04:00
Marianne Gagnon
6529381acd
Fix rescue code in tutorial mode, fixes #2279
2015-08-10 19:01:58 -04:00
Marianne Gagnon
bc67f4f503
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-08-09 21:40:05 -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
Deve
fe1222c5cc
Don't add tracks in reversed mode when it's not available.
...
This fixes #2158 .
2015-08-09 20:52:12 +02:00
Deve
7ae541e638
Reload selected GP after changing the name.
...
This fixes #2159
2015-08-09 13:12:20 +02:00
konstin
c79c51e6c7
allow enabeling Network Multiplayer through CMake flags
2015-08-08 14:29:14 +02: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
5b353a8921
Cleaned code in irr_driver.hpp
2015-08-07 15:32:13 +02: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
Elderme
30ecf34b37
Spherical harmonics coefficients are no longer recomputed when the ambient light do not change
2015-08-07 13:50:44 +02:00
Marianne Gagnon
518a55d1e3
Fix quad requirements issue causing rescues to wrong quad
2015-08-06 20:24:20 -04:00
Marianne Gagnon
fac5d6550b
Fix use-after-free bug in profile management
2015-08-06 19:40:41 -04:00
Elderme
351be306e1
Fixed memory leak: skybox textures are now freed in VRAM when deleting Skybox
2015-08-06 14:58:45 +02:00
Elderme
9ea3d4958a
Improved coding style and added doxygen comments in ShericalHarmonics class
2015-08-06 14:47:38 +02:00
deve
e1f61040e5
Use unique_ptr instead of auto_ptr
2015-08-06 13:54:29 +02:00
deve
75c1f02615
Restore using unique_ptr instead of auto_ptr in tinygettext.
...
It fixes compiler warnings on gcc 5.1 due to auto_ptr deprecation. It also makes our tinygettext fork closer to the upstream sources. And we use c++11 in other places anyway.
2015-08-06 13:54:11 +02:00
hiker
52e8df44fd
Fixed compiler warning.
2015-08-06 16:47:41 +10:00
hiker
a19119a2f2
Merge remote-tracking branch 'origin/master' into lensdust
2015-08-06 16:40:00 +10:00
Elderme
0b479a8bb0
Moved spherical harmonics things from IBL.cpp to ShericalHarmonics class
2015-08-05 11:13:25 +02:00
hiker
41f744baf3
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-08-05 17:02:55 +10:00
hiker
b44f0605dc
Try to bring karts quicker back on the ground when the kart is
...
on its side, without overcompensating (and therefore shaking)
when the kart is only slightly non-parallel to the ground
when flying.
2015-08-05 17:00:40 +10:00
Marianne Gagnon
c2feb458af
When restoring ribbon selection, consider that maybe the ribbon does not anymore contain as many items as previously. Fixes #2260
2015-08-04 19:31:38 -04:00
Marianne Gagnon
bd85f51779
Improve memory management in GP manager, fixes #2261
2015-08-04 19:26:12 -04:00
hiker
f36672c104
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-08-05 08:16:10 +10:00
hiker
9e75d28eeb
Write the reverse flag into history files.
2015-08-05 08:15:31 +10:00
hiker
93a5a91628
Fix #2152 (star effect not showing in graphics level 1).
2015-08-05 08:07:58 +10:00
konstin
cdfa571855
remove patch file
2015-08-04 11:15:29 +02:00
Elderme
c3f77a3b72
Fixed kart selection screen rendering (ambient light was broken)
2015-08-04 10:49:39 +02:00
hiker
4f4a1c0373
Added support for reverse mode in history files.
2015-08-04 17:14:36 +10:00
hiker
2a56cc6241
Fix 2192 (key names like "Left" are not translatable).
2015-08-04 09:45:38 +10: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
hiker
6f11156c04
Fixed crash if a player kart in a saved GP is deleted.
2015-08-03 22:02:13 +10:00
Elderme
53b6ab0a48
Moved specular probe computations from IBL files to Skybox class
2015-08-03 11:35:51 +02:00
hiker
8d0cad3cb8
Use proper call instead of hard coded constant.
2015-08-03 15:44:44 +10:00
hiker
a852cf94fb
Don't save random GPs (which can not be continued anyway), and allow only
...
one saved data set (for each GP and difficulty). Previously saved 'random'
GPs (which can't be continued anyway) are deleted now, cleaning up the
config.xml file.
2015-08-03 15:10:36 +10:00
hiker
085627364c
Fix #2162 (switch kart when loading a GP).
2015-08-03 07:53:21 +10:00
Elderme
6fc28b5d7c
Removed render_skybox.cpp file
2015-08-02 23:07:05 +02:00
Elderme
3a50a4d5d2
Moved remaining spherical harmonic things from render_skybox.cpp to SphericalHarmonic class
2015-08-02 23:01:52 +02:00
Elderme
2817fda910
Merge branch 'master' into skybox_refactoring
2015-08-02 00:09:10 +02:00
Elderme
a8b16bb1d4
Fixed bug in tracks without skybox
2015-08-01 23:45:46 +02:00
hiker
2f902f769d
Fixed minor memory leak.
2015-08-01 22:02:00 +10:00
hiker
78c592e4e5
Added a file with a 'unique filename' with version number which is used by STK
...
to detect that stk is reading the right data files (and therefore avoids #2073 ,
in which stk finds the wrong data directory).
2015-07-31 22:06:21 +10:00
hiker
b6165ce5f5
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-07-31 16:51:27 +10:00
hiker
a81366c414
Removed rescue-code duplication in battle mode and soccer mode.
2015-07-31 16:27:52 +10:00
hiker
431853b451
Removed some unused code, added better error message in case
...
stk_config.xml could not be found.
2015-07-31 15:45:25 +10:00
hiker
9557ad9be9
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-07-31 07:51:23 +10:00
hiker
25c1880c18
Fixed rescue in soccer mode (which would previously used World's
...
moveKartAfterRescue, not its own custom function).
2015-07-31 07:49:54 +10:00
Tobias Markus
a9761e30da
Fix various issues reported by coverity
2015-07-30 18:46:01 +02:00
Elderme
8642e14bc3
Removed m_diffuse_coefficients_calculated attribute in RTT (diffuse coefficients are now managed in SphericalHarmonic class)
2015-07-30 17:51:42 +02:00
hiker
bf858dd3ff
Fixed compiler warning.
2015-07-30 17:14:18 +10: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
Elderme
97ed8b2dbf
splitted skybox class in Skybox and SphericalHarmonic classes
2015-07-30 08:14:57 +02:00
Elderme
3640e4a69a
Move skybox things from irr_driver to Skybox class.
2015-07-30 08:14:57 +02:00
Elderme
cf40c402ba
Add a Skybox class
2015-07-30 08:14:57 +02:00
Marianne Gagnon
738e7bc780
Fix inverted if condition in input options screen, fixes #2255
2015-07-29 18:55:40 -04:00
hiker
b18d0275fd
Display a finish (survival) time in FTL result screen.
2015-07-29 17:27:43 +10:00
hiker
d27ba5f6fe
Fix #2249 (show points and points increasing in a FTL GP).
2015-07-29 08:58:42 +10:00
hiker
6ada5a0666
Revert "Properly ignore the leader in the ftl scoreboard"
...
(this patch only fixed the problem that happens when a non-leader
is number one. By now the code has fixed that it is guaranteed
that the leader is always number one, so this patch is not
necessary anymore, and it complicates the loop).
This reverts commit e9d78326fb
.
Conflicts:
src/states_screens/race_result_gui.cpp
2015-07-29 08:12:23 +10:00
hiker
3f468b254c
Removed unused/duplicated code, use World::setKartPosition instead
...
of Kart::setPosition (since this will keep an index array up-to-date).
2015-07-29 07:59:46 +10:00
hiker
8dbaea6456
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-07-28 09:40:27 +10:00
hiker
5efb44a430
Fixed scores in FTL GPs. All score handling is now done by the World,
...
not race manager (which removes if tests).
2015-07-28 09:39:00 +10:00
hiker
5c66273712
Fixed compiler warning.
2015-07-27 16:41:46 +10:00
hiker
95b86ea914
Fixed #2247 .
2015-07-27 09:56:58 +10:00
auriamg
35949b198a
Merge pull request #2252 from tobbi/fix_story_mode_crash
...
Fix crash when loading story mode
2015-07-26 19:06:20 -04:00
Marianne Gagnon
51fe38f76e
Use <cmath> instead of <math.h>, apparently fixes OSX compilation. Closes #2253
2015-07-26 19:05:05 -04:00
auriamg
df1bb8b3dd
Merge pull request #1956 from Flakebi/feature
...
Use camera position for LoD instead of the kart position, fixes #1742
2015-07-26 18:54:22 -04:00
Tobias Markus
fcc3e75a99
Fix crash when loading story mode
2015-07-26 16:41:36 +02:00
samuncle
51bd87d303
ground work for lens dust
2015-07-26 04:48:29 +02:00
Marianne Gagnon
4356dfde0c
Document missing command-line option, fixes #2095
2015-07-25 20:06:42 -04:00
Marianne Gagnon
e0dd736a7c
Main menu : prevent text on mouse over from overflowing the bounds of the screen. FIxes #2163
2015-07-25 19:55:17 -04:00
hiker
d9e806f610
Changed unsigned int to int (dest_pos can become negative, and
...
while de-facto it still works with unsigned, it's just bad style :) ).
2015-07-26 00:32:11 +10:00
hiker
a9aa37ea97
Minor code style fixes.
2015-07-26 00:31:15 +10:00
hiker
c8909b9197
Fixed missing display of points for non-winners in a FTL GP (partly fix
...
for #2249 ).
2015-07-26 00:30:09 +10:00
hiker
cd256061e1
Fix #2248 (crash when taking screenshot). The assert was not appropriate
...
(avoiding the call to clearAllMessages would have been quite ugly).
2015-07-26 00:26:43 +10:00
hiker
76a779fc1c
Merge branch 'ftl-scoreboard' of https://github.com/Flakebi/stk-code into Flakebi-ftl-scoreboard
2015-07-25 12:17:02 +10:00
hiker
622d0821cf
Fixed rescue (which my previous commit broke).
2015-07-24 21:38:35 +10:00
hiker
6345272727
Removed unnecessary #include in kart.hpp.
2015-07-24 16:51:03 +10:00
hiker
ac779d0652
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-07-24 16:40:37 +10:00
hiker
a2c4160ce0
Added TerrainInfo raycast to debug view.
2015-07-24 16:37:13 +10:00
hiker
cefce3152c
Fixed #2246 .
2015-07-24 16:36:55 +10:00
hiker
672314fbe2
Added camera-at-side-of-kart debug mode.
2015-07-24 11:00:13 +10:00
hiker
8bc398a1c1
Merge remote-tracking branch 'origin/master' into Flakebi-fixes
2015-07-24 10:23:47 +10:00
Marianne Gagnon
aacf1293da
Eliminated karts in GPs get 0 points. Fixes #2177
2015-07-23 20:01:54 -04:00
Marianne Gagnon
5c27769ceb
Fix uninitialized variable use, fixes #2179
2015-07-23 19:52:30 -04:00
Marianne Gagnon
52313c1468
Draw achievements a bit later so that they are on top. FIxes #2237
2015-07-23 19:21:43 -04:00
auriamg
5164a55472
Merge pull request #2244 from Flakebi/addons-rtl
...
Fix reversed rtl string part
2015-07-22 18:35:22 -04:00
hiker
2f51406e3d
Made field-of-view configurable in the config file.
2015-07-22 08:12:44 +10:00
Flakebi
2eb0f151b7
Fix reversed rtl string part
2015-07-21 11:52:23 +02:00
hiker
bb058deea5
Avoid that the kart is 'shaking' backwards/forwards when flying.
2015-07-21 16:56:51 +10:00
hiker
cd8fd7fb16
Merge remote-tracking branch 'origin/master' into Flakebi-fixes
2015-07-20 09:10:05 +10:00
hiker
8be383015c
Simplified shadow interface.
2015-07-19 13:44:05 +10:00
hiker
91c40e27c2
Reduced number of parameters for Shadow.
2015-07-18 23:41:27 +10:00
hiker
dc68f5f122
Fixed crash when real shadows are used.
2015-07-18 12:26:18 +10:00
hiker
802d4897fe
Removed unused kart properties settings.
2015-07-18 12:24:56 +10:00
hiker
e755a7eda8
Merge remote-tracking branch 'origin/master' into graphical_chassis_to_physical_chassis
2015-07-18 11:53:49 +10:00
hiker
ffb3c2ce4c
Moved visual slightly higher (hopefully as much as in the previous implementation),
...
to avoid that the visual chassis disappears into the ground.
2015-07-18 11:42:33 +10:00
hiker
d94f6ffe66
Added documentation about the visual chassis and wheel positioniong.
...
Removed unused/old coda, and moved kart at exactly the same position
as they are in blender.
2015-07-18 10:21:01 +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
hiker
68cea42648
Fixed visual position of chassis, wheels and shadow.
2015-07-15 16:35:09 +10:00
Marianne Gagnon
84e78e0d40
Some cleanup to check structures, start adding new cylinder check structure (WIP)
2015-07-14 19:00:00 -04:00
hiker
8c842fb2e8
Fixed incorrect uage of radians.
2015-07-14 22:32:09 +10:00
hiker
210e4fb4ec
Removed optional setting for random-wheel rotation.
2015-07-14 17:36:03 +10:00
hiker
9f687fd6cf
Removed unnecessary computation (now that physics does not include
...
wheel rotation).
2015-07-14 17:27:06 +10: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
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
hiker
0345565ea8
Fixed handling of tall karts (accidentally committed debug version).
2015-07-09 16:39:40 +10:00
hiker
3b9e85af0b
Converted bullet's TravelCM (i.e. in cm) into Travel (i.e. in m).
2015-07-09 00:06:19 +10:00
hiker
aa7bf607bf
Minor cosmetic changes.
2015-07-08 16:38:01 +10:00
hiker
7b11e51f2b
Coding style fixes.
2015-07-08 08:31:32 +10:00
hiker
a28ea76b90
Fix wheel position for karts that are too high.
2015-07-08 08:25:10 +10:00
hiker
9eab818d53
Added fused speed-position commands to the commands to be dropped
...
when the sfx queue is too full.
2015-07-08 08:23:55 +10:00
hiker
43f9cf39bc
Fix shadow to be always on the ground, even when a skid-jump is done.
2015-07-08 08:23:25 +10:00
hiker
62e2f05607
Fixed shadow position, improved wheel position.
2015-07-07 17:02:09 +10:00
hiker
12f942c258
Moved debug camera a bit further back.
2015-07-07 17:00:24 +10:00
Flakebi
84e3b9dbe9
Remove SKID_OLD code
2015-07-03 15:38:20 +02:00
Flakebi
d2ca7d11d7
Remove unused/commented out code
2015-07-03 15:36:45 +02: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
70da00de7d
Merge branch 'master' into graphical_chassis_to_physical_chassis
2015-07-03 16:39:20 +10:00
hiker
9b562d31f4
Replaced Widget's set(De)Activated functions with one setActive(bool)
...
function, which simplifies code for various screen a lot.
2015-07-03 16:19:28 +10:00
hiker
8059544b21
Try to fix advanced pipeline.
2015-07-03 08:22:39 +10:00
hiker
f3dee7241f
Merge branch 'master' into graphical_chassis_to_physical_chassis
2015-07-03 08:15:08 +10:00
hiker
ad3a5ac730
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-07-03 08:13:39 +10:00
hiker
747aa39bdf
Disable artificial shadow if shader-based shadows are available.
2015-07-03 08:12:55 +10:00
hiker
97499759ec
Revert "Remove shadow blob"
...
This reverts commit 33c0dfe7c2
.
2015-07-03 07:55:50 +10:00
hiker
0631d10f91
Move graphical chassis and wheels to be at the same location as the physical ones.
2015-07-03 07:49:27 +10: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
34d22a32c7
Improved distance calculation (so that the same distance to the rear
...
of each kart is reached).
2015-07-02 16:35:51 +10:00
hiker
799b4cdf7e
Minor code cleanup.
2015-07-02 08:04:37 +10:00
hiker
04c84fd23d
Moved skidding lights from Kart into KartGFX.
2015-07-01 18:57:44 +10:00
Marianne Gagnon
92974fc4b3
Fix scripting crash
2015-06-30 21:35:17 -04:00
hiker
8aabb30687
Fixed memory leak.
2015-07-01 08:58:15 +10:00
hiker
576270bb17
Coding style changes, removed dead code and unused variables.
2015-07-01 08:57:40 +10:00