annotate semicongine.nim @ 1362:3dbf77ca78b9

did: refactor loading, adding threaded background loading (still missing stuff though)
author sam <sam@basx.dev>
date Mon, 04 Nov 2024 23:27:30 +0700
parents 6d0162bfe48a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
1 import ./semicongine/core
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
2 export core
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
3
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
4 import ./semicongine/resources
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
5 export resources
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
6
1362
3dbf77ca78b9 did: refactor loading, adding threaded background loading (still missing stuff though)
sam <sam@basx.dev>
parents: 1299
diff changeset
7 import ./semicongine/loaders
3dbf77ca78b9 did: refactor loading, adding threaded background loading (still missing stuff though)
sam <sam@basx.dev>
parents: 1299
diff changeset
8 export loaders
3dbf77ca78b9 did: refactor loading, adding threaded background loading (still missing stuff though)
sam <sam@basx.dev>
parents: 1299
diff changeset
9
3dbf77ca78b9 did: refactor loading, adding threaded background loading (still missing stuff though)
sam <sam@basx.dev>
parents: 1299
diff changeset
10 import ./semicongine/background_loader
3dbf77ca78b9 did: refactor loading, adding threaded background loading (still missing stuff though)
sam <sam@basx.dev>
parents: 1299
diff changeset
11 export background_loader
3dbf77ca78b9 did: refactor loading, adding threaded background loading (still missing stuff though)
sam <sam@basx.dev>
parents: 1299
diff changeset
12
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
13 import ./semicongine/image
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
14 export image
1267
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
15
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
16 import ./semicongine/events
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
17 import ./semicongine/rendering
1299
6d0162bfe48a did: finish mentioned refactoring, no API changes still
sam <sam@basx.dev>
parents: 1298
diff changeset
18 import ./semicongine/rendering/vulkan/api
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
19 export events
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
20 export rendering
1299
6d0162bfe48a did: finish mentioned refactoring, no API changes still
sam <sam@basx.dev>
parents: 1298
diff changeset
21 export api
1267
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
22
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
23 import ./semicongine/storage
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
24 import ./semicongine/input
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
25 export storage
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
26 export input
1267
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
27
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
28 import ./semicongine/audio
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
29 export audio
1267
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
30
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
31 # texture packing is required for font atlas
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
32 import ./semicongine/text
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
33 export text
1267
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
34
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
35 import ./semicongine/gltf
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
36 export gltf
1267
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
37
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
38 when not defined(WITHOUT_CONTRIB):
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
39 import ./semicongine/contrib/steam
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
40 import ./semicongine/contrib/settings
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
41 import ./semicongine/contrib/algorithms/texture_packing
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
42 import ./semicongine/contrib/algorithms/collision
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
43 import ./semicongine/contrib/algorithms/noise
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
44 export steam
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
45 export settings
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
46 export texture_packing
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
47 export collision
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
48 export noise