Commit Graph
100 Commits
Author SHA1 Message Date
Deve 12723239a7 Use higher target sdk version for android.
It should help STK on Android TV and it still works for me on Android 4.4 under emulator.
2018-02-04 22:37:02 +01:00
Deve ff884852d7 Don't hardcode stk data dir on android 2018-02-03 22:18:42 +01:00
Deve 48cde3e041 Try to create 32bit visual for gles if 24bit failed.
People need it for Odroid boards.
2018-02-02 22:15:31 +01:00
Deve 8771c77689 Allow to use dependencies for vs and mingw without changing the names every time.
Now there are:
- dependencies-vs
- dependencies-vs-64bit
- dependencies-mingw
- dependencies-mingw64

And if it's not found, then fallback to:
- dependencies
- dependencies-64bit

So that if you use only one compiler, then you can just still use "dependencies" or "dependencies-64bit".

And I didn't restrict it to WIN32 only, because in theory it should be possible to put there openglrecorder for linux build.
2018-02-01 21:36:28 +01:00
Deve 50ad5eed33 Try to fix VS build 2018-01-30 23:44:55 +01:00
Deve 4529189048 Upgrade enet 2018-01-30 23:10:30 +01:00
Deve fc15a33a39 Add an option to use system enet.
Atm. use it only on linux, because there is no need to spam with cmake warnings on other platforms.
Also fallback to built-in enet if system enet is not found.
2018-01-30 22:57:40 +01:00
Deve 853084e75a Fixed mingw compilation 2018-01-29 22:14:43 +01:00
Deve 3345fa6e51 Try to fix travis.
It reverts commit:
https://sourceforge.net/p/angelscript/code/2278/

It looks that it's impossible to detect "real" clang version using compiler definitions, so that we can't check if std::is_trivially_default_constructible is available.

I mean that clang 4.0 on my machine is "newer" than clang 5.0 on travis, because it tries to use gcc 4.8 headers:

/usr/lib/gcc/*x86_64-linux-gnu/4.8*/../../../../include/c++/4.8/type_traits:1211:12:
note: 'has_trivial_default_constructor' declared here
    struct has_trivial_default_constructor

At this stage we can just disable AS_CAN_USE_CPP11 for clang. It was disabled for clang before our angelscript upgrade, so that it's not worse than before.

Note that I don't use clang and I don't really know what are our requirements (for example for Mac OS build). Feel free to revert it after travis upgrade.
2018-01-29 20:48:15 +01:00
Deve 1979298b06 Use pkgconfig only on linux 2018-01-28 21:39:21 +01:00
Deve 0003b39d31 Install appdata file in correct directory.
As reported on Debian:
https://lintian.debian.org/tags/appstream-metadata-in-legacy-location.html
2018-01-26 22:33:37 +01:00
Deve 8cd6f61e44 Restore information about license 2018-01-26 22:18:22 +01:00
Deve 0532a41ab3 Convert tabs to spaces 2018-01-26 22:03:04 +01:00
Deve 5aaf3a9c39 Comment out unused wayland code to avoid compilation errors with clang 2018-01-26 21:41:39 +01:00
Deve 4802c4d11c Avoid cmake warning 2018-01-26 21:20:33 +01:00
Deve 313661ad07 Merge pull request #3107 from andy5995/spelling
README.md:correct spelling of 2 words [skip ci]
2018-01-26 06:11:12 +01:00
Deve 74af810d50 Fixed compilation error.
It was failing with "'this' was not captured for this lambda function"
2018-01-25 21:43:19 +01:00
Deve 94c3efa8d3 Force legacy device for sandy bridge generation celeron graphics cards 2018-01-23 22:40:42 +01:00
Deve 2516de8231 Disable npot textures on android emulator 2018-01-16 23:06:27 +01:00
Deve 458ffd4617 Allow to force pot textures in graphical restrictions 2018-01-16 22:50:18 +01:00
Deve effa23d952 Some minor fixes in linux device 2018-01-15 23:15:27 +01:00
Deve 8698705468 Fixed android compilation 2018-01-14 00:14:31 +01:00
Deve 24772eb9d7 GLEW_ERROR_NO_GLX_DISPLAY needs glew 2.1 2018-01-13 00:41:53 +01:00
Deve e46a18ab61 Merge pull request #3060 from akien-mga/update-glew
GLEW: Update to pristine upstream 2.1.0
2018-01-13 00:22:18 +01:00
Deve 84459c6086 Merge pull request #3059 from akien-mga/unbundle-glew2
CMake: Add option to use system GLEW 2.0+
2018-01-13 00:20:11 +01:00
Deve 3f604f3adf Merge branch 'master' into unbundle-glew2 2018-01-13 00:19:30 +01:00
Deve 226c2bbed5 Merge branch 'master' into unbundle-glew2 2018-01-13 00:13:45 +01:00
Deve 2f7d7b677d Don't fail to start if glx display in glew is not available.
It should be safe, because we check if display is available in irrlicht device anyway.
2018-01-13 00:06:37 +01:00
Deve f220bb14f4 More improvements in wayland device 2018-01-12 22:31:21 +01:00
Deve 6f4c1f41da More work with xdg shell 2018-01-11 19:03:01 +01:00
Deve 55ea7625b3 Create xkb context before registry listener is created 2018-01-10 22:05:27 +01:00
Deve 4f9b46b20c More work with xdg_shell 2018-01-10 21:31:54 +01:00
Deve 74b071494c Some work on xdg shell support 2018-01-09 23:41:34 +01:00
Deve 62fe84ecc7 Fixed server-only build 2018-01-09 20:35:33 +01:00
Deve b17920cf4c Use server-side decorations for KDE wayland for now 2018-01-08 23:08:23 +01:00
Deve f7654d3867 Fixed a crash with disabled repeating keys on wayland 2018-01-08 21:12:50 +01:00
Deve 5af835505c Don't send too many useless events on touch move 2018-01-07 23:49:39 +01:00
Deve 51e1153cc9 Fixed unsafe printf 2018-01-07 21:33:43 +01:00
Deve 88897cae1d Enable wayland for testing.
It's not 100% ready yet, but some testing won't hurt.

It's possible to switch between wayland/x11 using

    export IRR_DEVICE_TYPE=x11

or

    export IRR_DEVICE_TYPE=wayland

so that x11 device can be forced in wayland session.
2018-01-07 21:23:21 +01:00
Deve 92f7caf696 Fixed cygwin warning 2018-01-07 21:15:08 +01:00
Deve 9afbf9a772 Don't return fatal error if wayland libraries are not found 2018-01-07 21:11:37 +01:00
Deve 6ce1573cfd Some cleanup 2018-01-07 02:22:58 +01:00
Deve b0afa6ab3d Add srgb attrib in egl only if requested 2018-01-07 02:22:58 +01:00
Deve f6111d04fd Use explicit display type in egl if possible. 2018-01-07 02:22:58 +01:00
Deve 87d43063ed Assume that "HandleSRGB == false" means "don't care".
It solves the issue with nvidia when HandleSRGB is set to false.
2017-12-25 23:59:49 +01:00
Deve 31f8b7ec35 Allow to install debug version without uninstalling release version on android 2017-12-22 21:51:41 +01:00
Deve 6f6ac84495 Fixed android compilation 2017-12-22 21:02:37 +01:00
Deve 2b8737a75b Remove known issues from android readme.
We can use github issues for it.
2017-12-12 23:07:01 +01:00
Deve 4d4c514c75 Corrrect gp info screen to keep consistency with track info screen.
Now num karts config param is updated only if spinner button or start button has been pressed.
2017-11-15 22:11:21 +01:00
Deve 20ffc3a693 Avoid a crash in ghost replay screen.
It was crashing when add-on track was uninstalled.

It only avoids a crash and it's not true fix, because replays list should be updated when add-ons have been installed/uninstalled.
2017-11-13 22:35:18 +01:00
Deve a67be44422 Allow to compile STKRelease build with debug symbols.
It may be useful for decoding backtraces from our linux static package.
2017-11-12 23:59:12 +01:00
Deve 252403c9cc Avoid semi-transparent window on some compositors 2017-11-10 22:48:48 +01:00
Deve 468c24acd3 Avoid negative AI karts number in follow the leader 2017-11-09 23:38:53 +01:00
Deve 165b2fea9c Avoid running follow the leader GP with 0 AIs 2017-11-09 23:23:05 +01:00
Deve 28f81b2a85 Allow to move installed apk to sdcard 2017-11-08 22:06:58 +01:00
Deve 3baefcd6a7 Initialize FeatureAvailable array to false for legacy pipeline.
It has been broken in commit 271a26eaf0.

It solves some issues with etnaviv gallium driver. It may also solve a crash on old intel 965gm on windows, but I can't test it atm.
2017-11-07 22:54:36 +01:00
Deve 08be02af8f Fixed 64-bit dependencies.
Thanks to qwertychouskie for finding it.
2017-11-05 21:54:43 +01:00
Deve 2e96a29977 Ignore some configuration changes that don't matter for us.
The "orientation" without "screenSize" was a clear bug. And now connecting external keyboard doesn't close STK for me anymore.
2017-11-04 22:08:42 +01:00
Deve cc970c01a5 Merge pull request #3011 from qwertychouskie/patch-3
Prevent upgrades to 0.9.3 causing all particles to be disabled
2017-11-04 00:00:46 +01:00
Deve bcb452f76b Add missing languages to tinygettext 2017-11-02 22:17:57 +01:00
Deve 719f3039b3 Remove invalid empty translations.
They are not available on transifex. Norwegian is nb and nn. Chinese is zh_TW and zh_CN.
2017-11-02 21:30:52 +01:00
Deve 57c874f703 Add a possibility to overwrite assets dir using environment variable.
It fixes #2982 when both SUPERTUXKART_DATADIR and SUPERTUXKART_ASSETS_DIR are set.
2017-10-29 21:02:13 +01:00
Deve f7886a31bf Better fix for shadow acne 2017-10-29 20:26:46 +01:00
Deve 9fe805f5f8 Avoid tinygettext warning 2017-10-25 23:52:35 +02:00
Deve cf26337bd4 Fixed particles in multiplayer mode 2017-10-21 08:18:28 +02:00
Deve 5216f8e917 Fixed jump explosion on android 2017-10-19 21:44:50 +02:00
Deve 1a9cf6a46f Set max texture size to 256 for Raspberry Pi 2017-10-18 21:13:23 +02:00
Deve 9ec06f122c Allow to filter graphical restrictions by vendor 2017-10-18 20:51:26 +02:00
Deve c3e772e863 Add different explosion effect for Android.
It gives much better performance while it still looks similar.
2017-10-17 23:34:19 +02:00
Deve 77161cc583 Avoid compilation errors for GLES 2017-10-17 23:34:19 +02:00
Deve f034b3c22b Add tracks for apk 2017-10-17 23:34:19 +02:00
Deve 1454e53b79 Set proper min sdk version for 64bit build 2017-10-16 21:31:17 +02:00
Deve 63ecbefbdd I forgot about particles 2017-10-12 22:55:26 +02:00
Deve 928ae4e44d Try to fix server-only compilation 2017-10-11 21:50:44 +02:00
Deve b0cdbd94b4 Merge branch 'srgb_fb' 2017-10-11 21:46:58 +02:00
Deve c1e17f0593 Add a fallback for intel on linux.
When workaround with alpha_channel=true failed, then fallback to the path with disabled srgb framebuffer.
2017-10-11 21:39:13 +02:00
Deve 6794670510 Disable srgb framebuffer for intel hd 2000 too 2017-10-11 20:53:49 +02:00
Deve ae4e302741 Add a way to run STK without srgb framebuffer 2017-10-09 21:18:15 +02:00
Deve 48d94e10a7 Use separate os name for android stats 2017-10-07 21:37:59 +02:00
Deve bc84559f1d Revert a hack for shadows.
It helps for horizontal surfaces, but makes vertical surfaces worse (for example rocks in cornfield crossing), so it's not really a solution.
2017-10-04 22:19:19 +02: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
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 34a3207f91 Fixed android compilation 2017-09-27 23:20:35 +02:00
Deve afbdbaeee8 Remove unused files.
Both Console and FB don't work with opengl driver. And the software driver is not even included in stk sources. So I don't think that it will be ever used.
2017-09-27 23:07:44 +02:00
Deve de116c7e4c Fixed possible issue with changing resolution 2017-09-27 22:24:40 +02:00
Deve 126991118d Now only irrlicht depends on x11 2017-09-27 21:45:08 +02:00
Deve e2c0f83fb0 Move patform specific code from irr_driver to irrlicht devices 2017-09-27 17:37:56 +02:00
Deve 70471a7266 Adjust explosion particle size to updated explosion image (removed transparent margins).
Causes minor performance improvement, but better than nothing.
2017-09-19 22:42:39 +02:00
Deve 71334bac5b Move xrandr to irrlicht cmake file and also fixed indentations 2017-09-18 22:14:43 +02:00
Deve 66cebbdbe7 Add cmake scripts that find egl and wayland libraries 2017-09-18 21:50:34 +02:00
Deve f6fa44f0df Request srgb colorspace on wayland 2017-09-17 21:51:07 +02:00
Deve 29ba4ee543 Avoid a warning about missing texture in race result gui 2017-09-16 23:38:26 +02:00
Deve 04cc5bb62c Make sure that music pointers are always null when deleted 2017-09-13 21:11:12 +02:00
deve 9681a9586f Update supertuxkart.pot 2017-09-13 06:20:20 +02:00
deve 6500cf716a Use better names in touch device settings 2017-09-13 06:18:07 +02:00
Deve e615ff67d6 Don't use gl functions that are not available in core context.
Fixes some driver warnings.
2017-09-12 23:49:35 +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