summaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
2022-12-17styling: Reformat the entire code base based on clang-formatJohnny Richard
The following command has been executed: clang-format -i src/*.c src/*.h test/*.c Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
2022-12-13refactor: extract screen management from main into a moduleFabio Maciel
2022-04-20player: Introduce player objectJohnny Richard
2022-04-20Add screen limit collisionJohnny Richard
2022-04-20main: Define SDL_RenderSetLogicalSizeJohnny Richard
2022-04-20main: Start using renderer and set 60 fpsJohnny Richard
2021-11-14main.c: Rename surface variableJohnny Richard
2021-11-14main.c: Fix SDL initializaiton error messageJohnny Richard
2021-11-14main.c: Set window title to Blast AttackJohnny Richard
2021-11-14controller_t: Reduce memory usage using bitwiseJohnny Richard
2021-11-05polish: Reformat main.c to not exceed 80 columnsJohnny Richard
Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
2021-11-02docs: Add BSD 3-Clause LicenseJohnny Richard
Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
2021-10-28Move controller update to a new update functionJohnny Richard
Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
2021-10-28Add controller to its own header fileJohnny Richard
Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
2021-10-28Create simple red rect controlled by arrow keysFabio Maciel
Signed-off-by: Fabio Maciel <fabiomsdev@gmail.com> Co-authored-by: Johnny Richard <johnny@johnnyrichard.com>