REXM: UPDATED: Examples source code header info, aligned with name

This commit is contained in:
Ray
2025-09-07 12:01:51 +02:00
parent 4020885c35
commit 25f4e544d1
68 changed files with 138 additions and 138 deletions

View File

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [core] example - 3d first-person camera controller
* raylib [core] example - 3d camera fps
*
* Example complexity rating: [★★★☆] 3/4
*
@ -11,7 +11,7 @@
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
* BSD-like license that allows static linking with closed source software
*
* Copyright (c) 2025-2025 Agnis Aldins (@nezvers)
* Copyright (c) 2025 Agnis Aldins (@nezvers)
*
********************************************************************************************/
@ -80,7 +80,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [core] example - 3d first-person camera controller");
InitWindow(screenWidth, screenHeight, "raylib [core] example - 3d camera fps");
// Initialize camera variables
// NOTE: UpdateCameraFPS() takes care of the rest

View File

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [core] example - gamepad input
* raylib [core] example - input gamepad
*
* Example complexity rating: [★☆☆☆] 1/4
*
@ -38,7 +38,7 @@ int main(void)
SetConfigFlags(FLAG_MSAA_4X_HINT); // Set MSAA 4X hint before windows creation
InitWindow(screenWidth, screenHeight, "raylib [core] example - gamepad input");
InitWindow(screenWidth, screenHeight, "raylib [core] example - input gamepad");
Texture2D texPs3Pad = LoadTexture("resources/ps3.png");
Texture2D texXboxPad = LoadTexture("resources/xbox.png");

View File

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [core] example - keyboard input
* raylib [core] example - input keys
*
* Example complexity rating: [★☆☆☆] 1/4
*
@ -25,7 +25,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [core] example - keyboard input");
InitWindow(screenWidth, screenHeight, "raylib [core] example - input keys");
Vector2 ballPosition = { (float)screenWidth/2, (float)screenHeight/2 };

View File

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [core] example - mouse input
* raylib [core] example - input mouse
*
* Example complexity rating: [★☆☆☆] 1/4
*
@ -25,7 +25,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [core] example - mouse input");
InitWindow(screenWidth, screenHeight, "raylib [core] example - input mouse");
Vector2 ballPosition = { -100.0f, -100.0f };
Color ballColor = DARKBLUE;

View File

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [core] example - generate random sequence
* raylib [core] example - random sequence
*
* Example complexity rating: [★☆☆☆] 1/4
*
@ -45,7 +45,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [core] example - generate random sequence");
InitWindow(screenWidth, screenHeight, "raylib [core] example - random sequence");
int rectCount = 20;
float rectSize = (float)screenWidth/rectCount;

View File

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [core] example - generate random values
* raylib [core] example - random values
*
* Example complexity rating: [★☆☆☆] 1/4
*
@ -25,7 +25,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [core] example - generate random values");
InitWindow(screenWidth, screenHeight, "raylib [core] example - random values");
// SetRandomSeed(0xaabbccff); // Set a custom random seed if desired, by default: "time(NULL)"

View File

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [core] example - smooth pixel-perfect camera
* raylib [core] example - smooth pixelperfect
*
* Example complexity rating: [★★★☆] 3/4
*
@ -35,7 +35,7 @@ int main(void)
const float virtualRatio = (float)screenWidth/(float)virtualScreenWidth;
InitWindow(screenWidth, screenHeight, "raylib [core] example - smooth pixel-perfect camera");
InitWindow(screenWidth, screenHeight, "raylib [core] example - smooth pixelperfect");
Camera2D worldSpaceCamera = { 0 }; // Game world camera
worldSpaceCamera.zoom = 1.0f;

View File

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [core] example - storage save/load values
* raylib [core] example - storage values
*
* Example complexity rating: [★★☆☆] 2/4
*
@ -41,7 +41,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [core] example - storage save/load values");
InitWindow(screenWidth, screenHeight, "raylib [core] example - storage values");
int score = 0;
int hiscore = 0;

View File

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [core] example - window scale letterbox
* raylib [core] example - window letterbox
*
* Example complexity rating: [★★☆☆] 2/4
*
@ -32,7 +32,7 @@ int main(void)
// Enable config flags for resizable window and vertical synchro
SetConfigFlags(FLAG_WINDOW_RESIZABLE | FLAG_VSYNC_HINT);
InitWindow(screenWidth, screenHeight, "raylib [core] example - window scale letterbox");
InitWindow(screenWidth, screenHeight, "raylib [core] example - window letterbox");
SetWindowMinSize(320, 240);
int gameScreenWidth = 640;

View File

@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [core] example - core world screen
* raylib [core] example - world screen
*
* Example complexity rating: [★★☆☆] 2/4
*
@ -25,7 +25,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [core] example - core world screen");
InitWindow(screenWidth, screenHeight, "raylib [core] example - world screen");
// Define the camera to look into our 3d world
Camera camera = { 0 };