Joseph-Eugene Winzer
d4592b6077
SUPERNOVA: Removes global nullObject
...
Before nullObject was a static member of Object class and now a member
of GameManager. Also the Inventory constructor was extended for taking a
pointer to the nullObject that Invetory::get() returns if no Object was
found.
2018-04-15 18:47:33 +01:00
Joseph-Eugene Winzer
2a170fb929
SUPERNOVA: Moves constants to screen.h
2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer
3749f98dea
SUPERNOVA: Fixes type camel case
2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer
f78a835816
SUPERNOVA: Moves font data to screenstatic.cpp
2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer
af4f3ab4c5
SUPERNOVA: Moves cursor buffer to resman.cpp
2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer
6ea629f944
SUPERNOVA: Moves VGA Palette to screenstatic.cpp
2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer
b2dc8d5424
SUPERNOVA: Adds resource abstraction
...
The resource abstraction includes loading of sound files and cursor
graphics.
2018-04-15 18:22:57 +01:00
Joseph-Eugene Winzer
26543be637
SUPERNOVA: Adds sound abstraction
2018-04-14 11:45:52 +02:00
Joseph-Eugene Winzer
a38db245ed
SUPERNOVA: Fixes formatting
...
Because of confusion when indentation level is raised and thus tabs or
spaces should be used when aligning code, this commit switches to tabs
to avoid any further confusion.
2018-03-11 23:25:00 +01:00
Thierry Crozat
b5df2f8ec7
SUPERNOVA: Add strings for quit game prompt
2018-02-23 23:51:39 +00:00
Joseph-Eugene Winzer
32e8d22c14
SUPERNOVA: Corrects header guard name
2018-01-23 02:15:46 +00:00
Joseph-Eugene Winzer
da3d145819
SUPERNOVA: Moves strings to GameManager class
2018-01-23 02:15:46 +00:00
Joseph-Eugene Winzer
d69480b52e
SUPERNOVA: Renames audio constants
2018-01-23 02:15:45 +00:00
Joseph-Eugene Winzer
7ba9d94a89
SUPERNOVA: Renames audio constants
2018-01-23 02:15:45 +00:00
Joseph-Eugene Winzer
5861627602
SUPERNOVA: Implements money object for inventory
2018-01-23 02:15:44 +00:00
Joseph-Eugene Winzer
996d5c082e
SUPERNOVA: Replaces TICKETS with MONEY
2018-01-23 02:15:44 +00:00
Joseph-Eugene Winzer
dbb2632d1e
SUPERNOVA: Rename kAudioUndef2 to kAudioSmash
2018-01-23 02:15:44 +00:00
Joseph-Eugene Winzer
c51f27f1d4
SUPERNOVA: Removes redundant comments
2018-01-23 02:15:43 +00:00
Thierry Crozat
75e3568f06
SUPERNOVA: Implement dialogs with variable text
...
This was partially implemented but not finished. However I reverted
the changes already done to support that in order to use a different
approach.
2018-01-23 02:15:42 +00:00
Thierry Crozat
1b2e4f926c
SUPERNOVA: Implement alarm
2018-01-23 02:15:42 +00:00
Strangerke
13319458dc
SUPERNOVA; Move some strings to game text file,
2018-01-23 02:15:42 +00:00
Strangerke
1ff953b815
SUPERNOVA: Move 2 strings to the DAT file
2018-01-23 02:15:41 +00:00
Thierry Crozat
1759d1ffdd
SUPERNOVA: Implement autosave used for dream sequence
2018-01-23 02:15:40 +00:00
Thierry Crozat
1566b6cadc
SUPERNOVA: Add string for text speed dialog
2018-01-23 02:15:39 +00:00
Thierry Crozat
909818c730
SUPERNOVA: Fix combining ObjectType enum values
...
It was storing the result of bitwise operation on the ObjectType
enum values in a ObjectType variable. But that was incorrect as
the result was not a value from the enum.
Also removing a property was actually adding the property if it
was not present in the value initially.
2018-01-23 02:15:38 +00:00
Thierry Crozat
3270b51372
SUPERNOVA: Add strings for supernova explosion cutscene
2018-01-23 02:15:38 +00:00
Thierry Crozat
7bf803f6e6
SUPERNOVA: Cleanup dialog code
...
The main change consists in using a separate byte array for the sentence
removal flags, move some functions from the GameManager to the Room class,
and add a few additional functions to manipulate this new array. This
allows to clarify some code related to dialogs.
This change also allows to switch the _shown array back to a bool array.
2018-01-23 02:15:37 +00:00
Thierry Crozat
f4b10b7a83
SUPERNOVA: Add missing game string
2018-01-23 02:15:37 +00:00
Strangerke
1cee221e7a
SUPERNOVA: Finish the string extraction in state.cpp
2018-01-23 02:15:36 +00:00
Strangerke
d4351a5ff2
SUPERNOVA: Extract some strings from state.cpp
2018-01-23 02:15:36 +00:00
Strangerke
c4ee3e72b7
SUPERNOVA: Extract some more stings from rooms.cpp
2018-01-23 02:15:35 +00:00
Strangerke
f213ea8e0a
SUPERNOVA: extract strings for Axacuss Corridor 5
2018-01-23 02:15:35 +00:00
Strangerke
4d7d802333
SUPERNOVA: Change the signature of dialog(), fix calls, extract some more strings
2018-01-23 02:15:35 +00:00
Strangerke
7cfe38501c
SUPERNOVA: Extract ArsanoGlider, ArsanoMeetup 2 & 3 and AxacussCell strings
2018-01-23 02:15:35 +00:00
Strangerke
56f9328e90
SUPERNOVA: Extract ArsanoRoger texts
2018-01-23 02:15:35 +00:00
Strangerke
ed9d92407e
SUPERNOVA: Extract more dialog texts
2018-01-23 02:15:35 +00:00
Strangerke
38fbda9189
SUPERNOVA: Extract strings used in ShipHold and operations related to the cable
2018-01-23 02:15:35 +00:00
Strangerke
cb12a88fc5
SUPERNOVA: Extract strings for ShibCabinL3 & R3 and for ShipAirlock
2018-01-23 02:15:35 +00:00
Strangerke
572f205e67
SUPERNOVA: Extract the strings from ShipCockpit
2018-01-23 02:15:34 +00:00
Strangerke
f23baf902f
SUPERNOVA: Extract strings for Ship Hall and Ship Sleep Cabin
2018-01-23 02:15:34 +00:00
Strangerke
46bdb304dd
SUPERNOVA: Remove useless defines
2018-01-23 02:15:34 +00:00
Strangerke
9bf0a656a6
SUPERNOVA: Change _shown to an array of bytes in order to handle extra values used by dialogs, fix ArsanoMeetup2::onEntrance by using a shown variable
2018-01-23 02:15:34 +00:00
Thierry Crozat
095679c4f2
SUPERNOVA: Move intro cutscene strings to engine data file
2018-01-23 02:15:33 +00:00
Thierry Crozat
7722fe99cd
SUPERNOVA: Move object name and description strings to engine data file
2018-01-23 02:15:33 +00:00
Thierry Crozat
6fc0659222
SUPERNOVA: Start using strings from the engine data file
...
This means that now all that remains to be done to play in English
is to move all the strings to the engine data file and to translate
them.
2018-01-23 02:15:33 +00:00
Thierry Crozat
d1bdfd2bde
SUPERNOVA: Clean indentations
2018-01-23 02:15:32 +00:00
Joseph-Eugene Winzer
7cae6fde30
SUPERNOVA: Fixes number of rooms
2018-01-23 02:07:37 +00:00
Joseph-Eugene Winzer
7bd20ffbed
SUPERNOVA: Adds constants
2018-01-23 02:00:59 +00:00
Joseph-Eugene Winzer
9b064e364f
SUPERNOVA: Adds room id to objects
...
This commit helps especially during serialization of the inventory to
determine which room the object belongs to.
2018-01-23 01:53:00 +00:00
Joseph-Eugene Winzer
e15f281113
SUPERNOVA: Removes color macros
2018-01-23 01:47:02 +00:00