Bruh? 😳

This commit is contained in:
2022-01-08 21:44:02 -08:00
parent 36ad463505
commit c426d0e929
21 changed files with 445 additions and 46 deletions

36
src/conversation/queue.c Normal file
View File

@@ -0,0 +1,36 @@
/**
* Copyright (c) 2022 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#include "queue.h"
#include "pause.h"
#include "textbox.h"
uint16_t QUEUE_ITEM;
void conversationQueueInit() {
QUEUE_ITEM = 0;
}
void conversationQueueNext() {
BGB_printf("Queue item: %d\n", QUEUE_ITEM);
switch(QUEUE_ITEM) {
case 0:
conversationTextboxSetText(STR_POKER_GAME_START_DATA, STR_POKER_GAME_START_LENGTH);
QUEUE_ITEM++;
break;
case 1:
conversationPause(3);
QUEUE_ITEM++;
break;
case 2:
conversationTextboxSetText(STR_POKER_GAME_START_DATA, STR_POKER_GAME_START_LENGTH);
break;
}
}