Commit Graph

78 Commits

Author SHA1 Message Date
Vincent Lejeune
38fc539520 Enable debug 2014-01-22 18:06:39 +01:00
Vincent Lejeune
271a26eaf0 OGL32CTX: Always return true when a feature is queried 2014-01-21 22:25:19 +01:00
Vincent Lejeune
f880d13175 Fix FBO related queries with OGL3.2+ 2014-01-21 22:25:18 +01:00
Deve
dcfd55502c Added experimental change which allow to use alt-tab and other shortcuts on linux when game is run in fullscreen mode.
This method is used in many other projects and should work good. Currently modern games
use window manager fullscreen rather than grab whole mouse and keyboard.

Tested on Gnome, Unity and Openbox and it works well. Though it should be tested also on
other desktop environments.

Also performance impact should be tested.

I added simple workaround for Gnome, which sometimes creates fullscreen window smaller
than display.

If some problems will occur, feel free to revert it.
2014-01-19 21:31:54 +01:00
Vincent Lejeune
a1f5e47cba Use ARB_DEBUG_OUTPUT on windows in Debug mode.
Hopefully the extension will work properly with every driver...
2014-01-18 20:28:13 +01:00
vincentlj
2ba340b6cb OGL32CTX: Add vertex shader where default one was assumed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 23:11:10 +00:00
vincentlj
632f75c130 OGL32CTX: Create a GL 3.1 context on windows (backward compatible)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14972 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 21:50:46 +00:00
vincentlj
8a33f14da5 OGL32CTX: Request a 3.0 backward compatible context in linux.
This allows to enable ARB_DEBUG_OUTPUT extension.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 17:48:36 +00:00
samuncle
d5e598f7f6 I had some problem with -fno-rtti when I tried to build then trunk
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14849 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 01:03:46 +00:00
vincentlj
224b246f17 Irrlicht: make setRenderStates3DMode public
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 16:37:15 +00:00
auria
85bfec00a0 Correct VS compilation (VS 2013 is 18, not 17)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 01:54:54 +00:00
auria
68820bb325 VS 2013 fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 00:36:44 +00:00
hikerstk
bc2432bb57 Merged with trunk, final part.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 04:43:14 +00:00
auria
8cf0030a27 Apply patch to fix OSX compilation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 16:51:08 +00:00
hikerstk
6828007a51 Updated VS 2008 release project file (not necessary for cmake
based 2012 compilation) - saving this just in case that we
want to support XP longer.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-19 11:59:07 +00:00
funto66
22c4c85f56 Removed CRT security warnings from Irrlicht build (MSVC)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14435 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-14 22:29:12 +00:00
funto66
e13e6feb4a Remove hard-coded debug flag for Wiiuse with MSVC (Multithreaded Debug CRT)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-14 22:18:53 +00:00
hikerstk
3c45cdc559 Removed VS hard coded debug flag for irrlicht.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-14 22:12:45 +00:00
auria
ccefd0a3da Try to fix clang compilation. Cannot really test it but hopefully will help
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-13 23:55:29 +00:00
auria
43e9d17eeb Apply safe part of supermat's patch to let STK build on clang on OSX. The part about long GLuint remains to be seen, not too sure what to do about it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-29 23:14:51 +00:00
hikerstk
bba3f85e4e Reverted accidentally committed patch in r14296.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-23 11:43:43 +00:00
hikerstk
d157d175e7 Fixed VS 2012 compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-23 11:36:31 +00:00
hikerstk
489ac88ff1 Fixed cmake problems (warnings and incorrect compiler flags).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-23 11:05:53 +00: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
funto66
5acd0c23cf Fix compiler warning in MSVC CMake-generated project files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-21 02:04:57 +00:00
auria
c69f290c5f Remove code in OSX version of irrlicht that's causing more harm than good (compilation errors)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-14 23:28:53 +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
8f0f150c4a irr: Fix an extension order mismatch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-04 13:25:24 +00:00
curaga
2a6c1a0a8f Mark the irr changes that are upstream
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-30 12:15:45 +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
unitraxx
2711744ed8 merge with trunk
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-15 00:20:28 +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
hikerstk
72a2b69695 1) Moved header and source file into the same folder for VS.
2) Fixed using/building WIIUSE on VS when created from cmake.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-05 06:10:31 +00:00
hilnius
ea2b52a663 merging hilnius's branch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-31 18:03:11 +00:00
curaga
c6f22508e1 irr: RTT flipping workaround
Didn't find the cause of this bug, but merely a workaround that only works for STK.

Still, that's two days of searching, cutting my losses.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-29 14:40:13 +00:00
hikerstk
eed1c88b4c Merged r13349 from trunk, which fixes creation VS project files from cmake.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-28 05:24:59 +00:00
hikerstk
12deb466be Fixed several problems when createing VS project files with cmake:
1) gcc flags were used, and -Wall for irrlicht caused 1000's of
   useless warning messages.
2) Force static build of irrlicht.
3) Remove unnecessary dist target (which is unix only).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 07:19:30 +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
98e9c8d43d irr: skies respect Z so they can be drawn after
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13006 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 12:12:47 +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
f2cca4e5e8 irr: Add first patch, changelog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 12:07:07 +00:00
samuncle
b08fcc7801 Starting the refactoring for the new particle system
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-27 00:58:59 +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
funto66
8b3b3a80fe Added constants for RVL-CNT-01-TR detection in MacOS Bluetooth format - support not implemented yet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12855 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-08 20:59:34 +00:00