mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-11-19 14:11:15 +00:00
Add mp_pick_kill_type
This commit is contained in:
parent
c1258cbb4c
commit
e9f3b34888
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user