Commit Graph

285 Commits

Author SHA1 Message Date
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