novayo / Mario_cplus

MIT License
0 stars 0 forks source link

Neat main file #7

Closed novayo closed 2 months ago

novayo commented 2 months ago
  1. Rename main.cpp to main.cc
  2. Rename unclear variable (win, rend)
    • win => window: Means the window obj. We could draw any SDL_Rendereron the window obj.
    • rend => surface: A SDL_Renderer obj. We just need to know to draw anything on this surface obj.
  3. Remove 5 sec close window logic
    • No needed for this project.
  4. Modify the compiled file name to main.out
    • *.out is in .gitignore file to avoid adding compiled files in a commit.