Commit Graph

15152 Commits

Author SHA1 Message Date
hiker
2330624ccb Merge branch 'master' of github.com:supertuxkart/stk-code 2015-08-18 16:37:49 +10:00
hiker
cf464f1ed8 Fixed various crashes when enabling AI debug (e.g. missing textures,
heap corruption because the hpp file did not know about AI_DEBUG
and so did not declare some variables).
2015-08-18 10:30:42 +10:00
auriamg
6a26010bc8 Merge pull request #2106 from Flakebi/test
Simplify StringUtils::insertValues
2015-08-16 19:48:05 -04:00
Flakebi
65c15fc19a Add a check to split for non-wide strings too 2015-08-17 01:32:13 +02:00
Flakebi
eef55b04f8 Fix the merge 2015-08-17 00:31:55 +02:00
Flakebi
80a649fc2d Merge branch 'master' into test
Conflicts:
	src/utils/string_utils.hpp
	src/utils/translation.cpp
2015-08-17 00:22:02 +02:00
Flakebi
97891f25f7 Fix something 2015-08-17 00:03:29 +02:00
Flakebi
c07f806afb Use a map instead of a vbector 2015-08-16 22:24:07 +02:00
Flakebi
8c09228b39 Remove underscores and add a comment 2015-08-16 21:05:52 +02:00
hiker
e97b0a9955 Avoid crash when using --check-debug (still wip). 2015-08-14 23:14:19 +10:00
hiker
fa1ed0240f Fix #2270 (crash on startup). 2015-08-14 16:50:37 +10:00
hiker
ce17da98bf Merge branch 'Elderme-Fix_particles' 2015-08-14 13:51:53 +10:00
Elderme
392a7c3203 Merge branch 'master' into Fix_particles 2015-08-13 18:25:18 +02:00
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
auriamg
00ef94b2b9 Merge pull request #2284 from torso/master
Check size of window; don't assume it equals requested size
2015-08-12 18:03:32 -04: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
78cd8efdd4 Reset screensaver counter on linux when joystick event was received 2015-08-09 18:54:59 +02:00
Deve
7ae541e638 Reload selected GP after changing the name.
This fixes #2159
2015-08-09 13:12:20 +02:00
konstin
25082f2fbc Add description 2015-08-08 14:31:32 +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
Deve
a3abb57480 Build wiiuse on VS2015 2015-08-06 19:57:22 +02: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
b5c15275de Fixed compiler warning.
This is already fixed upstream in commit r2174:
"Fixed compiler warnings in asGetTypeTraits on gnuc 5.1"
2015-08-06 14:35:26 +02:00
deve
5458792b79 Disable deprecated and unused irrlicht function to avoid compiler warnings 2015-08-06 13:54:40 +02:00
deve
e1f61040e5 Use unique_ptr instead of auto_ptr 2015-08-06 13:54:29 +02:00