Bruh? 😳
This commit is contained in:
36
src/conversation/queue.c
Normal file
36
src/conversation/queue.c
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user