102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
strings.c File Reference

Go to the source code of this file.

Enumerations

enum  PromptStringId {
  PROMPT_CANCEL = 48 , PROMPT_LASER = 100 , PROMPT_SHIELD = 101 , PROMPT_CHANGE_LIGHT = 106 ,
  PROMPT_DONT_STOP = 107 , PROMPT_EXIT = 110 , PROMPT_SQUIRT = 111 , PROMPT_LAUNCH = 112 ,
  PROMPT_TAP = 115 , PROMPT_SPEED = 116 , PROMPT_PLAY = 850 , PROMPT_PLAY_ALTERNATE = 857 ,
  PROMPT_VIEW = 858 , PROMPT_SWING = 1031 , PROMPT_NEXT_HOLE = 1032 , PROMPT_SKIP = 1033 ,
  PROMPT_DIG = 1107 , PROMPT_CHECKERS_SELECT = 1212 , PROMPT_CHECKERS_MOVE = 1219 , PROMPT_SKIP_WITH_CONFIRM = 10000
}

Functions

char * String_GetRuntimeByNegativeIndex (int32_t negative_string_id)
void String_SetTable (struct Text_StringEntry *string_table)
static char * format_prompt (const char *format, const char *first, const char *second)
static char * format_dig_prompt (char *text)
char * String_GetByIndex (int32_t string_id)

Enumeration Type Documentation

◆ PromptStringId

Enumerator
PROMPT_CANCEL 
PROMPT_LASER 
PROMPT_SHIELD 
PROMPT_CHANGE_LIGHT 
PROMPT_DONT_STOP 
PROMPT_EXIT 
PROMPT_SQUIRT 
PROMPT_LAUNCH 
PROMPT_TAP 
PROMPT_SPEED 
PROMPT_PLAY 
PROMPT_PLAY_ALTERNATE 
PROMPT_VIEW 
PROMPT_SWING 
PROMPT_NEXT_HOLE 
PROMPT_SKIP 
PROMPT_DIG 
PROMPT_CHECKERS_SELECT 
PROMPT_CHECKERS_MOVE 
PROMPT_SKIP_WITH_CONFIRM 

Definition at line 9 of file strings.c.

Function Documentation

◆ format_dig_prompt()

char * format_dig_prompt ( char * text)
static

Definition at line 51 of file strings.c.

◆ format_prompt()

char * format_prompt ( const char * format,
const char * first,
const char * second )
static

Definition at line 45 of file strings.c.

◆ String_GetByIndex()

char * String_GetByIndex ( int32_t string_id)

Definition at line 66 of file strings.c.

◆ String_GetRuntimeByNegativeIndex()

char * String_GetRuntimeByNegativeIndex ( int32_t negative_string_id)

Definition at line 34 of file strings.c.

◆ String_SetTable()

void String_SetTable ( struct Text_StringEntry * string_table)

Definition at line 40 of file strings.c.