Commit Graph

400 Commits

Author SHA1 Message Date
ptitSeb
804522b8fb Added ccache support in cmake project 2019-03-31 16:42:20 +02:00
ptitSeb
18a59c0bba Merge pull request #2 from ptitSeb/master
Fixed a portable C dithering option, fixing the red artifacts on shadows for some configurations
2017-07-24 13:25:30 +02:00
ptitSeb
360d19b01c Fixed a partable C dithering option, fixing the red artific on shadows for some configurations 2017-07-24 12:23:16 +02:00
ptitSeb
4108f92185 Pandora version build 07, with notaz improvements 2017-05-28 15:17:22 +02:00
ptitSeb
dce391583c Use standard Sin/Cos version (fixing "The Pit" tilting floor issue, and maybe other similar issues too) 2017-05-27 15:41:24 +02:00
ptitSeb
a41642340c Small compilation (non arm architecture) Fix 2017-05-21 19:00:33 +02:00
ptitSeb
c769194787 Merge branch 'master' of https://github.com/ptitSeb/Serious-Engine 2017-05-21 18:50:43 +02:00
ptitSeb
4720b55ca5 Need a dependencie on the libengine_safemath 2017-05-20 00:18:13 +02:00
ptitSeb
0731a9d79a More fast-math experiment on Pandora 2017-05-19 23:42:33 +02:00
ptitSeb
ad81a5606a Improvements and fixes to Pandora fast-math 2017-04-17 14:52:58 +02:00
ptitSeb
ae30b8b4de Experimental fast-math for Pandora 2017-04-17 13:11:58 +02:00
ptitSeb
feb12b02d4 Merge branch 'master' of https://github.com/ptitSeb/Serious-Engine 2016-12-26 22:36:41 +01:00
ptitSeb
d4f68c3863 Merge branch 'master' of https://github.com/ptitSeb/Serious-Engine 2016-12-26 20:38:50 +01:00
ptitSeb
189edcb75f More #ifdef for TFE build 2016-09-22 12:15:57 +02:00
ptitSeb
e37a80ef83 Some warning solved 2016-09-21 19:25:13 +02:00
ptitSeb
cf7056b4d6 Missing a const 2016-09-21 17:20:37 +02:00
ptitSeb
1984179657 Fixed a missing #endif issue 2016-09-21 17:14:06 +02:00
ptitSeb
d5df0cbc58 Merge branch 'master' of https://github.com/ptitSeb/Serious-Engine 2016-09-11 20:51:11 +02:00
ptitSeb
2aa09480ab Merge branch 'master' of https://github.com/ptitSeb/Serious-Engine 2016-09-09 14:13:31 +02:00
ptitSeb
ad57104c22 Merge work with remote 2016-09-09 14:11:53 +02:00
ptitSeb
6c2966e250 Merge 2016-09-09 14:07:32 +02:00
ptitSeb
57cd734dbc Don't regulate Framerate on Pandora
Restrict the Eps precision change only to Pandora platform
fix Inverted Right and Middle button on certain case with SDL
Added some Failsafe. Fixed a crash in the new game intro cinematic (when Boss of TFE die and Sam goes to the UFO) on the Pandora
Some Pandora fine-tunning
Tried some asynchronus input method, but doesn't seems to works
2016-09-09 13:39:28 +02:00
Ryan C. Gordon
570f166b26 Merge pull request #56 from DanielGibson/fix-null-crashes
Fix crashes from this!=NULL removal
2016-07-03 01:19:00 -04:00
Ryan C. Gordon
54f8c4881a Merge pull request #61 from yamgent/readme-improv
Update README.md to include Linux
2016-07-03 01:17:24 -04:00
Ryan C. Gordon
f7a61adbc5 Merge pull request #62 from comicfans/fix_sscanf_stack_buffer_overflow
fix sscanf stack buffer overflow. string should have '\0'
2016-07-03 01:14:00 -04:00
comicfans44
e70a5bb92b fix sscanf stack buffer overflow. string should have '\0' 2016-07-03 04:34:17 -04:00
Tan Wang Leng
b4d1daa320 Update README.md to include Linux 2016-06-16 22:12:38 +08:00
Daniel Gibson
1b895d7478 Support both ModExt.txt and ModEXT.txt 2016-06-06 04:28:42 +02:00
Daniel Gibson
882c7773b5 Game can be executed and quit without crashes
mostly checks before calling AddReference()/RemReference()
2016-06-06 03:53:57 +02:00
Ryan C. Gordon
d723153576 Merge pull request #49 from yamgent/mod-ext-fix
Fix ModEXT.txt issues
2016-06-05 01:20:24 -04:00
Ryan C. Gordon
aced26829a Merge pull request #54 from DanielGibson/fix-warnings-rebase
cherry-picked fixes by emlai, fix compilation again
2016-05-29 19:12:37 -04:00
Daniel Gibson
b30d3d86d8 Fix compilation from changes for GCC 6.1.1
At least on my system floor() and log10() return double, so the other
arguments to Clamp() and ClampDn() didn't match anymore, now being float
instead of double.
I replaced the calls to log10f() and floorf() to avoid any ambiguities.
2016-05-30 01:06:10 +02:00
Emil Laine
4b0e01145e Fix warning -Wtautological-undefined-compare
Quoting Clang:
"reference cannot be bound to dereferenced null pointer in well-defined
C++ code; comparison may be assumed to always evaluate to false"

Conflicts:
	Sources/CMakeLists.txt
2016-05-30 00:55:15 +02:00
Emil Laine
16a2048a2c Fix warning -Wchar-subscripts 2016-05-30 00:50:11 +02:00
Emil Laine
13ba79ea5f Remove unneeded -Wno-sign-compare
(I didn't receive any warnings after enabling -Wsign-compare.)

Conflicts:
	Sources/CMakeLists.txt
2016-05-30 00:49:57 +02:00
Emil Laine
5badefaf90 Change remaining "if (this!=NULL)" to "ASSERT(this!=NULL)"
Also changed all "if (this==NULL) return;"s.

Fixes some -Wtautological-undefined-compare warnings.

Quoting Clang:
"'this' pointer cannot be null in well-defined C++ code; comparison may
be assumed to always evaluate to false"
2016-05-30 00:48:47 +02:00
Emil Laine
24d61d1ccc Use ASSERTALWAYS(msg) instead of ASSERT(false && msg)
Thanks @SLAwww

(The first parameter to _assert is actually the message, not the
expression to evaluate, so "false &&" doesn't belong in there.)

Conflicts:
	Sources/EntitiesMP/Summoner.es
2016-05-30 00:46:35 +02:00
Emil Laine
fe23b05aa2 Fix ASSERT(<string_literal>)
That would never trigger the ASSERT. Now they always do.

Conflicts:
	Sources/EntitiesMP/Summoner.es
2016-05-30 00:44:05 +02:00
Ryan C. Gordon
0b24c2f06c Merge pull request #50 from Manuel-K/gcc-6.1.1-fix
fix compilation errors with gcc 6.1.1 on Arch Linux
2016-05-24 00:55:35 -04:00
Ryan C. Gordon
be4c22f7e2 Merge pull request #44 from DanielGibson/misc-impr
Fix tons of compiler warnings
2016-05-24 00:54:46 -04:00
Manuel K
ba8d82efaf fix compilation errors with gcc 6.1.1 on Arch Linux 2016-05-22 01:17:19 +02:00
Daniel Gibson
7b470d30ab Elemental.es/Computer.cpp changes according to @SLAwww's suggestions 2016-05-11 19:04:01 +02:00
Daniel Gibson
7e7ab3e70e remove FIXMEs in GameMP/Computer.cpp
and replace the corresponding conditions with more readable (but
equivalent) ones.
2016-05-09 18:51:04 +02:00
Daniel Gibson
b64df456b6 Fix TFE warnings and lots of unused variable warnings
.. still, didn't look at unused variable warnings from *.es because
so many are generated.
2016-05-09 18:51:04 +02:00
Daniel Gibson
de4f96d208 Remove FIXMEs/silence Fish.es warnings
Thanks to @SLAwww's explanations it's clear now :)
2016-05-09 18:51:04 +02:00
Daniel Gibson
8106aedd9f Use at least 16bit for Depth-Buffer (fixes #37)
Seems like on Windows 0 bits is handled as "Let Windows/Driver decide",
so handle that case by setting a reasonable value of 16.
2016-05-09 18:51:03 +02:00
Daniel Gibson
40213b3e03 Ignore some more files (build dirs and generated) 2016-05-09 18:51:03 +02:00
Daniel Gibson
1bfc6d5d81 Fix "unused but set variable" warnings from GCC 2016-05-09 18:51:03 +02:00
Daniel Gibson
dbe524f0b2 Fix more warnings, mostly about logical op parenthesis (TSE only)
except for EntitiesMP/Fish.es which I'm not sure about, and in
Computer.cpp the weird "if (_iActiveMessage < _acmMessages.Count()==0)"
construct whichs intention I didn't fully grasp, either.
2016-05-09 18:51:03 +02:00
Daniel Gibson
72edf1c720 Commented out unused functions and variables
many unused functions and variables are now commented out

You'll still get tons of warnings, which should mostly fall in one of
the following categories:
1. Unnecessary variables or values generated from .es scripts
2. Pointers assigned to from functions with side-effects: DO NOT REMOVE!
   Like CEntity *penNew = CreateEntity_t(...); - even if penNew isn't
   used, CreateEntity() must be called there!
2016-05-09 18:51:03 +02:00