#include "mapper/mp_targt.h" #include #include "art.h" #include "proto.h" namespace fallout { // 0x53F354 static char default_target_path_base[] = "\\fallout2\\dev\\proto\\"; // 0x559CD0 static char* target_path_base = default_target_path_base; // 0x559DBC static bool tgt_overriden = false; // 0x49B2F0 void target_override_protection() { // TODO: Incomplete. } // 0x49B2F0 bool target_overriden() { return tgt_overriden; } // 0x49B34C void target_make_path(char* path, int pid) { if (_cd_path_base[0] != '\0' && _cd_path_base[1] == ':') { strncpy(path, _cd_path_base, 2); strcat(path, target_path_base); } else { strcpy(path, target_path_base); } if (pid != -1) { strcat(path, artGetObjectTypeName(PID_TYPE(pid))); } } // 0x49B424 int target_init() { // TODO: Incomplete. return 0; } // 0x49B434 int target_exit() { // TODO: Incomplete. return 0; } } // namespace fallout