Hi all
A companion to
@ptitSeb's Danger from the Deep:
http://openssn.sourceforge.net/index.php
"OpenSSN is a submarine simulator (sometimes referred to as a subsim) for modern classes of submarine. The player is able to pilot their submarine, detect vessels and engage enemy ships. The game focuses on the tactical aspect of commanding a submarine, leaving many of the minor details up to the AI crew."
Source (checking this one out as I type):
Code:
svn checkout https://svn.code.sf.net/p/openssn/code/ openssn-code
EDIT: the source code on SVN seems to be lacking some files (sound.h for example). Prefer the official 1.4 release from 2013-05-22:
https://sourceforge.net/projects/openssn/files/openssn-1.4/openssn-1.4.tar.gz/download
EDIT 2: it compiled nicely on the Pandora thanks to
@ptitSeb's Code::Blocks
I'll try to push this one to the Repo ASAP !
Note for self (before going to bed): export PREFIX="/mnt/utmp/openssn-magicsam" proved handy, and OpenSSN will require
@notaz ' improved SDL to work in fullscreen mode:
/mnt/utmp/openssn-magicsam/bin$ ./openssn -f
Couldn't set video mode...
OpenSSN requires 1024x768 @ 16 bpp
No video mode large enough for 1024x768
EDIT 3: I recompiled the game this morning while in the train, with all the optimizations frrom Code::Blocks (-O3 -ffast-math etc...). Not sure this is a great idea, considering this is a submarine simulation, with lots of advanced math involved (I could be wrong though...). The PND is almost ready, you can expect a release soon !
EDIT 4: PND is ready, but the game has many issues (it segfaults, for one thing. Even when recompiled with -O2 only), so I'm quite reluctant to release it on the Repo as is. I'll recompile it with debug flags, see if I can understand what's going wrong...
EDIT 5: of course, the game no longer segfaults when compiled with the debugging flags... Typical
EDIT 6: OpenSSN 1.4 is on the Repo
http://repo.openpandora.org/?page=detail&app=openssn-magicsam
Cheers, Magic Sam