Benau
d21e5e0f76
Make skinning offset changeable by culling
2016-12-07 16:08:57 +08:00
Benau
ac8d7aa8c7
Try to fix the build
2016-12-07 08:18:19 +08:00
Benau
a3905a1e19
Allow tangent mesh to be converted
2016-12-07 08:07:01 +08:00
Deve
66f57ada61
Fixed a crash when GLES device is re-created
2016-12-07 00:08:16 +01:00
Deve
5fad8a135e
Destroy egl context on exit
2016-12-06 23:32:04 +01:00
Benau
57d9e83ed4
First version of hardware skinning
...
Todo: shadow, non-instanced shaders, culling, changeable offset...
2016-12-07 02:15:11 +08: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
Deve
23883b83c1
Fixed a crash on startup.
...
As written in the documentation: "The returned modifiers string is owned by Xlib and should not be modified or freed by the client."
2016-12-04 23:23:09 +01:00
deve
716c19325f
Update common irrlicht files with modifications from Android branch.
...
- Added a function in GLES driver, which allows to re-create EGL surface when it's lost after resume event
- Some additional events/keycodes
- Fixed compilation with missing sys/sysctl.h header
2016-11-28 01:56:52 +01:00
Benau
fe371a28b5
Add non-const function for STK usage
2016-11-25 12:37:40 +08:00
deve
7f251fdf79
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-11-22 09:16:59 +01:00
deve
467760f248
Remove illogical #ifdef
2016-11-22 08:29:18 +01:00
Benau
c1e931f5ba
Merge branch 'legacy_opengl'
2016-11-22 09:23:17 +08:00
deve
e9f3fd4806
Fixed compilation with missing vidmode headers after some modifications in our CGUIEditBox.
2016-11-21 08:37:20 +01:00
Benau
de95db5c93
Avoid creating new glyph page too many times
2016-11-20 10:08:59 +08:00
Benau
9734c2e890
Fix crash in billboard text when using legacy opengl
...
Notice: freetype glyph metrics are not supported
2016-11-19 15:59:58 +08:00
Benau
a52c4699a1
Add back normal map renderer for legacy opengl
...
Fixed transparent issue
2016-11-19 14:21:56 +08:00
hiker
ae36208e29
Merge remote-tracking branch 'origin/master' into new-pi
2016-11-15 12:38:21 +11:00
Benau
e6e302af1c
Fix copy and paste of unicode characters
2016-11-13 15:43:00 +08:00
Benau
5879933a23
Merge remote-tracking branch 'origin/master' into fix_2112
2016-11-13 10:42:47 +08:00
hiker
61a3d10e10
More Compile SERVER_ONLY, still not fully working.
2016-11-12 00:09:39 +11:00
Deve
452c7c1e40
Fixed compiler warning
2016-11-11 13:44:51 +01:00
hiker
8d9bb9c30f
Cherry picked commits from old pi branch (which was based on dumb client).
2016-11-11 17:21:59 +11:00
deve
4bb0405a32
Added support for multitouch steering.
...
It will be used for steering on Android.
There are some limitations:
- currently it works only in single player mode (but I don't see any reason to make it working for multiplayer)
- speedometer is not available in race GUI because there is no place for it
TODO:
- add DPI support (race GUI should have probably different proportions on smaller devices for comfortable playing)
- make nice button images
- make nitro button that changes its look depending on collected nitro (a kind of nitro bar)
Touch input events must be handled in android device to make use of it. It can be simulated for debugging on non-android devices using standard mouse.
2016-11-10 02:42:56 +01:00
Benau
8a0d911d10
Allow using input method (for CJK) in linux
2016-11-09 12:28:23 +08:00
Benau
956aa83a0a
Remove unused function
2016-10-27 10:15:41 +08:00
Benau
76f32b4a41
Fix an unfree Atom
2016-10-12 09:52:34 +08:00
Deve
5c4b61a26e
Fixed numpad keys on linux.
...
We need to check numlock mask, because it may be different on different systems, and possibly also modified manually.
It should generally work fine, but some testing are welcome.
2016-10-06 20:31:10 +02:00
Deve
5e05f1178c
Fixed compiler error on Linux with non-x86 64bit platforms, e.g. arm64, mips, and s390x architectures
...
This modification is already applied in upstream angelscript repository:
https://sourceforge.net/p/angelscript/code/2353/
Thanks to Adrian Bunk and Andreas Jonsson
2016-10-03 23:26:09 +02:00
deve
cabc696710
Fixed compilation with cmake 3.6
2016-09-26 11:28:19 +02:00
Deve
7f4d815dde
Request GLES 3.0 context and fallback to 2.0 if not available.
2016-08-22 20:05:36 +02:00
Deve
26d2bf847c
Allow to use non-hd textures in OpenGL ES renderer
2016-08-13 00:01:08 +02:00
Deve
b23f39f1cd
Fixed non-hd textures in legacy pipeline
2016-08-12 23:51:29 +02:00
Deve
08202f2fa8
Remove USE_XRANDR flag from cmake.
...
Our vidmode code is old, has some bugs (eg. resolution is not restored properly in some cases), doesn't have multi monitor support and IMO shouldn't be used in current state.
If someone really wants to use it, the flags can be set directly in IrrCompileConfig.h.
2016-08-12 23:39:12 +02:00
Deve
1481da9718
Fixed button icons with non-hd textures and low MAX_TEXTURE_SIZE parameter
2016-08-12 20:51:19 +02:00
Benau
89976def57
Remove not-used-anymore setReferenceCount
2016-07-19 13:58:38 +08:00
Deve
5601309ae8
Fixed windows compilation
2016-07-12 00:04:37 +02:00
Deve
886382bb54
Merge remote-tracking branch 'origin/master' into gles
2016-07-11 23:43:10 +02:00
Deve
0f7976e5f8
Merge branch 'master' into gles
2016-07-11 23:23:02 +02:00
Deve
b25a4e874f
Remove android related code. It will be handled in different branch.
2016-07-11 22:54:59 +02:00
Deve
f2d21d2353
Remove GLESv1 renderer because it's not used
2016-07-09 02:59:40 +02:00
Deve
17a0e4fbd8
Fixed an issue with grass shader.
...
It looks that EMT_TRANSPARENT_ALPHA_CHANNEL_REF wasn't handled at all in irrlicht OpenGL renderer.
2016-07-09 02:50:40 +02:00
Deve
66e76be76d
Don't use hardcoded path for irrlicht shaders
2016-07-06 06:37:22 +02:00
deve
93dde11562
Use proper depth texture
2016-07-05 11:48:43 +02:00
Benau
b6153b6002
Thanks devee for this fix
2016-07-05 17:47:55 +08:00
Benau
04ccadd745
Fix non-linux build
2016-07-05 16:24:59 +08:00
Deve
4132177132
Fully integrate gles renderer with our irrlicht version.
2016-07-05 00:25:03 +02:00
Ezequiel Garcia
02361a37e8
Minor fixes for issues found while cross-building v2 ( #2556 )
...
* irrlicht: Fix harmless typo when setting CMAKE_CXX_FLAGS
The CMAKE_CXX_FLAGS set should be based on previously set
CMAKE_CXX_FLAGS (instead of C flags). This is currently
harmless because CMAKE_CXX_FLAGS is not previously set.
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
* irrlicht: Get rid of unprefixed cflags
Cross-building requires proper include paths. This commit
removes the unprefixed -I/usr/X11R6/include in irrlicht cflags,
replacing it with a proper CMake module.
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
* irrlicht: Fix boolean return type for jpeglib's callback
Building on certain toolchains can fail due to returning an integer
instead of TRUE. In any case, only {TRUE,FALSE} should be used
as 'boolean' jpeglib type. Fix this by returning TRUE.
CImageLoaderJPG.cpp: In static member function 'static boolean
irr::video::CImageLoaderJPG::fill_input_buffer(j_decompress_ptr)':
CImageLoaderJPG.cpp:69:9: error: invalid conversion from 'int' to 'boolean'
[-fpermissive]
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
2016-07-03 21:07:53 -04:00
Deve
961428f04c
Increase _IRR_MATERIAL_MAX_TEXTURES_ to 8
2016-06-29 22:18:24 +02:00
Benau
984553fd33
Merge remote-tracking branch 'origin/master' into render_kart_driver_differently
2016-06-28 14:56:21 +08:00
Benau
22e5c0909c
Allow setting color without copying the mesh
2016-06-28 14:55:48 +08:00
hiker
431ed63da2
Improved fix for 2522 by using isStaticOrKinematicObject() function
...
(instead of accessing the rigid body). This separates collision
and dynamic handling of bullet again.
2016-06-27 07:48:30 +10:00
Benau
2f217fd55b
Allow render red or blue karts in soccer mode using shader
2016-06-25 16:29:54 +08:00
Deve
d13716a917
Initial linux version.
...
Currently works only with irrlicht-based renderer because shaders are not ported yet.
2016-06-24 02:47:13 +02:00
Odd0002
416edef95d
Fix debug build on GCC 5.3.0
2016-06-23 23:10:36 +02:00
hiker
0eb4ca2abd
Fix #2522 in case of a sphere, and apply this fix only in case of a
...
static body to reduce potential incorrect side effects.
2016-06-21 09:53:51 +10:00
hiker
7a95f10cc0
Try to fix #2522 for a puck.
2016-06-21 09:32:14 +10:00
hiker
0a883f3832
First try to fix #2522 (soccer ball pushed in air). Needs to be tested,
...
and puck still needs to be done.
2016-06-20 15:10:58 +10:00
Benau
d520c4477d
Design a way to render kart and driver differently
2016-06-12 16:19:34 +08:00
Deve
56c6062a81
One more tweak.....
2016-06-04 00:10:56 +02:00
Deve
d60d9120b4
Define constants in glew cmake file before 'add_library' function.
...
It was working for me as it was before, but based on this comment: 10488bc79a (commitcomment-17724549)
it looks that some cmake versions may ignore definitions that are defined below add_library.
2016-06-03 06:48:46 +02:00
Deve
10488bc79a
Don't link libGLU library.
...
This should allow to run linux static package even if libglu1-mesa package is not installed. And the utilities from GLU library are not used in STK anyway.
2016-05-12 23:38:56 +02:00
Deve
58846002eb
Fixed bullet compilation for gcc 6.0.
...
Just converted all negative values and kept unsigned char* type to avoid too many modifications in the code.
2016-04-15 23:46:14 +02:00
Benau
224bd277b3
Better function name
2016-04-03 13:59:10 +08:00
Benau
79db5e2365
Fix comment
2016-04-02 16:02:51 +08:00
Benau
5ac25db7f8
Initial work to support transparent kart in ghost replay
2016-04-02 12:55:20 +08:00
Odd0002
47bac3b33d
Fix debug build on GCC 5.3.0
2016-03-26 22:36:22 -05:00
Marianne Gagnon
33defa44b7
Merge most modifications by egirsova to build 64-bits on OS X
2016-03-21 20:16:59 -04:00
Lucas Baudin
b8ef827510
[irrlicht/android] don't poll events or it creates a race lock when polling accelerometer events elsewhere
2016-02-27 00:23:08 +01:00
Lucas Baudin
e9657beaa6
[android] detect size
2016-02-26 18:01:51 +01:00
Lucas Baudin
f484e7ef6b
[android] More debug print for the android irrlicht device
2016-02-25 23:13:33 +01:00
Lucas Baudin
f91426d748
[android] Use CIrrDeviceAndroid before the console device…
2016-02-25 20:38:50 +01:00
Lucas Baudin
e39efc128c
[android] backport the Irrlicht.cpp createDevice changes, fix the compile error, and use OGLES2 on android
2016-02-25 20:15:24 +01:00
Lucas Baudin
f89a4b1a75
Merge back the IEvent changes
2016-02-25 15:55:52 +01:00
Lucas Baudin
02808cdfd0
GLES2 for android devices by default
2016-02-25 12:06:54 +01:00
Lucas Baudin
d4d3817d63
Disable sound and curl, add freetype
2016-02-24 22:24:33 +01:00
Lucas Baudin
48069a7bcc
More backport from the ogl-es irrlicht branch
2016-02-24 20:34:46 +01:00
Lucas Baudin
a470cd74d6
add android port from irrlicht (based on commit 875d0cfac88c26994b82d68737b085ec1b84c5f8)
2016-02-24 12:34:08 +01:00
Odd0002
0289e93bcc
Silence AngelScript warning as in 6af30b68f0
2016-02-18 09:50:49 -06:00
Odd0002
e69e96af19
Fixed cmake based on https://github.com/supertuxkart/stk-code/issues/2325 and the related commit
2016-02-17 23:48:59 -06:00
Odd0002
fdd6f36b46
Update angelscript to 2.30.2
2016-02-17 22:07:55 -06:00
Deve
bd9f435190
Fixed 64-bit windows compilation.
...
Broken in 53164e5cbe
or somewhere around it.
2016-01-03 00:10:30 +01:00
David Carlier
2841c0e165
better alternative OSes handling + tiny C++ fix
2015-12-19 07:05:45 +00:00
deve
e77dbf3d9f
Totally remove wiiuse hack for mingw.
...
It breaks versions with proper header file due to redeclaration error.
You should simply use current 4.9 version or 5.0 and newer for wiimote support.
2015-12-14 10:18:08 +01:00
deve
0dbc3575a7
Fixed mingw compilation
2015-12-14 10:11:40 +01:00
Benau
9d1c9fac5a
Merge remote-tracking branch 'origin/master' into i18n
2015-12-14 03:00:07 +08:00
Deve
6d757326d2
Make sure that we start game with disabled GL_FRAMEBUFFER_SRGB
2015-12-11 19:18:14 +01:00
Deve
b91bcaf554
Disabl sRGB framebuffer on irrlicht side to avoid modifying current user interface colors
2015-12-11 19:18:14 +01:00
Deve
0216fd9697
Request sRGB-capable visual during creating OpenGL context.
...
We need it for proper working. When it's not available, then function glEnable(GL_FRAMEBUFFER_SRGB) doesn't take any effect, and then displayed image is too dark.
It doesn't solve the issue that the screen is too dark for intel graphics cards on linux, because the driver ignores this request. But still, this is the proper way to do it and it may avoid similar issues in future.
Actually we should detect that the visual is not srgb-capable, and in this case maybe make some gamma correction or filter it on our side to get similar effect.
2015-12-11 19:18:14 +01:00
Benau
93b1b11b99
Merge remote-tracking branch 'origin/master' into i18n
2015-12-11 09:27:15 +08:00
deve
ea581e0909
Try to support more mingw versions for wiiuse build.
...
This function has been already added to the header in mingw-w64 5.1 and newer.
2015-12-04 10:47:56 +01:00
Nado
d66a70b250
Fixing some -Wunused-variable
2015-11-17 11:42:28 +01:00
Nado
97de0cbc34
Fixing clang only warnings
2015-11-17 11:42:28 +01:00
Deve
8572c5ef3b
Open window in fullscreen mode when it was set by user
2015-10-29 00:16:00 +01:00
Deve
e61d3bc0ac
Fixed a crash on startup
2015-10-28 23:40:57 +01:00
Deve
c81243fc1a
Merge branch 'master' into wayland
2015-10-28 22:43:02 +01:00
Benau
2096532d0e
Make stk more-i18n friendly
...
Now supertuxkart can do:
Windows (fully test in win8 and win7 built with vs2015, mingw not tested):
Input characters using ime (CJK tested).
Fix crashes when try to paste unicode text into editbox in stk.
Linux:
Different keymap can be used in stk now, ie typing russian,hebrew (not bidi-aware) is now possible.
IME not supported.
Mac:
No work has been done, sorry mac fanboys/girls:( Though testing is welcome, esp when pasting words into stk.
Limitation:
No ime box is shown in fullscreen
(Windows)Only the used language in current setting of non-Unicode programs can be typed with its supported IME.
2015-10-27 02:34:46 +08:00
Deve
e7e7e9e7d3
Make sure that we compile irrlicht only as static library.
...
Compiling as shared library can cause errors during linking because of GLContextDebugBit variable, which is defined in STK sources.
2015-10-17 16:02:35 +02:00
Deve
407f29641c
Use ugly hack for compile bullet with 64-bit mingw until I will find better solution
2015-10-13 01:05:41 +02:00
Deve
e15cd49cae
Make changing to fullscreen on linux safer.
...
Now we are waiting until window state is already changed to fullscreen. We are getting real window size at the end of creating window function and previously it was sometimes reporting size of the window in windowed mode, which could causing issues in gui. Previously this was workarounded by forcing minimal window size to be at least in screen resolution, but window managers don't like to have non-resizeable fullscreen windows. Now this workaround is not needed anymore.
2015-10-03 16:43:22 +02:00
Deve
f351c359fd
Create angelscript library in build directory instead of lib directory.
...
This solves issues with multiple build directories (every one should have its own angelscript lib). It was causing conflicts eg. 32-bit library with 64-bit STK.
Ideally it should be commited upstream to avoid this problem after updating library.
2015-09-26 23:02:18 +02:00
Deve
35fa7fd272
Fixed a strange bug during changing window to fullscreen under Gnome
2015-09-26 20:32:55 +02:00
Deve
6af30b68f0
Silence angelscript warning in different way.
...
We can't remove project() line because it uses ${PROJECT_SOURCE_DIR} in other place.
2015-09-12 21:56:49 +02:00
Deve
27a2f1bdc1
Silence warning about project version in angelscript.
...
I still didn't find proper solution for it...
2015-09-07 18:19:42 +02:00
auriamg
b64de23b06
Merge pull request #2307 from Benau/master
...
Fix typo and and add quotation
2015-09-03 18:49:48 -04:00
Ben
c488e843b8
Fix typo and and add quotation
...
The quotation added is for Chinese Simplified which I discovered usage in translation work.
2015-09-03 16:30:22 +08:00
Marianne Gagnon
e2da2a36a1
Fix line endings
2015-09-01 19:39:30 -04:00
Benau
0a7a0d7c98
Fix the ugly hack for displaying Chinese in #2110 , and then fix #2297
2015-08-30 02:35:17 +08:00
Deve
78cd8efdd4
Reset screensaver counter on linux when joystick event was received
2015-08-09 18:54:59 +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
Marianne Gagnon
3687eb79d6
Apply modified version of patch from Benau to fix chinese word wrapping. See #2110
2015-07-29 18:51:03 -04:00
hiker
cd8fd7fb16
Merge remote-tracking branch 'origin/master' into Flakebi-fixes
2015-07-20 09:10:05 +10: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
3b9e85af0b
Converted bullet's TravelCM (i.e. in cm) into Travel (i.e. in m).
2015-07-09 00:06:19 +10: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
Marianne Gagnon
c48037984d
Update to latest angelscript
2015-05-11 19:40:43 -04:00
Marianne Gagnon
9f883db6f7
Start work to enable scripting
2015-04-24 20:59:32 -04:00
hiker
e8b8bbdd3b
Added display of normals at the vertices of the triangles the kart is driving on
...
to the debug display, which is useful to find why interpolated normals are wrong.
2015-04-15 07:44:50 +10:00
Deve
5e56f8904a
MinGW: Allow to compile wiiuse.
...
Still disabled by default because it requires mingw-w64 and it may not work with other versions.
2015-03-31 19:27:07 +02:00
hiker
a560aafa50
Merge branch 'fix_non_hd_option'
2015-03-27 09:33:07 +11:00
hiker
27dec2fbf8
Added attribute to irrlicht's driver to enable automatic resize
...
of images that are too big. This is then used to automatically
resize any textures (except fonts, background screen) to be
automatically resized to 512x512 if they are bigger.
2015-03-26 11:28:22 +11:00
deve
df656fbf64
Allow to compile project using cygwin.
...
Note that you need to have all dependencies in cygwin directory (can be easily installed).
Atm. wiimote and joystick events are disabled.
2015-03-25 09:16:15 +01:00
hiker
443d570196
Make legacy somewhat working on linux (just in case).
2015-03-12 11:47:38 +11:00
hiker
98671b620d
Added some support to enable a legacy (2.1) opengl context. Many
...
things don't work with that atm (rtt, some transparent textures).
Needs to be manually set in the user's config file.
2015-03-11 16:45:20 +11:00
hiker
55934bd8f1
Fixed cmake on VS (before cmake create would fail, but redoing the configure
...
and then generating the project would still work, so with an existing
project this error was not detected).
2015-03-11 14:45:25 +11:00
Flakebi
e5abf4cec3
Merge branch 'origin/master' into fixes
2015-03-08 01:16:51 +01:00
Deve
0722df79da
Fixed getScale() result when matrix contains very low negative values.
...
See #1548 .
2015-03-05 20:00:02 +01:00
Marianne Gagnon
0652780040
[OSX] brutally exit supertuxkart when pressing the window's close button. Fixes #1220 .
2015-02-17 19:13:13 -05:00
hiker
93fa075471
Hopefully proper fix for #1938 (crash on osx when exiting race).
2015-02-17 00:14:26 +11:00
hiker
1a94788d2d
Tried VERY crude work-around for #1938 (crash when exiting a race on osx).
2015-02-15 21:32:06 +11:00
Flakebi
f386f05749
Silence even more warnings
2015-02-05 20:13:33 +01:00
Flakebi
366f8a26bb
Fix more clang warnings
2015-02-05 02:44:06 +01:00
Dmitry Marakasov
94bf5949f5
Include unistd.h for usleep()
...
Fixes build on FreeBSD
2015-02-02 00:08:30 +03:00
Vincent Lejeune
cbf9e03b41
honour vsync param
2015-02-01 19:43:43 +01:00
Vincent Lejeune
d2ececacf4
Delay sync
2015-02-01 19:23:05 +01:00
Vincent Lejeune
da449e02d0
Improve keypad support
2015-02-01 19:18:47 +01:00
Vincent Lejeune
73a8220203
Improve mouse support
2015-02-01 19:13:37 +01:00
Vincent Lejeune
874d63f5bc
WIP wayland
2015-02-01 18:53:12 +01:00
Marianne Gagnon
8755b1b72a
Fix CMake files on OS X to be packaging-friendly
2015-01-27 20:09:00 -05:00
hiker
6482d8cc80
Fixed osx compilation (hopefully).
2015-01-28 11:04:40 +11:00
Deve
4f5b84a134
Replace spaces by tabs to keep consistency with other irrlicht files.
2015-01-22 18:59:55 +01:00
Deve
5117ab0a0e
Fixed issues with clipboard on linux.
...
Previous version didn't work for me at all when I tried to copy text from external application.
It also fixes problem with crashing GTK3 applications.
2015-01-22 18:52:26 +01:00
hiker
f724369a8e
Merge branch 'freebsd-fixes' of https://github.com/leper/stk-code into leper-freebsd-fixes
2015-01-20 14:56:25 +11:00
deve
a0fc3c98e8
Fixed cmake warnings
2015-01-19 09:19:33 +01:00
Vincent Lejeune
573ad4bb1c
Fix make install on linux
2015-01-19 02:22:40 +01:00
Vincent Lejeune
0577099551
Move zlib/libpng/jpeglib outside of irrlicht tree and use system lib on linux
2015-01-18 02:02:10 +01:00
Vincent Lejeune
a5230f68da
Remove wad support
2015-01-16 19:07:21 +01:00
Vincent Lejeune
184b52966e
Remove npk and pak support
2015-01-16 19:02:03 +01:00
Vincent Lejeune
b3195e378d
Remove support for lzma and aes encryption
2015-01-16 18:45:52 +01:00
Vincent Lejeune
b4f78070fa
Remove extra defines
2015-01-16 18:34:40 +01:00
Vincent Lejeune
a831b4c9db
Remove bzip2 files
...
Not used anyway
2015-01-16 18:31:51 +01:00
Vincent Lejeune
cadc4b3209
Remove 2 deprecated interfaces
2015-01-16 01:59:41 +01:00
Vincent Lejeune
1fb99990b4
Remove light volume related code
2015-01-16 01:57:35 +01:00
Vincent Lejeune
c1d85e8674
Remove shadow volume code
...
We use shadowmap
2015-01-16 01:51:56 +01:00
Vincent Lejeune
c68fee0a07
Remove extra discarded ifdefs
2015-01-16 01:27:17 +01:00
Vincent Lejeune
4151edfd99
Remove RGB support
2015-01-16 01:23:59 +01:00
Vincent Lejeune
510c10153c
Remove WAL/LMP support
2015-01-16 01:20:40 +01:00
Vincent Lejeune
9d99fb65e5
Remove DDS support and its scary legal notice
2015-01-16 01:07:48 +01:00
Vincent Lejeune
222f335300
Remove TGA support
2015-01-16 01:02:48 +01:00
Vincent Lejeune
084350ce40
Remove PCX support
2015-01-16 00:54:46 +01:00
Vincent Lejeune
8f51be8766
Remove PSD support
2015-01-16 00:44:32 +01:00
Vincent Lejeune
0856204b80
Remove PPM support
2015-01-16 00:38:53 +01:00
Vincent Lejeune
cf3e79484c
Remove Scene Loader files
2015-01-11 00:24:26 +01:00
Vincent Lejeune
78ff00fc36
Revert "Remove irrlicht parallax map"
...
This reverts commit c17a093d83
.
2015-01-11 00:18:29 +01:00
Vincent Lejeune
5f6700d355
Remove CSoftwareTexture2.h
2015-01-11 00:10:12 +01:00
Vincent Lejeune
f1e6212b56
Remove IDepthBuffer
2015-01-11 00:02:37 +01:00
Vincent Lejeune
f68ac808d6
Remove software depth buffer
2015-01-10 23:58:28 +01:00
Vincent Lejeune
c17a093d83
Remove irrlicht parallax map
2015-01-10 23:54:01 +01:00
Vincent Lejeune
b7f124de62
Remove irrlicht normal map renderer
2015-01-10 23:49:08 +01:00
Vincent Lejeune
e994712c01
Remove cgmaterial files
2015-01-10 23:44:25 +01:00
Vincent Lejeune
6bd852c95f
Remove Quake 3 level load
2015-01-10 21:22:23 +01:00
Vincent Lejeune
a08a9b1af4
Remove remaining MD2 support
2015-01-10 21:10:07 +01:00
Vincent Lejeune
53c8df6733
Remove remaining MD3 support
2015-01-10 21:03:44 +01:00
Vincent Lejeune
231ee1bad4
Forgot to remove some files
2015-01-10 20:50:03 +01:00
Vincent Lejeune
91bcacfd19
Remove CG
2015-01-10 20:44:19 +01:00
Vincent Lejeune
3375b4b93c
Various clean up
2015-01-10 20:25:34 +01:00
Vincent Lejeune
d271ccd2ef
Partly remove MD2 support
2015-01-10 20:14:41 +01:00
Vincent Lejeune
e157bc8601
Partly remove MD3 support
2015-01-10 20:11:10 +01:00
Vincent Lejeune
9a0eacdfdb
Remove WinCE support
2015-01-10 20:08:32 +01:00
Vincent Lejeune
952128928a
Remove OBJ support
2015-01-10 20:02:17 +01:00
Vincent Lejeune
2c82f8d4b0
Remove BSP support
2015-01-10 19:50:48 +01:00
Vincent Lejeune
65f6f0259e
Remove STL (stereolitography...) support
2015-01-10 19:39:53 +01:00
Vincent Lejeune
4c2618211a
Remove LMTS support
2015-01-10 19:32:57 +01:00
Vincent Lejeune
c4903cb8ec
Remove My3D
2015-01-10 19:29:14 +01:00
Vincent Lejeune
e444431572
Remove LWO
2015-01-10 19:21:55 +01:00
Vincent Lejeune
008f2d3422
Remove CSM support
2015-01-10 19:02:40 +01:00
Vincent Lejeune
43b1542dc9
Remove OCT support
2015-01-10 18:30:04 +01:00
Vincent Lejeune
d5cfaab13b
Remove PLY support
2015-01-10 18:14:14 +01:00
Vincent Lejeune
48c45f1910
Remove SMF related code
2015-01-10 18:03:40 +01:00
Vincent Lejeune
20abd15a55
Remove DMF
2015-01-10 03:47:40 +01:00
Vincent Lejeune
9bbe8c61dc
Remove Collada support
2015-01-10 03:18:17 +01:00
Vincent Lejeune
a012a3a14f
Remove IrrScene loader
2015-01-10 03:13:14 +01:00
Deve
d0f96a7673
Allow to cross-compile Windows build under Linux using MinGW.
...
It works fine on Ubuntu. You only need to use:
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw.cmake
2015-01-08 21:46:59 +01:00
hiker
93a3e6c3da
Allow irrlicht to use an existing file system (instead of creating
...
a new each time a device is created). This simplifies the implementation
of the file manager (now the file manager always exists, even when
deleting the dummy device and creating the real device).
2015-01-06 07:48:32 +11:00
Deve
752ad0e456
Fixed numpad keys on linux.
...
Patches ported from upstream irrlicht.
2015-01-04 16:09:48 +01:00
leper
1718cb2fce
FreeBSD build fixes.
...
Irrlicht change also submitted upstream https://sourceforge.net/p/irrlicht/patches/300/ .
2015-01-02 17:58:16 +01:00
Vincent Lejeune
d849663877
Fix for #1818 thanks to math07
...
Intel gpu seems to have issue capturing screenshot from GL_FRONT
framebuffer, use GL_BACK instead.
2015-01-01 20:46:00 +01:00
deve
a41cac02a2
Update .gitignore file
2014-12-18 08:25:04 +01:00
hiker
d3224712c9
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-12-18 16:54:38 +11:00
hiker
6a806470f1
Fixed #1799 (linking issue) - use of VS only functions that were not
...
enclosed on #ifdef (not an issue with default link options, since the
functions using the VS only functions are not actually used in STK).
2014-12-18 16:51:08 +11:00
Vincent Lejeune
116cdec611
Try old method of creating a context
2014-12-18 01:50:09 +01:00
hiker
25e059dd3e
Merge remote-tracking branch 'origin' into copy_kart_mesh
2014-12-09 08:50:23 +11:00
hiker
2c2847e912
Fixed line endings.
2014-12-09 08:05:16 +11:00
hiker
5b62d94c5b
Minor performance optimisations.
2014-12-09 07:56:18 +11:00
hiker
b764339b20
Moved cloning of animated mesh into CSkinnedMesh (to get access to
...
private members). Fixed animation bug, caused by copying already
animated vertex position from LocalBuffer to Weight (so they were
then later animated again). Might need a better solution to avoid
copying mesh twice (LocalBuffer = Weight, followed by Weight = LocalBuffer).
2014-12-08 23:39:41 +11:00
hiker
d725d97314
Fixed coding style.
2014-12-03 08:19:13 +11:00
Timothy Hamlett
263d072c98
Fix some coding conventions
...
Thanks to hiker for the info
2014-12-01 12:49:15 -06:00
Timothy Hamlett
d95f7835fd
Fix some compiler warnings in Irrlicht
2014-11-30 22:29:52 -06:00
Timothy Hamlett
211e698a29
Add some strings for Windows 8 and 8.1
...
And server '12 and server '12 R2
2014-11-30 22:29:28 -06:00
Marianne Gagnon
53bc15ad50
Merge remote-tracking branch 'origin/OSXFullscreen'
2014-11-28 18:50:51 -05:00
Marianne Gagnon
70da81bf4e
Fix OpenGL 3.2 core profile use in fullscreen mode on OS X
2014-11-27 18:59:51 -05:00
hiker
6e3c766749
Minor improvements to fix for #1713 .
2014-11-27 15:36:56 +11:00
Marianne Gagnon
954dba0873
Other OSX fullscreen attempt
2014-11-20 18:21:18 -05:00
Marianne Gagnon
d776bee39a
Try to fix OSX fullscreen OpenGL profile
2014-11-19 18:43:55 -05:00
Marianne Gagnon
5b043a2564
Add some debug logging on linux
2014-11-18 19:15:13 -05:00
Flakebi
ac5db6f28e
Fix #1708 Delete missmatch for currupted pngs
2014-11-17 00:08:47 +01:00
hiker
6f980b7605
Adding more btAsserts.
2014-11-12 19:14:59 +11:00
hiker
157bc445b9
Added more asserts for #1678 .
2014-11-12 13:28:33 +11:00
hiker
cbd43704ac
Added more asserts.
2014-11-12 07:53:24 +11:00
deve
65ee047b3c
Apply patch from upstream irrlicht which allow to compile it on windows using clang.
2014-11-10 11:33:49 +01:00
Tobias Markus
1e384ebb52
Fix mac compilation (syntax error)
2014-11-03 13:55:22 +01:00
hiker
18bcb92afc
Used better variable name.
2014-11-03 21:36:54 +11:00
hiker
150941aad2
Maintain a flag that indicates if the gamepad device name is 'useful'
...
(on windows we might get a dummy name, identical for all gamepads).
Only add a number to the gamepad if the device has a useless default
name.
2014-11-03 16:37:19 +11:00
Tobias Markus
4861a52c3f
Fix compilation on OSX 10.10
...
Closes #1646
2014-11-01 22:22:58 +01:00
deve
ab82e3f62a
Fixed cmake warning.
...
Angelscript is not separated project, but static library.
2014-10-29 09:30:03 +01:00
Marianne Gagnon
139f20b39d
Merge remote-tracking branch 'sachith/ScriptEngine'
...
Conflicts:
CMakeLists.txt
sources.cmake
src/io/file_manager.cpp
src/io/file_manager.hpp
src/modes/world.hpp
src/tracks/track.hpp
src/tracks/track_object_presentation.cpp
2014-10-27 18:43:09 -04:00
hiker
d8cb6e1069
Moved #include to the top.
2014-10-25 10:32:28 +11:00
hiker
759182bb68
Used SDL's joystick name detection on windows.
2014-10-25 10:18:27 +11:00
Marianne Gagnon
c1d6c054c8
Route a few more controls rendering through the skin, to make them use OpenGL 3
2014-10-04 19:38:44 -04:00
Marianne Gagnon
11bf9d15c7
Disable source of OpenGL warnings flood in code we don't use
2014-10-01 20:23:22 -04:00
hiker
86b23f2d23
Merge remote-tracking branch 'origin/master' into soft-physics-landing
2014-10-01 11:58:40 +10:00
Marianne Gagnon
7387a51381
Disable features of irrlicht's contextual menu that we don't need and cause floods of warnings
2014-09-30 19:33:25 -04:00
hiker
11916dd187
Different implementation of soft-landing.
2014-09-30 23:13:48 +10:00
hiker
8ca7730570
Removed unnecessary source file in glew.
2014-09-30 15:01:38 +10:00
vlj
b89f066d14
Merge branch 'minlicht'
2014-09-29 03:25:04 +02:00
vlj
4705b8d1a1
Remove X/MS3D file loader
2014-09-29 02:52:06 +02:00
vlj
9a5ecc1b23
Remove ogre loader
2014-09-29 02:46:15 +02:00
vlj
3c4a22d659
Remove Half Life loader
2014-09-29 02:38:23 +02:00
vlj
b19a9bdf2f
Remove 3DS Loader
2014-09-29 02:25:31 +02:00
vlj
554cb1dda0
Remove another CBurning file
2014-09-29 02:01:49 +02:00
vlj
abeda85f77
Reenable GL 3.1 support on windows
2014-09-29 01:31:59 +02:00
vlj
a303eadf3d
Remove a deprecated function call
2014-09-28 01:13:38 +02:00
Marianne Gagnon
7b5ce0f9d7
Fix compilation, why this didn't work for me but works for others is a mystery
2014-09-27 19:07:29 -04:00
vlj
a9ab147ae5
Remove software renderer
2014-09-28 00:48:20 +02:00
vlj
b5372c295d
Remove D3D related files
2014-09-27 19:46:49 +02:00
vlj
9cc98f57e3
Reapply patch from http://sourceforge.net/p/glew/patches/40/
...
This reverts commit dd70f09fce
.
2014-09-27 18:49:33 +02:00
vlj
669c8af73e
Try to fix linux, round 2
2014-09-26 23:36:13 +02:00
vlj
ac2a40837f
Try to fix linux
2014-09-26 23:28:29 +02:00
vlj
18b0c65dd6
Use core context for linux too.
2014-09-26 23:21:09 +02:00
vlj
1e5ad1060b
Use core context except for legacy
2014-09-26 23:17:05 +02:00
vlj
8e67131351
Another fix
2014-09-26 23:15:56 +02:00
vlj
b79e969b11
Remove some others deprecated calls
2014-09-26 23:10:10 +02:00
vlj
3b393b8618
Set useCoreContext outside of ifdef windows
2014-09-26 23:03:44 +02:00
vlj
f41c1497cf
Revert "Declare bool in CIrrDeviceLinux"
...
This reverts commit 35de5d3975
.
2014-09-26 23:03:25 +02:00
vlj
35de5d3975
Declare bool in CIrrDeviceLinux
2014-09-26 23:01:45 +02:00
vlj
64a84f7e58
Fix another bunch of deprecated function calls
2014-09-26 22:39:53 +02:00
vlj
032447bf30
Additionnal work.
2014-09-26 15:42:03 +02:00
vlj
f320b36db3
Do not use some deprecated function with core ctx
2014-09-26 15:27:50 +02:00
hiker
e8aa181348
Merge remote-tracking branch 'origin/master' into include-glew
2014-09-16 11:05:35 +10:00
Vincent Lejeune
bd4602fb5d
Fix context creation on linux when driver support gl 4.3
2014-09-15 23:39:48 +02:00
hiker
8029bc5880
Build a static version of glew.
2014-09-15 21:49:06 +10:00
hiker
69473b1811
Try to include glew in stk.
2014-09-15 16:33:46 +10:00
vlj
6d685a843d
Drop support for GL 3.1 on windows
...
Fixed pipeline will be used instead
2014-09-13 15:45:10 +02:00
Sachith Hasaranga Seneviratne
10e2634f22
Merged master
2014-09-13 08:45:41 +05:30
deve
e6ab299f37
Fixed mingw compilation
2014-09-12 09:01:35 +02:00
Sachith Hasaranga Seneviratne
b6a9e5be9c
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-09-10 17:15:01 +05:30
vlj
fbe2896460
Use non debug gl ctx in non debug build
2014-09-09 16:57:46 +02:00
Sachith Hasaranga Seneviratne
118db58a02
Merged Master
2014-09-07 11:28:15 +05:30
Vincent Lejeune
4822b8a75e
Fix travis
2014-09-07 00:44:56 +02:00
Vincent Lejeune
b9a595e666
Revert "Revert "Use pointer arithmetic to enforce matrix 16 bytes alignment""
...
This reverts commit e83bd11891
.
2014-09-07 00:44:49 +02:00
Vincent Lejeune
e83bd11891
Revert "Use pointer arithmetic to enforce matrix 16 bytes alignment"
...
This reverts commit 0eeeb60685
.
2014-09-07 00:20:35 +02:00
Vincent Lejeune
cbb59fa640
Revert "Fix travis"
...
This reverts commit bdb867bce2
.
2014-09-07 00:20:31 +02:00
Vincent Lejeune
bdb867bce2
Fix travis
2014-09-07 00:17:43 +02:00
Vincent Lejeune
0eeeb60685
Use pointer arithmetic to enforce matrix 16 bytes alignment
2014-09-07 00:08:47 +02:00
vlj
56459f39ab
Use a matrix multiplication
2014-09-05 23:53:38 +02:00
Vincent Lejeune
d6c265daf6
Fix VS warning
2014-09-05 23:51:43 +02:00
vlj
44d50aa8d7
Fix build
2014-09-05 17:56:43 +02:00
Vincent Lejeune
6223f5205b
Add an SSE optimised inverse matrix
2014-09-05 16:42:24 +02:00
deve
e57b927c96
Allow to compile STK on Windows using MinGW compiler.
...
It needs vorbis dll's as additional dependencies.
TODO: add an alternative to inet_ntop function.
TODO: link wiimote library
2014-09-03 14:08:23 +02:00
Deve
db53dd6767
xrandr: Simplify code a bit.
...
Fixed some memory leaks.
2014-08-24 17:40:40 +02:00
Deve
c2cf83bb6a
xrandr: move restore resolution to separated function because it makes a mess...
2014-08-20 19:44:06 +02:00
Deve
56fa56a38f
xrandr: don't restore resolution if output was disconnected during game
2014-08-20 19:44:06 +02:00
Deve
5c4c54bf20
xrandr: make sure that output_id and old_mode are declared
2014-08-20 19:44:06 +02:00
Deve
6a48010644
Fixed compilation error with disabled xrandr
2014-08-20 06:49:38 +02:00
Deve
0dc34b2c0d
xrandr: few more checks
...
- try to run in windowed mode if no output was found
- close display correctly in case of no output
- add few warnings
2014-08-18 20:56:30 +02:00
Deve
3e3a27252a
xrandr: fixed memory leak
2014-08-16 16:02:22 +02:00
Deve
a9bd12bfab
xrandr: use primary output if window manager reports this information
2014-08-16 12:21:55 +02:00
Sachith Hasaranga Seneviratne
84d3802f08
Merge branch 'master' of https://github.com/supertuxkart/stk-code into se
2014-08-15 21:47:09 +05:30
Deve
d45429bf88
First destroy the window, then restore resolution.
...
This may solve some possible issues with WM fullscreen.
2014-08-15 11:34:16 +02:00
Sachith Hasaranga Seneviratne
a695c197b2
Merge master
2014-08-13 12:12:51 +05:30
Deve
15b316a9af
xrandr: update width and height params when wanted resolution was not found and we get the default one.
2014-08-03 21:56:16 +02:00
Sachith Hasaranga Seneviratne
c3a774fcc9
Merged master
2014-08-01 18:40:05 +05:30
Deve
67948dfe28
xrandr: add support for rotated screens
2014-07-31 23:13:03 +02:00
Deve
73b45e71c7
xrandr: fixed issue with fullscreen window which was placed in wrong screen in some window managers.
...
In some cases main screen may have other position than (0, 0) - fixed it.
2014-07-30 21:30:43 +02:00
Deve
46f73e8ecc
Some improvements for xrandr
...
- choose best available refresh rate
- if resolution doesn't exist, choose first available
- other minor changes.
Works fine with Gnome, but I notices some issues on Openbox and Unity.
2014-07-28 19:23:03 +02:00
Deve
992c97258f
Few more checks
2014-07-27 20:00:04 +02:00
Deve
0409a84fa0
Remove debug output
2014-07-27 19:36:40 +02:00