Commit Graph

91 Commits

Author SHA1 Message Date
sfan5
6779cb7254 Unconditionally load first texture matrix in OpenGL driver
This used to work in Irrlicht 1.8 and I tried to figure out
why it no longer did, but failed.
fixes 
2021-11-19 19:34:53 +01:00
x2048
39cad3e618 Fix updating of vertex normals for animated meshes ()
Updates cached positions and normals of animated vertices
from the mesh. Useful when using meshManipulator to update
the normals.
2021-11-16 12:30:31 +01:00
sfan5
dbd39120e7 Limit dimensions of all image loaders to 23000x23000 2021-10-05 11:17:36 +02:00
sfan5
594de99153 CImageLoaderJPG: protect size calculation from overflow by rejecting huge dimensions 2021-09-14 20:07:44 +02:00
ROllerozxa
ac57007c55 Readd TGA format support () 2021-09-13 21:21:26 +02:00
sfan5
4389a15e0f Remove unused locale-like code, utf8 functions and headers 2021-08-30 22:42:13 +02:00
sfan5
8f386999a6 Change clipboard to UTF-8 on macOS
(untested)
2021-08-30 21:53:12 +02:00
sfan5
34f1f8d089 Make clipboard UTF-8 on Windows too 2021-08-30 21:51:24 +02:00
DS
9c4b6f25ab Fix X11 selections ()
This fixes all the issues with the X11 selection in addition to switching the clipboard to always be UTF-8.
2021-08-30 21:44:56 +02:00
sfan5
75b4c05741 Drop _IRR_WCHAR_FILESYSTEM
never used and never worked for us.
2021-08-30 20:55:06 +02:00
JosiahWI
2dc2846c3f Add support for OpenBSD
There were three patches OpenBSD applied to build Irrlicht, and I implemented two of them. The first required turning off joystick events on OpenBSD, and the second (which I didn't confirm was necessary) required some defines in os.h. The third patch would have added an include to CIrrDeviceLinux.cpp, but the file had changed quite a bit and I could not tell whether this was necessary, so I left it out, and it appears Irrlicht builds fine.
2021-08-28 18:12:40 +02:00
cutealien
9690c1b3e3 Merging r6196 through r6248 from trunk to ogl-es branch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6249 dfc29bdd-3216-0410-991c-e03cc46cb475
2021-08-27 10:59:31 +02:00
TheBrokenRail
c26ff3476f CIrrDeviceLinux: Add support For TouchInput.touchedCount 2021-08-27 10:58:46 +02:00
sfan5
da33f80bb8 Readd CSceneCollisionManager with only the method we need 2021-08-26 22:17:35 +02:00
hecks
5bf68b5731 Add a unified cross platform OpenGL core profile binding () 2021-08-07 21:56:00 +02:00
hecks
6c78f181b5 Fix .x material slot parsing
Co-authored-by: hecktest <>
2021-07-29 05:05:34 +02:00
hecks
4ab3de3bab Delete lots of unused features () 2021-07-23 16:23:44 +02:00
sfan5
1d66c921c2 Drop unused and unportable "fast math" code 2021-07-17 00:02:37 +02:00
sfan5
22c3219ff0 Set correct flags for static builds
this is only really relevant on Windows
2021-07-16 23:12:49 +02:00
sfan5
b2b000597a CIrrDeviceOSX: drop all video mode code 2021-07-16 23:12:45 +02:00
sfan5
0afd799002 Remove various ancient support code 2021-07-16 22:01:37 +02:00
sfan5
729c214c00 Drop XML implementation, related code and dependent features 2021-07-07 17:04:05 +02:00
sfan5
d62e0424f2 Fix path issues when imported as subdirectory 2021-06-30 21:13:59 +02:00
NeroBurner
924178ebf6 Set includes and libs on object targets
Instead of using the global `include_directories()` and
`link_libraries()` calls use the target versions
`target_include_directories()` and `target_include_libraries()` with
`PRIVATE` keyword instead.

The dependencies are libraries only, the headers are added to the build
instructions in a separate call. So the `target_link_libraries()` calls
are not needed for the object-libraries to be built.
2021-06-27 23:04:56 +02:00
Vincent Robinson
78d1a3f73e Fix getViewPort returning incorrect results 2021-06-21 23:16:38 +02:00
sfan5
0500a7798b CXMeshFileLoader: initialize normals to zero during loading 2021-06-19 22:22:47 +02:00
sfan5
c84d8acff9 CIrrDeviceWin32: readd fullscreen using borderless maximized window 2021-06-15 18:52:38 +02:00
sfan5
02b8fc1ab6 CIrrDeviceWin32: drop all video mode code 2021-06-15 18:28:10 +02:00
sfan5
57a51e7ac4 CIrrDeviceLinux: reimplement fullscreen using NetWM hint 2021-06-15 17:46:22 +02:00
sfan5
39c45024ed CIrrDeviceLinux: drop all video mode support code 2021-06-15 17:36:31 +02:00
JosiahWI
393793f28a Improved IrrlichtMt target structure () 2021-05-24 20:32:26 +02:00
sfan5
05c109a1d5 COGLES2Driver: fix swapped color screenshots 2021-05-08 20:57:24 +02:00
JosiahWI
826de9f6dc Work around bug installing targets created in a subdirectory 2021-04-24 11:03:09 +02:00
sfan5
3152a6cc46 CNullDriver: store real size for dummy textures 2021-04-21 18:18:47 +02:00
sfan5
688debb643 CIrrDeviceLinux: don't create input context if no window
This broke the Null driver.
2021-04-21 17:34:10 +02:00
yw05
21cb990e75 Fix misbehaving input after IME changes (Linux) 2021-04-19 21:41:51 +02:00
sfan5
4719f3c114 Fix Android build (again)
closes 
2021-04-17 17:47:09 +02:00
sfan5
bd95662f03 WGLManager: fix wglCreateContextAttribsARB not being used 2021-04-17 16:07:17 +02:00
sfan5
4c0aff5aa8 Always use system OpenGL extension headers 2021-04-17 00:05:46 +02:00
JosiahWI
9840eeabe8 CMake Config and Version exports () 2021-04-13 21:08:16 +02:00
sfan5
aa294a8107 Fix Android build 2021-04-09 21:28:31 +02:00
sfan5
4f90019dcb Fix segfault if non-i18n fallback input is used on Linux 2021-04-05 17:10:55 +02:00
yw05
3ef5902815 Add support for IMEs on Linux 2021-04-02 23:17:27 +02:00
yw05
32004b9c5f Prepare GUI for IME support 2021-04-02 23:17:27 +02:00
sfan5
d7127df9f8 Do not distort images scaled by integer multiples 2021-03-31 17:11:19 +02:00
sfan5
3fb23fc423 Skip unnecessary C compiler checks 2021-03-26 23:08:09 +01:00
sfan5
279530a230 Make compiling using MSVC work 2021-03-26 16:48:28 +01:00
sfan5
f05f84b33b Rename library to IrrlichtMt
for clarity and to avoid conflicts
closes 
2021-03-25 15:47:33 +01:00
sfan5
7c428c6dc2 CIrrDeviceLinux: fix dead key/compose handling 2021-03-25 12:30:52 +01:00
sfan5
7f0e0a57b8 CIrrDeviceLinux: fix dumb key fallback behaviour
Turns out giving the application KEY_UNKNOWN + the correct char
to work with is better than returning nonsense EKEY_CODEs.
2021-03-24 20:14:46 +01:00