Skip to content

Commit

Permalink
Updated feather
Browse files Browse the repository at this point in the history
  • Loading branch information
tabularelf committed Jun 6, 2023
1 parent 311c41c commit 5a0d7da
Show file tree
Hide file tree
Showing 78 changed files with 194 additions and 198 deletions.
1 change: 1 addition & 0 deletions scripts/__lexicon_add_file/__lexicon_add_file.gml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// @ignore
/// feather ignore all
function __lexicon_file(_language, _locale, _fileType, _fileName, _isAsync = false, _args = undefined) constructor{
fileType = _fileType;
fileName = _fileName;
Expand Down
7 changes: 3 additions & 4 deletions scripts/__lexicon_add_file/__lexicon_add_file.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// @ignore
/// feather ignore all
function __lexicon_buffer_read_utf8(_buffer){ var _type = 1;
var _value = buffer_read(_buffer, buffer_u8);
if ((_value & 0xE0) == 0xC0) { //two-byte
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions scripts/__lexicon_cache_text/__lexicon_cache_text.gml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// @ignore
/// feather ignore all
function __lexicon_cache_text(_text, _cacheStr) constructor {
//static memStr = "";
str = _text;
Expand Down
7 changes: 3 additions & 4 deletions scripts/__lexicon_cache_text/__lexicon_cache_text.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// @ignore
/// feather ignore all
function __lexicon_definition_class(_language, _locale) constructor {
language = _language;
locale = _locale;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// @ignore
/// feather ignore all
function __lexicon_file_handle_load(_file, _string) {
var _args;
_args[0] = _string;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/__lexicon_file_load/__lexicon_file_load.gml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Feather ignore all
/// @ignore
/// feather ignore all
function __lexicon_file_load(_file) {
var _buffer = -1;
if (_file.isFileLoaded() == true) return;
Expand Down
7 changes: 3 additions & 4 deletions scripts/__lexicon_file_load/__lexicon_file_load.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions scripts/__lexicon_file_types/__lexicon_file_types.gml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// @ignore
/// feather ignore all
#macro LEXICON_FILE_TYPES global.__lexiconFileTypes

LEXICON_FILE_TYPES = {
Expand Down
7 changes: 3 additions & 4 deletions scripts/__lexicon_file_types/__lexicon_file_types.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/__lexicon_handle_cache/__lexicon_handle_cache.gml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Feather ignore all
/// @ignore
/// feather ignore all
function __lexicon_handle_cache() {

// Keep track of frame
Expand Down
7 changes: 3 additions & 4 deletions scripts/__lexicon_handle_cache/__lexicon_handle_cache.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// @ignore
/// feather ignore all
function __lexicon_handle_file_type(_lang, _fileStruct) {
var _string = "";
var _filePath = is_struct(_fileStruct) ? _fileStruct.filePath : _fileStruct;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions scripts/__lexicon_init/__lexicon_init.gml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
__lexicon_init();

/// @ignore
/// feather ignore all
function __lexicon_init() {
static _init = false;
if (_init == false) {
Expand Down
7 changes: 3 additions & 4 deletions scripts/__lexicon_init/__lexicon_init.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/__lexicon_load_entries/__lexicon_load_entries.gml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Feather ignore all
/// @ignore
/// feather ignore all
function __lexicon_load_entries(_locale = __LEXICON_STRUCT.locale) {
// Load entries
var _files = __LEXICON_STRUCT.localeMap[$ _locale].files;
Expand Down
7 changes: 3 additions & 4 deletions scripts/__lexicon_load_entries/__lexicon_load_entries.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions scripts/__lexicon_reset/__lexicon_reset.gml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// @ignore
/// feather ignore all
function __lexicon_reset() {

if (__LEXICON_STRUCT.localeMap[$ __LEXICON_STRUCT.locale] == undefined) {
Expand Down
7 changes: 3 additions & 4 deletions scripts/__lexicon_reset/__lexicon_reset.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// @ignore
/// feather ignore all
function __lexicon_text_struct_to_string(_textName, _textStruct) {
gml_pragma("forceinline");
var _i = 0;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions scripts/__lexicon_throw/__lexicon_throw.gml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// @ignore
/// feather ignore all
function __lexicon_throw(_string) {
show_error("Lexicon Error: " + string(_string), true);
}
7 changes: 3 additions & 4 deletions scripts/__lexicon_throw/__lexicon_throw.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions scripts/__lexicon_trace/__lexicon_trace.gml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// @ignore
/// feather ignore all
function __lexicon_trace(_string) {
show_debug_message("Lexicon: " + string(_string));
}
7 changes: 3 additions & 4 deletions scripts/__lexicon_trace/__lexicon_trace.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions scripts/lexicon_async/lexicon_async.gml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// @func lexicon_async()
/// feather ignore all
function lexicon_async() {
var _arrayFiles = __LEXICON_STRUCT.fileAsyncList;
var _len = array_length(_arrayFiles);
Expand Down
7 changes: 3 additions & 4 deletions scripts/lexicon_async/lexicon_async.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions scripts/lexicon_entry_add/lexicon_entry_add.gml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/// @func lexicon_entry_add(text_pointer, string)
/// @param _textEntry
/// @param _string
/// @func lexicon_entry_add(textEntry, string)
/// @param {String} textEntry
/// @param {String} string
/// feather ignore all
function lexicon_entry_add(_textEntry, _string) {
if ((!LEXICON_REPLACE_ENTRIES) && (variable_struct_exists(__LEXICON_STRUCT.textEntries, _textEntry))) exit;
__LEXICON_STRUCT.textEntries[$ _textEntry] = _string;
Expand Down
Loading

0 comments on commit 5a0d7da

Please sign in to comment.