A simple STG Game for 2017 Programming Lesson.
You can see a completed version which have basis functions in branch master.
src/main.cpp
src/SDL2_header.cpp
include/SDL2_header.h
include/res_path.h
include/cleanup.h
include/pointd.h
res/...
src/SDL2_header.cpp
include/res_path.h
include/cleanup.h
include/pointd.h
src/main2.cpp
You can use muti-file structures now.
A bug about memory-leak has been fixed.
-
Rename pointd.hpp -> pointd.h
-
Add new file: src/SDL2_header.cpp
-
Modify files in include folder.
-
add duration_i
-
fixed main.cpp & main2.cpp memory leak bug
( in drawHint(), a value of Image* did not call clearup() )