Skip to content

Commit a7e62e7

Browse files
committed
REXM: REMOVE: example: core_loading_thread
This example was POSIX only and had some special requirements for web, it made it more difficult to be managed from collection standard examples format. It will be re-added in the `others` category, that is not processed for web.
1 parent 5cbe013 commit a7e62e7

File tree

7 files changed

+20
-759
lines changed

7 files changed

+20
-759
lines changed

examples/Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,6 @@ CORE = \
525525
core/core_input_mouse_wheel \
526526
core/core_input_multitouch \
527527
core/core_input_virtual_controls \
528-
core/core_loading_thread \
529528
core/core_random_sequence \
530529
core/core_random_values \
531530
core/core_scissor_test \
@@ -563,7 +562,6 @@ TEXTURES = \
563562
textures/textures_background_scrolling \
564563
textures/textures_blend_modes \
565564
textures/textures_bunnymark \
566-
textures/textures_tiled_drawing \
567565
textures/textures_fog_of_war \
568566
textures/textures_gif_player \
569567
textures/textures_image_channel \
@@ -585,19 +583,20 @@ TEXTURES = \
585583
textures/textures_sprite_explosion \
586584
textures/textures_srcrec_dstrec \
587585
textures/textures_textured_curve \
586+
textures/textures_tiled_drawing \
588587
textures/textures_to_image
589588

590589
TEXT = \
591-
text/text_codepoints_loading \
592590
text/text_3d_drawing \
591+
text/text_codepoints_loading \
593592
text/text_font_filters \
594593
text/text_font_loading \
595594
text/text_font_sdf \
596595
text/text_font_spritefont \
597596
text/text_format_text \
598597
text/text_input_box \
599-
text/text_sprite_fonts \
600598
text/text_rectangle_bounds \
599+
text/text_sprite_fonts \
601600
text/text_unicode_emojis \
602601
text/text_unicode_ranges \
603602
text/text_writing_anim

examples/Makefile.Web

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,6 @@ CORE = \
525525
core/core_input_mouse_wheel \
526526
core/core_input_multitouch \
527527
core/core_input_virtual_controls \
528-
core/core_loading_thread \
529528
core/core_random_sequence \
530529
core/core_random_values \
531530
core/core_scissor_test \
@@ -563,7 +562,6 @@ TEXTURES = \
563562
textures/textures_background_scrolling \
564563
textures/textures_blend_modes \
565564
textures/textures_bunnymark \
566-
textures/textures_tiled_drawing \
567565
textures/textures_fog_of_war \
568566
textures/textures_gif_player \
569567
textures/textures_image_channel \
@@ -585,19 +583,20 @@ TEXTURES = \
585583
textures/textures_sprite_explosion \
586584
textures/textures_srcrec_dstrec \
587585
textures/textures_textured_curve \
586+
textures/textures_tiled_drawing \
588587
textures/textures_to_image
589588

590589
TEXT = \
591-
text/text_codepoints_loading \
592590
text/text_3d_drawing \
591+
text/text_codepoints_loading \
593592
text/text_font_filters \
594593
text/text_font_loading \
595594
text/text_font_sdf \
596595
text/text_font_spritefont \
597596
text/text_format_text \
598597
text/text_input_box \
599-
text/text_sprite_fonts \
600598
text/text_rectangle_bounds \
599+
text/text_sprite_fonts \
601600
text/text_unicode_emojis \
602601
text/text_unicode_ranges \
603602
text/text_writing_anim
@@ -760,9 +759,6 @@ core/core_input_multitouch: core/core_input_multitouch.c
760759
core/core_input_virtual_controls: core/core_input_virtual_controls.c
761760
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM)
762761

763-
core/core_loading_thread: core/core_loading_thread.c
764-
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM)
765-
766762
core/core_random_sequence: core/core_random_sequence.c
767763
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM)
768764

@@ -871,10 +867,6 @@ textures/textures_bunnymark: textures/textures_bunnymark.c
871867
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
872868
--preload-file textures/resources/wabbit_alpha.png@resources/wabbit_alpha.png
873869

874-
textures/textures_tiled_drawing: textures/textures_tiled_drawing.c
875-
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
876-
--preload-file textures/resources/patterns.png@resources/patterns.png
877-
878870
textures/textures_fog_of_war: textures/textures_fog_of_war.c
879871
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM)
880872

@@ -961,19 +953,23 @@ textures/textures_textured_curve: textures/textures_textured_curve.c
961953
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
962954
--preload-file textures/resources/road.png@resources/road.png
963955

956+
textures/textures_tiled_drawing: textures/textures_tiled_drawing.c
957+
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
958+
--preload-file textures/resources/patterns.png@resources/patterns.png
959+
964960
textures/textures_to_image: textures/textures_to_image.c
965961
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
966962
--preload-file textures/resources/raylib_logo.png@resources/raylib_logo.png
967963

968964
# Compile TEXT examples
969-
text/text_codepoints_loading: text/text_codepoints_loading.c
970-
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
971-
--preload-file text/resources/DotGothic16-Regular.ttf@resources/DotGothic16-Regular.ttf
972-
973965
text/text_3d_drawing: text/text_3d_drawing.c
974966
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
975967
--preload-file text/resources/shaders/glsl100/alpha_discard.fs@resources/shaders/glsl100/alpha_discard.fs
976968

969+
text/text_codepoints_loading: text/text_codepoints_loading.c
970+
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
971+
--preload-file text/resources/DotGothic16-Regular.ttf@resources/DotGothic16-Regular.ttf
972+
977973
text/text_font_filters: text/text_font_filters.c
978974
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
979975
--preload-file text/resources/KAISG.ttf@resources/KAISG.ttf
@@ -998,6 +994,9 @@ text/text_format_text: text/text_format_text.c
998994
text/text_input_box: text/text_input_box.c
999995
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM)
1000996

997+
text/text_rectangle_bounds: text/text_rectangle_bounds.c
998+
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM)
999+
10011000
text/text_sprite_fonts: text/text_sprite_fonts.c
10021001
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
10031002
--preload-file text/resources/sprite_fonts/alagard.png@resources/sprite_fonts/alagard.png \
@@ -1009,9 +1008,6 @@ text/text_sprite_fonts: text/text_sprite_fonts.c
10091008
--preload-file text/resources/sprite_fonts/alpha_beta.png@resources/sprite_fonts/alpha_beta.png \
10101009
--preload-file text/resources/sprite_fonts/jupiter_crash.png@resources/sprite_fonts/jupiter_crash.png
10111010

1012-
text/text_rectangle_bounds: text/text_rectangle_bounds.c
1013-
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM)
1014-
10151011
text/text_unicode_emojis: text/text_unicode_emojis.c
10161012
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
10171013
--preload-file text/resources/dejavu.fnt@resources/dejavu.fnt \

examples/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ You may find it easier to use than other toolchains, especially when it comes to
1616
- `zig build [module]` to compile all examples for a module (e.g. `zig build core`)
1717
- `zig build [example]` to compile _and run_ a particular example (e.g. `zig build core_basic_window`)
1818

19-
## EXAMPLES COLLECTION [TOTAL: 162]
19+
## EXAMPLES COLLECTION [TOTAL: 161]
2020

21-
### category: core [37]
21+
### category: core [36]
2222

2323
Examples using raylib[core](../src/rcore.c) platform functionality like window creation, inputs, drawing modes and system functionality.
2424

@@ -51,7 +51,6 @@ Examples using raylib[core](../src/rcore.c) platform functionality like window c
5151
| [core_random_values](core/core_random_values.c) | <img src="core/core_random_values.png" alt="core_random_values" width="80"> | ⭐☆☆☆ | 1.1 | 1.1 | [Ramon Santamaria](https://github.com/raysan5) |
5252
| [core_storage_values](core/core_storage_values.c) | <img src="core/core_storage_values.png" alt="core_storage_values" width="80"> | ⭐⭐☆☆ | 1.4 | 4.2 | [Ramon Santamaria](https://github.com/raysan5) |
5353
| [core_vr_simulator](core/core_vr_simulator.c) | <img src="core/core_vr_simulator.png" alt="core_vr_simulator" width="80"> | ⭐⭐⭐☆ | 2.5 | 4.0 | [Ramon Santamaria](https://github.com/raysan5) |
54-
| [core_loading_thread](core/core_loading_thread.c) | <img src="core/core_loading_thread.png" alt="core_loading_thread" width="80"> | ⭐⭐⭐☆ | 2.5 | 3.0 | [Ramon Santamaria](https://github.com/raysan5) |
5554
| [core_scissor_test](core/core_scissor_test.c) | <img src="core/core_scissor_test.png" alt="core_scissor_test" width="80"> | ⭐☆☆☆ | 2.5 | 3.0 | [Chris Dill](https://github.com/MysteriousSpace) |
5655
| [core_basic_screen_manager](core/core_basic_screen_manager.c) | <img src="core/core_basic_screen_manager.png" alt="core_basic_screen_manager" width="80"> | ⭐☆☆☆ | 4.0 | 4.0 | [Ramon Santamaria](https://github.com/raysan5) |
5756
| [core_custom_frame_control](core/core_custom_frame_control.c) | <img src="core/core_custom_frame_control.png" alt="core_custom_frame_control" width="80"> | ⭐⭐⭐⭐️ | 4.0 | 4.0 | [Ramon Santamaria](https://github.com/raysan5) |
@@ -138,9 +137,9 @@ Examples using raylib text functionality, including sprite fonts loading/generat
138137
| [text_writing_anim](text/text_writing_anim.c) | <img src="text/text_writing_anim.png" alt="text_writing_anim" width="80"> | ⭐⭐☆☆ | 1.4 | 1.4 | [Ramon Santamaria](https://github.com/raysan5) |
139138
| [text_rectangle_bounds](text/text_rectangle_bounds.c) | <img src="text/text_rectangle_bounds.png" alt="text_rectangle_bounds" width="80"> | ⭐⭐⭐⭐️ | 2.5 | 4.0 | [Vlad Adrian](https://github.com/demizdor) |
140139
| [text_unicode_emojis](text/text_unicode_emojis.c) | <img src="text/text_unicode_emojis.png" alt="text_unicode_emojis" width="80"> | ⭐⭐⭐⭐️ | 2.5 | 4.0 | [Vlad Adrian](https://github.com/demizdor) |
140+
| [text_unicode_ranges](text/text_unicode_ranges.c) | <img src="text/text_unicode_ranges.png" alt="text_unicode_ranges" width="80"> | ⭐⭐⭐⭐️ | 5.5 | 5.6 | [Vlad Adrian](https://github.com/demizdor) |
141141
| [text_3d_drawing](text/text_3d_drawing.c) | <img src="text/text_3d_drawing.png" alt="text_3d_drawing" width="80"> | ⭐⭐⭐⭐️ | 3.5 | 4.0 | [Vlad Adrian](https://github.com/demizdor) |
142142
| [text_codepoints_loading](text/text_codepoints_loading.c) | <img src="text/text_codepoints_loading.png" alt="text_codepoints_loading" width="80"> | ⭐⭐⭐☆ | 4.2 | 4.2 | [Ramon Santamaria](https://github.com/raysan5) |
143-
| [text_unicode_ranges](text/text_unicode_ranges.c) | <img src="text/text_unicode_ranges.png" alt="text_unicode_ranges" width="80"> | ⭐⭐⭐⭐️ | 2.5 | 4.0 | [Vlad Adrian](https://github.com/demizdor) |
144143

145144
### category: models [23]
146145

examples/core/core_loading_thread.c

Lines changed: 0 additions & 163 deletions
This file was deleted.
-14.7 KB
Binary file not shown.

examples/examples_list.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ core;core_drop_files;⭐️⭐️☆☆;1.3;4.2;"Ramon Santamaria";@raysan5
3434
core;core_random_values;⭐️☆☆☆;1.1;1.1;"Ramon Santamaria";@raysan5
3535
core;core_storage_values;⭐️⭐️☆☆;1.4;4.2;"Ramon Santamaria";@raysan5
3636
core;core_vr_simulator;⭐️⭐️⭐️☆;2.5;4.0;"Ramon Santamaria";@raysan5
37-
core;core_loading_thread;⭐️⭐️⭐️☆;2.5;3.0;"Ramon Santamaria";@raysan5
3837
core;core_scissor_test;⭐️☆☆☆;2.5;3.0;"Chris Dill";@MysteriousSpace
3938
core;core_basic_screen_manager;⭐️☆☆☆;4.0;4.0;"Ramon Santamaria";@raysan5
4039
core;core_custom_frame_control;⭐️⭐️⭐️⭐️;4.0;4.0;"Ramon Santamaria";@raysan5

0 commit comments

Comments
 (0)