Mercurial > games > semicongine
annotate semiconginev2.nim @ 1240:42eeb59f3a43
add: more tests, line and point rendering
author | sam <sam@basx.dev> |
---|---|
date | Mon, 22 Jul 2024 12:42:35 +0700 |
parents | 841e12f33c47 |
children | e8b3dc80e48e |
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 |
1223
55896320c8bf
fix: references to new package not updated
sam <sam@basx.dev>
parents:
1217
diff
changeset
|
37 include ./semiconginev2/events |
55896320c8bf
fix: references to new package not updated
sam <sam@basx.dev>
parents:
1217
diff
changeset
|
38 include ./semiconginev2/rendering |
1199 | 39 |
1223
55896320c8bf
fix: references to new package not updated
sam <sam@basx.dev>
parents:
1217
diff
changeset
|
40 include ./semiconginev2/storage |
55896320c8bf
fix: references to new package not updated
sam <sam@basx.dev>
parents:
1217
diff
changeset
|
41 include ./semiconginev2/input |
1224
a3fa15c25026
did: cleanup, add audio, change platform-dependent structure
sam <sam@basx.dev>
parents:
1223
diff
changeset
|
42 |
a3fa15c25026
did: cleanup, add audio, change platform-dependent structure
sam <sam@basx.dev>
parents:
1223
diff
changeset
|
43 include ./semiconginev2/audio |
a3fa15c25026
did: cleanup, add audio, change platform-dependent structure
sam <sam@basx.dev>
parents:
1223
diff
changeset
|
44 |
1234
841e12f33c47
add: text & font rendering, not tested yet
sam <sam@basx.dev>
parents:
1226
diff
changeset
|
45 # texture packing is required for font atlas |
841e12f33c47
add: text & font rendering, not tested yet
sam <sam@basx.dev>
parents:
1226
diff
changeset
|
46 include ./semiconginev2/contrib/algorithms/texture_packing |
841e12f33c47
add: text & font rendering, not tested yet
sam <sam@basx.dev>
parents:
1226
diff
changeset
|
47 include ./semiconginev2/text |
841e12f33c47
add: text & font rendering, not tested yet
sam <sam@basx.dev>
parents:
1226
diff
changeset
|
48 |
1226 | 49 when not defined(NO_CONTRIB): |
50 include ./semiconginev2/contrib/steam | |
51 include ./semiconginev2/contrib/settings | |
52 include ./semiconginev2/contrib/algorithms/collision | |
53 include ./semiconginev2/contrib/algorithms/noise |