Commit Graph
7 Commits
Author SHA1 Message Date
Filippos Karapetis 42ac19e804 STARTREK: Start reading text from RDF files, instead of hardcoding it
Rooms DEMON0 and DEMON5 have been partially adapted to the new logic.

This isn't yet fully functional, for the following reasons:
- We only read the main text block. There are also some others which
are not handled yet. The unhandled blocks have been kept in text.cpp
- We load text in dictionaries, splitting the strings in look and talk.
However, there's a third category (look with a talker), which isn't
handled yet
- Text is loaded per-room, but there are enhancements where text and
samples are loaded from other rooms. These need to be refactored
2019-05-28 21:41:58 +03:00
Filippos Karapetis 8885508237 STARTREK: Refactor code to remove more gotos 2019-05-27 19:11:10 +03:00
Strangerke 3fc6680f4f STARTREK: Silence a CppCheck warning 2018-08-10 07:47:44 +02:00
Eugene Sandulenko 85cd347503 STARTREK: Fix compilation on macOS
nullptr is an object on macOS.
2018-08-09 09:20:51 +02:00
Matthew Stewart 982502650f STARTREK: Replace min & max with MIN & MAX 2018-08-09 08:37:30 +02:00
Strangerke be4174dc3d STARTREK: Janitorial: Add end of namespace comments 2018-08-09 08:37:30 +02:00
Matthew Stewart abf711a4d3 STARTREK: text.cpp -> textbox.cpp 2018-08-09 08:37:30 +02:00