Commit 310fcaa
committed
Code Restructure To Reduce Disk Usage and Help Readability
- Move from github-submodule structure to use CMake's native
dependency management facilities. (https://cmake.org/cmake/help/latest/guide/using-dependencies/index.html). Ideally the dependencies are to be installed using native mechanisms like vcpkg on windows, the linux distribution package manager or homebrew for mac. CMake will find the installed versions as a first option but build the dependencies if not available in the Build Directory at Build time. The linux_build code action is an example of this working in linux.
- Restructure The #include statements to indicate the project source,
this prevents confusion and is easier to read at the source file. It is also a consistent
way to describe the included header and to reason about the include
structure. This also is to pave the way to converting to modules.
- Explicit Code file declaration in CMake as opposed to File Globbing
which is only run once during build system generation. When creating a
new file, it is suggested to specify it in the CMake File which will
enhance tracking and ensure that it is picked up at build time due to
changes in the CMake Files.
- Changed Bitmap.h to utf-8 from iso-8859
- Changed from MSVC style of pre-compiled headers, just using plain
header includes for portability. Another benefit is storage savings as
the pch file was taking up too much space(in my experience)1 parent d8aa9f3 commit 310fcaa
File tree
256 files changed
+1306
-1461
lines changed- .github/workflows
- Scripts
- Tetragrama
- Components
- Events
- Controllers
- Helpers
- Importers
- Layers
- Managers
- Messengers
- Serializers
- ZEngine
- ZEngine
- Core
- Containers
- Maths
- Memory
- Event
- Hardwares
- Helpers
- Logging
- Maths
- Rendering
- Buffers
- Cameras
- Components
- Entities
- Geometries
- Lights
- Materials
- Meshes
- Pools
- Primitives
- Renderers
- Pipelines
- RenderPasses
- Storages
- Scenes
- Shaders
- Compilers
- Specifications
- Textures
- Serializers
- Windows
- Events
- Inputs
- Layers
- tests
- Containers
- Maths
- Memory
- Misc
- __externals
- imgui
- rapidhash
- tlsf
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
256 files changed
+1306
-1461
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 13 | + | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 17 | + | |
47 | 18 | | |
48 | | - | |
49 | | - | |
| 19 | + | |
| 20 | + | |
50 | 21 | | |
51 | | - | |
52 | | - | |
| 22 | + | |
| 23 | + | |
53 | 24 | | |
54 | | - | |
55 | | - | |
| 25 | + | |
| 26 | + | |
56 | 27 | | |
57 | | - | |
58 | | - | |
59 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
8 | 6 | | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
10 | 15 | | |
11 | 16 | | |
12 | 17 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 22 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 43 | + | |
69 | 44 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
73 | 48 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
78 | 52 | | |
79 | 53 | | |
80 | 54 | | |
81 | | - | |
| 55 | + | |
82 | 56 | | |
83 | | - | |
84 | | - | |
85 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
86 | 61 | | |
87 | 62 | | |
88 | 63 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
110 | 76 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
0 commit comments