Commit Graph

449 Commits

Author SHA1 Message Date
ptitSeb
9179b4e2f0
Merge pull request #49 from iamthesenate1/master
Some optimisations
2021-12-27 10:28:00 +01:00
iamthesenate1
3609bf4df8 Some optimisations 2021-12-27 11:22:24 +02:00
ptitSeb
0ab04baf9a
Merge pull request #48 from chewi/standalone-ecc
Allow ecc to be built independently using its own CMakeLists.txt file
2021-11-17 07:42:13 +01: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
ptitSeb
824986f62d
Merge pull request #47 from chewi/camera-Waddress
Fix GCC -Waddress warning in PlayCamera
2021-11-16 00:12:12 +01: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
ptitSeb
8f1a2733d8
Merge pull request #43 from iamthesenate1/readme.md
Fix some typos and rephrase some sentences in README.md
2021-09-11 18:39:20 +02:00
iamthesenate1
90ed592ff7
Update README.md 2021-09-11 19:38:08 +03:00
iamthesenate1
4f54c49b08 Fix some typos and rephrase some sentences in README.md 2021-09-11 19:32:05 +03:00
ptitSeb
7fd3b651d1
Merge pull request #42 from iamthesenate1/GCC-11.x
Fix compilation with GCC 11.X
2021-09-04 13:51:57 +02: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
ptitSeb
7aabe0bd70
Merge pull request #31 from linuxoidmc/master
macOS/ARM: little nasty typo fix in .sh and force -O0 flag for every …
2021-04-05 22:16:41 +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
ptitSeb
8cafd5f860
Merge pull request #30 from linuxoidmc/master
Initial support for Apple ARM64
2021-04-04 21:49:17 +02:00
Pavel Zenov
b27a92c881 Initial support for Apple ARM64 2021-04-04 22:33:39 +03:00
ptitSeb
d11af2bad8 Captilized menu folder from Scripts folder (for #26) 2021-02-21 09:24:22 +01:00
ptitSeb
253d2b9dd7
Merge pull request #21 from bjoern-tantau/bjoern-tantau-sdl2-path
Add SDL2 path for Ubuntu 18.04
2020-08-25 12:59:34 +02: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
ptitSeb
6ee27922c4
Merge pull request #17 from Skyrimus/patch-1
Dedicated server compiling fix
2020-03-28 07:35:16 +01:00
Skyrimus
6c21fbfa04
Dedicated server compiling fix 2020-03-28 04:09:45 +03:00
ptitSeb
164070a54c
Merge pull request #13 from r-a-sattarov/master
MCST Elbrus CPU support
2019-09-09 22:55:49 +02: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
fd2175173a
Update README.md 2019-08-17 09:39:05 +02:00
ptitSeb
921c0736d5 Improved README and build script. Now build RelWithDebInfo, that do works 2019-08-17 09:37:58 +02:00
ptitSeb
29ed139802
Update README.md 2019-08-17 09:19:20 +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
ptitSeb
5739a7273e
Merge pull request #10 from jdonald/fix-rpi-build
Fix asm compile errors on Raspberry Pi
2019-08-01 07:41:35 +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
ptitSeb
6f129cb0e6 Small changes to build-linuxXX.sh (but consider thoses scripts as deprecated...) 2017-12-22 14:02:10 +01:00
ptitSeb
668cc6dc56 Fixes (hopefully) build on ARM machine (other then Pandora, so RPI and ODroid should be good now) 2017-12-22 13:59:22 +01:00