Mercurial > games > semicongine
comparison semicongine.nim @ 1298:1feaa8a97acf
did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
author | sam <sam@basx.dev> |
---|---|
date | Tue, 06 Aug 2024 17:31:13 +0700 |
parents | 01138e6257dd |
children | 6d0162bfe48a |
comparison
equal
deleted
inserted
replaced
1297:4403569112b5 | 1298:1feaa8a97acf |
---|---|
1 import std/algorithm | 1 import ./semicongine/core |
2 import std/dynlib | 2 export core |
3 import std/endians | |
4 import std/enumerate | |
5 import std/hashes | |
6 import std/json | |
7 import std/locks | |
8 import std/logging | |
9 import std/marshal | |
10 import std/math | |
11 import std/macros | |
12 import std/monotimes | |
13 import std/os | |
14 import std/options | |
15 import std/parsecfg | |
16 import std/parseutils | |
17 import std/paths | |
18 import std/random | |
19 import std/sequtils | |
20 import std/sets | |
21 import std/strformat | |
22 import std/streams | |
23 import std/strutils | |
24 import std/tables | |
25 import std/times | |
26 import std/typetraits | |
27 import std/unicode | |
28 | 3 |
4 import ./semicongine/resources | |
5 export resources | |
29 | 6 |
30 include ./semicongine/rendering/vulkan/api | 7 import ./semicongine/image |
31 include ./semicongine/core | 8 export image |
32 | 9 |
33 setLogFilter(ENGINE_LOGLEVEL) | 10 import ./semicongine/events |
11 import ./semicongine/rendering | |
12 export events | |
13 export rendering | |
34 | 14 |
35 include ./semicongine/resources | 15 import ./semicongine/storage |
16 import ./semicongine/input | |
17 export storage | |
18 export input | |
36 | 19 |
37 include ./semicongine/image | 20 import ./semicongine/audio |
38 | 21 export audio |
39 include ./semicongine/events | |
40 include ./semicongine/rendering | |
41 | |
42 include ./semicongine/storage | |
43 include ./semicongine/input | |
44 | |
45 include ./semicongine/audio | |
46 | 22 |
47 # texture packing is required for font atlas | 23 # texture packing is required for font atlas |
48 include ./semicongine/contrib/algorithms/texture_packing | 24 import ./semicongine/text |
49 include ./semicongine/text | 25 export text |
50 | 26 |
51 include ./semicongine/gltf | 27 import ./semicongine/gltf |
28 export gltf | |
52 | 29 |
53 when not defined(WITHOUT_CONTRIB): | 30 when not defined(WITHOUT_CONTRIB): |
54 include ./semicongine/contrib/steam | 31 import ./semicongine/contrib/steam |
55 include ./semicongine/contrib/settings | 32 import ./semicongine/contrib/settings |
56 include ./semicongine/contrib/algorithms/collision | 33 import ./semicongine/contrib/algorithms/texture_packing |
57 include ./semicongine/contrib/algorithms/noise | 34 import ./semicongine/contrib/algorithms/collision |
35 import ./semicongine/contrib/algorithms/noise | |
36 export steam | |
37 export settings | |
38 export texture_packing | |
39 export collision | |
40 export noise |