GCC Code Coverage Report


Directory: ./
File: sources/System/system_windows_manager.c
Date: 2023-09-29 04:53:15
Exec Total Coverage
Lines: 0 8 0.0%
Branches: 0 2 0.0%

Line Branch Exec Source
1 /*
2 * Filename: windows_manager.c
3 * Path: sources/System
4 * Created Date: Friday, March 10th 2023, 6:57:13 pm
5 * Author: Thomas
6 *
7 * Copyright (c) 2023 our_rpg
8 */
9
10 #include "components.h"
11 #include "raylib.h"
12 #include "systems.h"
13 #include "world.h"
14
15 int system_windows_manager_constructor(system_t *system)
16 {
17 system->type = S_WINDOW_MANAGER;
18 system->run = &system_windows_manager;
19 system->active = true;
20 return 0;
21 }
22
23 int system_windows_manager(void *ptr)
24 {
25 if (WindowShouldClose())
26 return -1;
27 return 0;
28 }
29