diff --git a/src/mapper/mp_proto.cc b/src/mapper/mp_proto.cc index 10d36da..a9e1e8b 100644 --- a/src/mapper/mp_proto.cc +++ b/src/mapper/mp_proto.cc @@ -4,11 +4,14 @@ #include "color.h" #include "combat_ai.h" +#include "critter.h" #include "memory.h" #include "window_manager_private.h" namespace fallout { +static int mp_pick_kill_type(); + // 0x559C60 bool can_modify_protos = false; @@ -18,6 +21,25 @@ void init_mapper_protos() // TODO: Incomplete. } +// 0x497520 +int mp_pick_kill_type() +{ + char* names[KILL_TYPE_COUNT]; + int index; + + for (index = 0; index < KILL_TYPE_COUNT; index++) { + names[index] = killTypeGetName(index); + } + + return _win_list_select("Kill Type", + names, + KILL_TYPE_COUNT, + NULL, + 50, + 100, + _colorTable[15855]); +} + // 0x497568 int proto_pick_ai_packet(int* value) {