Mercurial > games > semicongine
annotate semiconginev2.nim @ 1246:356089365076
add: gltf model for tests
| author | sam <sam@basx.dev> |
|---|---|
| date | Wed, 24 Jul 2024 20:12:19 +0700 |
| parents | d594b1d07d49 |
| children | 01e9f41d35b1 |
| rev | line source |
|---|---|
| 1191 | 1 import std/algorithm |
| 2 import std/dynlib | |
| 1225 | 3 import std/endians |
| 1191 | 4 import std/enumerate |
| 5 import std/hashes | |
| 1225 | 6 import std/json |
|
1224
a3fa15c25026
did: cleanup, add audio, change platform-dependent structure
sam <sam@basx.dev>
parents:
1223
diff
changeset
|
7 import std/locks |
| 1191 | 8 import std/logging |
| 1199 | 9 import std/marshal |
| 1191 | 10 import std/math |
| 11 import std/macros | |
|
1214
04e446a7eb2b
add: multipass renderer, finish tets for now
sam <sam@basx.dev>
parents:
1201
diff
changeset
|
12 import std/monotimes |
| 1191 | 13 import std/os |
| 14 import std/options | |
| 1225 | 15 import std/parsecfg |
| 1226 | 16 import std/parseutils |
| 1191 | 17 import std/paths |
| 18 import std/random | |
| 19 import std/sequtils | |
| 1225 | 20 import std/sets |
| 1191 | 21 import std/strformat |
| 1225 | 22 import std/streams |
| 1191 | 23 import std/strutils |
| 24 import std/tables | |
|
1214
04e446a7eb2b
add: multipass renderer, finish tets for now
sam <sam@basx.dev>
parents:
1201
diff
changeset
|
25 import std/times |
| 1201 | 26 import std/typetraits |
| 1225 | 27 import std/unicode |
| 1191 | 28 |
| 1226 | 29 |
|
1223
55896320c8bf
fix: references to new package not updated
sam <sam@basx.dev>
parents:
1217
diff
changeset
|
30 include ./semiconginev2/rendering/vulkan/api |
|
55896320c8bf
fix: references to new package not updated
sam <sam@basx.dev>
parents:
1217
diff
changeset
|
31 include ./semiconginev2/core |
| 1199 | 32 |
| 1226 | 33 setLogFilter(ENGINE_LOGLEVEL) |
| 34 | |
| 1225 | 35 include ./semiconginev2/resources |
|
1224
a3fa15c25026
did: cleanup, add audio, change platform-dependent structure
sam <sam@basx.dev>
parents:
1223
diff
changeset
|
36 |
| 1242 | 37 include ./semiconginev2/image |
| 38 | |
|
1223
55896320c8bf
fix: references to new package not updated
sam <sam@basx.dev>
parents:
1217
diff
changeset
|
39 include ./semiconginev2/events |
|
55896320c8bf
fix: references to new package not updated
sam <sam@basx.dev>
parents:
1217
diff
changeset
|
40 include ./semiconginev2/rendering |
| 1199 | 41 |
|
1223
55896320c8bf
fix: references to new package not updated
sam <sam@basx.dev>
parents:
1217
diff
changeset
|
42 include ./semiconginev2/storage |
|
55896320c8bf
fix: references to new package not updated
sam <sam@basx.dev>
parents:
1217
diff
changeset
|
43 include ./semiconginev2/input |
|
1224
a3fa15c25026
did: cleanup, add audio, change platform-dependent structure
sam <sam@basx.dev>
parents:
1223
diff
changeset
|
44 |
|
a3fa15c25026
did: cleanup, add audio, change platform-dependent structure
sam <sam@basx.dev>
parents:
1223
diff
changeset
|
45 include ./semiconginev2/audio |
|
a3fa15c25026
did: cleanup, add audio, change platform-dependent structure
sam <sam@basx.dev>
parents:
1223
diff
changeset
|
46 |
|
1234
841e12f33c47
add: text & font rendering, not tested yet
sam <sam@basx.dev>
parents:
1226
diff
changeset
|
47 # texture packing is required for font atlas |
|
841e12f33c47
add: text & font rendering, not tested yet
sam <sam@basx.dev>
parents:
1226
diff
changeset
|
48 include ./semiconginev2/contrib/algorithms/texture_packing |
|
841e12f33c47
add: text & font rendering, not tested yet
sam <sam@basx.dev>
parents:
1226
diff
changeset
|
49 include ./semiconginev2/text |
|
841e12f33c47
add: text & font rendering, not tested yet
sam <sam@basx.dev>
parents:
1226
diff
changeset
|
50 |
| 1245 | 51 include ./semiconginev2/gltf |
| 52 | |
| 1244 | 53 when not defined(WITHOUT_CONTRIB): |
| 1226 | 54 include ./semiconginev2/contrib/steam |
| 55 include ./semiconginev2/contrib/settings | |
| 56 include ./semiconginev2/contrib/algorithms/collision | |
| 57 include ./semiconginev2/contrib/algorithms/noise |
