issues
search
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
Rename main.cpp to main.cc
Google C++ style guide
Rename unclear variable (win, rend)
win => window: Means the window obj. We could draw any
SDL_Renderer
on the window obj.
rend => surface: A
SDL_Renderer
obj. We just need to know to draw anything on this surface obj.
Remove 5 sec close window logic
No needed for this project.
Modify the compiled file name to main.out
*.out
is in .gitignore file to avoid adding compiled files in a commit.
SDL_Renderer
on the window obj.SDL_Renderer
obj. We just need to know to draw anything on this surface obj.*.out
is in .gitignore file to avoid adding compiled files in a commit.