Commit Graph

69 Commits

Author SHA1 Message Date
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 (#31) 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 #27
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 (#22) 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 #16
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
Jordan Snelling fa7a5dbdef Fix Irrlicht not properly resizing on macOS due to incorrect window size; thanks @torleif 2021-03-16 22:12:43 +01:00
sfan5 a3d848ff8b CMemoryFile: fix seek bounds-checking 2021-03-12 18:28:10 +01:00
sfan5 57ff34b1ed CGLXManager: Use GLX window correctly
fixes #17
2021-03-12 17:47:00 +01:00
sfan5 0335a52479 Fix pixel-perfect draw2DLine on OpenGL 2021-03-12 16:30:44 +01:00
sfan5 0a09f98c74 macOS: silence OpenGL deprecation warnings 2021-03-08 13:36:44 +01:00
sfan5 97631c39fe Android: import back button patch 2021-03-07 02:09:32 +01:00
sfan5 dfe077134d Android: import touchedCount patch 2021-03-07 02:05:10 +01:00
sfan5 10a188e967 Restore Android support 2021-03-07 01:08:58 +01:00
sfan5 bfba19d67a Restore Windows and OSX support 2021-03-06 22:39:35 +01:00
sfan5 752401a450 Remove other left-over build systems 2021-03-06 21:40:05 +01:00
sfan5 6ce98dce77 Add CMake as new build system 2021-03-06 21:40:05 +01:00
sfan5 94aafaef15 Fix Windows, Android build 2021-02-25 21:17:36 +01:00
numzero c4503eaf17 GLX window is *not* an X11 window 2021-02-25 19:07:58 +01:00
sfan5 264f8b72c1 Throw out support for Bzip, LZMA and encrypted ZIPs 2021-02-25 18:34:17 +01:00
sfan5 67f1402410 Remove bundled libraries 2021-02-25 18:22:38 +01:00
cutealien 08a2846a93 Merging r6194 from trunk to ogl-es branch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6195 dfc29bdd-3216-0410-991c-e03cc46cb475
2021-02-21 19:09:14 +00:00
cutealien 3a54e8d6b8 Merging r6186 through r6192 from trunk to ogl-es branch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6193 dfc29bdd-3216-0410-991c-e03cc46cb475
2021-02-21 16:37:56 +00:00
cutealien 1f7c1830cb Whitespace fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6186 dfc29bdd-3216-0410-991c-e03cc46cb475
2021-01-06 14:59:13 +00:00
cutealien 838ecd6bf8 Merging r6181 through r6184 from trunk to ogl-es branch
- Changes to touch-input handling on X11


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6185 dfc29bdd-3216-0410-991c-e03cc46cb475
2021-01-06 14:52:49 +00:00
cutealien a9f7c2abc9 Merging r6173 through r6179 from trunk to ogl-es branch
- Adding optional support for touch input in X11


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6180 dfc29bdd-3216-0410-991c-e03cc46cb475
2020-12-30 18:39:20 +00:00
cutealien 1e6fe54cf5 Merging r6173 through r6176 from trunk to ogl-es branch
Also adding -DPNG_ARM_NEON_OPT=0 to other places in Makefile as we don't have arm optimization for neon currently in our png lib.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6177 dfc29bdd-3216-0410-991c-e03cc46cb475
2020-12-22 21:30:35 +00:00
cutealien 124cc0be1e Make it possible again to enable ES1 on Linux.
Seems Debian 11 adds it back.
Thanks @TheBrokenRail for patch.
Hidden in comments for patch #322: https://sourceforge.net/p/irrlicht/patches/322


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6175 dfc29bdd-3216-0410-991c-e03cc46cb475
2020-12-22 21:14:45 +00:00