Commit Graph

67 Commits

Author SHA1 Message Date
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
severusseptimius
a659f2a769 Fix Intro loop when here are no demos 2023-02-22 18:44:02 +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
4108f92185 Pandora version build 07, with notaz improvements 2017-05-28 15:17:22 +02:00
ptitSeb
189edcb75f More #ifdef for TFE build 2016-09-22 12:15:57 +02:00
ptitSeb
ad57104c22 Merge work with remote 2016-09-09 14:11:53 +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
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
Daniel Gibson
80990f2317 Fix some more warnings, Warning about supressed warnings in cmake 2016-04-18 19:10:52 +02:00
Daniel Gibson
a358a1763f Some more FIXMEs 2016-04-18 00:53:58 +02:00
Yamagi Burmeister
b299789db5 mntent.h is another linuxism and unnecessary on FreeBSD. 2016-04-12 19:27:52 +02:00
Ryan C. Gordon
df6199de70 Merge pull request #19 from rcgordon/sdl2-port
Sdl2 port
2016-04-12 01:38:05 -04:00
Ryan C. Gordon
2dd011573b Merge pull request #18 from salamanderrake/sdl2-port-findsdl2
Auto linking SDL2 libraries
2016-04-12 01:36:12 -04:00
Salamanderrake
df16878e0e FindSDL2.cmake: Added module to help find system libraries for SDL2
CMakeLists.txt: Modified to link system wide SDL2 libraries and link to
	system wide headers
SplashScreen.cpp: commented out as its post SDL2.0.4 >> SDL_WINDOW_SKIP_TASKBAR
2016-04-12 01:21:25 -04:00
Ryan C. Gordon
1d4440f02d Don't use FULLSCREEN_DESKTOP mode until Ryan finishes the backbuffer code. 2016-04-11 23:45:59 -04:00
Ryan C. Gordon
6ce0b9b27e First attempt at a port to SDL2. Untested! 2016-04-09 02:18:57 -04:00
ptitSeb
422db3c58c Preliminary First Encounter support 2016-04-08 00:11:36 +02:00
ptitSeb
6a2800e258 Preparing First Encounter (but it doesn't work for now) 2016-04-07 15:19:13 +02:00
Ryan C. Gordon
9820436fbe First pass at cleaning out 64-bit issues.
Touches a lot of code to remove long constants like "1L", so this patch is
large and ugly, but I think it makes all those Clamp() calls look nicer in
the long run.

Most of the game is 64-bit clean, since we can build without assembly code
now. I've marked the things that are obviously still wrong with STUBBED lines.

That being said: a 64-bit build can already run the demos mostly correctly,
so we're actually almost there!

There are a few obvious things that are obviously wrong, to be fixed.
2016-04-06 23:20:29 -04:00
Ryan C. Gordon
7bbd5df8c0 Fixed a string-literal-to-char* conversion warning. 2016-04-04 22:42:06 -04:00
Ryan C. Gordon
5ba4bccabd Backed out the splitting up of SeriousSam/Menu.cpp 2016-04-04 16:09:41 -04:00
Ryan C. Gordon
a7e4f8237e Patched to compile on Linux, and cleaned out almost all compiler warnings. 2016-04-04 02:34:07 -04:00
Ryan C. Gordon
1a2ccb8f50 Merge github.com:Croteam-Official/Serious-Engine
Conflicts:
	Sources/Ecc/Parser.cpp
	Sources/Ecc/Scanner.cpp
	Sources/Engine/Base/Scanner.cpp
	Sources/Engine/GameAgent/GameAgent.cpp
	Sources/Engine/Graphics/Gfx_wrapper.h
	Sources/Engine/Network/Network.cpp
	Sources/Engine/Sound/SoundDecoder.h
	Sources/Engine/Templates/HashTableTemplate.cpp
	Sources/Engine/Terrain/Terrain.h
	Sources/EntitiesMP/ParticleCloudsHolder.es
	Sources/EntitiesMP/ParticleCloudsMarker.es
	Sources/SeriousSam/CDCheck.h
	Sources/SeriousSam/Menu.cpp
	Sources/SeriousSam/MenuGadgets.cpp
	Sources/SeriousSam/SeriousSam.cpp
	Sources/SeriousSam/SplashScreen.cpp
	Sources/SeriousSam/StdH.cpp
	Sources/SeriousSam/StdH.h
	Sources/Shaders/StdH.cpp
2016-04-02 23:56:12 -04:00
Ryan C. Gordon
9c5fa5f0fc Fixed some things GCC complained about on this Linux box. 2016-04-02 02:03:41 -04:00
zcaliptium
f9f4ec904c Fix the License. 2016-04-01 01:12:10 +03:00
zcaliptium
9bb4fa43cd Update SeriousSam/StdH.h 2016-04-01 01:04:08 +03:00
zcaliptium
ecac2063ff Resolve conflicts 2016-04-01 01:00:14 +03:00
zcaliptium
4cb76b506f GameExecutable: Replace 4-spaced tabs with 2-spaced. 2016-03-31 23:27:11 +03:00
zcaliptium
80471f5041 GameExecutable: Fix } else { formatting.
Make code more readable.
2016-03-31 22:57:40 +03:00
zcaliptium
6434adfc1b GameExecutable: Fix spaces for headers. 2016-03-31 22:43:28 +03:00
zcaliptium
7972586d1d GameExecutable: Cleanup. Make some extern functions and variables static. 2016-03-31 21:58:50 +03:00
zcaliptium
3aa14342b3 GameExecutable: Get rid of CMENU preprocessor.
Use preprocessor for making the code shorter was bad idea. It makes
weird code parser, shows a lot of false errors and breaks code
highlighting(blinking).
2016-03-31 20:58:27 +03:00
zcaliptium
e9267112a1 GameExecutable: Get rid of the TECHTESTONLY and _SE_DEMO code. 2016-03-31 20:12:26 +03:00
Ryan C. Gordon
ed527eb29e A little tapdancing to fix a missing symbol at link time. 2016-03-31 12:40:11 -04:00
zcaliptium
ca5873a2af GameExecutable: Some cleanup and reorder.
Clean clean clean!
2016-03-31 19:21:46 +03:00
zcaliptium
cb907fbb87 GameExecutable: Add License into sources. 2016-03-31 03:38:57 +03:00
zcaliptium
1f0da8a443 GameExecutable: Some cleanup for menu code. 2016-03-30 23:09:51 +03:00
zcaliptium
de240b4ad7 GameExecutable: Continue refactoring. Rename some files. 2016-03-30 22:25:24 +03:00
zcaliptium
ef788b5299 GameExecutable: Put menus' extern variables into container. 2016-03-30 21:21:32 +03:00
zcaliptium
36c6eb19c0 Continue splitting Menu.cpp into multiple files. 2016-03-30 19:23:12 +03:00
RocketersAlex
0d8f7da318 Fixed SeriousSam and GameAgent bugs 2016-03-30 16:54:30 +03:00
Ryan C. Gordon
6ac856824f Fixed mismerge. 2016-03-30 01:36:03 -04:00
Ryan C. Gordon
aa8d0216db fixed a variable initialized and also marked 'extern'. 2016-03-30 01:31:46 -04:00
Ryan C. Gordon
9bdb8becb1 Whoops, that '==' should be '='. 2016-03-30 01:31:24 -04:00
zcaliptium
31d597856d Add and remove excess empty lines between functions,
Make code better.
2016-03-29 23:49:32 +03:00