prepare events for achievements

This commit is contained in:
Ondřej Novák 2025-04-17 11:54:03 +02:00
parent 0550d584e6
commit f5450c0f92
9 changed files with 101 additions and 20 deletions

29
game/ach_events.c Normal file
View file

@ -0,0 +1,29 @@
#include "ach_events.h"
#include <stdint.h>
#include <stdlib.h>
#include <libs/event.h>
#include "globals.h"
void enable_achievements(char enable) {
}
void ach_event_kill_monster(int id) {
wzprintf("(event) kill monster %d\n", id);
}
void ach_event_pick_item(int id) {
wzprintf("(event) pick item %d\n", id);
}
void ach_event_end_game() {
wzprintf("(event) end_game\n");
}
void ach_event_inv_add(int id) {
wzprintf("(event) inventory add %d\n", id);
}
void ach_event_dialog_paragraph(int pgf) {
wzprintf("(event) dialog paragraph %d\n", pgf);
}
void ach_event_full_party() {
wzprintf("(event) full party\n");
}