Commit Graph

266 Commits

Author SHA1 Message Date
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
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
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
f2d21d2353 Remove GLESv1 renderer because it's not used 2016-07-09 02:59:40 +02:00
Deve
66e76be76d Don't use hardcoded path for irrlicht shaders 2016-07-06 06:37:22 +02:00
Deve
4132177132 Fully integrate gles renderer with our irrlicht version. 2016-07-05 00:25:03 +02:00
Deve
961428f04c Increase _IRR_MATERIAL_MAX_TEXTURES_ to 8 2016-06-29 22:18:24 +02:00
Benau
22e5c0909c Allow setting color without copying the mesh 2016-06-28 14:55:48 +08: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
Benau
d520c4477d Design a way to render kart and driver differently 2016-06-12 16:19:34 +08: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
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
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
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
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
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
Benau
0a7a0d7c98 Fix the ugly hack for displaying Chinese in #2110, and then fix #2297 2015-08-30 02:35:17 +08:00
deve
5458792b79 Disable deprecated and unused irrlicht function to avoid compiler warnings 2015-08-06 13:54:40 +02: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
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
Deve
0722df79da Fixed getScale() result when matrix contains very low negative values.
See #1548.
2015-03-05 20:00:02 +01: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
Vincent Lejeune
874d63f5bc WIP wayland 2015-02-01 18:53:12 +01:00
Vincent Lejeune
6a50b4b9ac Revert "WIP wayland"
This reverts commit d33efd8800.
2015-01-29 18:05:01 +01:00
Vincent Lejeune
d33efd8800 WIP wayland 2015-01-29 18:00:33 +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
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
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
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
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
hiker
6e3c766749 Minor improvements to fix for #1713. 2014-11-27 15:36:56 +11: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
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
deve
e6ab299f37 Fixed mingw compilation 2014-09-12 09:01:35 +02:00
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
Marianne Gagnon
474bbb4373 Try to convert icon rendering to new helper function (for GL3 support) 2014-05-13 20:00:16 -04:00
Guillaume P
7a3ba812d7 Use smaller textures when HD textures option is disabled. Generate them if they are not already in the cache directory. 2014-05-02 19:16:54 +02:00
Vincent Lejeune
f50e6f817d Use another normal encoding method from a crytek slide. 2014-01-27 23:29:46 +01:00
Vincent Lejeune
d642bc1489 Lightprepass: Only store normals in rtt
Use a more economical rtt format.
2014-01-27 21:47:25 +01:00
funto66
45d68487f0 Add animation strength parameter control for skeletal animations to Irrlicht
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-22 13:31:10 +00:00
curaga
0588b4252e irr: Add support for some RG texture formats
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-04 13:26:06 +00:00
curaga
138d61554c irr: Add support for non-triangle VBOs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13548 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-22 15:42:02 +00:00
curaga
6b46c2bed7 irr: Add a more specific ortho matrix creator
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13546 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-22 15:40:02 +00:00
curaga
c90954ee51 irr: Add texture override support
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13466 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-12 12:47:02 +00:00
curaga
04d5903f57 irr: aabbox intersection support
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13465 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-12 12:46:10 +00:00
auria
8bd89ae20e Apply other part of patch by Lilian Gimenez to increase irrlicht number of axes. Some controlls have triggers and other stuff that gets reported as axes since they are analogic, and thus irlricht's limit of 6 is insufficient for these controllers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-01 22:53:57 +00:00
curaga
c47e937735 irr: Partial backport to expose pass setter
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13007 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 12:13:48 +00:00
curaga
448a7d02bd irr: Add materialtype override
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13005 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 12:11:44 +00:00
curaga
9bfe9026ed irr: Add drawall types patch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13004 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 12:10:42 +00:00
curaga
56177bdc93 irr: Add stencil patch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13003 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 12:09:21 +00:00
curaga
c28575a9d3 Disable unused aes, bzip2, and lzma.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12901 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-20 08:57:24 +00:00
curaga
42cdf5ad59 irr: Disable some unnecessary config options (mesh writers, rare image writers, sw devices)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12868 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-17 14:30:05 +00:00
hikerstk
d788603907 Updated irrlicht.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11879 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-07 00:10:34 +00:00
auria
c34fb1e7c8 Patch irrlicht to support 8 textures
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11869 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-06 01:26:07 +00:00
hikerstk
7a953dff7d Update to rrlicht 1.8 branch r4357.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-02 01:34:43 +00:00
hikerstk
4d6653733e Disable direct X support.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-01 10:17:12 +00:00
hikerstk
974deca5e1 Added our own irrlicht version - not used atm.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-01 02:00:02 +00:00