| 1 | |
| 2 | /** |
| 3 | * |
| 4 | * @file jj1save.h |
| 5 | * |
| 6 | * Part of the OpenJazz project |
| 7 | * |
| 8 | * @par Licence: |
| 9 | * Copyright (c) 2015-2024 Carsten Teibes |
| 10 | * |
| 11 | * OpenJazz is distributed under the terms of |
| 12 | * the GNU General Public License, version 2.0 |
| 13 | * |
| 14 | */ |
| 15 | |
| 16 | |
| 17 | #ifndef OJ_JJ1SAVE_H |
| 18 | #define OJ_JJ1SAVE_H |
| 19 | |
| 20 | #include "io/file.h" |
| 21 | #include "types.h" |
| 22 | |
| 23 | class JJ1Save { |
| 24 | |
| 25 | private: |
| 26 | JJ1Save(const JJ1Save&); // non construction-copyable |
| 27 | JJ1Save& operator=(const JJ1Save&); // non copyable |
| 28 | |
| 29 | public: |
| 30 | explicit JJ1Save (const char* fileName); |
| 31 | ~JJ1Save (); |
| 32 | |
| 33 | bool valid; |
| 34 | char* name; |
| 35 | int planet; |
| 36 | int level; |
| 37 | difficultyType difficulty; |
| 38 | int unknown[6]; |
| 39 | |
| 40 | }; |
| 41 | |
| 42 | #endif |