Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
STARTREK: New engine (WIP) #1263
This adds support for Star Trek: 25th anniversary (only DOS version has been tested so far).
The first 6 of 7 away missions are playable. The sections on the enterprise with pseudo-3d ship combat are not yet implemented, so it currently jumps directly from one away mission to the next. Players will be missing some pre-mission context until this is implemented.
I skimmed through rest of the engine (skipping most of the room logic, as they're pretty simple), and made few more comments.
In general, it is in a pretty solid shape.
What comes to my mind, is that you perhaps need already to think about localized versions: how to extract text from them and how to select the proper texts based on the game language.
In terms of localization: text is dumped with an external tool (https://github.com/drenn1/startrek25_rtools) which, in most cases, should also work with the other languages. Since all languages use the same english audio files (which the text is named by), it should be possible to simply put the other language strings into their own arrays and modify showText to choose the correct one, with just a bit of manual intervention for the strings that don't have audio files.
However, the text dumping program won't work on the floppy versions, since it relies on looking for the distinctive pattern of the audio filename to identify strings; if I want to support changes made between the floppy and CD versions, that will be a bit more work.
buildbot is not happy for many ports. Please, take care of it ASAP. I made sure it compiles on macOS, but there are tons of warnings, all of those must be addressed. See the buildbot logs: