Browse Source

REMOVED: ShowLogo()

Same functionality could be achieved using FLAGS... but also considering removing raylib logo animation...
raysan5 6 năm trước cách đây
mục cha
commit
644eddda11
4 tập tin đã thay đổi với 0 bổ sung9 xóa
  1. 0 1
      games/drturtle/06_drturtle_final.c
  2. 0 1
      games/koala_seasons/koala_seasons.c
  3. 0 6
      src/core.c
  4. 0 1
      src/raylib.h

+ 0 - 1
games/drturtle/06_drturtle_final.c

@@ -35,7 +35,6 @@ int main()
     const int screenHeight = 720;
     
     // Init window
-    ShowLogo();
     InitWindow(screenWidth, screenHeight, "Dr. Turtle & Mr. GAMERA");
     
     // Initialize audio device

+ 0 - 1
games/koala_seasons/koala_seasons.c

@@ -50,7 +50,6 @@ int main(void) {
     const int screenHeight = 720;
 	const char windowTitle[30] = "KOALA SEASONS";
     
-    //ShowLogo();
     //SetConfigFlags(FLAG_FULLSCREEN_MODE);
     
     // Note that windowTitle is ignored on Android

+ 0 - 6
src/core.c

@@ -1461,12 +1461,6 @@ Color Fade(Color color, float alpha)
     return (Color){color.r, color.g, color.b, (unsigned char)(255.0f*alpha)};
 }
 
-// Activate raylib logo at startup (can be done with flags)
-void ShowLogo(void)
-{
-    showLogo = true;
-}
-
 // Setup window configuration flags (view FLAGS)
 void SetConfigFlags(unsigned char flags)
 {

+ 0 - 1
src/raylib.h

@@ -878,7 +878,6 @@ RLAPI Color GetColor(int hexValue);                               // Returns a C
 RLAPI Color Fade(Color color, float alpha);                       // Color fade-in or fade-out, alpha goes from 0.0f to 1.0f
 
 // Misc. functions
-RLAPI void ShowLogo(void);                                        // Activate raylib logo at startup (can be done with flags)
 RLAPI void SetConfigFlags(unsigned char flags);                   // Setup window configuration flags (view FLAGS)
 RLAPI void SetTraceLog(unsigned char types);                      // Enable trace log message types (bit flags based)
 RLAPI void SetTraceLogCallback(TraceLogCallback callback);        // Set a trace log callback to enable custom logging bypassing raylib's one