Skip to content

Commit

Permalink
formatted files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim-Dewelski committed Dec 17, 2023
1 parent 859c1e1 commit 242f3d9
Show file tree
Hide file tree
Showing 8 changed files with 19,856 additions and 18,093 deletions.
3,240 changes: 1,678 additions & 1,562 deletions src/arm7.h

Large diffs are not rendered by default.

2,929 changes: 1,485 additions & 1,444 deletions src/gb.h

Large diffs are not rendered by default.

6,382 changes: 3,286 additions & 3,096 deletions src/gba.h

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/ios_support.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef IOS_SUPPORT_H
#define IOS_SUPPORT_H 1

void se_ios_open_file_picker( int num_extensions, const char ** extensions);
void se_ios_get_safe_ui_padding(float *top, float* bottom,float* left, float *right);
void se_ios_open_file_picker(int num_extensions, const char **extensions);
void se_ios_get_safe_ui_padding(float *top, float *bottom, float *left, float *right);
void se_ios_set_documents_working_directory();
#endif
1,395 changes: 694 additions & 701 deletions src/localization.c

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions src/localization.h
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
#ifndef LOCALIZATION_H
#define LOCALIZATION_H

#define SE_LANG_DEFAULT 0
#define SE_LANG_ENGLISH 5
#define SE_LANG_ARABIC 10
#define SE_LANG_ARMENIAN 15
#define SE_LANG_BENGALI 20
#define SE_LANG_CHINESE 25
#define SE_LANG_DANISH 27
#define SE_LANG_DUTCH 30
#define SE_LANG_FRENCH 35
#define SE_LANG_GERMAN 40
#define SE_LANG_GREEK 45
#define SE_LANG_HINDI 50
#define SE_LANG_ITALIAN 65
#define SE_LANG_JAPANESE 55
#define SE_LANG_KOREAN 60
#define SE_LANG_DEFAULT 0
#define SE_LANG_ENGLISH 5
#define SE_LANG_ARABIC 10
#define SE_LANG_ARMENIAN 15
#define SE_LANG_BENGALI 20
#define SE_LANG_CHINESE 25
#define SE_LANG_DANISH 27
#define SE_LANG_DUTCH 30
#define SE_LANG_FRENCH 35
#define SE_LANG_GERMAN 40
#define SE_LANG_GREEK 45
#define SE_LANG_HINDI 50
#define SE_LANG_ITALIAN 65
#define SE_LANG_JAPANESE 55
#define SE_LANG_KOREAN 60
#define SE_LANG_PORTUGESE 70
#define SE_LANG_RUSSIAN 75
#define SE_LANG_SPANISH 80
#define SE_LANG_RUSSIAN 75
#define SE_LANG_SPANISH 80
#define SE_MAX_LANG_VALUE 86

void se_set_language(int language_enum);//i.e. SE_LANG_ENGLISH
const char* se_language_string(int language_enum);//returns "" if language is not supported
const char* se_localize(const char* string);
int se_convert_locale_to_enum(const char* clocale);
void se_set_language(int language_enum); // i.e. SE_LANG_ENGLISH
const char *se_language_string(int language_enum); // returns "" if language is not supported
const char *se_localize(const char *string);
int se_convert_locale_to_enum(const char *clocale);

#endif
Loading

0 comments on commit 242f3d9

Please sign in to comment.