Joshua Scoggins
5b2933e217
Defined USE_PORTABLE_C when we can't figure out the platform
2016-04-17 23:06:49 -07:00
Joshua Scoggins
e5c0e4f3f4
Add better platform detection abilities
2016-04-17 23:02:49 -07:00
Ryan C. Gordon
dc2c869cfc
Merge pull request #24 from ptitSeb/master
...
More OpenPandora support (special keymap) and optionnal Multi-Threading.
2016-04-15 14:52:56 -04:00
Yamagi Burmeister
0e672b866e
Determine CPU speed on FreeBSD
2016-04-13 19:24:51 +02:00
ptitSeb
cd2a586a9e
Better #if condition, and add a warning to be better checked latter
2016-04-13 08:21:50 +02:00
ptitSeb
9678ec3e58
Enabled Multi-Threading (as an option) + OpenPandora specific changes (for Shoulder As Mouse Buttons)
2016-04-12 22:29:39 +02:00
Ryan C. Gordon
df6199de70
Merge pull request #19 from rcgordon/sdl2-port
...
Sdl2 port
2016-04-12 01:38:05 -04:00
ptitSeb
dfe262b619
Don't pump SDL Event in GetInput, or they will be missing in SeriousSam.cpp:SubMain(...)
2016-04-11 08:32:38 +02:00
ptitSeb
98ebac941a
Change CTString.Match to treat backslashes as slash (fixes Netrisca categories for new messages)
2016-04-09 14:15:33 +02:00
Ryan C. Gordon
6ce0b9b27e
First attempt at a port to SDL2. Untested!
2016-04-09 02:18:57 -04:00
ptitSeb
f37df71029
Float fest\!
2016-04-07 18:13:50 +02:00
ptitSeb
19bd3f733b
Use SDL constants for mouse buttons
2016-04-07 10:45:45 +02:00
ptitSeb
3ec4d484e2
Fix for 64bits build
2016-04-07 09:09:51 +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
6b248af4d0
Moved STUBBED where all platforms can see it, made it more robust.
2016-04-06 15:35:12 -04:00
Ryan C. Gordon
b42025bc9f
Unix basedir: Don't read past start of array if $PATH has an empty item.
2016-04-06 15:01:09 -04:00
Ryan C. Gordon
91827e7d2a
Define PLATFORM_PANDORA instead of PANDORA, to match other targets.
2016-04-06 13:40:08 -04:00
ptitSeb
4bfca131b8
gettimeofday is not reliable on PANDORA, so use clock_gettime instead
2016-04-06 13:56:26 +02:00
ptitSeb
73ea5ca7d4
Case fixing of an include
2016-04-06 13:38:09 +02:00
ptitSeb
4e9dee7763
I had issue with the autoincrement. I prefer some warning about void* math
2016-04-06 13:33:54 +02:00
Ryan C. Gordon
c752e7cace
Fixed a mismerge.
...
(But I still need to figure out what I'm doing between SetAbsolutePath() and
whatever I had before...)
2016-04-04 22:40:30 -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
49b5163cc9
Regenerated parsers and scanners.
2016-04-01 15:17:48 -04:00
Ryan C. Gordon
3e59daa5e6
Fixed function signature for yyerror to take a const char *.
2016-04-01 12:19:18 -04:00
Ryan C. Gordon
88c41117f5
Fill in some stuff that is needed to compile.
...
I had better versions of this stuff, which I still need to re-merge.
2016-03-31 21:53:54 -04:00
Ryan C. Gordon
c2be372822
Some work to get Stream.cpp compiling.
2016-03-31 12:25:53 -04:00
Ryan C. Gordon
fbfef87ce0
Fixed a mismerge.
2016-03-31 12:25:40 -04:00
Ryan C. Gordon
75b824ddf8
Removed the exception handling code from CTStream.
...
I think this is a leftover from the mmap()-like code that used to be
in the engine, but now it's a lot of complexity to basically test this:
- Was this a memory access violation?
- If no, crash.
- If yes:
- Was it part of a CTStream?
- If no, crash.
- If yes, crash.
Instead, let's just crash. :)
(If I'm misunderstanding this, just roll back from revision control.)
2016-03-31 12:22:55 -04:00
Ryan C. Gordon
105bc12d64
Bunch more work on getting this to compile. Down to Stream and Gfx_OpenGL now.
2016-03-30 13:41:30 -04:00
Ryan C. Gordon
8ea00b12d2
More work on getting this to compile.
2016-03-30 11:00:01 -04:00
Ryan C. Gordon
4f061d916c
Adding regenerated parsers so they'll stop spamming my diffs.
2016-03-30 10:59:17 -04:00
Ryan C. Gordon
28a8b5cb2e
Various patches to get this closer to compiling again.
2016-03-30 01:51:52 -04:00
Ryan C. Gordon
2f10f864d8
Silence a whole bunch of warnings about string literals vs non-const char *.
2016-03-29 12:51:34 -04:00
Ryan C. Gordon
24cb244d43
First attempt to hand-merge Ryan's Linux and Mac OS X port.
...
This was a _ton_ of changes, made 15 years ago, so there are probably some
problems to work out still.
Among others: Engine/Base/Stream.* was mostly abandoned and will need to be
re-ported.
Still, this is a pretty good start, and probably holds a world record for
lines of changes or something. :)
2016-03-28 23:46:13 -04:00
SLAwww
b2745c617f
Removed more generated files
2016-03-13 02:05:30 +02:00
Matt Lee
a4af93fa31
Add GPL header to files
2016-03-11 18:20:51 -06:00
SLAwww
9d8b787be2
Uploading full engine sources
2016-03-11 15:57:17 +02:00