hiker
fba22def40
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-10-09 10:29:24 +11:00
hiker
b97088c933
Fixed computation of new point. The previous approach was based on
...
the newly computed point. If this point should be under the track,
and the new height is not enough to offset this, the ball will be
tunnelling, which results in the ball being reset to the previous
position, i.e. the ball will not move.
2017-10-09 10:25:36 +11:00
hiker
f94b3a9120
Added more debug info, removed unused code.
2017-10-09 10:25:11 +11:00
Deve
48d94e10a7
Use separate os name for android stats
2017-10-07 21:37:59 +02:00
Benau
4f1becb20d
Add a better rescue animation
...
Also fix #2501
2017-10-06 23:42:23 +08:00
Benau
cf2a9f7089
Allow configurable exhuast particle, fixes #2878
2017-10-06 01:08:27 +08:00
Deve
27a79526b1
Allow to use particles heightmap simulation in GLES
2017-10-02 23:05:12 +02:00
Deve
843ebad9a1
Don't use GL_FRAMEBUFFER_SRGB in GLES
2017-10-01 22:25:37 +02:00
Benau
d6d1fa40c0
Use a hack to get the "real" transformation for bones
...
Sometimes the value return before was not as correct as in blender
Todo: expose it in mesh interface
2017-10-01 15:20:37 +08:00
Deve
1a250c5b74
Hopefully fixed rare crash in createVideoModeList.
...
Assume that the window was null.
2017-09-30 23:43:29 +02:00
Deve
d99b2d4b5a
Fixed a crash in overworld after kart selection screen when accelerometer is enabled
2017-09-30 23:08:17 +02:00
Deve
e2c0f83fb0
Move patform specific code from irr_driver to irrlicht devices
2017-09-27 17:37:56 +02:00
Benau
e655c5e971
Don't initInverseBoneMatrices for < version 3 karts
...
grep -rn speed-weighted-object in deveee's addon karts show nothing
(even most addons)
2017-09-20 13:27:46 +08:00
Benau
3cd2f403e0
Force re-skin when getMesh with hardware skinning on
...
Actually spm has a built in way to use mesh without bothering bind
pose
2017-09-20 01:27:52 +08:00
Benau
b09eec4bcb
Allow speed weight objects to be attached to bone
2017-09-18 11:27:21 +08:00
Benau
cef65cb98a
Use the same radius as before
2017-09-17 08:44:58 +08:00
Deve
29ba4ee543
Avoid a warning about missing texture in race result gui
2017-09-16 23:38:26 +02:00
Benau
12188c5287
Allow sharing headlight model and config its color (for gnu)
2017-09-16 14:46:21 +08:00
Benau
00660293b7
Fix #1795 , fix #2755 and fix #2886
...
Allow using bone attachment in straight-frame static mesh.
Advanced headlight rendering with light origin from center mass
of headlight model which can be bound to any bone in kart model
2017-09-15 20:08:38 +08:00
auria.mg
024b642d27
Add margin
2017-09-14 19:24:23 -04:00
auria.mg
1d2e882ffe
Merge branch 'master' into master_fhach
...
# Conflicts:
# src/guiengine/widgets/kart_stats_widget.cpp
2017-09-14 19:24:06 -04:00
Deve
04cc5bb62c
Make sure that music pointers are always null when deleted
2017-09-13 21:11:12 +02:00
Deve
be4d0e7208
Fixed a crash when starting ghost replay
2017-09-12 20:14:10 +02:00
deve
6829bb1e51
Fixed aspect ratio for icon button widget.
...
It happened when using non-hd textures. Textures with aspect ratio != 1, are scaled to MAX_TEXTURE_SIZE, for example from 512x256 to 256x256, so we can't base on scaled texture size.
Btw. such behaviour seems to not have a sense (for example 2048x256 will be scaled down to 256x256), so it may need some work in stk_texture.cpp.
2017-09-12 06:10:23 +02:00
Deve
fd00ef4d92
Fixed a crash in grand prix editor
2017-09-09 21:25:56 +02:00
deve
4610572649
Don't draw explosion particles if only important effects are selected in options.
...
It causes slowdown on some devices, i.e. from 30fps to 5fps when explosion occurs very near of the camera. So disable it for lowest graphical level.
2017-09-08 06:25:21 +02: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
QwertyChouskie
039a7d0ecc
Put screenshots in ~/.local/share/supertuxkart/screenshots ( #2932 )
...
* Put screenshots in ~/.local/share/supertuxkart/screenshots
Instead of `~/.cache/supertuxkart/screenshots`.
* whoops :(
2017-09-06 20:22:05 -04:00
auria.mg
5e8f25a1fc
Add a slight delay when triggering the falling camera, avoids triggering it too soon when the kart is not yet sure to fall
2017-09-06 19:23:58 -04:00
Benau
88972f8308
Cache all mipmap levels for compressed texture
...
Not sure if devee has super-fast loading speed like me
2017-09-06 15:14:36 +08:00
Benau
ee3d0df242
Try to fix "Cannot find container_id for texture" for models
2017-09-06 15:13:50 +08:00
hiker
416b93b0a1
Reset steering when calling reset in a kart, which results in more accurate
...
physics replays.
2017-09-04 18:08:14 +10:00
hiker
71978e2bb0
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-09-04 10:43:00 +10:00
auria.mg
15ea4a8f17
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2017-09-03 20:38:16 -04:00
auria.mg
b974b35a07
Code cleanup in kart audio code
2017-09-03 20:37:43 -04:00
hiker
5d51b7fcd1
Added #define to switch between AI-debugging-topview camera (high up)
...
and physics-debugging-topview camera (close to kart).
2017-09-04 08:41:21 +10:00
hiker
bd6c2d9b21
Allow setting bevel to 0, fix incorrect Y position when using bevelled
...
values for wheel positions.
2017-09-04 08:30:31 +10:00
Deve
b820a60e98
Tweak default accelerometer sensitivity.
...
Also move it to the config file.
2017-09-03 23:39:03 +02:00
auria.mg
beb10863c4
Continue optimizing OpenAL sources, see #2921
2017-09-02 22:49:36 -04:00
auria.mg
cb2295c738
Improve kart audio refactor, see #2921
2017-09-02 22:35:41 -04:00
auria.mg
663c7aacaf
Tweak kart audio code to use fewer OpenAL sources (see #2921 ). Seems to work well, though I need to take a closer look to make it thread-safe
2017-09-02 22:00:37 -04:00
Deve
1123ceeceb
Don't try to create textures for empty names.
...
It's not designed to work with empty file names, because the "existFile" function in irrlicht returns true for directories, our file manager doesn't check that it's a directory and generally strange things happen.
This solves a problem with luna track that doesn't have a screenshot and possibly with some broken add-ons, so that valgrind doesn't complain anymore.
Benau, feel free to revert it if you have better solution.
2017-09-03 00:04:29 +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
hiker
f7397028ff
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-08-31 23:55:33 +10:00
hiker
4759ff2490
Cancel the setAnimationEndCallback when a non-existing animation is
...
tried to be set. Fixes #2628 .
2017-08-31 23:47:39 +10:00
auria.mg
64c1e8d19c
Fix SFX leaks
2017-08-30 20:39:20 -04: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
0dd3bbbd9b
Changed severity level so that additional information in case of a crash
...
is certain to be seen.
2017-08-30 17:54:45 +10:00
hiker
7a3448a159
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-08-30 17:52:41 +10:00
hiker
c33ee321cc
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-08-30 17:49:59 +10:00
hiker
4440c7e40a
Added error check for alDeleteSource.
2017-08-30 17:46:07 +10:00
deve
2de3a39e04
Make device name translatable
2017-08-30 06:46:55 +02:00
Allan Nordhøy
f08b53c1fc
Spelling: Chose, add-ons, low, command-line ( #2914 )
...
* Spelling: Chose, add-ons, low, command-line, HTTPS
* Back to http for privacy.supertuxkart.net
It auto-negotiates for https from Let's Encrypt when connected to through http, strange.
2017-08-29 19:47:07 -04:00
Deve
184ecce836
Reset multitouch buttons state when game is restarted
2017-08-29 22:00:45 +02:00
Deve
65363a2fa0
Move multitouch race gui creation.
...
It's to avoid duplicated buttons because result gui uses gui_base too.
2017-08-29 22:00:45 +02:00
Benau
ba55fc7d2e
Fix previously always true statement
...
bufferSize (Real*BOSize) was never used and set
2017-08-29 10:31:56 +08:00
hiker
ab6fbd2609
Merge remote-tracking branch 'origin/master' into fix-ball-cannon
2017-08-29 09:19:41 +10:00
hiker
cf98e049b0
Fixed sliding (i.e. not being able to drive up steep uphill sections). Fixes #2906 .
2017-08-29 08:23:06 +10:00
Deve
2fdb33990e
Tweak some touch device params.
...
Better on 5'', worse on 10''... Can be changed in options anyway.
2017-08-28 22:25:32 +02:00
Deve
704d3ea9d9
Try to make touch device a bit more comfortable
2017-08-28 22:25:32 +02:00
Benau
ea58a736d5
Fix displace fallback in non-advanced pipeline
2017-08-28 13:04:41 +08:00
Benau
7b571de395
Fix the wrong "misuse"
...
Now you can play hot.ogg
2017-08-25 16:39:34 +08:00
Deve
6465cc4569
Minor fix in graphics restrictions.
...
Some android restrictions are very basic, eg. UniformBufferObject is disabled on whole platform. So make sure that it's not used on any exotic OS.
2017-08-23 21:18:45 +02:00
Benau
850afc8620
Allow using animated texture with displace shader
...
Plus some clean-up
2017-08-23 00:55:25 +08:00
Deve
6a03f147f6
Add a possibility to use ubo on gles.
...
Disabled by default on android, because it's been tested on only one device and it's a bit slower in most cases.
2017-08-22 00:02:34 +02:00
Benau
ad369b88da
Remove .b3d usage in stk-code
2017-08-21 16:02:06 +08:00
Benau
a8e20101f8
Make SPM loader more portable (for stk-editor later)
...
Also allow calculating normal if required
2017-08-21 14:57:33 +08:00
hiker
f1f8bf0e4d
Oops - fixed unexplainable #includes ... I am sure I didn't put them in :P
2017-08-21 14:59:28 +10:00
hiker
6d61ef7fb9
Use StringUtils instead of strrchr, some code cleanup.
2017-08-21 08:47:28 +10:00
hiker
5a35bb6195
Made crash reporting work with 32- and 64-bit windows executables.
2017-08-21 08:11:03 +10:00
Deve
d698e62053
Minor fix in video settings dialog
2017-08-19 22:09:42 +02:00
Benau
1ca6a6edea
Remove the need of 2nd UVmap for displace objects
2017-08-19 08:51:09 +08:00
Benau
4c0b28a43e
Fix speed weight object looping in non-animated character
2017-08-17 15:48:21 +08:00
Benau
fd7bf80493
Fix kart selection screen animation if only 1 kart
2017-08-17 15:28:04 +08:00
Benau
a00b878919
Use transposed matrix everywhere
2017-08-17 01:26:08 +08: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
hiker
01be800253
Fixed stack traces for win32 ( #2642 ).
2017-08-15 23:54:39 +10:00
hiker
5a2b92d79d
Merge branch 'master' into improve-xbox-gamepad-support
2017-08-14 10:05:26 +10:00
Deve
0bf0ca0a35
Fixed memory leak
2017-08-13 01:38:21 +02:00
Deve
1f4a9135b6
Remove useless elif
2017-08-13 01:38:21 +02:00
hiker
3923da30bc
Use unique names for profiler events.
2017-08-11 09:41:22 +10:00
hiker
587687a614
Merge remote-tracking branch 'origin/fix-2850'
2017-08-09 21:40:44 +10:00
hiker
626f540b15
Merge branch 'Fix-2617'
2017-08-09 21:21:03 +10:00
hiker
86d5e11c13
Merge branch 'improve-xbox-gamepad-support' of github.com:supertuxkart/stk-code into improve-xbox-gamepad-support
2017-08-09 20:32:13 +10:00
hiker
8be5443f8c
Merge branch 'fix-profiler' into improve-xbox-gamepad-support
2017-08-09 17:56:40 +10:00
Benau
861e7f7ebd
Remove contradiction
2017-08-09 15:36:26 +08:00
Benau
cc8331f5cd
Fix #2897
2017-08-09 15:03:37 +08:00
Benau
79c6705bb1
Fix #2814
2017-08-09 13:00:09 +08:00
Benau
ea97258b65
Add scripting code for throwing banana monkeys
2017-08-09 12:23:37 +08:00
auria.mg
94bb657102
Ignore input sensing coming from the wrong gamepad
2017-08-08 20:44:31 -04:00
auria.mg
f589bbea04
Attempt to fix 2617
2017-08-08 20:23:22 -04:00
hiker
c3cd7ceaa2
Merge branch 'master' into improve-xbox-gamepad-support
2017-08-08 23:08:14 +10:00
hiker
0acda38987
Add profiling events to sfx manager, but they are commented out
...
by default (using preprocessor directives), since they are typically
not useful.
2017-08-08 16:44:55 +10:00
hiker
6a0fb83209
Clear existing events when the circular buffer wraps around.
2017-08-08 16:36:54 +10:00
hiker
d29d2b831f
Only use start and end time for thread 0, since all other threads
...
might not have valid start and end times (since they can record
several identical events during one frame). Bars for all other
threads can therefore not be nested.
2017-08-08 16:09:49 +10:00
hiker
887814ea98
Fixed incorrect start and end time setting when synchronising
...
frames. Only use thread 0's start and end time to compute the
duration (since other threads might have multiple identical
events during one frame, resulting in incorrect start times).
2017-08-08 16:08:15 +10:00
hiker
6783ab26f8
Keep a list of all event names in the order in which they first
...
appear. This list allows the proper ordering of events when drawing
the bar chart to show nesting. Make sure that enabling the profiler
starts at the next synch point (to avoid incomplete event pairs).
Create a seprate output file for each thread.
2017-08-07 17:53:15 +10:00
hiker
4c55ca4da9
Merge commit 'e6a134c3479ccdbaf91bb36d46ffb64b6a3b52b9' into improve-xbox-gamepad-support
2017-08-06 22:58:49 +10:00
hiker
891e439264
Remapped XInput to be the same as DirectInput buttons, so that
...
existing configs works as expected. Hard-coded 6 axis for xbox
controller to allow for triggers to be reported as two different
axis (instead of as one axis). Updated gamepad config to use
proper names for triggers.
2017-08-06 22:56:59 +10:00
Geoffrey Mon
a73af6eb0d
Save and use usernames in replay files ( #2754 ) ( #2893 )
...
* Save and use usernames in replay files
Fixes #2754 .
* Store usernames of each racer in recorded replay files
* Display those usernames in a column of the replay selection UI
and in race result dialogs
* RaceResultGUI::getKartDisplayName functionality moved into
Controller::getName
* Move Controller::getName definition to avoid unnecessary #include
* Backwards compatibility: use kart name if username is not in replay
* Fix code style issues
2017-08-03 19:51:42 -04:00
hiker
04c775eead
Don't measure lock time, some whitespace cleanup.
2017-08-03 21:21:40 +10:00
Geoffrey Mon
802d70ca8d
Fix code style issues
2017-08-02 17:21:37 -04:00
Geoffrey Mon
9ec2ff5c4a
Backwards compatibility: use kart name if username is not in replay
2017-08-02 14:13:26 -04:00
Geoffrey Mon
ca5258a46c
Move Controller::getName definition to avoid unnecessary #include
2017-08-02 13:48:44 -04:00
Benau
ac406e1e00
Fix #2891
2017-08-03 01:34:35 +08:00
Geoffrey Mon
f3a962c391
Save and use usernames in replay files
...
Fixes #2754 .
* Store usernames of each racer in recorded replay files
* Display those usernames in a column of the replay selection UI
and in race result dialogs
* RaceResultGUI::getKartDisplayName functionality moved into
Controller::getName
2017-08-02 12:55:23 -04:00
hiker
203995262c
Exclude the time to get the lock from profile measurements.
2017-08-02 22:40:19 +10:00
hiker
d8fe700f64
Don't store data when the profiler is disabled.
2017-08-02 08:48:01 +10:00
hiker
d800a8c0bc
Made everything threadsafe.
2017-08-02 08:34:43 +10:00
hiker
ea12c8f494
Very first version of profiler that supports multiple threads
...
and handles events in branches better.
2017-07-31 22:56:47 +10:00
hiker
47d2e30c5f
Fixed compiler warnings.
2017-07-31 22:56:00 +10:00
hiker
e6a134c347
Fix 2850 by increasing the number of axis for a gamepad to include
...
D-pad.
2017-07-30 23:05:27 +10:00
hiker
65c8cb7ae1
Replaced arrays with std::vector (to get better error checking).
2017-07-30 23:03:40 +10:00
Deve
7d4fbb8d0c
Minor modification in play tutorial text. Fixes #2535
2017-07-29 00:43:17 +02:00
Benau
979e1546fb
Fix #2881 , only create a camera when initializing
2017-07-21 09:27:57 +08:00
Deve
0dba3c8f67
Add a prefix to irrlicht key codes
2017-07-20 22:58:11 +02:00
Benau
10909b9556
Remove m_scale_rtts_factor == 1.0f in image quality for now
...
Because not working in advanced pipeline
2017-07-20 10:19:30 +08:00
Deve
11b2409fab
Activate accelerometer only if needed
2017-07-18 21:43:45 +02:00
Deve
d44802a482
Add a workaround for some qualcomm devices on android 4.4
2017-07-11 00:37:31 +02:00
Deve
70c481cb26
Add a possibility to set android version in graphics restrictions.
2017-07-10 22:54:38 +02:00
Benau
8653d410f8
Option 1 for fixing android 4.4
...
Reinit vertex attribute pointer each time, performance may hurt
2017-07-09 00:46:42 +08:00
QwertyChouskie
7b185ce2f1
Add new GPwin cutscene ( #2875 )
...
* Add new cutscene
* Cleanup
* Make all podiums arrive at the same time
2017-07-06 20:54:42 -04:00
Deve
6fc285b794
Show only native resolution in settings on android.
...
Changing resolution is atm. not available, so adding 1024x768 doesn't have a sense.
2017-07-06 23:18:43 +02:00
Deve
9fc1acc4c0
Allow to draw steering wheel on the right side
2017-07-05 21:21:33 +02:00
Deve
2cda14686d
Simplify touch device settings
2017-07-05 20:43:57 +02:00
Deve
09262a606b
Add missing copyright.
...
The EGL context manager has been written from scratch, so our copyright should be fine.
2017-07-04 22:55:08 +02:00
Deve
f13f69851f
Fixed black screen on some GLES 2.0 devices.
...
It affects only GLES 2.0. The GLES >= 3.0 and OpenGL allow sized internal formats.
2017-06-29 23:00:08 +02:00
Deve
8462c552d1
Add a warning for very low screen resolutions.
...
There are some android devices that are 320x240, 400x240 etc... Bare minimum to run STK is 640x480. Otherwise some important gui elements are not displayed and it may crash in guiengine.
2017-06-28 21:32:12 +02:00
Deve
68cfdfbf17
Minor fix for android progress bar that probably doesn't make any difference anyway
2017-06-24 21:41:36 +02:00
Matthew Trescott
1d8a709e38
Fix the --cutscene=<cutscene> commandline flag ( #2861 )
...
If the menu is shown, there's this ugly purple background (the OpenGL default, I think) and the cutscene won't play.
2017-06-17 18:49:00 -04:00
Matthew Trescott
3dee6ce5dd
Add option to unlock everything (and disable that option) from the command line
...
This was a complaint of Michael Larabel from Phoronix and is why he doesn't use STK in benchmarks; because the new tracks are mostly locked from the start and unavailable even with the --track flag
2017-06-17 11:45:57 -04:00
QwertyChouskie
10e439b6a1
Clean up output ( #2856 )
2017-06-13 20:50:13 -04:00
QwertyChouskie
be00283b2e
Fix a few compiler warnings ( #2854 )
...
* Fix compiler warnings in gpwrap.cpp
* Fix compiler warning in skybox.cpp
2017-06-11 15:59:12 -04:00
Deve
c8137fc0fa
Add a possibility to set a window class in irr device.
...
This makes one ugly #ifdef less in the irr_driver.cpp.
2017-05-25 21:26:31 +02:00
Deve
ce0a7bde84
Correct the rule for Polish plural forms.
...
It's already fixed in transifex.
2017-05-25 16:17:38 +02:00
Deve
8968706c09
Merge branch 'wayland'
2017-05-18 21:25:53 +02:00
Deve
1966d3f072
Use x11 functions in irr_driver only if x11 device was created
2017-05-14 00:05:36 +02:00
hiker
91bad37939
Fixed incorrect position for a rubber ball in a cannon.
2017-05-13 21:38:59 +10:00
hiker
bdbc7fd728
Reduce the height of a rubber ball in a cannon over time, so that
...
it starts closer to the ground when released after the cannon.
2017-05-12 17:52:15 +10:00
hiker
490bef516e
Fix crash: the ProjectileManager must be cleared before the CheckManager
...
(since a rubber ball will emove itself from all cannon checklines, so
a crash happens if the checklines are gone).
2017-05-12 17:39:53 +10: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
Deve
23c428160f
Some fixes
2017-05-12 00:57:01 +02:00
hiker
03f4b76a32
Fixed various compiler warnings.
2017-05-09 09:34:37 +10:00
hiker
3a176f818c
Merge remote-tracking branch 'origin/master'
2017-05-09 09:26:30 +10:00
auria.mg
dbd0cfa7d0
Expose the time of day to scripting, see #2315
2017-05-06 18:48:18 -04:00
auria.mg
242c8be90c
Pause the bomb during animations, fixes #2846
2017-05-06 18:46:25 -04:00
Deve
e02a8f4448
Allow to make single build with both x11 and wayland device
2017-05-06 21:53:32 +02:00
QwertyChouskie
58a170b4b7
Update string ( #2824 )
...
* Change message
* Update string in another file.
* Update addons_manager.cpp
* Update news_manager.cpp
2017-05-04 19:17:08 -04:00
auria.mg
553207fc11
Fix assertion failure if a bomb explodes while in a cannon, see #2846 (the bug is not quite fixed)
2017-05-04 19:12:17 -04:00
Deve
fc79ee50d0
Add the ping/pong events to avoid non-responding window and few other minor fixes
2017-04-28 23:04:34 +02:00
Deve
035c33f960
Merge branch 'master' into wayland
2017-04-22 21:11:10 +02:00
hiker
db71824804
Minor documentation update.
2017-04-19 23:33:31 +10:00
hiker
752b0645fb
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-04-18 23:17:04 +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
Benau
31f9acf7ed
Update config.xml with libopenglrecorder
...
Consider use mjpeg / h264 (DIY compile) for HQ video
2017-04-18 14:08:30 +08:00
auria.mg
3fcf62a84a
Add support for multiple crah sounds, update sfx credits
2017-04-17 20:42:20 -04:00
Benau
fd07df4251
Merge remote-tracking branch 'origin/libopenglrecorder'
2017-04-17 09:49:36 +08:00
Benau
6911db0ac2
Remove duplicated code
2017-04-17 09:28:41 +08:00
auria.mg
2da86cab08
Cleanup hack that seems unecessary
2017-04-16 21:17:13 -04:00
Benau
487d007b17
Try to use progress bar to indicate the encoding progress
...
Need an updated libopenglrecorder
2017-04-15 16:30:43 +08:00
Benau
f3e0d2f9e9
Revert move capture right before glfencesync if possible
2017-04-13 15:13:47 +08:00
Benau
4de0ca83aa
Move capture right before glfencesync if possible
2017-04-13 13:59:36 +08:00
hiker
158a771363
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-04-13 00:22:10 +10:00
hiker
4dce66ba6d
Worked around incorrect normal calculation if the kart was driving
...
on a physical object.
2017-04-13 00:21:35 +10:00
Benau
fe0fe828a0
Fix travis build
2017-04-12 13:41:14 +08:00
Benau
b1f9ce2dbd
Remove libwebm and recorder code
2017-04-12 11:51:59 +08:00
auria.mg
ad092f0213
Add missing language
2017-04-11 18:42:32 -04:00
hiker
efec344738
Fixed more 64-bit related compiler warnings.
2017-04-11 22:30:57 +10:00
deve
6599ceddec
Fixed server only build
2017-04-10 06:15:01 +02:00
Benau
f30962b944
Use lambda to workaround __stdcall issue
2017-04-10 10:00:34 +08:00
Benau
bcf996e291
Fix callback
2017-04-10 08:53:55 +08:00
Benau
ab10f335e9
Remove glew include in libopenrecorder
2017-04-10 01:26:52 +08:00
Benau
c69ea65ac2
Use RGBA for capture
2017-04-09 16:19:09 +08:00
Deve
c06ea3447d
Revert "Move loadSfx to the SFXManager thread"
...
This reverts commit ce426d82cc
.
2017-04-09 09:29:25 +02:00
Benau
a5759afac7
Improvements from Stragus and leyyin
2017-04-09 15:28:28 +08:00
Benau
156b799011
Remove STK headers in recorder and use c++11 thread library
2017-04-09 14:16:45 +08:00
hiker
c6109c9392
Try to fix linux compilation.
2017-04-08 23:36:41 +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
Deve
9efe8ae4fa
One more fix for mingw
2017-04-07 21:34:28 +02:00
hiker
5af4ea35a7
Fixed 64-bit related compiler warnings.
2017-04-07 23:43:01 +10:00
hiker
668fdd3b49
Fixed some 64-bit related compiler warnings.
2017-04-07 23:25:52 +10:00
hiker
14ec154f19
Try to fix linux build.
2017-04-07 20:27:11 +10:00
Deve
724cb100e0
Make grass material more bright in legacy pipeline
2017-04-07 00:02:31 +02:00
hiker
8a1d0bae34
Fixed some 64-bit related compiler warnings on VS.
2017-04-07 00:41:08 +10:00
Benau
b2d3817de3
Merge remote-tracking branch 'origin/master' into advanced_recording
2017-04-06 09:43:36 +08:00
Benau
ab554315b5
Remove non-supported video format
2017-04-06 09:37:32 +08:00
hiker
96bdf77050
Merge branch 'physics-tweaks'
2017-04-06 00:06:22 +10:00
hiker
00bba293ad
Merge remote-tracking branch 'origin/master' into physics-tweaks
2017-04-05 23:59:34 +10:00
hiker
6c4f6d1cf5
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-04-05 23:14:29 +10:00
Benau
391d31659b
Remove hardcoded 44100 samplerate
2017-04-05 15:43:47 +08:00
Benau
bb529c011e
Add message queue for result callback
2017-04-05 12:31:39 +08:00
Benau
1a072d609f
Add vp9 encode support, though it encodes very slowly
2017-04-05 01:10:44 +08:00
Benau
85de10ffb5
Fix memory leak
2017-04-04 23:53:44 +08:00
Benau
b7c709c709
Allow muxing mjpeg with vorbis audio with mkv
...
Not sure if playable in with all players
2017-04-04 16:12:09 +08:00
Benau
b0d0a0739e
Add CMake flag to enable / disable recorder
2017-04-04 14:23:04 +08:00
Benau
0bb5bfb930
Don't use dlloaded function in pulseaudio recorder namespace
2017-04-04 12:19:29 +08:00
Benau
ea6719990a
Move all recording code into recorder folder
2017-04-04 10:04:55 +08:00
Benau
19f88e3939
Allow stk to be built with 64bit msvc
...
Please use lastest adv_recording_64 branch in repo
2017-04-03 01:33:13 +08:00
hiker
fdcb39b8fc
Fix #2812 (non-smooth cannon behaviour).
2017-04-02 21:06:10 +10:00
Benau
8a5e28251e
Fix mingw build
2017-04-02 14:55:55 +08:00
Benau
adf889a885
End vorbis encoder thread more properly
2017-04-02 10:36:21 +08:00
Benau
ab2ce24914
Reduce cpu usage
2017-04-02 10:28:46 +08:00
Benau
9bfe4200c4
Only use TJFLAG_FASTDCT if supported
2017-04-02 00:43:31 +08:00
Benau
7f23d062b7
Use turbo jpeg for compression
2017-04-01 16:41:06 +08:00
Benau
8a8b388170
Allow pulseaudio to be loaded dynamically
2017-04-01 15:21:58 +08:00
Benau
294aa3ad48
Allow recording 16bit pcm data with any channels
2017-04-01 11:02:14 +08:00
Benau
cfea104a50
Apply camera fix from Stragus
2017-04-01 10:33:48 +08:00
Benau
cacbdbd668
Allow recording audio in windows using wasapi
2017-04-01 00:52:38 +08:00
hiker
794f1b59ed
Removed unused code.
2017-03-31 23:30:55 +11:00
hiker
db31237d19
Removed old workaround for uneveness in tracks, which contributed
...
to karts sometimes being able to drive up walls.
2017-03-31 23:13:38 +11:00
Benau
29d0839162
Move libvpx parameters to user config
2017-03-31 12:22:21 +08:00
Benau
21ff135b04
Merge remote-tracking branch 'origin/master' into advanced_recording
2017-03-31 11:50:24 +08:00
Benau
9039324145
Allow muxing into webm using libwebm
2017-03-30 13:30:21 +08:00
hiker
1cd5bb66c9
Try to better handle small 'gaps' (or perhaps floating point
...
rounding errors) in tracks that can cause odd physics behaviour
(e.g. being able td drive upp the walls).
2017-03-30 00:08:30 +11:00
hiker
3da2c07d62
Enable friction to be changed per wheel: previously sliding was only
...
enabled once the whole kart chassis was tilted enough, but karts could
still end up driving on a wall (one wheel on a wall would not tilt the
chassis enough to trigger sliding, but give the kart an up velocity
which allowed it to drive on the wall). Friction is now determined
by the normal of the triangle hit by the raycast.
2017-03-29 08:32:50 +11:00
Deve
af98b526d6
Give few more fps in GLES renderer by pre-computing diffuse/specular color
2017-03-28 22:15:33 +02:00
QwertyChouskie
0123228c20
Set menu FPS to 60 ( #2823 )
...
Smoother, see https://github.com/supertuxkart/stk-code/issues/2302 .
2017-03-27 21:56:20 -04:00
Benau
df758669d3
Use high resolution timer for AV sync
2017-03-28 00:44:12 +08:00
Deve
0f9151e5d2
Move recording settings to separate group
2017-03-27 00:31:55 +02:00
Deve
075afde636
Fixed kart particles for GLES with disabled advanced lighting
2017-03-27 00:25:39 +02:00
Deve
a7f0d3762c
Some fixes for GLES renderer.
...
- Don't use BGRA format at all. It doesn't work with non-typical cases (i.e. with srgb or compressed textures) and also casues artifacts on some android devices. I kept the extension in central settings, but it probably won't be used.
- Use sRGB texture format when advanced lighting is enabled. This makes it closer to the original OpenGL renderer and also avoids to have even more #ifdef's for sRGB conversions.
- Keep RGBA textures for non-advanced lighting to make it simpler.
Now advanced lighting in GLES looks almost the same as in OpenGL 3.x (without shadows/GI)
2017-03-25 22:23:46 +01:00
Benau
be103dd666
Implement real time vp8 encoding
2017-03-25 16:30:41 +08:00
Deve
5931e20f8b
Use highp precision qualifier.
...
For OpenGL 3.x renderer it only matters for some buggy drivers (i.e old AMD driver that complains about missing precision qualifier). Based on specification is should have no effect and was added for compatibility with GL ES.
In our case vertex and fragment must have the same precision because we use common header for both shader types and the precision for uniform variables must match.
Also "precision highp float;" is defined by default for both vertex and fragment shaders, so it seems to be more proper.
This will hopefully solve the problem with nvidia driver that tries to use f16vec4 instead of just vec4, see:
https://forum.freegamedev.net/viewtopic.php?f=17&t=7397&sid=06682ddb05ee9fbf48a2984d0bd48d5b
2017-03-24 22:21:09 +01:00
Benau
a68c085e95
Use pulseaudio + vorbisenc for sound recording (linux for now)
2017-03-24 21:51:17 +08:00
hiker
9fdd39b075
Removed unused code.
2017-03-24 16:35:45 +11:00
Marianne Gagnon
8461ffcc68
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2017-03-23 21:03:10 -04:00
Marianne Gagnon
b85d84c9dd
Remove outdated Apple-specific code
2017-03-23 21:02:16 -04:00
Benau
372ce6923c
Log in terminal if recording isn't supported
2017-03-24 08:51:42 +08:00
hiker
b26d833e84
Fixed compiler warnings.
2017-03-24 08:41:17 +11:00
hiker
b8655e53cc
Added support to modify the angular factor of a kart. The angular
...
factor can be used to reduce the effect of an impulse for roll
and pitch - keeping karts more parallel to the ground.
2017-03-23 19:07:34 +11:00
Benau
2660a5b332
Allow message queue to be able to do linebreak
...
Also set "/" and "\" to be breakable
2017-03-23 00:51:50 +08:00
Benau
81c6735ba2
Fix when getNumProcessors return 0
2017-03-22 20:47:34 +08:00
deve
a3a8289836
Fixed a hang on startup under cygwin
2017-03-22 13:17:04 +01: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
Benau
41e66bef37
Allow keeping target name after changing resolution
2017-03-22 12:44:32 +08:00
Benau
9a69859c8f
Fix crash when deleting AVIWriter with file closing
2017-03-22 11:34:42 +08:00
Benau
7e9f723038
Allow recording video with ctrl + printscreen
2017-03-22 10:43:02 +08:00
Benau
4b663a08ce
Use array deallocation
2017-03-22 09:58:22 +08:00
Benau
9034d89a31
Add the missing clear()
2017-03-22 09:53:02 +08:00
Benau
58c665efc6
Merge branch 'avi_writer'
2017-03-22 09:14:35 +08:00
Benau
740bf19446
Fix grammar
2017-03-22 09:08:44 +08:00
Benau
6ef70e2e7c
Use message queue to inform users about recording status
2017-03-22 09:02:21 +08:00
Benau
2b9a84253a
Make MessageQueue thread-safe
2017-03-22 08:40:58 +08:00
Benau
668b28f632
Allow to config whether to limit game framerate with recordings
2017-03-22 07:43:00 +08:00
Deve
4ef8ec3af2
Fixed a warning in shaders compilation
2017-03-21 19:42:53 +01:00
Deve
583b858860
Handle #stk_include in better way.
...
It allows to use it recursively.
2017-03-21 18:41:18 +01:00
Benau
f58cf2d9cc
Better handling with thread
2017-03-22 00:39:24 +08:00
Benau
3ed52e26d0
Call createFile only in AVIWriter thread
2017-03-21 16:16:10 +08:00