use std::strings in places of c-strings in most places

This commit is contained in:
Martin Michelsen
2022-04-03 23:31:24 -07:00
parent 1d70933c17
commit 06fd71f7a6
19 changed files with 191 additions and 188 deletions
+1 -1
View File
@@ -48,5 +48,5 @@ struct PSOEnemy {
PSOEnemy(uint32_t experience, uint32_t rt_index);
} __attribute__((packed));
std::vector<PSOEnemy> load_map(const char* filename, uint8_t episode,
std::vector<PSOEnemy> load_map(const std::string& filename, uint8_t episode,
uint8_t difficulty, const BattleParams* bp, bool alt_enemies);