mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-28 17:59:17 -05:00
BREAKING CHANGE: Renamed SpriteFont type to Font
- Preparing MP3 files support - Jumped version to raylib 2.0-dev (too many breaking changes...)
This commit is contained in:
@ -68,7 +68,7 @@ int main(void)
|
||||
|
||||
UnloadImage(image); // Unload image from CPU memory (RAM)
|
||||
|
||||
font = LoadSpriteFont("resources/font_arcadian.png");
|
||||
font = LoadFont("resources/font_arcadian.png");
|
||||
//doors = LoadTexture("resources/textures/doors.png");
|
||||
//sndDoor = LoadSound("resources/audio/door.ogg");
|
||||
|
||||
@ -106,7 +106,7 @@ int main(void)
|
||||
}
|
||||
|
||||
// Unload all global loaded data (i.e. fonts) here!
|
||||
UnloadSpriteFont(font);
|
||||
UnloadFont(font);
|
||||
//UnloadSound(sndDoor);
|
||||
|
||||
UnloadMusicStream(music);
|
||||
|
||||
@ -35,7 +35,7 @@ typedef enum GameScreen { LOGO_RL = 0, TITLE, GAMEPLAY } GameScreen;
|
||||
// Global Variables Definition
|
||||
//----------------------------------------------------------------------------------
|
||||
GameScreen currentScreen;
|
||||
SpriteFont font;
|
||||
Font font;
|
||||
|
||||
Color *lightsMap;
|
||||
int lightsMapWidth, lightsMapHeight;
|
||||
|
||||
Reference in New Issue
Block a user