Commit Graph

365 Commits

Author SHA1 Message Date
ptitSeb
9889193d0a
Merge pull request #71 from twolife/search_cdpath
Look at +cdpath parameter when searching for files to build menus
2023-05-15 11:47:29 +02:00
Sébastien Noel
907678afa5 Look at +cdpath parameter when searching for files to build menus 2023-05-15 11:38:46 +02:00
Sébastien Noel
24c71a34dd Fix "Map Screen" when loading a level (no more black screen)
This happen when the engine do not have access to the map graphics
 from both games (ie: we didn't copy "SE1_10.gro")
 Should fix https://github.com/icculus/Serious-Engine/issues/51
2023-05-15 11:31:14 +02:00
Sébastien Noel
c4c6cc95e3 don't segfault when hidding the splashscreen 2023-05-08 10:17:51 +02:00
ptitSeb
7613c03331
Merge pull request #68 from twolife/spelling
spelling-error-in-binary, thanks Lintian
2023-05-04 16:51:25 +02:00
ptitSeb
92360e897e
Merge pull request #67 from twolife/useless-stub
Remove useless stub
2023-05-04 16:50:06 +02:00
ptitSeb
537f498d47
Merge pull request #66 from twolife/toggle-fullscreen
don't rebuild GL context to toggle fullscreen
2023-05-04 16:49:35 +02:00
Sébastien Noel
08c77c602c fixup! don't rebuild GL context to toggle fullscreen 2023-05-04 16:31:23 +02:00
Sébastien Noel
09b48d1176 don't rebuild GL context to toggle fullscreen 2023-05-04 15:43:34 +02:00
Sébastien Noel
65ff2cad03 Pause the game when the window is minimized 2023-05-04 15:24:34 +02:00
Sébastien Noel
d99ade2ea5 Not really possible/desirable
see https://github.com/libsdl-org/SDL/issues/5658
2023-05-04 15:22:02 +02:00
Sébastien Noel
e0e6cde47d we do not have "AfterSam.exe" on non win32 platform 2023-05-04 15:18:49 +02:00
Sébastien Noel
9a9f8e78a2 spelling-error-in-binary, thanks Lintian 2023-05-04 15:12:41 +02:00
severusseptimius
a659f2a769 Fix Intro loop when here are no demos 2023-02-22 18:44:02 +02:00
antonino
3ef902a04a Fix sniper FOV bug 2022-12-30 15:01:36 +01:00
PBeGood4
15d7cf315f Check for AppleClang 2022-08-26 19:31:15 +01:00
Khralkatorrix
a5b0e704fc Restore TFE green colors menu.
Patches from https://github.com/sultim-t/Serious-Engine-RT
2022-05-20 23:30:38 +07:00
iamthesenate1
da8f644d46 Remove some redundant #ifdefs and added some new ones 2022-01-25 22:06:56 +02:00
iamthesenate1
3609bf4df8 Some optimisations 2021-12-27 11:22:24 +02:00
James Le Cuirot
c09d18623e
Allow ecc to be built independently using its own CMakeLists.txt file
This makes cross-compiling easier, and saves having to build once each
for TFE and TSE.

I considered using CMake's import/export feature, but there's little
point when you're only importing one binary target. Pointing the ECC
variable at the ecc binary itself is simpler.

I copied the minimum CMake version of 2.8.7 from the parent
project. To be confident this would actually work, I tested building
under CentOS 7 with CMake 2.8.12.
2021-11-16 23:06:41 +00:00
James Le Cuirot
bd68934e32
Swap PLATFORM_* macros for standard ones in ecc
This simplifies the standalone CMakeLists.txt file arriving in the
next commit.

_WIN32 is defined by MVSC and the MinGW toolchain for all relevant
Windows versions.

We don't need to explicitly check for UNIX because it's the only
non-Windows case we care about.
2021-11-15 23:33:16 +00:00
James Le Cuirot
6087022b9c
Delete unused Sources/Ecc/unistd.h
It's not clear why this was added. It looks like a compatibility hack
for Windows, but we include io.h directly on Windows anyway.

Having this file present breaks building ecc separately on UNIX.
2021-11-15 23:31:11 +00:00
James Le Cuirot
229a87a620
Remove unused variables in ecc 2021-11-15 23:31:07 +00:00
James Le Cuirot
ad5655e60c
Fix GCC -Waddress warning in PlayCamera
GCC 11 says:

  Sources/Entities/Camera.es:397:10: warning: the compiler can assume
  that the address of ‘cm’ will never be NULL [-Waddress]

The MP version of Camera.es simply checks m_penTarget instead, so
that's what I've done here. It's not clear what the intention of the
original code was.
2021-11-15 22:24:00 +00:00
iamthesenate1
6f3ff98fa4 Fix compilation with GCC 11.X 2021-09-04 14:07:03 +03:00
ptitSeb
52313115bb Forgot this file for Pyra version 2021-08-02 09:02:35 +02:00
ptitSeb
f777ad622b Added PYRA option (also inverted Shoulder buttons function on Pandora/Pyra build) 2021-08-02 09:02:35 +02:00
Pavel Zenov
aff8f250eb macOS/ARM: little nasty typo fix in .sh and force -O0 flag for every build target as a temporary workaround for segfaults 2021-04-05 22:50:51 +03:00
Pavel Zenov
b27a92c881 Initial support for Apple ARM64 2021-04-04 22:33:39 +03:00
Björn Tantau
370be31e31
Add SDL2 path for Ubuntu 18.04 2020-08-25 12:40:11 +02:00
ptitSeb
0961898210 [PYRA] Fix some typos 2020-07-11 10:26:01 +02:00
ptitSeb
d1081324a2 [PYRA] Added PYRA Profile 2020-06-13 21:21:52 +02:00
Skyrimus
6c21fbfa04
Dedicated server compiling fix 2020-03-28 04:09:45 +03:00
r-a-sattarov
aae4713e46 E2K: added initial support for MCST Elbrus CPU 2019-09-09 22:55:47 +03:00
ptitSeb
669dc9148d So yeah, I just did what the stubbed said 2019-08-17 16:20:08 +02:00
ptitSeb
d20c647919 Removed a warning 2019-08-17 15:53:53 +02:00
ptitSeb
ddf4b42b4c Fix math calculation in HUD_DrawBar, rounding float too soon (fix issue #7) 2019-08-17 12:49:42 +02:00
ptitSeb
921c0736d5 Improved README and build script. Now build RelWithDebInfo, that do works 2019-08-17 09:37:58 +02:00
ptitSeb
60839e4323
Merge pull request #11 from jdonald/fix-ghostbusterray
Fix "CUnixDynamicLoader error: ... /Bin/libEntitiesMP.so: undefined symbol: CGhostBusterRay_DLLClass"
2019-08-01 07:42:50 +02:00
James Donald
55a9d2fd27 Apply the same fix to TFE speculating that it has the same problem 2019-07-31 17:54:36 -07:00
James Donald
f09ab800d9 Fix CGhostBusterRay_DLLClass error in TSE 2019-07-31 17:53:47 -07:00
James Donald
f2d6e31690 Attempt to be consistent with spacing if() 2019-07-31 17:01:38 -07:00
James Donald
342347eda4 Add -mfpu=neon to avoid vector assembly errors 2019-07-31 16:55:55 -07:00
ptitSeb
8010787708 Removed generated (and useless) GhostBusterRay sources 2019-05-25 11:44:25 +02:00
ptitSeb
79d8ee7b2a Merged Pandora branch (with ARM specific optimization from notaz) 2019-03-31 21:02:43 +02:00
ptitSeb
8e38e5ae50 Minor (mostly) cosmetics changes 2019-03-31 20:56:37 +02:00
ptitSeb
0c30342259 Small changes, mostly cosmetics 2019-03-31 17:16:33 +02:00
ptitSeb
804522b8fb Added ccache support in cmake project 2019-03-31 16:42:20 +02:00
ptitSeb
f908d64337
No -j option when building ecc in build-linux64.sh 2018-06-09 15:17:01 +02:00
ptitSeb
b4a3825b12
Build ECC first in build-linux64.sh 2018-06-09 14:43:50 +02:00