|
@@ -41,7 +41,7 @@
|
|
|
|
|
|
- raylib/examples/<category>/<category>_example_name.c
|
|
- raylib/examples/<category>/<category>_example_name.c
|
|
- raylib/examples/<category>/<category>_example_name.png
|
|
- raylib/examples/<category>/<category>_example_name.png
|
|
- - raylib/examples/<category>/resources/*.*
|
|
|
|
|
|
+ - raylib/examples/<category>/resources/..
|
|
- raylib/examples/Makefile
|
|
- raylib/examples/Makefile
|
|
- raylib/examples/Makefile.Web
|
|
- raylib/examples/Makefile.Web
|
|
- raylib/examples/README.md
|
|
- raylib/examples/README.md
|
|
@@ -104,9 +104,11 @@ int main(void)
|
|
|
|
|
|
ClearBackground(RAYWHITE);
|
|
ClearBackground(RAYWHITE);
|
|
|
|
|
|
- // TODO: Draw everything that requires to be drawn at this point:
|
|
|
|
|
|
+ // TODO: Draw everything that requires to be drawn at this point
|
|
|
|
|
|
- DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY); // Example
|
|
|
|
|
|
+ DrawLineEx((Vector2){ 0, 0 }, (Vector2){ screenWidth, screenHeight }, 2.0f, RED);
|
|
|
|
+ DrawLineEx((Vector2){ 0, screenHeight }, (Vector2){ screenWidth, 0 }, 2.0f, RED);
|
|
|
|
+ DrawText("example base code template", 260, 400, 20, LIGHTGRAY);
|
|
|
|
|
|
EndDrawing();
|
|
EndDrawing();
|
|
//----------------------------------------------------------------------------------
|
|
//----------------------------------------------------------------------------------
|