summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-09 09:24:41 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-09 09:24:41 +0200
commit8794444ad3f1c44cad11f94efb54f42d55f409a1 (patch)
tree1871392ec858670227f4b6144a56596d0d5633e7
parent43b4ca5837e7e1414cf8146a92ae882a6ab5f3e4 (diff)
-rw-r--r--build/data/en.mobin0 -> 153 bytes
-rw-r--r--build/data/file.pngbin0 -> 522 bytes
-rw-r--r--build/data/folder.pngbin0 -> 727 bytes
-rw-r--r--build/data/logo_64.bmpbin0 -> 16522 bytes
-rw-r--r--build/data/logo_64.pngbin0 -> 1294 bytes
-rw-r--r--build/data/pause.pngbin0 -> 417 bytes
-rw-r--r--build/data/play.pngbin0 -> 695 bytes
-rw-r--r--build/data/question.pngbin0 -> 1233 bytes
-rw-r--r--build/data/redo.pngbin0 -> 1062 bytes
-rw-r--r--build/data/undo.pngbin0 -> 1020 bytes
-rw-r--r--build/example_window.exebin0 -> 1831712 bytes
-rw-r--r--build/libprojectbase-debug.abin0 -> 1846442 bytes
-rw-r--r--build/libprojectbase-debug.obin0 -> 1831545 bytes
-rw-r--r--src/assets.h6
-rw-r--r--src/localization.c3
15 files changed, 5 insertions, 4 deletions
diff --git a/build/data/en.mo b/build/data/en.mo
new file mode 100644
index 0000000..06d4bdc
--- /dev/null
+++ b/build/data/en.mo
Binary files differ
diff --git a/build/data/file.png b/build/data/file.png
new file mode 100644
index 0000000..1302c3e
--- /dev/null
+++ b/build/data/file.png
Binary files differ
diff --git a/build/data/folder.png b/build/data/folder.png
new file mode 100644
index 0000000..fc36529
--- /dev/null
+++ b/build/data/folder.png
Binary files differ
diff --git a/build/data/logo_64.bmp b/build/data/logo_64.bmp
new file mode 100644
index 0000000..4cc3488
--- /dev/null
+++ b/build/data/logo_64.bmp
Binary files differ
diff --git a/build/data/logo_64.png b/build/data/logo_64.png
new file mode 100644
index 0000000..da886f9
--- /dev/null
+++ b/build/data/logo_64.png
Binary files differ
diff --git a/build/data/pause.png b/build/data/pause.png
new file mode 100644
index 0000000..2abc732
--- /dev/null
+++ b/build/data/pause.png
Binary files differ
diff --git a/build/data/play.png b/build/data/play.png
new file mode 100644
index 0000000..85f6418
--- /dev/null
+++ b/build/data/play.png
Binary files differ
diff --git a/build/data/question.png b/build/data/question.png
new file mode 100644
index 0000000..2ff061f
--- /dev/null
+++ b/build/data/question.png
Binary files differ
diff --git a/build/data/redo.png b/build/data/redo.png
new file mode 100644
index 0000000..d3de809
--- /dev/null
+++ b/build/data/redo.png
Binary files differ
diff --git a/build/data/undo.png b/build/data/undo.png
new file mode 100644
index 0000000..768ec0d
--- /dev/null
+++ b/build/data/undo.png
Binary files differ
diff --git a/build/example_window.exe b/build/example_window.exe
new file mode 100644
index 0000000..ce02dc2
--- /dev/null
+++ b/build/example_window.exe
Binary files differ
diff --git a/build/libprojectbase-debug.a b/build/libprojectbase-debug.a
new file mode 100644
index 0000000..63e0813
--- /dev/null
+++ b/build/libprojectbase-debug.a
Binary files differ
diff --git a/build/libprojectbase-debug.o b/build/libprojectbase-debug.o
new file mode 100644
index 0000000..4b3e749
--- /dev/null
+++ b/build/libprojectbase-debug.o
Binary files differ
diff --git a/src/assets.h b/src/assets.h
index 04ef693..1b0a6e7 100644
--- a/src/assets.h
+++ b/src/assets.h
@@ -117,8 +117,8 @@ void assets_destroy_font(font *font);
void assets_switch_render_method();
-#define load_image(_name, _inmem) assets_load_image(_binary_data_imgs_##_name##_start,_binary_data_imgs_##_name##_end)
-#define load_font(_name, _size) assets_load_font(_binary_data_fonts_##_name##_start,_binary_data_fonts_##_name##_end, _size)
-#define load_bitmap(_name) assets_load_bitmap(_binary_data_imgs_##_name##_start,_binary_data_imgs_##_name##_end)
+#define load_image(_name, _inmem) assets_load_image(_binary____data_imgs_##_name##_start,_binary____data_imgs_##_name##_end)
+#define load_font(_name, _size) assets_load_font(_binary____data_fonts_##_name##_start,_binary____data_fonts_##_name##_end, _size)
+#define load_bitmap(_name) assets_load_bitmap(_binary____data_imgs_##_name##_start,_binary____data_imgs_##_name##_end)
#endif \ No newline at end of file
diff --git a/src/localization.c b/src/localization.c
index 7271415..7909d6e 100644
--- a/src/localization.c
+++ b/src/localization.c
@@ -114,7 +114,7 @@ void load_available_localizations()
{
global_localization.mo_files = array_create(sizeof(mo_file));
array_reserve(&global_localization.mo_files, 10);
-
+ /*
mo_file en = load_localization_file(_binary_data_translations_en_English_mo_start,
_binary_data_translations_en_English_mo_end,
_binary_data_imgs_en_bmp_start,
@@ -129,6 +129,7 @@ void load_available_localizations()
array_push(&global_localization.mo_files, &en);
array_push(&global_localization.mo_files, &nl);
+ */
}
void destroy_available_localizations()