diff options
author | Peter Kohaut | 2018-01-14 12:12:06 +0100 |
---|---|---|
committer | Peter Kohaut | 2018-01-28 10:57:16 +0100 |
commit | 1e5f9d3078f236f306b5d868bcd52f4e47f7b512 (patch) | |
tree | 0d402af27d75064d60e4674ab3bd4c9ad08759f1 /engines/bladerunner/crimes_database.h | |
parent | 3a937f19c0a5e347c801c62d345475be082f9e41 (diff) | |
download | scummvm-rg350-1e5f9d3078f236f306b5d868bcd52f4e47f7b512.tar.gz scummvm-rg350-1e5f9d3078f236f306b5d868bcd52f4e47f7b512.tar.bz2 scummvm-rg350-1e5f9d3078f236f306b5d868bcd52f4e47f7b512.zip |
BLADERUNNER: Added basic KIA interface
Settings works
Help works
Clue database works
Fixed code for inserting objects into scene
Reorganization of few files
Unification & code formatting of few older files
Diffstat (limited to 'engines/bladerunner/crimes_database.h')
-rw-r--r-- | engines/bladerunner/crimes_database.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/engines/bladerunner/crimes_database.h b/engines/bladerunner/crimes_database.h index 830b58db67..40e46cb356 100644 --- a/engines/bladerunner/crimes_database.h +++ b/engines/bladerunner/crimes_database.h @@ -23,28 +23,30 @@ #ifndef BLADERUNNER_CRIMES_DATABASE_H #define BLADERUNNER_CRIMES_DATABASE_H +#include "common/array.h" + namespace BladeRunner { class BladeRunnerEngine; class TextResource; class CrimesDatabase { - int _crimesCount; - int *_crimes; - int *_assetTypes; - TextResource *_cluesText; + int _crimeCount; + Common::Array<int> _crimes; + Common::Array<int> _assetTypes; + TextResource *_cluesText; public: - CrimesDatabase(BladeRunnerEngine *vm, const char *cluesResource, int crimesCount); + CrimesDatabase(BladeRunnerEngine *vm, const char *cluesResource, int crimeCount); ~CrimesDatabase(); void setCrime(int clueId, int crimeId); - int getCrime(int clueId); + int getCrime(int clueId) const; void setAssetType(int clueId, int assetType); - int getAssetType(int clueId); + int getAssetType(int clueId) const; - const char *getClueText(int clueId); + const char *getClueText(int clueId) const; }; } // End of namespace BladeRunner |