Compare commits
638
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d29e7758ae | ||
|
|
3e43b79905 | ||
|
|
03126b7b52 | ||
|
|
8275bbb490 | ||
|
|
ac8277a9f8 | ||
|
|
3f30cf6d72 | ||
|
|
db8560d62c | ||
|
|
980e680e76 | ||
|
|
d55b847edc | ||
|
|
89f024c114 | ||
|
|
79054919bc | ||
|
|
11621154ff | ||
|
|
1064fe61b4 | ||
|
|
50d261ed0f | ||
|
|
f538a76e8d | ||
|
|
c0b9db0234 | ||
|
|
adee6124f9 | ||
|
|
f82380ae19 | ||
|
|
419224b114 | ||
|
|
02a7f4807b | ||
|
|
aae5c85bf8 | ||
|
|
54c03f78d0 | ||
|
|
2456ff19e1 | ||
|
|
8e3baa93dc | ||
|
|
93b8acda69 | ||
|
|
3f72a78d15 | ||
|
|
43a484e503 | ||
|
|
bb27d5e54c | ||
|
|
e00988def9 | ||
|
|
636c156c02 | ||
|
|
e095b84018 | ||
|
|
36dd7961a9 | ||
|
|
389f187f8c | ||
|
|
0f2a8eef82 | ||
|
|
c10318c4a7 | ||
|
|
684c943f49 | ||
|
|
2b23ac74e9 | ||
|
|
11337ddc70 | ||
|
|
33d306c35b | ||
|
|
569f31f01e | ||
|
|
b3da538a14 | ||
|
|
66732363b4 | ||
|
|
0b5ae8f2a6 | ||
|
|
1915e872b3 | ||
|
|
7360d5f89d | ||
|
|
93aad85140 | ||
|
|
85848353e2 | ||
|
|
20bfd2bfe7 | ||
|
|
fbe9caa796 | ||
|
|
e85264eec0 | ||
|
|
5871524150 | ||
|
|
268c4b548d | ||
|
|
63d3d22355 | ||
|
|
036eb9ff5e | ||
|
|
da7611c827 | ||
|
|
1a86b9cb4c | ||
|
|
2de83d4fef | ||
|
|
4cdcb895f7 | ||
|
|
2dcd3de541 | ||
|
|
ec334844bd | ||
|
|
98fdfcb5fc | ||
|
|
763ef2ca20 | ||
|
|
d7eb5af070 | ||
|
|
e78b823d2c | ||
|
|
e5ef28cd59 | ||
|
|
a53fc4a181 | ||
|
|
efe04a832c | ||
|
|
6251e50e89 | ||
|
|
ae06fcc403 | ||
|
|
e7808df75f | ||
|
|
649f882d6b | ||
|
|
49bb11a03b | ||
|
|
59f591f989 | ||
|
|
0733228871 | ||
|
|
04276b9750 | ||
|
|
6498734b3e | ||
|
|
e835053294 | ||
|
|
29ef1b0141 | ||
|
|
20a1dee79f | ||
|
|
58a6f08075 | ||
|
|
318cd26208 | ||
|
|
a7e401f395 | ||
|
|
96dfb0994a | ||
|
|
caa87e46c4 | ||
|
|
ce94409c23 | ||
|
|
2def217e82 | ||
|
|
a3d1212ab3 | ||
|
|
cd4fd0b19e | ||
|
|
f0f0a65a8e | ||
|
|
f745e55986 | ||
|
|
5fc279d2c3 | ||
|
|
2c9ef40c4a | ||
|
|
80e3a85423 | ||
|
|
55695c63c4 | ||
|
|
358294d730 | ||
|
|
602ed5dd4e | ||
|
|
d5c9b624fb | ||
|
|
aac24040e5 | ||
|
|
e65ecbd429 | ||
|
|
89bdd3e2a4 | ||
|
|
b56cb33830 | ||
|
|
ec55665f90 | ||
|
|
f3c46201b3 | ||
|
|
b8d0938b62 | ||
|
|
62ca57fd07 | ||
|
|
9bc72b2115 | ||
|
|
9dae8d3fe3 | ||
|
|
233336e2de | ||
|
|
eae04379b3 | ||
|
|
7dde356325 | ||
|
|
007fc2fa89 | ||
|
|
97c8d2dc72 | ||
|
|
5ff294add9 | ||
|
|
70244ed572 | ||
|
|
6a14f53e1c | ||
|
|
7e1fca65aa | ||
|
|
28cb8a049b | ||
|
|
01a98c8d21 | ||
|
|
704eae0477 | ||
|
|
46dffa6152 | ||
|
|
d3cc4fef31 | ||
|
|
1921d023d1 | ||
|
|
db5e53543b | ||
|
|
743f3484dc | ||
|
|
a0f87bf2cf | ||
|
|
4041cf72ae | ||
|
|
284959c440 | ||
|
|
4549fbb712 | ||
|
|
ab38cfa81c | ||
|
|
ab2510e4c1 | ||
|
|
8bafdac2a4 | ||
|
|
03e94af588 | ||
|
|
bbb75a093d | ||
|
|
2ad4e902a0 | ||
|
|
3c5919e802 | ||
|
|
8b9067babc | ||
|
|
3cfe31f019 | ||
|
|
9678eef47a | ||
|
|
7fbbf978a5 | ||
|
|
e4186a5811 | ||
|
|
c7e8a4cd1b | ||
|
|
41d34f2f64 | ||
|
|
c8f2dcf75d | ||
|
|
ab50e30c0f | ||
|
|
ef551913fc | ||
|
|
87e5d39242 | ||
|
|
2339413089 | ||
|
|
a1551db717 | ||
|
|
aeb614e435 | ||
|
|
4971cbfa36 | ||
|
|
85be455409 | ||
|
|
a9a2b14948 | ||
|
|
6e050689a8 | ||
|
|
40705105e6 | ||
|
|
cad5fdbbf5 | ||
|
|
d7b95fb25e | ||
|
|
bbf3fece17 | ||
|
|
7cac1e1799 | ||
|
|
5fc175e57c | ||
|
|
fbba8a975b | ||
|
|
1ed0582d30 | ||
|
|
979d94e786 | ||
|
|
f78dd0b65b | ||
|
|
9daf4fc61b | ||
|
|
710370f174 | ||
|
|
242fa55bd0 | ||
|
|
e0ceff7b10 | ||
|
|
3f9ad5a867 | ||
|
|
2807e3d292 | ||
|
|
8fd9c1cdea | ||
|
|
8fdc0b6ea4 | ||
|
|
088ffc4252 | ||
|
|
1f7d051a90 | ||
|
|
7ef3b1dbcf | ||
|
|
11fbdaecd6 | ||
|
|
30b66e35b9 | ||
|
|
8fe80ccad1 | ||
|
|
219ef744ae | ||
|
|
bf2db0181f | ||
|
|
768c731ebc | ||
|
|
b6bd0c8118 | ||
|
|
7a4580b533 | ||
|
|
1a185528a0 | ||
|
|
197988160a | ||
|
|
38dc892479 | ||
|
|
97f6dd12d7 | ||
|
|
92fec14163 | ||
|
|
89d3b2eb12 | ||
|
|
3d6a2a9b02 | ||
|
|
438a139a85 | ||
|
|
c89c5abb1c | ||
|
|
245284b94b | ||
|
|
5e438ef543 | ||
|
|
883e53fdfc | ||
|
|
ffc88a862e | ||
|
|
44ade73ee9 | ||
|
|
4999b2eac4 | ||
|
|
cba04c154e | ||
|
|
90ab9b1a1d | ||
|
|
09d2bdb61a | ||
|
|
c0b9067add | ||
|
|
c39b5027e6 | ||
|
|
9c775248e7 | ||
|
|
782f3581ce | ||
|
|
2ce0af797b | ||
|
|
ceb3047a48 | ||
|
|
bebb608bfc | ||
|
|
aa15a5fa45 | ||
|
|
9b810c8e2e | ||
|
|
93e6e2a574 | ||
|
|
3801456514 | ||
|
|
ef58f86c08 | ||
|
|
c5c96162e4 | ||
|
|
8be5c065a8 | ||
|
|
d88c188e61 | ||
|
|
e9b442f3ee | ||
|
|
8560f105a5 | ||
|
|
7e9d63b223 | ||
|
|
b6b93089bf | ||
|
|
63072fe1e0 | ||
|
|
41c7d01c4f | ||
|
|
208f8d24f4 | ||
|
|
f82cd7455d | ||
|
|
23ecfe3f3b | ||
|
|
86fd60d2ca | ||
|
|
7adae93f85 | ||
|
|
7b84abe458 | ||
|
|
3bb196fe4e | ||
|
|
126c878b26 | ||
|
|
4f8493da60 | ||
|
|
036c5c895f | ||
|
|
26e289493e | ||
|
|
7c6ac4017e | ||
|
|
0a9bcb68cb | ||
|
|
4d081485ff | ||
|
|
7ab077a959 | ||
|
|
2cc6ea322f | ||
|
|
262eb19adc | ||
|
|
610dd49c14 | ||
|
|
435934dd27 | ||
|
|
78aa0ca1cd | ||
|
|
46271f93cc | ||
|
|
f2d66cef2c | ||
|
|
ef50e8c7c6 | ||
|
|
feffd6a7f8 | ||
|
|
7843f574b5 | ||
|
|
bbdc1085a0 | ||
|
|
70e1897060 | ||
|
|
0907882283 | ||
|
|
7e0505259f | ||
|
|
e61c95fce0 | ||
|
|
c75665b6e1 | ||
|
|
91be44768d | ||
|
|
921fa8c361 | ||
|
|
a7e69d623c | ||
|
|
e9619bfd91 | ||
|
|
0c3df4bcd9 | ||
|
|
beebbe66f7 | ||
|
|
2b60cb1e52 | ||
|
|
3e9f39ae15 | ||
|
|
a3ae9d1278 | ||
|
|
2f846a2b72 | ||
|
|
1cdbbd1adb | ||
|
|
c8b754eb5f | ||
|
|
711856fca4 | ||
|
|
420eca3dfc | ||
|
|
1984a68f49 | ||
|
|
9a74426641 | ||
|
|
3cc85e8165 | ||
|
|
78f8fa1417 | ||
|
|
ff0881e76f | ||
|
|
e59bba7400 | ||
|
|
07f60e3038 | ||
|
|
3be39e5cd1 | ||
|
|
e20b6249ed | ||
|
|
f8a6a16f59 | ||
|
|
52d8143800 | ||
|
|
16c19fd4a3 | ||
|
|
ca3a7643f3 | ||
|
|
dfa40e02fa | ||
|
|
d6189e654d | ||
|
|
4a4f809db7 | ||
|
|
4e22a75784 | ||
|
|
a50a997743 | ||
|
|
89ca1fd966 | ||
|
|
cb358128bb | ||
|
|
912f6ccdba | ||
|
|
524eeb6860 | ||
|
|
16649b7c49 | ||
|
|
6d3d0f9b27 | ||
|
|
981e854291 | ||
|
|
2abe1b63d6 | ||
|
|
193cad2b1e | ||
|
|
37840876b4 | ||
|
|
dea568e43e | ||
|
|
6549ab7c4b | ||
|
|
1637874a5f | ||
|
|
46a7bdd346 | ||
|
|
cbf2cea526 | ||
|
|
b8ba2c707f | ||
|
|
1cbdf6db34 | ||
|
|
2f961d07bc | ||
|
|
f4ed00e608 | ||
|
|
d37a60e7b8 | ||
|
|
900b183a51 | ||
|
|
becac8ba27 | ||
|
|
1bbb269936 | ||
|
|
97d96913a3 | ||
|
|
930310cb3f | ||
|
|
be50bb8fe8 | ||
|
|
f2ca41fecf | ||
|
|
007a174468 | ||
|
|
1d681d4a7e | ||
|
|
6909eb52ed | ||
|
|
909a70e852 | ||
|
|
f2820f495e | ||
|
|
c3ce7f7727 | ||
|
|
68f97a09bf | ||
|
|
c41a917656 | ||
|
|
f98b00dc6d | ||
|
|
af2e3f9519 | ||
|
|
95680f53e6 | ||
|
|
769d7d0af6 | ||
|
|
a786472f2d | ||
|
|
5f623cd123 | ||
|
|
81452c644f | ||
|
|
8c6e1890d8 | ||
|
|
a000073fcf | ||
|
|
b536815be3 | ||
|
|
03bded3d5e | ||
|
|
bd5db637c5 | ||
|
|
26d78d6c2f | ||
|
|
f361ecb3f2 | ||
|
|
33b831eb0e | ||
|
|
d4f6c04639 | ||
|
|
3d97d20043 | ||
|
|
2dfbd18579 | ||
|
|
0a9cebd065 | ||
|
|
b284bd8c0b | ||
|
|
66137d3cf6 | ||
|
|
3f53eb0636 | ||
|
|
bcf60b6a01 | ||
|
|
dbf5bd6c48 | ||
|
|
c27d75605f | ||
|
|
673fc17b6b | ||
|
|
e4c6462105 | ||
|
|
d9696ef373 | ||
|
|
ac4968e61c | ||
|
|
463e30c740 | ||
|
|
aa6a82f285 | ||
|
|
541fcdcc3c | ||
|
|
28b719860e | ||
|
|
191bdf67d3 | ||
|
|
412a68f5b1 | ||
|
|
961c680d18 | ||
|
|
d8637e160b | ||
|
|
26a6b62c80 | ||
|
|
799c712130 | ||
|
|
40dfa08b45 | ||
|
|
65222a5270 | ||
|
|
4f47cd85ae | ||
|
|
ada0e20fd3 | ||
|
|
c3f146329d | ||
|
|
e96462ec6a | ||
|
|
7eb665471c | ||
|
|
4a8f9d6803 | ||
|
|
a6bc7a7383 | ||
|
|
5afb79c5d0 | ||
|
|
a1b3ba64e3 | ||
|
|
1e6e5fc78f | ||
|
|
e42d5cfa63 | ||
|
|
3e3bcdb3bc | ||
|
|
79e64ee882 | ||
|
|
dd545a2693 | ||
|
|
dc452f2850 | ||
|
|
bf87590eae | ||
|
|
0a528c6370 | ||
|
|
595bf1c26b | ||
|
|
d606e5593f | ||
|
|
a81d0d44f3 | ||
|
|
4e60922532 | ||
|
|
50e122d298 | ||
|
|
ee5d6252a2 | ||
|
|
75e0bfe0bd | ||
|
|
5c6e544758 | ||
|
|
68af554830 | ||
|
|
7849bd12b1 | ||
|
|
323c6c6a33 | ||
|
|
1a5b861ab3 | ||
|
|
a2631e95e7 | ||
|
|
729f47eee3 | ||
|
|
c3e8f158f2 | ||
|
|
b6ea4cad54 | ||
|
|
494af9f87a | ||
|
|
b56eeea1c0 | ||
|
|
be5efa0f00 | ||
|
|
c131655716 | ||
|
|
361a541dfb | ||
|
|
dc7e98388c | ||
|
|
38a0e59d46 | ||
|
|
fbbab14eb3 | ||
|
|
ae839e7d15 | ||
|
|
54eb7c08e4 | ||
|
|
4699effdf2 | ||
|
|
4b74d19923 | ||
|
|
dc432c57cb | ||
|
|
2ff7b76b30 | ||
|
|
7769c47903 | ||
|
|
198d797a63 | ||
|
|
82720198c3 | ||
|
|
263b0263ed | ||
|
|
dd0699f768 | ||
|
|
f7d598a7dc | ||
|
|
51dfbc0584 | ||
|
|
dfafe0e90e | ||
|
|
16f5a247d8 | ||
|
|
44eb1befa6 | ||
|
|
291c5b2d97 | ||
|
|
585c90ec3c | ||
|
|
7ba1b489fb | ||
|
|
b84154d8ff | ||
|
|
9d8d67c6ba | ||
|
|
8a636eaa6a | ||
|
|
bd44331bcd | ||
|
|
bd9d53ff2c | ||
|
|
7561f4b3f5 | ||
|
|
030db722ad | ||
|
|
164c0ce74e | ||
|
|
35131649b8 | ||
|
|
09c34fb68a | ||
|
|
52d17f236e | ||
|
|
0f7e2c96c3 | ||
|
|
9d2b286bef | ||
|
|
d4dbd40864 | ||
|
|
0b7805f202 | ||
|
|
1669749279 | ||
|
|
74c961f4e0 | ||
|
|
f6b53f7e1e | ||
|
|
d97082964d | ||
|
|
d06a2a440a | ||
|
|
383b9e6b26 | ||
|
|
cfc8c8a81c | ||
|
|
ad9a6290e0 | ||
|
|
b2cc5d9a0e | ||
|
|
111716cac8 | ||
|
|
5ec5812770 | ||
|
|
122ff9e970 | ||
|
|
f34c7844fc | ||
|
|
da31299047 | ||
|
|
26d2fb555f | ||
|
|
fef2defa90 | ||
|
|
69fd6cb99e | ||
|
|
1c35f3a5f7 | ||
|
|
ff866a1474 | ||
|
|
742d707356 | ||
|
|
ae77ed2d4f | ||
|
|
d79972e546 | ||
|
|
8644fba229 | ||
|
|
16489e6ffd | ||
|
|
d5b52ebc34 | ||
|
|
bd7a27d18a | ||
|
|
35628ad600 | ||
|
|
5f69792094 | ||
|
|
af93d77e9e | ||
|
|
9d09ef9199 | ||
|
|
d0f85b1b5c | ||
|
|
29b08a5e3a | ||
|
|
1e90543cea | ||
|
|
e17d9f7dec | ||
|
|
c2f39b100b | ||
|
|
9b6ce14b60 | ||
|
|
523751c21f | ||
|
|
e510f19843 | ||
|
|
3ac9d35fb3 | ||
|
|
6238789eaf | ||
|
|
ffc2375558 | ||
|
|
087675c697 | ||
|
|
cb9bbd3bd5 | ||
|
|
3d64fce4f5 | ||
|
|
aea672f205 | ||
|
|
f95ae66ac3 | ||
|
|
4dd7861e2a | ||
|
|
d5e1354efd | ||
|
|
c1b11f4223 | ||
|
|
776dc7e07d | ||
|
|
afdda21574 | ||
|
|
aa09f9ca52 | ||
|
|
777e20a320 | ||
|
|
b1c443a4c1 | ||
|
|
da3d89fcf9 | ||
|
|
326077e931 | ||
|
|
528486cf6c | ||
|
|
947fe9ddb3 | ||
|
|
d31b5303fa | ||
|
|
6fbf9523c9 | ||
|
|
dc6d3a6957 | ||
|
|
6013f9919e | ||
|
|
23e3c53405 | ||
|
|
7f5e30557c | ||
|
|
3551aad54e | ||
|
|
f2bb945b6a | ||
|
|
394e2af77f | ||
|
|
0da7ed6cac | ||
|
|
50215bb6a4 | ||
|
|
828a0e44e9 | ||
|
|
fd7d474088 | ||
|
|
175ffbfa2a | ||
|
|
73418aa560 | ||
|
|
4397024652 | ||
|
|
eecf1ab568 | ||
|
|
6609ad6b32 | ||
|
|
93b97245f8 | ||
|
|
55c90ac969 | ||
|
|
9fd3211978 | ||
|
|
fe1bb97ee6 | ||
|
|
007719794e | ||
|
|
078206e766 | ||
|
|
0549ffb34b | ||
|
|
3ae05ee2a7 | ||
|
|
70cf07434c | ||
|
|
548265fb45 | ||
|
|
1aa8ce0786 | ||
|
|
bcdad4b02e | ||
|
|
adc96356ef | ||
|
|
7d7b482974 | ||
|
|
72d12e3125 | ||
|
|
8449cff4bc | ||
|
|
3045d06fbf | ||
|
|
3e63d95d62 | ||
|
|
48a954846e | ||
|
|
9fd7ae0fd4 | ||
|
|
396fc0da83 | ||
|
|
c3966d36c7 | ||
|
|
061910539f | ||
|
|
5f781c0c15 | ||
|
|
500fc05b2a | ||
|
|
66abc3e993 | ||
|
|
31f3e1102d | ||
|
|
8838f069df | ||
|
|
6cad0fe77a | ||
|
|
1cdc2e496f | ||
|
|
5f92892abc | ||
|
|
b8740090ce | ||
|
|
fd91d04952 | ||
|
|
dbbbe70001 | ||
|
|
cab7800cf6 | ||
|
|
e7d13ddc35 | ||
|
|
1e34639442 | ||
|
|
c4b44b02de | ||
|
|
2ae235e358 | ||
|
|
52faae0dc0 | ||
|
|
a963056d40 | ||
|
|
6d7ce0d2c9 | ||
|
|
3f506fe31a | ||
|
|
10272a085d | ||
|
|
8422715a38 | ||
|
|
e0bfeb7d2d | ||
|
|
a23a729150 | ||
|
|
b1e0867bb8 | ||
|
|
19cd0885d2 | ||
|
|
b4708998d3 | ||
|
|
a1fa45f533 | ||
|
|
bf87faf8b0 | ||
|
|
cceb9c0c87 | ||
|
|
0cbd458d45 | ||
|
|
66666575cb | ||
|
|
ad1272fe8a | ||
|
|
16ee9e75bf | ||
|
|
d99f2cd446 | ||
|
|
528815aeb4 | ||
|
|
5b88fa73db | ||
|
|
75cfcec1a0 | ||
|
|
348d4aeee3 | ||
|
|
1bb5fcdf16 | ||
|
|
4076e93236 | ||
|
|
45da511328 | ||
|
|
92d14e79f5 | ||
|
|
a403c3d506 | ||
|
|
46aaf929bf | ||
|
|
b42921d496 | ||
|
|
87ae029fd4 | ||
|
|
21e3c12fbe | ||
|
|
8b624cf9d7 | ||
|
|
4e8672c98a | ||
|
|
d995587f6c | ||
|
|
ce1e9f8b25 | ||
|
|
a382e73650 | ||
|
|
6840c2b091 | ||
|
|
ea207c54f1 | ||
|
|
27ecbb8c15 | ||
|
|
28d75abe58 | ||
|
|
7355b247c4 | ||
|
|
0108088359 | ||
|
|
0c96b87c3a | ||
|
|
b51c7fb49e | ||
|
|
0c097fd30a | ||
|
|
35ad23e050 | ||
|
|
e570d1e6c2 | ||
|
|
054b973acf | ||
|
|
b464a1e91e | ||
|
|
41bb020d86 | ||
|
|
1f2c9f8be3 | ||
|
|
b2eb683929 | ||
|
|
21fb886c9e | ||
|
|
fba08dcd6e | ||
|
|
66de61e1ec | ||
|
|
9a68ca0999 | ||
|
|
62b9df456c | ||
|
|
53d82425c3 | ||
|
|
864bf93549 | ||
|
|
6d728eaa94 | ||
|
|
dcc4e04561 | ||
|
|
422f11365a | ||
|
|
9167f559d3 | ||
|
|
4ac598dc24 | ||
|
|
b650268d17 | ||
|
|
bf7f357610 | ||
|
|
429f31dc9b | ||
|
|
a2e885d126 | ||
|
|
c6f752d6ca | ||
|
|
0778fe2322 | ||
|
|
9bfa4d9552 | ||
|
|
2f3fea1ae1 | ||
|
|
022ea5a3c4 | ||
|
|
9e537c3a5e | ||
|
|
7c68eb09e9 | ||
|
|
fd48bf6557 | ||
|
|
cf47c3fdf9 | ||
|
|
69b9121d5b | ||
|
|
2381a3bd68 | ||
|
|
127c46ef27 | ||
|
|
9f0f89bd92 | ||
|
|
a4aa8cb30f | ||
|
|
9de411b490 | ||
|
|
44de52631a | ||
|
|
801fc970e3 | ||
|
|
5faf0ac03c | ||
|
|
327a62b693 |
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/Application.h>
|
||||
@@ -15,3 +15,5 @@ Application::Application(Parameters const& parameters)
|
||||
mProgramFactory(parameters.factory)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2020.09.15
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -56,3 +56,5 @@ namespace gte
|
||||
std::shared_ptr<ProgramFactory> mProgramFactory;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
project(gtapplications VERSION ${GTE_VERSION_MAJOR}.${GTE_VERSION_MINOR})
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
option(BUILD_RELEASE_LIB, "Build release library" OFF)
|
||||
option(BUILD_SHARED_LIB, "Build shared library" OFF)
|
||||
project(gtapplications VERSION ${GTE_VERSION_MAJOR}.${GTE_VERSION_MINOR})
|
||||
|
||||
option(BUILD_RELEASE_LIB "Build release library" OFF)
|
||||
option(BUILD_SHARED_LIB "Build shared library" OFF)
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
@@ -30,7 +31,6 @@ Command.cpp
|
||||
ConsoleApplication.cpp
|
||||
Environment.cpp
|
||||
GTApplications.cpp
|
||||
LogReporter.cpp
|
||||
OnIdleTimer.cpp
|
||||
Timer.cpp
|
||||
TrackBall.cpp
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2026.02.16
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/CameraRig.h>
|
||||
@@ -47,13 +47,13 @@ void CameraRig::ComputeWorldAxes()
|
||||
}
|
||||
}
|
||||
|
||||
bool CameraRig::PushMotion(int trigger)
|
||||
bool CameraRig::PushMotion(int32_t trigger)
|
||||
{
|
||||
auto element = mIndirectMap.find(trigger);
|
||||
return (element != mIndirectMap.end() ? SetActive(element->second) : false);
|
||||
}
|
||||
|
||||
bool CameraRig::PopMotion(int trigger)
|
||||
bool CameraRig::PopMotion(int32_t trigger)
|
||||
{
|
||||
auto element = mIndirectMap.find(trigger);
|
||||
return (element != mIndirectMap.end() ? SetInactive(element->second) : false);
|
||||
@@ -68,7 +68,7 @@ bool CameraRig::Move()
|
||||
// idle loop.
|
||||
if (mNumActiveMotions > 0)
|
||||
{
|
||||
for (int i = 0; i < mNumActiveMotions; ++i)
|
||||
for (int32_t i = 0; i < mNumActiveMotions; ++i)
|
||||
{
|
||||
(this->*mActiveMotions[i])();
|
||||
}
|
||||
@@ -151,20 +151,20 @@ void CameraRig::TurnRight()
|
||||
Matrix4x4<float> incremental = Rotation<4, float>(
|
||||
AxisAngle<4, float>(mWorldAxis[1], -mRotationSpeed));
|
||||
|
||||
#if defined(GTE_USE_MAT_VEC)
|
||||
mWorldAxis[0] = incremental * mWorldAxis[0];
|
||||
mWorldAxis[2] = incremental * mWorldAxis[2];
|
||||
mCamera->SetAxes(
|
||||
incremental * mCamera->GetDVector(),
|
||||
incremental * mCamera->GetUVector(),
|
||||
incremental * mCamera->GetRVector());
|
||||
#else
|
||||
#if defined(GTE_USE_VEC_MAT)
|
||||
mWorldAxis[0] = mWorldAxis[0] * incremental;
|
||||
mWorldAxis[2] = mWorldAxis[2] * incremental;
|
||||
mCamera->SetAxes(
|
||||
mCamera->GetDVector() * incremental,
|
||||
mCamera->GetUVector() * incremental,
|
||||
mCamera->GetRVector() * incremental);
|
||||
#else
|
||||
mWorldAxis[0] = incremental * mWorldAxis[0];
|
||||
mWorldAxis[2] = incremental * mWorldAxis[2];
|
||||
mCamera->SetAxes(
|
||||
incremental * mCamera->GetDVector(),
|
||||
incremental * mCamera->GetUVector(),
|
||||
incremental * mCamera->GetRVector());
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -176,20 +176,20 @@ void CameraRig::TurnLeft()
|
||||
Matrix4x4<float> incremental = Rotation<4, float>(
|
||||
AxisAngle<4, float>(mWorldAxis[1], +mRotationSpeed));
|
||||
|
||||
#if defined(GTE_USE_MAT_VEC)
|
||||
mWorldAxis[0] = incremental * mWorldAxis[0];
|
||||
mWorldAxis[2] = incremental * mWorldAxis[2];
|
||||
mCamera->SetAxes(
|
||||
incremental*mCamera->GetDVector(),
|
||||
incremental*mCamera->GetUVector(),
|
||||
incremental*mCamera->GetRVector());
|
||||
#else
|
||||
#if defined(GTE_USE_VEC_MAT)
|
||||
mWorldAxis[0] = mWorldAxis[0] * incremental;
|
||||
mWorldAxis[2] = mWorldAxis[2] * incremental;
|
||||
mCamera->SetAxes(
|
||||
mCamera->GetDVector() * incremental,
|
||||
mCamera->GetUVector() * incremental,
|
||||
mCamera->GetRVector() * incremental);
|
||||
#else
|
||||
mWorldAxis[0] = incremental * mWorldAxis[0];
|
||||
mWorldAxis[2] = incremental * mWorldAxis[2];
|
||||
mCamera->SetAxes(
|
||||
incremental * mCamera->GetDVector(),
|
||||
incremental * mCamera->GetUVector(),
|
||||
incremental * mCamera->GetRVector());
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -201,16 +201,16 @@ void CameraRig::LookUp()
|
||||
Matrix4x4<float> incremental = Rotation<4, float>(
|
||||
AxisAngle<4, float>(mWorldAxis[2], +mRotationSpeed));
|
||||
|
||||
#if defined(GTE_USE_MAT_VEC)
|
||||
mCamera->SetAxes(
|
||||
incremental * mCamera->GetDVector(),
|
||||
incremental * mCamera->GetUVector(),
|
||||
incremental * mCamera->GetRVector());
|
||||
#else
|
||||
#if defined(GTE_USE_VEC_MAT)
|
||||
mCamera->SetAxes(
|
||||
mCamera->GetDVector() * incremental,
|
||||
mCamera->GetUVector() * incremental,
|
||||
mCamera->GetRVector() * incremental);
|
||||
#else
|
||||
mCamera->SetAxes(
|
||||
incremental * mCamera->GetDVector(),
|
||||
incremental * mCamera->GetUVector(),
|
||||
incremental * mCamera->GetRVector());
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -222,16 +222,16 @@ void CameraRig::LookDown()
|
||||
Matrix4x4<float> incremental = Rotation<4, float>(
|
||||
AxisAngle<4, float>(mWorldAxis[2], -mRotationSpeed));
|
||||
|
||||
#if defined(GTE_USE_MAT_VEC)
|
||||
mCamera->SetAxes(
|
||||
incremental * mCamera->GetDVector(),
|
||||
incremental * mCamera->GetUVector(),
|
||||
incremental * mCamera->GetRVector());
|
||||
#else
|
||||
#if defined(GTE_USE_VEC_MAT)
|
||||
mCamera->SetAxes(
|
||||
mCamera->GetDVector() * incremental,
|
||||
mCamera->GetUVector() * incremental,
|
||||
mCamera->GetRVector() * incremental);
|
||||
#else
|
||||
mCamera->SetAxes(
|
||||
incremental * mCamera->GetDVector(),
|
||||
incremental * mCamera->GetUVector(),
|
||||
incremental * mCamera->GetRVector());
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -243,16 +243,16 @@ void CameraRig::RollClockwise()
|
||||
Matrix4x4<float> incremental = Rotation<4, float>(
|
||||
AxisAngle<4, float>(mWorldAxis[0], +mRotationSpeed));
|
||||
|
||||
#if defined(GTE_USE_MAT_VEC)
|
||||
mCamera->SetAxes(
|
||||
incremental * mCamera->GetDVector(),
|
||||
incremental * mCamera->GetUVector(),
|
||||
incremental * mCamera->GetRVector());
|
||||
#else
|
||||
#if defined(GTE_USE_VEC_MAT)
|
||||
mCamera->SetAxes(
|
||||
mCamera->GetDVector() * incremental,
|
||||
mCamera->GetUVector() * incremental,
|
||||
mCamera->GetRVector() * incremental);
|
||||
#else
|
||||
mCamera->SetAxes(
|
||||
incremental * mCamera->GetDVector(),
|
||||
incremental * mCamera->GetUVector(),
|
||||
incremental * mCamera->GetRVector());
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -264,21 +264,21 @@ void CameraRig::RollCounterclockwise()
|
||||
Matrix4x4<float> incremental = Rotation<4, float>(
|
||||
AxisAngle<4, float>(mWorldAxis[0], -mRotationSpeed));
|
||||
|
||||
#if defined(GTE_USE_MAT_VEC)
|
||||
mCamera->SetAxes(
|
||||
incremental * mCamera->GetDVector(),
|
||||
incremental * mCamera->GetUVector(),
|
||||
incremental * mCamera->GetRVector());
|
||||
#else
|
||||
#if defined(GTE_USE_VEC_MAT)
|
||||
mCamera->SetAxes(
|
||||
mCamera->GetDVector() * incremental,
|
||||
mCamera->GetUVector() * incremental,
|
||||
mCamera->GetRVector() * incremental);
|
||||
#else
|
||||
mCamera->SetAxes(
|
||||
incremental * mCamera->GetDVector(),
|
||||
incremental * mCamera->GetUVector(),
|
||||
incremental * mCamera->GetRVector());
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
void CameraRig::Register(int trigger, MoveFunction function)
|
||||
void CameraRig::Register(int32_t trigger, MoveFunction function)
|
||||
{
|
||||
if (trigger >= 0)
|
||||
{
|
||||
@@ -290,11 +290,11 @@ void CameraRig::Register(int trigger, MoveFunction function)
|
||||
}
|
||||
else
|
||||
{
|
||||
for (auto element : mIndirectMap)
|
||||
for (auto const& element : mIndirectMap)
|
||||
{
|
||||
if (element.second == function)
|
||||
{
|
||||
mIndirectMap.erase(trigger);
|
||||
mIndirectMap.erase(element.first);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -303,7 +303,7 @@ void CameraRig::Register(int trigger, MoveFunction function)
|
||||
|
||||
bool CameraRig::SetActive(MoveFunction function)
|
||||
{
|
||||
for (int i = 0; i < mNumActiveMotions; ++i)
|
||||
for (int32_t i = 0; i < mNumActiveMotions; ++i)
|
||||
{
|
||||
if (mActiveMotions[i] == function)
|
||||
{
|
||||
@@ -324,11 +324,11 @@ bool CameraRig::SetActive(MoveFunction function)
|
||||
|
||||
bool CameraRig::SetInactive(MoveFunction function)
|
||||
{
|
||||
for (int i = 0; i < mNumActiveMotions; ++i)
|
||||
for (int32_t i = 0; i < mNumActiveMotions; ++i)
|
||||
{
|
||||
if (mActiveMotions[i] == function)
|
||||
{
|
||||
for (int j0 = i, j1 = j0 + 1; j1 < mNumActiveMotions; j0 = j1++)
|
||||
for (int32_t j0 = i, j1 = j0 + 1; j1 < mNumActiveMotions; j0 = j1++)
|
||||
{
|
||||
mActiveMotions[j0] = mActiveMotions[j1];
|
||||
}
|
||||
@@ -336,7 +336,7 @@ bool CameraRig::SetInactive(MoveFunction function)
|
||||
mActiveMotions[mNumActiveMotions] = nullptr;
|
||||
if (mNumActiveMotions > 0)
|
||||
{
|
||||
mMotion = mActiveMotions[mNumActiveMotions - 1];
|
||||
mMotion = mActiveMotions[static_cast<size_t>(mNumActiveMotions) - 1];
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -347,3 +347,5 @@ bool CameraRig::SetInactive(MoveFunction function)
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -133,68 +133,68 @@ namespace gte
|
||||
// iff the trigger is mapped. A call to PopMotion(trigger) will
|
||||
// disable the motion if the trigger is currently mapped; the Boolean
|
||||
// return it 'true' iff the trigger is currently mapped.
|
||||
inline void RegisterMoveForward(int trigger)
|
||||
inline void RegisterMoveForward(int32_t trigger)
|
||||
{
|
||||
Register(trigger, &CameraRig::MoveForward);
|
||||
}
|
||||
|
||||
inline void RegisterMoveBackward(int trigger)
|
||||
inline void RegisterMoveBackward(int32_t trigger)
|
||||
{
|
||||
Register(trigger, &CameraRig::MoveBackward);
|
||||
}
|
||||
|
||||
inline void RegisterMoveUp(int trigger)
|
||||
inline void RegisterMoveUp(int32_t trigger)
|
||||
{
|
||||
Register(trigger, &CameraRig::MoveUp);
|
||||
}
|
||||
|
||||
inline void RegisterMoveDown(int trigger)
|
||||
inline void RegisterMoveDown(int32_t trigger)
|
||||
{
|
||||
Register(trigger, &CameraRig::MoveDown);
|
||||
}
|
||||
|
||||
inline void RegisterMoveRight(int trigger)
|
||||
inline void RegisterMoveRight(int32_t trigger)
|
||||
{
|
||||
Register(trigger, &CameraRig::MoveRight);
|
||||
}
|
||||
|
||||
inline void RegisterMoveLeft(int trigger)
|
||||
inline void RegisterMoveLeft(int32_t trigger)
|
||||
{
|
||||
Register(trigger, &CameraRig::MoveLeft);
|
||||
}
|
||||
|
||||
inline void RegisterTurnRight(int trigger)
|
||||
inline void RegisterTurnRight(int32_t trigger)
|
||||
{
|
||||
Register(trigger, &CameraRig::TurnRight);
|
||||
}
|
||||
|
||||
inline void RegisterTurnLeft(int trigger)
|
||||
inline void RegisterTurnLeft(int32_t trigger)
|
||||
{
|
||||
Register(trigger, &CameraRig::TurnLeft);
|
||||
}
|
||||
|
||||
inline void RegisterLookUp(int trigger)
|
||||
inline void RegisterLookUp(int32_t trigger)
|
||||
{
|
||||
Register(trigger, &CameraRig::LookUp);
|
||||
}
|
||||
|
||||
inline void RegisterLookDown(int trigger)
|
||||
inline void RegisterLookDown(int32_t trigger)
|
||||
{
|
||||
Register(trigger, &CameraRig::LookDown);
|
||||
}
|
||||
|
||||
inline void RegisterRollClockwise(int trigger)
|
||||
inline void RegisterRollClockwise(int32_t trigger)
|
||||
{
|
||||
Register(trigger, &CameraRig::RollClockwise);
|
||||
}
|
||||
|
||||
inline void RegisterRollCounterclockwise(int trigger)
|
||||
inline void RegisterRollCounterclockwise(int32_t trigger)
|
||||
{
|
||||
Register(trigger, &CameraRig::RollCounterclockwise);
|
||||
}
|
||||
|
||||
bool PushMotion(int trigger);
|
||||
bool PopMotion(int trigger);
|
||||
bool PushMotion(int32_t trigger);
|
||||
bool PopMotion(int32_t trigger);
|
||||
|
||||
bool Move();
|
||||
void ClearMotions();
|
||||
@@ -217,7 +217,7 @@ namespace gte
|
||||
virtual void RollCounterclockwise();
|
||||
|
||||
typedef void(CameraRig::* MoveFunction)(void);
|
||||
void Register(int trigger, MoveFunction function);
|
||||
void Register(int32_t trigger, MoveFunction function);
|
||||
|
||||
bool SetActive(MoveFunction function);
|
||||
bool SetInactive(MoveFunction function);
|
||||
@@ -230,8 +230,10 @@ namespace gte
|
||||
|
||||
// Move via direct or indirect triggers.
|
||||
MoveFunction mMotion;
|
||||
std::map<int, MoveFunction> mIndirectMap;
|
||||
int mNumActiveMotions;
|
||||
std::map<int32_t, MoveFunction> mIndirectMap;
|
||||
int32_t mNumActiveMotions;
|
||||
std::array<MoveFunction, MAX_ACTIVE_MOTIONS> mActiveMotions;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2020.01.10
|
||||
// File Version: 8.0.2026.02.16
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/Command.h>
|
||||
@@ -16,7 +16,7 @@ std::string const Command::msArgOutOfRange("Argument out of range.");
|
||||
std::string const Command::msFilenameNotFound("Filename not found.");
|
||||
std::string const Command::msDash("-");
|
||||
|
||||
Command::Command (int numArguments, char const* arguments[])
|
||||
Command::Command(int32_t numArguments, char const* arguments[])
|
||||
:
|
||||
mSmall(0.0),
|
||||
mLarge(0.0),
|
||||
@@ -29,9 +29,9 @@ Command::Command (int numArguments, char const* arguments[])
|
||||
// The first argument is always the executable name.
|
||||
LogAssert(numArguments > 0, "Invalid number of arguments.");
|
||||
|
||||
mArguments.resize(numArguments);
|
||||
mProcessed.resize(numArguments);
|
||||
for (int i = 0; i < numArguments; ++i)
|
||||
mArguments.resize(static_cast<size_t>(numArguments));
|
||||
mProcessed.resize(mArguments.size());
|
||||
for (size_t i = 0; i < mArguments.size(); ++i)
|
||||
{
|
||||
mArguments[i] = std::string(arguments[i]);
|
||||
mProcessed[i] = false;
|
||||
@@ -41,7 +41,7 @@ Command::Command (int numArguments, char const* arguments[])
|
||||
mProcessed[0] = true;
|
||||
}
|
||||
|
||||
Command::Command(int numArguments, char* arguments[])
|
||||
Command::Command(int32_t numArguments, char* arguments[])
|
||||
:
|
||||
mSmall(0.0),
|
||||
mLarge(0.0),
|
||||
@@ -54,9 +54,9 @@ Command::Command(int numArguments, char* arguments[])
|
||||
// The first argument is always the executable name.
|
||||
LogAssert(numArguments > 0, "Invalid number of arguments.");
|
||||
|
||||
mArguments.resize(numArguments);
|
||||
mProcessed.resize(numArguments);
|
||||
for (int i = 0; i < numArguments; ++i)
|
||||
mArguments.resize(static_cast<size_t>(numArguments));
|
||||
mProcessed.resize(mArguments.size());
|
||||
for (size_t i = 0; i < mArguments.size(); ++i)
|
||||
{
|
||||
mArguments[i] = std::string(arguments[i]);
|
||||
mProcessed[i] = false;
|
||||
@@ -66,11 +66,10 @@ Command::Command(int numArguments, char* arguments[])
|
||||
mProcessed[0] = true;
|
||||
}
|
||||
|
||||
int Command::ExcessArguments () const
|
||||
size_t Command::ExcessArguments() const
|
||||
{
|
||||
// Check to see whether any command line arguments were not processed.
|
||||
int const numArguments = (int)mArguments.size();
|
||||
for (int i = 1; i < numArguments; ++i)
|
||||
for (size_t i = 1; i < mArguments.size(); ++i)
|
||||
{
|
||||
if (!mProcessed[i])
|
||||
{
|
||||
@@ -80,47 +79,46 @@ int Command::ExcessArguments () const
|
||||
return 0;
|
||||
}
|
||||
|
||||
Command& Command::Min (double value)
|
||||
Command& Command::Min(double value)
|
||||
{
|
||||
mSmall = value;
|
||||
mMinSet = true;
|
||||
return *this;
|
||||
}
|
||||
|
||||
Command& Command::Max (double value)
|
||||
Command& Command::Max(double value)
|
||||
{
|
||||
mLarge = value;
|
||||
mMaxSet = true;
|
||||
return *this;
|
||||
}
|
||||
|
||||
Command& Command::Inf (double value)
|
||||
Command& Command::Inf(double value)
|
||||
{
|
||||
mSmall = value;
|
||||
mInfSet = true;
|
||||
return *this;
|
||||
}
|
||||
|
||||
Command& Command::Sup (double value)
|
||||
Command& Command::Sup(double value)
|
||||
{
|
||||
mLarge = value;
|
||||
mSupSet = true;
|
||||
return *this;
|
||||
}
|
||||
|
||||
int Command::GetBoolean (std::string const& name)
|
||||
size_t Command::GetBoolean(std::string const& name)
|
||||
{
|
||||
bool value = false;
|
||||
return GetBoolean(name, value);
|
||||
}
|
||||
|
||||
int Command::GetBoolean (std::string const& name, bool& value)
|
||||
size_t Command::GetBoolean(std::string const& name, bool& value)
|
||||
{
|
||||
int matchFound = 0;
|
||||
size_t matchFound = 0;
|
||||
value = false;
|
||||
|
||||
int const numArguments = (int)mArguments.size();
|
||||
for (int i = 1; i < numArguments; ++i)
|
||||
for (size_t i = 1; i < mArguments.size(); ++i)
|
||||
{
|
||||
std::string tmp = mArguments[i];
|
||||
if (!mProcessed[i] && mArguments[i] == (msDash + name))
|
||||
@@ -140,28 +138,32 @@ int Command::GetBoolean (std::string const& name, bool& value)
|
||||
return matchFound;
|
||||
}
|
||||
|
||||
int Command::GetInteger (std::string const& name, int& value)
|
||||
size_t Command::GetInteger(std::string const& name, int32_t& value)
|
||||
{
|
||||
int matchFound = 0;
|
||||
size_t matchFound = 0;
|
||||
|
||||
int const numArguments = (int)mArguments.size();
|
||||
for (int i = 1; i < numArguments; ++i)
|
||||
for (size_t i = 1; i < mArguments.size(); ++i)
|
||||
{
|
||||
if (!mProcessed[i] && mArguments[i] == (msDash + name))
|
||||
{
|
||||
if (i + 1 >= mArguments.size())
|
||||
{
|
||||
mLastError = msArgRequired;
|
||||
return 0;
|
||||
}
|
||||
std::string argument = mArguments[i + 1];
|
||||
if (mProcessed[i + 1]
|
||||
|| (argument[0] == '-' && !isdigit((int)argument[1])))
|
||||
if (mProcessed[i + 1] ||
|
||||
(argument[0] == '-' && !isdigit(static_cast<int32_t>(argument[1]))))
|
||||
{
|
||||
mLastError = msArgRequired;
|
||||
return 0;
|
||||
}
|
||||
|
||||
value = atoi(argument.c_str());
|
||||
if ((mMinSet && value < mSmall)
|
||||
|| (mMaxSet && value > mLarge)
|
||||
|| (mInfSet && value <= mSmall)
|
||||
|| (mSupSet && value >= mLarge))
|
||||
if ((mMinSet && value < mSmall) ||
|
||||
(mMaxSet && value > mLarge) ||
|
||||
(mInfSet && value <= mSmall) ||
|
||||
(mSupSet && value >= mLarge))
|
||||
{
|
||||
mLastError = msArgOutOfRange;
|
||||
return 0;
|
||||
@@ -187,28 +189,32 @@ int Command::GetInteger (std::string const& name, int& value)
|
||||
return matchFound;
|
||||
}
|
||||
|
||||
int Command::GetFloat (std::string const& name, float& value)
|
||||
size_t Command::GetFloat(std::string const& name, float& value)
|
||||
{
|
||||
int matchFound = 0;
|
||||
size_t matchFound = 0;
|
||||
|
||||
int const numArguments = (int)mArguments.size();
|
||||
for (int i = 1; i <numArguments; ++i)
|
||||
for (size_t i = 1; i < mArguments.size(); ++i)
|
||||
{
|
||||
if (!mProcessed[i] && mArguments[i] == (msDash + name))
|
||||
{
|
||||
if (i + 1 >= mArguments.size())
|
||||
{
|
||||
mLastError = msArgRequired;
|
||||
return 0;
|
||||
}
|
||||
std::string argument = mArguments[i + 1];
|
||||
if (mProcessed[i + 1]
|
||||
|| (argument[0] == '-' && !isdigit((int)argument[1])))
|
||||
if (mProcessed[i + 1] ||
|
||||
(argument[0] == '-' && !isdigit(static_cast<int32_t>(argument[1]))))
|
||||
{
|
||||
mLastError = msArgRequired;
|
||||
return 0;
|
||||
}
|
||||
|
||||
value = (float)atof(argument.c_str());
|
||||
if ((mMinSet && value < mSmall)
|
||||
|| (mMaxSet && value > mLarge)
|
||||
|| (mInfSet && value <= mSmall)
|
||||
|| (mSupSet && value >= mLarge))
|
||||
value = static_cast<float>(atof(argument.c_str()));
|
||||
if ((mMinSet && value < mSmall) ||
|
||||
(mMaxSet && value > mLarge) ||
|
||||
(mInfSet && value <= mSmall) ||
|
||||
(mSupSet && value >= mLarge))
|
||||
{
|
||||
mLastError = msArgOutOfRange;
|
||||
return 0;
|
||||
@@ -234,28 +240,32 @@ int Command::GetFloat (std::string const& name, float& value)
|
||||
return matchFound;
|
||||
}
|
||||
|
||||
int Command::GetDouble (std::string const& name, double& value)
|
||||
size_t Command::GetDouble(std::string const& name, double& value)
|
||||
{
|
||||
int matchFound = 0;
|
||||
size_t matchFound = 0;
|
||||
|
||||
int const numArguments = (int)mArguments.size();
|
||||
for (int i = 1; i < numArguments; ++i)
|
||||
for (size_t i = 1; i < mArguments.size(); ++i)
|
||||
{
|
||||
if (!mProcessed[i] && mArguments[i] == (msDash + name))
|
||||
{
|
||||
if (i + 1 >= mArguments.size())
|
||||
{
|
||||
mLastError = msArgRequired;
|
||||
return 0;
|
||||
}
|
||||
std::string argument = mArguments[i + 1];
|
||||
if (mProcessed[i + 1]
|
||||
|| (argument[0] == '-' && !isdigit((int)argument[1])))
|
||||
if (mProcessed[i + 1] ||
|
||||
(argument[0] == '-' && !isdigit(static_cast<int32_t>(argument[1]))))
|
||||
{
|
||||
mLastError = msArgRequired;
|
||||
return 0;
|
||||
}
|
||||
|
||||
value = atof(argument.c_str());
|
||||
if ((mMinSet && value < mSmall)
|
||||
|| (mMaxSet && value > mLarge)
|
||||
|| (mInfSet && value <= mSmall)
|
||||
|| (mSupSet && value >= mLarge))
|
||||
if ((mMinSet && value < mSmall) ||
|
||||
(mMaxSet && value > mLarge) ||
|
||||
(mInfSet && value <= mSmall) ||
|
||||
(mSupSet && value >= mLarge))
|
||||
{
|
||||
mLastError = msArgOutOfRange;
|
||||
return 0;
|
||||
@@ -281,15 +291,19 @@ int Command::GetDouble (std::string const& name, double& value)
|
||||
return matchFound;
|
||||
}
|
||||
|
||||
int Command::GetString (std::string const& name, std::string& value)
|
||||
size_t Command::GetString(std::string const& name, std::string& value)
|
||||
{
|
||||
int matchFound = 0;
|
||||
size_t matchFound = 0;
|
||||
|
||||
int const numArguments = (int)mArguments.size();
|
||||
for (int i = 1; i < numArguments; ++i)
|
||||
for (size_t i = 1; i < mArguments.size(); ++i)
|
||||
{
|
||||
if (!mProcessed[i] && mArguments[i] == (msDash + name))
|
||||
{
|
||||
if (i + 1 >= mArguments.size())
|
||||
{
|
||||
mLastError = msArgRequired;
|
||||
return 0;
|
||||
}
|
||||
std::string argument = mArguments[i + 1];
|
||||
if (mProcessed[i + 1] || argument[0] == '-')
|
||||
{
|
||||
@@ -313,12 +327,11 @@ int Command::GetString (std::string const& name, std::string& value)
|
||||
return matchFound;
|
||||
}
|
||||
|
||||
int Command::GetFilename (std::string& value, int startArgIndex)
|
||||
size_t Command::GetFilename(std::string& value, size_t startArgIndex)
|
||||
{
|
||||
int matchFound = 0;
|
||||
size_t matchFound = 0;
|
||||
|
||||
int const numArguments = (int)mArguments.size();
|
||||
for (int i = startArgIndex; i < numArguments; ++i)
|
||||
for (size_t i = startArgIndex; i < mArguments.size(); ++i)
|
||||
{
|
||||
std::string argument = mArguments[i];
|
||||
if (!mProcessed[i] && argument[0] != '-')
|
||||
@@ -337,3 +350,5 @@ int Command::GetFilename (std::string& value, int startArgIndex)
|
||||
|
||||
return matchFound;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+14
-12
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2020.01.10
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -17,11 +17,11 @@ namespace gte
|
||||
public:
|
||||
// Construction and destruction.
|
||||
~Command() = default;
|
||||
Command(int numArguments, char const* arguments[]);
|
||||
Command(int numArguments, char* arguments[]);
|
||||
Command(int32_t numArguments, char const* arguments[]);
|
||||
Command(int32_t numArguments, char* arguments[]);
|
||||
|
||||
// The return value is the index of the first excess argument.
|
||||
int ExcessArguments() const;
|
||||
size_t ExcessArguments() const;
|
||||
|
||||
// Set bounds for numerical arguments. If bounds are required, they
|
||||
// must be set for each argument.
|
||||
@@ -38,13 +38,13 @@ namespace gte
|
||||
// myprogram -debug -x 10 -y 20 filename
|
||||
// the option -debug has no argument. The first GetBoolean function
|
||||
// returns only the existence of the option.
|
||||
int GetBoolean(std::string const& name);
|
||||
int GetBoolean(std::string const& name, bool& value);
|
||||
int GetInteger(std::string const& name, int& value);
|
||||
int GetFloat(std::string const& name, float& value);
|
||||
int GetDouble(std::string const& name, double& value);
|
||||
int GetString(std::string const& name, std::string& value);
|
||||
int GetFilename(std::string& value, int startArgIndex = 1);
|
||||
size_t GetBoolean(std::string const& name);
|
||||
size_t GetBoolean(std::string const& name, bool& value);
|
||||
size_t GetInteger(std::string const& name, int32_t& value);
|
||||
size_t GetFloat(std::string const& name, float& value);
|
||||
size_t GetDouble(std::string const& name, double& value);
|
||||
size_t GetString(std::string const& name, std::string& value);
|
||||
size_t GetFilename(std::string& value, size_t startArgIndex = 1);
|
||||
|
||||
// Last-error reporting.
|
||||
inline std::string GetLastError() const
|
||||
@@ -76,3 +76,5 @@ namespace gte
|
||||
static std::string const msDash;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -14,3 +14,5 @@
|
||||
#if defined(GTE_USE_LINUX)
|
||||
#include<Applications/GLX/Console.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/ConsoleApplication.h>
|
||||
@@ -29,3 +29,5 @@ ConsoleApplication::ConsoleApplication(Parameters const& parameters)
|
||||
mTitle(parameters.title)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -48,3 +48,5 @@ namespace gte
|
||||
std::wstring mTitle;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2020.09.15
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/Environment.h>
|
||||
@@ -36,14 +36,14 @@ std::string Environment::GetVariable(std::string const& name) const
|
||||
#endif
|
||||
}
|
||||
|
||||
int Environment::GetNumDirectories() const
|
||||
int32_t Environment::GetNumDirectories() const
|
||||
{
|
||||
return static_cast<int>(mDirectories.size());
|
||||
return static_cast<int32_t>(mDirectories.size());
|
||||
}
|
||||
|
||||
std::string Environment::Get(int i) const
|
||||
std::string Environment::Get(int32_t i) const
|
||||
{
|
||||
if (0 <= i && i < static_cast<int>(mDirectories.size()))
|
||||
if (0 <= i && i < static_cast<int32_t>(mDirectories.size()))
|
||||
{
|
||||
return mDirectories[i];
|
||||
}
|
||||
@@ -115,9 +115,8 @@ std::string Environment::GetPath(std::string const& name) const
|
||||
std::string Environment::GetGTEPath() const
|
||||
{
|
||||
std::string path = GetVariable("GTE_PATH");
|
||||
if (path == "")
|
||||
{
|
||||
LogWarning("You must create the environment variable GTE_PATH.");
|
||||
}
|
||||
LogAssert(path != "", "You must create the environment variable GTE_PATH.");
|
||||
return path;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2020.09.15
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -17,19 +17,24 @@ namespace gte
|
||||
{
|
||||
public:
|
||||
// Construction and destruction.
|
||||
Environment()
|
||||
:
|
||||
mDirectories{}
|
||||
{
|
||||
}
|
||||
|
||||
~Environment() = default;
|
||||
Environment() = default;
|
||||
|
||||
// Get the string corresponding to an environment variable.
|
||||
std::string GetVariable(std::string const& name) const;
|
||||
|
||||
// Support for paths to locate files. For platform independence, use
|
||||
// "/" for the path separator. The input 'directory' will
|
||||
// Support for paths to locate files. For platform independence, use
|
||||
// "/" for the path separator. The input 'directory' will
|
||||
// automatically be appended with a trailing "/" if it does not end
|
||||
// in '/' or '\\'. The Insert*/Remove* functions return 'true' iff
|
||||
// in '/' or '\\'. The Insert*/Remove* functions return 'true' iff
|
||||
// the operation was successful.
|
||||
int GetNumDirectories() const;
|
||||
std::string Get(int i) const;
|
||||
int32_t GetNumDirectories() const;
|
||||
std::string Get(int32_t i) const;
|
||||
bool Insert(std::string const& directory);
|
||||
bool Remove(std::string const& directory);
|
||||
void RemoveAll();
|
||||
@@ -39,13 +44,11 @@ namespace gte
|
||||
// for reading.
|
||||
std::string GetPath(std::string const& name) const;
|
||||
|
||||
// Get the path to the GTE folder. This is obtained from the
|
||||
// GTE_PATH environment variable, and it is required when you want
|
||||
// a guaranteed way of finding application data/files in the GTE
|
||||
// subtree. If you call this function and the environment variable
|
||||
// does not exist, the returned string is "". The function calls
|
||||
// LogWarning(...) so that any listeners are informed about the
|
||||
// problem.
|
||||
// Get the path to the GTE folder. This is obtained from the GTE_PATH
|
||||
// environment variable. It is required when you want a guaranteed way
|
||||
// of finding application data/files in the GTE subtree. If you call
|
||||
// this function and the environment variable does not exist, an
|
||||
// exception is thrown.
|
||||
std::string GetGTEPath() const;
|
||||
|
||||
private:
|
||||
@@ -53,3 +56,5 @@ namespace gte
|
||||
std::vector<std::string> mDirectories;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/GLX/Console.h>
|
||||
@@ -36,3 +36,5 @@ Console::Console(Parameters& parameters)
|
||||
mEngine(std::static_pointer_cast<GraphicsEngine>(mBaseEngine))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace gte
|
||||
|
||||
_XDisplay* display;
|
||||
unsigned long window;
|
||||
unsigned int deviceCreationFlags;
|
||||
uint32_t deviceCreationFlags;
|
||||
};
|
||||
|
||||
public:
|
||||
@@ -46,3 +46,5 @@ namespace gte
|
||||
// previously in this file and is known to the compiler when it includes this
|
||||
// file.
|
||||
#include <Applications/GLX/ConsoleSystem.h>
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/GLX/Console.h>
|
||||
@@ -42,7 +42,7 @@ void ConsoleSystem::CreateEngineAndProgramFactory(Console::Parameters& parameter
|
||||
auto engine = std::make_shared<WGLEngine>(false, saveDriverInfo);
|
||||
if (!engine->MeetsRequirements())
|
||||
{
|
||||
LogError("OpenGL 4.5 or later is required.");
|
||||
LogError("OpenGL 4.6 or later is required.");
|
||||
}
|
||||
|
||||
if (engine->GetDevice())
|
||||
@@ -67,7 +67,7 @@ void ConsoleSystem::CreateEngineAndProgramFactory(Console::Parameters& parameter
|
||||
auto engine = std::make_shared<GLXEngine>(true, saveDriverInfo);
|
||||
if (!engine->MeetsRequirements())
|
||||
{
|
||||
LogError("OpenGL 4.5 or later is required.");
|
||||
LogError("OpenGL 4.6 or later is required.");
|
||||
}
|
||||
|
||||
if (engine->GetDisplay())
|
||||
@@ -89,3 +89,5 @@ void ConsoleSystem::CreateEngineAndProgramFactory(Console::Parameters& parameter
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -63,3 +63,5 @@ namespace gte
|
||||
|
||||
extern ConsoleSystem TheConsoleSystem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2026.02.16
|
||||
|
||||
// The functions were written based on the example source code
|
||||
// https://dev.w3.org/Amaya/libpng/example.c
|
||||
@@ -87,7 +87,7 @@ std::shared_ptr<Texture2> WICFileIO::Load(std::string const& filename, bool want
|
||||
png_read_png(helper.png_ptr, helper.info_ptr, 0, nullptr);
|
||||
|
||||
png_uint_32 width, height;
|
||||
int bit_depth, color_type, interlace_method, compression_method, filter_method;
|
||||
int32_t bit_depth, color_type, interlace_method, compression_method, filter_method;
|
||||
png_get_IHDR(helper.png_ptr, helper.info_ptr, &width, &height, &bit_depth,
|
||||
&color_type, &interlace_method, &compression_method, &filter_method);
|
||||
|
||||
@@ -125,7 +125,7 @@ std::shared_ptr<Texture2> WICFileIO::Load(std::string const& filename, bool want
|
||||
src = reinterpret_cast<uint8_t const*>(rows[y]);
|
||||
for (png_uint_32 x = 0; x < width; ++x)
|
||||
{
|
||||
for (int i = 0; i < 4; ++i)
|
||||
for (int32_t i = 0; i < 4; ++i)
|
||||
{
|
||||
*trg++ = src[4 * x + i];
|
||||
}
|
||||
@@ -141,7 +141,7 @@ std::shared_ptr<Texture2> WICFileIO::Load(std::string const& filename, bool want
|
||||
src = reinterpret_cast<uint8_t const*>(rows[y]);
|
||||
for (png_uint_32 x = 0; x < width; ++x)
|
||||
{
|
||||
for (int i = 0; i < 3; ++i)
|
||||
for (int32_t i = 0; i < 3; ++i)
|
||||
{
|
||||
*trg++ = src[3 * x + i];
|
||||
}
|
||||
@@ -171,7 +171,7 @@ std::shared_ptr<Texture2> WICFileIO::Load(std::string const& filename, bool want
|
||||
src = reinterpret_cast<uint8_t const*>(rows[y]);
|
||||
for (png_uint_32 x = 0; x < width; ++x)
|
||||
{
|
||||
for (int i = 0; i < 2; ++i)
|
||||
for (int32_t i = 0; i < 2; ++i)
|
||||
{
|
||||
*trg++ = src[2 * x + i];
|
||||
}
|
||||
@@ -192,7 +192,7 @@ std::shared_ptr<Texture2> WICFileIO::Load(std::string const& filename, bool want
|
||||
src = reinterpret_cast<uint16_t const*>(rows[y]);
|
||||
for (png_uint_32 x = 0; x < width; ++x)
|
||||
{
|
||||
for (int i = 0; i < 4; ++i)
|
||||
for (int32_t i = 0; i < 4; ++i)
|
||||
{
|
||||
*trg++ = src[4 * x + i];
|
||||
}
|
||||
@@ -201,14 +201,14 @@ std::shared_ptr<Texture2> WICFileIO::Load(std::string const& filename, bool want
|
||||
}
|
||||
else if (color_type == PNG_COLOR_TYPE_RGB)
|
||||
{
|
||||
texture = std::make_shared<Texture2>(DF_R8G8B8A8_UNORM, width, height, wantMipmaps);
|
||||
texture = std::make_shared<Texture2>(DF_R16G16B16A16_UNORM, width, height, wantMipmaps);
|
||||
trg = texture->Get<uint16_t>();
|
||||
for (png_uint_32 y = 0; y < height; ++y)
|
||||
{
|
||||
src = reinterpret_cast<uint16_t const*>(rows[y]);
|
||||
for (png_uint_32 x = 0; x < width; ++x)
|
||||
{
|
||||
for (int i = 0; i < 3; ++i)
|
||||
for (int32_t i = 0; i < 3; ++i)
|
||||
{
|
||||
*trg++ = src[3 * x + i];
|
||||
}
|
||||
@@ -238,7 +238,7 @@ std::shared_ptr<Texture2> WICFileIO::Load(std::string const& filename, bool want
|
||||
src = reinterpret_cast<uint16_t const*>(rows[y]);
|
||||
for (png_uint_32 x = 0; x < width; ++x)
|
||||
{
|
||||
for (int i = 0; i < 2; ++i)
|
||||
for (int32_t i = 0; i < 2; ++i)
|
||||
{
|
||||
*trg++ = src[2 * x + i];
|
||||
}
|
||||
@@ -257,8 +257,8 @@ bool WICFileIO::SaveToPNG(std::string const& filename, std::shared_ptr<Texture2>
|
||||
return false;
|
||||
}
|
||||
|
||||
int bit_depth = 0;
|
||||
int color_type = 0;
|
||||
int32_t bit_depth = 0;
|
||||
int32_t color_type = 0;
|
||||
png_uint_32 bytes_per_pixel = 0;
|
||||
switch (texture->GetFormat())
|
||||
{
|
||||
@@ -327,9 +327,9 @@ bool WICFileIO::SaveToPNG(std::string const& filename, std::shared_ptr<Texture2>
|
||||
|
||||
png_uint_32 width = texture->GetWidth();
|
||||
png_uint_32 height = texture->GetHeight();
|
||||
int interlace_method = PNG_INTERLACE_NONE;
|
||||
int compression_method = PNG_COMPRESSION_TYPE_BASE;
|
||||
int filter_method = PNG_FILTER_TYPE_BASE;
|
||||
int32_t interlace_method = PNG_INTERLACE_NONE;
|
||||
int32_t compression_method = PNG_COMPRESSION_TYPE_BASE;
|
||||
int32_t filter_method = PNG_FILTER_TYPE_BASE;
|
||||
|
||||
png_set_IHDR(helper.png_ptr, helper.info_ptr, width, height, bit_depth,
|
||||
color_type, interlace_method, compression_method, filter_method);
|
||||
@@ -346,3 +346,5 @@ bool WICFileIO::SaveToPNG(std::string const& filename, std::shared_ptr<Texture2>
|
||||
png_write_end(helper.png_ptr, helper.info_ptr);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Graphics/Texture2.h>
|
||||
#include <memory>
|
||||
|
||||
// The supported texture types are DF_R8G8B8A8_UNORM, DF_R8_UNORM, and
|
||||
// DF_R8G8_UNORM (gray+alpha).
|
||||
// The supported texture types are DF_R8G8B8A8_UNORM, DF_R8_UNORM
|
||||
// and DF_R8G8_UNORM (gray+alpha).
|
||||
|
||||
namespace gte
|
||||
{
|
||||
@@ -29,3 +29,5 @@ namespace gte
|
||||
std::shared_ptr<Texture2> const& texture);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/GLX/Window.h>
|
||||
@@ -25,7 +25,7 @@ namespace gte
|
||||
}
|
||||
|
||||
Window::Parameters::Parameters(std::wstring const& inTitle,
|
||||
int inXOrigin, int inYOrigin, int inXSize, int inYSize)
|
||||
int32_t inXOrigin, int32_t inYOrigin, int32_t inXSize, int32_t inYSize)
|
||||
:
|
||||
WindowApplication::Parameters(inTitle, inXOrigin, inYOrigin, inXSize, inYSize),
|
||||
display(nullptr),
|
||||
@@ -64,17 +64,17 @@ namespace gte
|
||||
XMapWindow(mDisplay, mWindow);
|
||||
}
|
||||
|
||||
void Window::SetMousePosition(int x, int y)
|
||||
void Window::SetMousePosition(int32_t x, int32_t y)
|
||||
{
|
||||
XWarpPointer(mDisplay, 0, mWindow, 0, 0, 0, 0, x, y);
|
||||
XFlush(mDisplay);
|
||||
}
|
||||
|
||||
void Window::GetMousePosition(int& x, int& y) const
|
||||
void Window::GetMousePosition(int32_t& x, int32_t& y) const
|
||||
{
|
||||
XID rootWindow, childWindow;
|
||||
int rootX, rootY;
|
||||
unsigned int modifier;
|
||||
int32_t rootX, rootY;
|
||||
uint32_t modifier;
|
||||
XQueryPointer(mDisplay, mWindow, &rootWindow, &childWindow,
|
||||
&rootX, &rootY, &x, &y, &modifier);
|
||||
}
|
||||
@@ -84,7 +84,7 @@ namespace gte
|
||||
XDestroyWindow(mDisplay, mWindow);
|
||||
}
|
||||
|
||||
int Window::ProcessedEvent()
|
||||
int32_t Window::ProcessedEvent()
|
||||
{
|
||||
if (!XPending(mDisplay))
|
||||
{
|
||||
@@ -119,8 +119,8 @@ namespace gte
|
||||
|
||||
if (evt.type == MotionNotify)
|
||||
{
|
||||
int button = MOUSE_NONE;
|
||||
for (int i = MOUSE_LEFT; i <= MOUSE_RIGHT; ++i)
|
||||
int32_t button = MOUSE_NONE;
|
||||
for (int32_t i = MOUSE_LEFT; i <= MOUSE_RIGHT; ++i)
|
||||
{
|
||||
if (mButtonDown[i])
|
||||
{
|
||||
@@ -134,11 +134,11 @@ namespace gte
|
||||
|
||||
if (evt.type == KeyPress || evt.type == KeyRelease)
|
||||
{
|
||||
int keysyms_per_keycode_return;
|
||||
int32_t keysyms_per_keycode_return;
|
||||
KeySym* pKeySym = XGetKeyboardMapping(mDisplay,
|
||||
evt.xkey.keycode, 1, &keysyms_per_keycode_return);
|
||||
KeySym& keySym = *pKeySym;
|
||||
int key = (keySym & 0x00FF);
|
||||
int32_t key = (keySym & 0x00FF);
|
||||
|
||||
// Quit application if the KEY_ESCAPE key is pressed.
|
||||
if (key == KEY_ESCAPE)
|
||||
@@ -208,10 +208,10 @@ namespace gte
|
||||
if (evt.type == KeyPress)
|
||||
{
|
||||
// Get key-modifier state. Adjust for shift state.
|
||||
unsigned char ucKey = static_cast<unsigned char>(key);
|
||||
uint8_t ucKey = static_cast<uint8_t>(key);
|
||||
if (mShiftDown && 'a' <= ucKey && ucKey <= 'z')
|
||||
{
|
||||
ucKey = static_cast<unsigned char>(key - 32);
|
||||
ucKey = static_cast<uint8_t>(key - 32);
|
||||
}
|
||||
OnCharPress(ucKey, evt.xbutton.x, evt.xbutton.y);
|
||||
}
|
||||
@@ -236,7 +236,7 @@ namespace gte
|
||||
if (evt.type == ClientMessage)
|
||||
{
|
||||
Atom* wmDelete = nullptr;
|
||||
int count;
|
||||
int32_t count;
|
||||
if (XGetWMProtocols(mDisplay, mWindow, &wmDelete, &count))
|
||||
{
|
||||
if ((unsigned long)evt.xclient.data.l[0] == *wmDelete)
|
||||
@@ -249,49 +249,51 @@ namespace gte
|
||||
return EVT_NONE_PENDING;
|
||||
}
|
||||
|
||||
int const WindowApplication::KEY_ESCAPE = 0x1B;
|
||||
int const WindowApplication::KEY_HOME = 0x95;
|
||||
int const WindowApplication::KEY_LEFT = 0x96;
|
||||
int const WindowApplication::KEY_UP = 0x97;
|
||||
int const WindowApplication::KEY_RIGHT = 0x98;
|
||||
int const WindowApplication::KEY_DOWN = 0x99;
|
||||
int const WindowApplication::KEY_PAGE_UP = 0x9A;
|
||||
int const WindowApplication::KEY_PAGE_DOWN = 0x9B;
|
||||
int const WindowApplication::KEY_END = 0x9C;
|
||||
int const WindowApplication::KEY_INSERT = 0x9E;
|
||||
int const WindowApplication::KEY_DELETE = 0x9F;
|
||||
int const WindowApplication::KEY_F1 = 0xBE;
|
||||
int const WindowApplication::KEY_F2 = 0xBF;
|
||||
int const WindowApplication::KEY_F3 = 0xC0;
|
||||
int const WindowApplication::KEY_F4 = 0xC1;
|
||||
int const WindowApplication::KEY_F5 = 0xC2;
|
||||
int const WindowApplication::KEY_F6 = 0xC3;
|
||||
int const WindowApplication::KEY_F7 = 0xC4;
|
||||
int const WindowApplication::KEY_F8 = 0xC5;
|
||||
int const WindowApplication::KEY_F9 = 0xC6;
|
||||
int const WindowApplication::KEY_F10 = 0xC7;
|
||||
int const WindowApplication::KEY_F11 = 0xC8;
|
||||
int const WindowApplication::KEY_F12 = 0xC9;
|
||||
int const WindowApplication::KEY_BACKSPACE = 0x08;
|
||||
int const WindowApplication::KEY_TAB = 0x09;
|
||||
int const WindowApplication::KEY_ENTER = 0x0D;
|
||||
int const WindowApplication::KEY_RETURN = 0x0D;
|
||||
int32_t const WindowApplication::KEY_ESCAPE = 0x1B;
|
||||
int32_t const WindowApplication::KEY_HOME = 0x95;
|
||||
int32_t const WindowApplication::KEY_LEFT = 0x96;
|
||||
int32_t const WindowApplication::KEY_UP = 0x97;
|
||||
int32_t const WindowApplication::KEY_RIGHT = 0x98;
|
||||
int32_t const WindowApplication::KEY_DOWN = 0x99;
|
||||
int32_t const WindowApplication::KEY_PAGE_UP = 0x9A;
|
||||
int32_t const WindowApplication::KEY_PAGE_DOWN = 0x9B;
|
||||
int32_t const WindowApplication::KEY_END = 0x9C;
|
||||
int32_t const WindowApplication::KEY_INSERT = 0x9E;
|
||||
int32_t const WindowApplication::KEY_DELETE = 0x9F;
|
||||
int32_t const WindowApplication::KEY_F1 = 0xBE;
|
||||
int32_t const WindowApplication::KEY_F2 = 0xBF;
|
||||
int32_t const WindowApplication::KEY_F3 = 0xC0;
|
||||
int32_t const WindowApplication::KEY_F4 = 0xC1;
|
||||
int32_t const WindowApplication::KEY_F5 = 0xC2;
|
||||
int32_t const WindowApplication::KEY_F6 = 0xC3;
|
||||
int32_t const WindowApplication::KEY_F7 = 0xC4;
|
||||
int32_t const WindowApplication::KEY_F8 = 0xC5;
|
||||
int32_t const WindowApplication::KEY_F9 = 0xC6;
|
||||
int32_t const WindowApplication::KEY_F10 = 0xC7;
|
||||
int32_t const WindowApplication::KEY_F11 = 0xC8;
|
||||
int32_t const WindowApplication::KEY_F12 = 0xC9;
|
||||
int32_t const WindowApplication::KEY_BACKSPACE = 0x08;
|
||||
int32_t const WindowApplication::KEY_TAB = 0x09;
|
||||
int32_t const WindowApplication::KEY_ENTER = 0x0D;
|
||||
int32_t const WindowApplication::KEY_RETURN = 0x0D;
|
||||
|
||||
int const WindowApplication::KEY_SHIFT = 0xE1; // L-shift
|
||||
int const WindowApplication::KEY_CONTROL = 0xE3; // L-ctrl
|
||||
int const WindowApplication::KEY_ALT = 0xE9; // L-alt
|
||||
int const WindowApplication::KEY_COMMAND = 0xEB; // L-command
|
||||
int32_t const WindowApplication::KEY_SHIFT = 0xE1; // L-shift
|
||||
int32_t const WindowApplication::KEY_CONTROL = 0xE3; // L-ctrl
|
||||
int32_t const WindowApplication::KEY_ALT = 0xE9; // L-alt
|
||||
int32_t const WindowApplication::KEY_COMMAND = 0xEB; // L-command
|
||||
|
||||
int const WindowApplication::MOUSE_NONE = 0x0000;
|
||||
int const WindowApplication::MOUSE_LEFT = 0x0001;
|
||||
int const WindowApplication::MOUSE_MIDDLE = 0x0002;
|
||||
int const WindowApplication::MOUSE_RIGHT = 0x0003;
|
||||
int const WindowApplication::MOUSE_DOWN = 0x0004;
|
||||
int const WindowApplication::MOUSE_UP = 0x0005;
|
||||
int32_t const WindowApplication::MOUSE_NONE = 0x0000;
|
||||
int32_t const WindowApplication::MOUSE_LEFT = 0x0001;
|
||||
int32_t const WindowApplication::MOUSE_MIDDLE = 0x0002;
|
||||
int32_t const WindowApplication::MOUSE_RIGHT = 0x0003;
|
||||
int32_t const WindowApplication::MOUSE_DOWN = 0x0004;
|
||||
int32_t const WindowApplication::MOUSE_UP = 0x0005;
|
||||
|
||||
int const WindowApplication::MODIFIER_CONTROL = 0x0004;
|
||||
int const WindowApplication::MODIFIER_LBUTTON = 0x0001;
|
||||
int const WindowApplication::MODIFIER_MBUTTON = 0x0002;
|
||||
int const WindowApplication::MODIFIER_RBUTTON = 0x0003;
|
||||
int const WindowApplication::MODIFIER_SHIFT = 0x0001;
|
||||
int32_t const WindowApplication::MODIFIER_CONTROL = 0x0004;
|
||||
int32_t const WindowApplication::MODIFIER_LBUTTON = 0x0001;
|
||||
int32_t const WindowApplication::MODIFIER_MBUTTON = 0x0002;
|
||||
int32_t const WindowApplication::MODIFIER_RBUTTON = 0x0003;
|
||||
int32_t const WindowApplication::MODIFIER_SHIFT = 0x0001;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -24,11 +24,11 @@ namespace gte
|
||||
Parameters();
|
||||
|
||||
Parameters(std::wstring const& inTitle,
|
||||
int inXOrigin, int inYOrigin, int inXSize, int inYSize);
|
||||
int32_t inXOrigin, int32_t inYOrigin, int32_t inXSize, int32_t inYSize);
|
||||
|
||||
_XDisplay* display;
|
||||
unsigned long window;
|
||||
unsigned int deviceCreationFlags;
|
||||
uint32_t deviceCreationFlags;
|
||||
};
|
||||
|
||||
protected:
|
||||
@@ -38,14 +38,14 @@ namespace gte
|
||||
public:
|
||||
virtual ~Window();
|
||||
|
||||
virtual void SetTitle(std::wstring const& title);
|
||||
virtual void SetTitle(std::wstring const& title) override;
|
||||
|
||||
// Draw the window.
|
||||
void ShowWindow();
|
||||
|
||||
// Mouse position information.
|
||||
virtual void SetMousePosition(int x, int y) override;
|
||||
virtual void GetMousePosition(int& x, int& y) const override;
|
||||
virtual void SetMousePosition(int32_t x, int32_t y) override;
|
||||
virtual void GetMousePosition(int32_t& x, int32_t& y) const override;
|
||||
|
||||
// Actions to take before the window closes.
|
||||
virtual void OnClose() override;
|
||||
@@ -58,7 +58,7 @@ namespace gte
|
||||
EVT_PROCESSED,
|
||||
EVT_QUIT
|
||||
};
|
||||
int ProcessedEvent();
|
||||
int32_t ProcessedEvent();
|
||||
|
||||
protected:
|
||||
_XDisplay* mDisplay;
|
||||
@@ -78,3 +78,5 @@ namespace gte
|
||||
// previously in this file and is known to the compiler when it includes this
|
||||
// file.
|
||||
#include <Applications/GLX/WindowSystem.h>
|
||||
|
||||
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/GLX/WindowSystem.h>
|
||||
#include <Applications/GLX/Window.h>
|
||||
#include <Graphics/GL45/GLX/GLXEngine.h>
|
||||
#include <Graphics/GL45/GLSLProgramFactory.h>
|
||||
#include <Graphics/GL46/GLX/GLXEngine.h>
|
||||
#include <Graphics/GL46/GLSLProgramFactory.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <GL/glx.h>
|
||||
using namespace gte;
|
||||
@@ -27,7 +27,6 @@ WindowSystem::~WindowSystem()
|
||||
|
||||
WindowSystem::WindowSystem()
|
||||
:
|
||||
mDisplayName("GTEngineWindow"),
|
||||
mDisplay(nullptr)
|
||||
{
|
||||
// Connect to the X server.
|
||||
@@ -39,7 +38,7 @@ WindowSystem::WindowSystem()
|
||||
}
|
||||
|
||||
// Make sure the X server has OpenGL GLX extensions.
|
||||
int errorBase, eventBase;
|
||||
int32_t errorBase, eventBase;
|
||||
Bool success = glXQueryExtension(mDisplay, &errorBase, &eventBase);
|
||||
if (!success)
|
||||
{
|
||||
@@ -59,10 +58,10 @@ bool WindowSystem::Create(_XDisplay*& display, __GLXcontextRec*& context, unsign
|
||||
window = 0;
|
||||
|
||||
// Select the attributes for the frame buffer.
|
||||
int attributes[256];
|
||||
int32_t attributes[256];
|
||||
|
||||
// Create a 32-bit RGBA buffer.
|
||||
int i = 0;
|
||||
int32_t i = 0;
|
||||
attributes[i++] = GLX_RGBA;
|
||||
attributes[i++] = GLX_RED_SIZE;
|
||||
attributes[i++] = 8;
|
||||
@@ -97,7 +96,7 @@ bool WindowSystem::Create(_XDisplay*& display, __GLXcontextRec*& context, unsign
|
||||
attributes[i] = 0;
|
||||
|
||||
// Get an OpenGL-capable visual.
|
||||
int screen = DefaultScreen(mDisplay);
|
||||
int32_t screen = DefaultScreen(mDisplay);
|
||||
XVisualInfo* visualInfo = glXChooseVisual(mDisplay, screen, attributes);
|
||||
if (!visualInfo)
|
||||
{
|
||||
@@ -138,8 +137,8 @@ bool WindowSystem::Create(_XDisplay*& display, __GLXcontextRec*& context, unsign
|
||||
ExposureMask |
|
||||
StructureNotifyMask;
|
||||
|
||||
unsigned int xOrigin = 0, yOrigin = 0, xSize = 16, ySize = 16;
|
||||
unsigned int borderWidth = 0;
|
||||
uint32_t xOrigin = 0, yOrigin = 0, xSize = 16, ySize = 16;
|
||||
uint32_t borderWidth = 0;
|
||||
unsigned long valueMask = CWBorderPixel | CWColormap | CWEventMask;
|
||||
window = XCreateWindow(mDisplay, rootWindow, xOrigin,
|
||||
yOrigin, xSize, ySize, borderWidth,
|
||||
@@ -155,7 +154,7 @@ bool WindowSystem::Create(_XDisplay*& display, __GLXcontextRec*& context, unsign
|
||||
|
||||
std::string title = "GL4ComputeWindowClass";
|
||||
Pixmap iconPixmap = None;
|
||||
int numArguments = 0;
|
||||
int32_t numArguments = 0;
|
||||
char** arguments = nullptr;
|
||||
XSetStandardProperties(mDisplay, window, title.c_str(),
|
||||
title.c_str(), iconPixmap, arguments, numArguments, &hints);
|
||||
@@ -170,10 +169,10 @@ bool WindowSystem::Create(_XDisplay*& display, __GLXcontextRec*& context, unsign
|
||||
void WindowSystem::CreateFrom(Window::Parameters& parameters)
|
||||
{
|
||||
// Select the attributes for the frame buffer.
|
||||
int attributes[256];
|
||||
int32_t attributes[256];
|
||||
|
||||
// Create a 32-bit RGBA buffer.
|
||||
int i = 0;
|
||||
int32_t i = 0;
|
||||
attributes[i++] = GLX_RGBA;
|
||||
attributes[i++] = GLX_RED_SIZE;
|
||||
attributes[i++] = 8;
|
||||
@@ -208,7 +207,7 @@ void WindowSystem::CreateFrom(Window::Parameters& parameters)
|
||||
attributes[i] = 0;
|
||||
|
||||
// Get an OpenGL-capable visual.
|
||||
int screen = DefaultScreen(mDisplay);
|
||||
int32_t screen = DefaultScreen(mDisplay);
|
||||
XVisualInfo* visualInfo = glXChooseVisual(mDisplay, screen, attributes);
|
||||
if (!visualInfo)
|
||||
{
|
||||
@@ -251,7 +250,7 @@ void WindowSystem::CreateFrom(Window::Parameters& parameters)
|
||||
ExposureMask |
|
||||
StructureNotifyMask;
|
||||
|
||||
unsigned int borderWidth = 0;
|
||||
uint32_t borderWidth = 0;
|
||||
unsigned long valueMask = CWBorderPixel | CWColormap | CWEventMask;
|
||||
parameters.window = XCreateWindow(mDisplay, rootWindow, parameters.xOrigin,
|
||||
parameters.yOrigin, parameters.xSize, parameters.ySize, borderWidth,
|
||||
@@ -267,7 +266,7 @@ void WindowSystem::CreateFrom(Window::Parameters& parameters)
|
||||
|
||||
std::string title(parameters.title.begin(), parameters.title.end());
|
||||
Pixmap iconPixmap = None;
|
||||
int numArguments = 0;
|
||||
int32_t numArguments = 0;
|
||||
char** arguments = nullptr;
|
||||
XSetStandardProperties(mDisplay, parameters.window, title.c_str(),
|
||||
title.c_str(), iconPixmap, arguments, numArguments, &hints);
|
||||
@@ -307,3 +306,5 @@ void WindowSystem::CreateFrom(Window::Parameters& parameters)
|
||||
parameters.created = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -42,13 +42,12 @@ namespace gte
|
||||
};
|
||||
|
||||
template <typename WindowType>
|
||||
void MessagePump(std::shared_ptr<WindowType> const& window, unsigned int flags);
|
||||
void MessagePump(std::shared_ptr<WindowType> const& window, uint32_t flags);
|
||||
|
||||
private:
|
||||
// Window creation and destruction.
|
||||
void CreateFrom(Window::Parameters& parameters);
|
||||
|
||||
char const* mDisplayName;
|
||||
_XDisplay* mDisplay;
|
||||
std::map<unsigned long, std::shared_ptr<Window>> mWindowMap;
|
||||
};
|
||||
@@ -85,7 +84,7 @@ namespace gte
|
||||
}
|
||||
|
||||
template <typename WindowType>
|
||||
void WindowSystem::MessagePump(std::shared_ptr<WindowType> const& window, unsigned int flags)
|
||||
void WindowSystem::MessagePump(std::shared_ptr<WindowType> const& window, uint32_t flags)
|
||||
{
|
||||
if (window)
|
||||
{
|
||||
@@ -93,7 +92,7 @@ namespace gte
|
||||
|
||||
for (;;)
|
||||
{
|
||||
int result = window->ProcessedEvent();
|
||||
int32_t result = window->ProcessedEvent();
|
||||
if (result == Window::EVT_QUIT)
|
||||
{
|
||||
return;
|
||||
@@ -113,3 +112,5 @@ namespace gte
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,55 +1,56 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
|
||||
// The preprocessor symbol GTE_USE_MSWINDOWS is added to all Visual Studio project
|
||||
// configurations.
|
||||
// On Microsoft Windows 10/11, the preprocessor symbol GTE_USE_MSWINDOWS is
|
||||
// added to the Visual Studio project configurations. If a project uses
|
||||
// DirectX 11 (or later), the symbol GTE_USE_DIRECTX is added to the Visual
|
||||
// Studio projects. If a project uses OpenGL, the symbol GTE_USE_OPENGL is
|
||||
// added to the Visual Studio projects.
|
||||
//
|
||||
// On Linux, the make system has the defines GTE_USE_LINUX and GTE_USE_OPENGL.
|
||||
//
|
||||
// By default, GTE uses row-major order for storing matrices. Previously
|
||||
// you had to add to the project settings the preprocessor symbol
|
||||
// GTE_USE_ROW_MAJOR. The source code has been modified so that you no
|
||||
// longer need to define GTE_USE_ROW_MAJOR. If you want column-major order
|
||||
// instead, add to the project settings the preprocessor symbol
|
||||
// GTE_USE_COL_MAJOR.
|
||||
//
|
||||
// By default, GTE multiplies a matrix M and a vector V using M*V, which is
|
||||
// the vector-on-the-right convention. Previously you had to add to the
|
||||
// project settings the preprocessor symbol GTE_USE_MAT_VEC. The source code
|
||||
// has been modified so that you no longer need to define GTE_USE_MAT_VEC.
|
||||
// If you want the multiplication to represent V*M instead, which is the
|
||||
// vector-on-the-left convention, add to the project settings the preprocessor
|
||||
// symbol GTE_USE_VEC_MAT.
|
||||
|
||||
#if defined(GTE_USE_MSWINDOWS)
|
||||
|
||||
// The _MSC_VER macro has integer values as described at the webpage
|
||||
// https://learn.microsoft.com/en-us/cpp/overview/compiler-versions?view=msvc-170
|
||||
// Currently, projects are provided only for Visual Studio 2019/2022, but the
|
||||
// macro allows you to compile with Visual Studio 2015 or later.
|
||||
#if !defined(_MSC_VER)
|
||||
#error Microsoft Visual Studio 2015 or later is required.
|
||||
#endif
|
||||
|
||||
// MSVC 6 is version 12.0
|
||||
// MSVC 7.0 is version 13.0 (MSVS 2002)
|
||||
// MSVC 7.1 is version 13.1 (MSVS 2003)
|
||||
// MSVC 8.0 is version 14.0 (MSVS 2005)
|
||||
// MSVC 9.0 is version 15.0 (MSVS 2008)
|
||||
// MSVC 10.0 is version 16.0 (MSVS 2010)
|
||||
// MSVC 11.0 is version 17.0 (MSVS 2012)
|
||||
// MSVC 12.0 is version 18.0 (MSVS 2013)
|
||||
// MSVC 14.0 is version 19.0 (MSVS 2015)
|
||||
// MSVC 15.0 is version 19.1 (MSVS 2017) [latest is 19.16 for 15.9.1]
|
||||
// MSVC 16.0 is version 19.2 (MSVS 2019)
|
||||
// Currently, projects are provided only for MSVS 2013, 2015, 2017, 2019
|
||||
#if _MSC_VER < 1900
|
||||
#error Microsoft Visual Studio 2015 or later is required.
|
||||
#endif
|
||||
|
||||
// You can enable iterator debugging by adding to the preprocessor
|
||||
// symbols:
|
||||
// _ITERATOR_DEBUG_LEVEL=value
|
||||
//
|
||||
// Debug build values (choose_your_value is 0, 1, or 2)
|
||||
// 0: Disables checked iterators and disables iterator debugging.
|
||||
// 1: Enables checked iterators and disables iterator debugging.
|
||||
// 2: (default) Enables iterator debugging; checked iterators are not relevant.
|
||||
//
|
||||
// Release build values (choose_your_value is 0 or 1)
|
||||
// 0: (default) Disables checked iterators.
|
||||
// 1: Enables checked iterators; iterator debugging is not relevant.
|
||||
#if !defined(GTE_USE_DIRECTX) && !defined(GTE_USE_OPENGL)
|
||||
#error At least one of GTE_USE_DIRECTX or GTE_USE_OPENGL must be defined.
|
||||
#endif
|
||||
|
||||
// The preprocessor symbols include GTE_USE_ROW_MAJOR; matrices are stored
|
||||
// in row-major order. If you want column-major-order matrices, remove this
|
||||
// preprocessor symbol.
|
||||
|
||||
// The preprocessor symbols include GTE_USE_MAT_VEC; the action of a matrix M
|
||||
// on a vector V is M*V. If you want the action to be V*M, remove this
|
||||
// preprocessor symbol.
|
||||
#if defined(GTE_USE_DIRECTX) && defined(GTE_USE_OPENGL)
|
||||
#error Only one of GTE_USE_DIRECTX or GTE_USE_OPENGL must be defined.
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include <Applications/Console.h>
|
||||
#include <Applications/ConsoleApplication.h>
|
||||
#include <Applications/Environment.h>
|
||||
#include <Applications/LogReporter.h>
|
||||
#include <Applications/OnIdleTimer.h>
|
||||
#include <Applications/Timer.h>
|
||||
#include <Applications/TrackBall.h>
|
||||
@@ -27,8 +26,6 @@
|
||||
// Applications/MSW
|
||||
#include <Applications/MSW/Console.h>
|
||||
#include <Applications/MSW/ConsoleSystem.h>
|
||||
#include <Applications/MSW/LogToMessageBox.h>
|
||||
#include <Applications/MSW/LogToOutputWindow.h>
|
||||
#include <Applications/MSW/Window.h>
|
||||
#include <Applications/MSW/WindowSystem.h>
|
||||
#include <Applications/MSW/WICFileIO.h>
|
||||
@@ -40,3 +37,5 @@
|
||||
#include <Applications/GLX/WindowSystem.h>
|
||||
#include <Applications/GLX/WICFileIO.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
// Define GTE_DISABLE_PCH to turn off the precompiled header system.
|
||||
#ifndef GTE_DISABLE_PCH
|
||||
#include <Applications/GTApplications.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/LogReporter.h>
|
||||
using namespace gte;
|
||||
|
||||
LogReporter::~LogReporter()
|
||||
{
|
||||
if (mLogToStdout)
|
||||
{
|
||||
Logger::Unsubscribe(mLogToStdout.get());
|
||||
}
|
||||
|
||||
if (mLogToFile)
|
||||
{
|
||||
Logger::Unsubscribe(mLogToFile.get());
|
||||
}
|
||||
|
||||
#if defined(GTE_USE_MSWINDOWS)
|
||||
if (mLogToOutputWindow)
|
||||
{
|
||||
Logger::Unsubscribe(mLogToOutputWindow.get());
|
||||
}
|
||||
|
||||
if (mLogToMessageBox)
|
||||
{
|
||||
Logger::Unsubscribe(mLogToMessageBox.get());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
LogReporter::LogReporter(std::string const& logFile, int logFileFlags,
|
||||
int logStdoutFlags, int logMessageBoxFlags, int logOutputWindowFlags)
|
||||
:
|
||||
mLogToFile(nullptr),
|
||||
mLogToStdout(nullptr)
|
||||
#if defined(GTE_USE_MSWINDOWS)
|
||||
,
|
||||
mLogToMessageBox(nullptr),
|
||||
mLogToOutputWindow(nullptr)
|
||||
#endif
|
||||
{
|
||||
if (logFileFlags != Logger::Listener::LISTEN_FOR_NOTHING)
|
||||
{
|
||||
mLogToFile = std::make_unique<LogToFile>(logFile, logFileFlags);
|
||||
Logger::Subscribe(mLogToFile.get());
|
||||
}
|
||||
|
||||
if (logStdoutFlags != Logger::Listener::LISTEN_FOR_NOTHING)
|
||||
{
|
||||
mLogToStdout = std::make_unique<LogToStdout>(logStdoutFlags);
|
||||
Logger::Subscribe(mLogToStdout.get());
|
||||
}
|
||||
|
||||
#if defined(GTE_USE_MSWINDOWS)
|
||||
if (logMessageBoxFlags != Logger::Listener::LISTEN_FOR_NOTHING)
|
||||
{
|
||||
mLogToMessageBox = std::make_unique<LogToMessageBox>(logMessageBoxFlags);
|
||||
Logger::Subscribe(mLogToMessageBox.get());
|
||||
}
|
||||
|
||||
if (logOutputWindowFlags != Logger::Listener::LISTEN_FOR_NOTHING)
|
||||
{
|
||||
mLogToOutputWindow = std::make_unique<LogToOutputWindow>(logOutputWindowFlags);
|
||||
Logger::Subscribe(mLogToOutputWindow.get());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Mathematics/LogToFile.h>
|
||||
#include <Mathematics/LogToStdout.h>
|
||||
#if defined(GTE_USE_MSWINDOWS)
|
||||
#include <Applications/MSW/LogToMessageBox.h>
|
||||
#include <Applications/MSW/LogToOutputWindow.h>
|
||||
#endif
|
||||
#include <memory>
|
||||
|
||||
namespace gte
|
||||
{
|
||||
class LogReporter
|
||||
{
|
||||
public:
|
||||
// Construction and destruction. Create one of these objects in an
|
||||
// application for logging. The GenerateProject tool creates such
|
||||
// code. If you do not want a particular logger, set the flags to
|
||||
// LISTEN_FOR_NOTHING and set logFile to "" if you do not want a file.
|
||||
~LogReporter();
|
||||
|
||||
LogReporter(std::string const& logFile, int logFileFlags, int logStdoutFlags,
|
||||
int logMessageBoxFlags = 0, int logOutputWindowFlags = 0);
|
||||
|
||||
private:
|
||||
std::unique_ptr<LogToFile> mLogToFile;
|
||||
std::unique_ptr<LogToStdout> mLogToStdout;
|
||||
|
||||
#if defined(GTE_USE_MSWINDOWS)
|
||||
std::unique_ptr<LogToMessageBox> mLogToMessageBox;
|
||||
std::unique_ptr<LogToOutputWindow> mLogToOutputWindow;
|
||||
#endif
|
||||
};
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/MSW/Console.h>
|
||||
@@ -32,3 +32,5 @@ Console::Console(Parameters& parameters)
|
||||
mEngine(std::static_pointer_cast<GraphicsEngine>(mBaseEngine))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -24,15 +24,15 @@ namespace gte
|
||||
// For DX11, the device creation flags are passed to the function
|
||||
// D3D11CreateDevice during construction of a DX11Engine object.
|
||||
// See the documentation for D3D11CreateDevice for the available
|
||||
// flags. For GL45, set the flags to 0 for the default behavior;
|
||||
// no additional semantics occur on GL45Engine construction. Set
|
||||
// bit 0 of the flag to 1 to tell the GL45Engine construction to
|
||||
// flags. For GL46, set the flags to 0 for the default behavior;
|
||||
// no additional semantics occur on GL46Engine construction. Set
|
||||
// bit 0 of the flag to 1 to tell the GL46Engine construction to
|
||||
// write a text file that contains the OpenGL driver information.
|
||||
// The default value is 0. When bit 0 is set to 1, a text file
|
||||
// named OpenGLDriverInfo.txt is generated that contains the
|
||||
// OpenGL driver information. Other bit flags may be defined at
|
||||
// a later date.
|
||||
unsigned int deviceCreationFlags;
|
||||
uint32_t deviceCreationFlags;
|
||||
};
|
||||
|
||||
public:
|
||||
@@ -55,3 +55,5 @@ namespace gte
|
||||
// previously in this file and is known to the compiler when it includes this
|
||||
// file.
|
||||
#include <Applications/MSW/ConsoleSystem.h>
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/MSW/Console.h>
|
||||
@@ -16,9 +16,43 @@ namespace gte
|
||||
}
|
||||
|
||||
#if defined(GTE_USE_DIRECTX)
|
||||
|
||||
#include <Graphics/DX11/DXGIAdapter.h>
|
||||
|
||||
void ConsoleSystem::CreateEngineAndProgramFactory(Console::Parameters& parameters)
|
||||
{
|
||||
auto engine = std::make_shared<DX11Engine>(nullptr, D3D_DRIVER_TYPE_HARDWARE,
|
||||
// The adapterManager must be declared outside the if-then-else
|
||||
// statement so that it persists long enough to create the 'engine'
|
||||
// object.
|
||||
DXGIAdapter adapterManager;
|
||||
IDXGIAdapter* adapter = nullptr;
|
||||
if ((parameters.deviceCreationFlags & D3D11_CREATE_DEVICE_DEBUG) == 0)
|
||||
{
|
||||
// The GPU adapter is selected using the following algorithm. If a
|
||||
// discrete adapter is available (NVIDIA, AMD or other manufacturer),
|
||||
// it is selected. If a discrete adapter is not available, Intel
|
||||
// Integrated Graphics is chosen. Although these days Intel Core
|
||||
// architecture is the norm, in the event Intel Integrated Graphics is
|
||||
// not found, the fallback is to Microsoft WARP which is a software
|
||||
// implementation for DirectX 11 that is multithreaded and has decent
|
||||
// performance.
|
||||
adapterManager = DXGIAdapter::GetMostPowerful();
|
||||
adapter = adapterManager.GetAdapter();
|
||||
}
|
||||
else
|
||||
{
|
||||
// If parameters.deviceCreationFlags is 0 (no flags specified), the
|
||||
// first adapter in the adapter enumeration is selected. This is
|
||||
// invariably the adapter to which the display monitors are attached.
|
||||
//
|
||||
// If the debug layer is selected using D3D11_CREATE_DEVICE_DEBUG,
|
||||
// choosing a non-null adapter does not work. It will cause the
|
||||
// D3D11CreateDevice funtion to throw an exception and not return
|
||||
// an HRESULT code.
|
||||
adapter = nullptr;
|
||||
}
|
||||
|
||||
auto engine = std::make_shared<DX11Engine>(adapter, D3D_DRIVER_TYPE_HARDWARE,
|
||||
nullptr, parameters.deviceCreationFlags);
|
||||
|
||||
if (engine->GetDevice())
|
||||
@@ -41,7 +75,7 @@ void ConsoleSystem::CreateEngineAndProgramFactory(Console::Parameters& parameter
|
||||
auto engine = std::make_shared<WGLEngine>(false, saveDriverInfo);
|
||||
if (!engine->MeetsRequirements())
|
||||
{
|
||||
LogError("OpenGL 4.5 or later is required.");
|
||||
LogError("OpenGL 4.6 or later is required.");
|
||||
}
|
||||
|
||||
if (engine->GetDevice())
|
||||
@@ -56,3 +90,5 @@ void ConsoleSystem::CreateEngineAndProgramFactory(Console::Parameters& parameter
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -62,3 +62,5 @@ namespace gte
|
||||
|
||||
extern ConsoleSystem TheConsoleSystem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/MSW/LogToMessageBox.h>
|
||||
#include <Windows.h>
|
||||
using namespace gte;
|
||||
|
||||
LogToMessageBox::LogToMessageBox(int flags)
|
||||
:
|
||||
Logger::Listener(flags)
|
||||
{
|
||||
}
|
||||
|
||||
void LogToMessageBox::Report(std::string const& message)
|
||||
{
|
||||
std::string output = message + "Do you want to debug?";
|
||||
|
||||
std::wstring text(output.begin(), output.end());
|
||||
int selection = MessageBox(nullptr, text.c_str(), L"Report",
|
||||
MB_ICONERROR | MB_YESNOCANCEL | MB_APPLMODAL | MB_TOPMOST);
|
||||
|
||||
switch (selection)
|
||||
{
|
||||
case IDYES:
|
||||
// Break and debug.
|
||||
__debugbreak();
|
||||
break;
|
||||
|
||||
case IDNO:
|
||||
// Continue execution.
|
||||
break;
|
||||
|
||||
case IDCANCEL:
|
||||
default:
|
||||
// Terminate execution.
|
||||
exit(0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Mathematics/Logger.h>
|
||||
|
||||
namespace gte
|
||||
{
|
||||
class LogToMessageBox : public Logger::Listener
|
||||
{
|
||||
public:
|
||||
LogToMessageBox(int flags);
|
||||
|
||||
private:
|
||||
virtual void Report(std::string const& message);
|
||||
};
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/MSW/LogToOutputWindow.h>
|
||||
#include <Windows.h>
|
||||
using namespace gte;
|
||||
|
||||
LogToOutputWindow::LogToOutputWindow(int flags)
|
||||
:
|
||||
Logger::Listener(flags)
|
||||
{
|
||||
}
|
||||
|
||||
void LogToOutputWindow::Report(std::string const& message)
|
||||
{
|
||||
std::wstring text(message.begin(), message.end());
|
||||
OutputDebugString(text.c_str());
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Mathematics/Logger.h>
|
||||
|
||||
namespace gte
|
||||
{
|
||||
class LogToOutputWindow : public Logger::Listener
|
||||
{
|
||||
public:
|
||||
LogToOutputWindow(int flags);
|
||||
|
||||
private:
|
||||
virtual void Report(std::string const& message);
|
||||
};
|
||||
}
|
||||
@@ -1,12 +1,13 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2020.06.06
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/MSW/WICFileIO.h>
|
||||
#include <Mathematics/Logger.h>
|
||||
using namespace gte;
|
||||
|
||||
std::shared_ptr<Texture2> WICFileIO::Load(std::string const& filename, bool wantMipmaps)
|
||||
@@ -15,7 +16,7 @@ std::shared_ptr<Texture2> WICFileIO::Load(std::string const& filename, bool want
|
||||
|
||||
auto creator = [&texture, &wantMipmaps](uint32_t format, size_t width, size_t height)
|
||||
{
|
||||
DFType type = msFormatToDFType[format];
|
||||
uint32_t type = msFormatToDFType[format];
|
||||
texture = std::make_shared<Texture2>(type, static_cast<uint32_t>(width),
|
||||
static_cast<uint32_t>(height), wantMipmaps);
|
||||
return texture->Get<uint8_t>();
|
||||
@@ -27,13 +28,13 @@ std::shared_ptr<Texture2> WICFileIO::Load(std::string const& filename, bool want
|
||||
}
|
||||
|
||||
std::shared_ptr<Texture2> WICFileIO::Load(void* module, std::string const& rtype,
|
||||
int resource, bool wantMipmaps)
|
||||
int32_t resource, bool wantMipmaps)
|
||||
{
|
||||
std::shared_ptr<Texture2> texture;
|
||||
|
||||
auto creator = [&texture, &wantMipmaps](uint32_t format, size_t width, size_t height)
|
||||
{
|
||||
DFType type = msFormatToDFType[format];
|
||||
uint32_t type = msFormatToDFType[format];
|
||||
texture = std::make_shared<Texture2>(type, static_cast<uint32_t>(width),
|
||||
static_cast<uint32_t>(height), wantMipmaps);
|
||||
return texture->Get<uint8_t>();
|
||||
@@ -60,7 +61,7 @@ void WICFileIO::SaveToJPEG(std::string const& filename,
|
||||
texture->GetHeight(), texture->Get<uint8_t>(), imageQuality);
|
||||
}
|
||||
|
||||
uint32_t WICFileIO::DFTypeToFormat(DFType type)
|
||||
uint32_t WICFileIO::DFTypeToFormat(uint32_t type)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
@@ -90,7 +91,7 @@ uint32_t WICFileIO::DFTypeToFormat(DFType type)
|
||||
}
|
||||
|
||||
|
||||
std::array<DFType, WICFileIO::NUM_SUPPORTED_FORMATS> const
|
||||
std::array<uint32_t, WICFileIO::NUM_SUPPORTED_FORMATS> const
|
||||
WICFileIO::msFormatToDFType =
|
||||
{
|
||||
DF_R10G10B10A2_UNORM,
|
||||
@@ -104,3 +105,5 @@ WICFileIO::msFormatToDFType =
|
||||
DF_R16_UNORM,
|
||||
DF_R8G8B8A8_UNORM
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2020.06.06
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace gte
|
||||
// HMODULE. The use of void* avoids having to expose the windows.h
|
||||
// header file to other source files.
|
||||
static std::shared_ptr<Texture2> Load(void* module, std::string const& rtype,
|
||||
int resource, bool wantMipmaps);
|
||||
int32_t resource, bool wantMipmaps);
|
||||
|
||||
// Support for saving to PNG or JPEG.
|
||||
//
|
||||
@@ -97,9 +97,11 @@ namespace gte
|
||||
std::shared_ptr<Texture2> const& texture, float imageQuality);
|
||||
|
||||
private:
|
||||
static uint32_t DFTypeToFormat(DFType type);
|
||||
static uint32_t DFTypeToFormat(uint32_t type);
|
||||
|
||||
static size_t constexpr NUM_SUPPORTED_FORMATS = 10;
|
||||
static std::array<DFType, NUM_SUPPORTED_FORMATS> const msFormatToDFType;
|
||||
static std::array<uint32_t, NUM_SUPPORTED_FORMATS> const msFormatToDFType;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.7.2021.05.27
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/MSW/WICFileIONative.h>
|
||||
@@ -136,7 +136,7 @@ void WICFileIONative::Load(std::string const& filename, TextureCreator const& cr
|
||||
}
|
||||
|
||||
void WICFileIONative::Load(void* module, std::string const& rtype,
|
||||
int resource, uint32_t& outFormat, size_t& outWidth, size_t& outHeight,
|
||||
int32_t resource, uint32_t& outFormat, size_t& outWidth, size_t& outHeight,
|
||||
std::vector<uint8_t>& outTexels)
|
||||
{
|
||||
auto const* bytesPerTexel = msBytesPerTexel.data();
|
||||
@@ -155,7 +155,7 @@ void WICFileIONative::Load(void* module, std::string const& rtype,
|
||||
}
|
||||
|
||||
void WICFileIONative::Load(void* module, std::string const& rtype,
|
||||
int resource, TextureCreator const& creator)
|
||||
int32_t resource, TextureCreator const& creator)
|
||||
{
|
||||
// Start COM and create WIC.
|
||||
ComInitializer comInitializer;
|
||||
@@ -439,15 +439,16 @@ void WICFileIONative::SaveTo(std::string const& filename, uint32_t inFormat,
|
||||
throw std::runtime_error("wicEncoder->CreateNewFrame failed.");
|
||||
}
|
||||
|
||||
// Set the options for the PNG encoder.
|
||||
PROPBAG2 option{};
|
||||
VARIANT varValue{};
|
||||
ZeroMemory(&option, sizeof(option));
|
||||
VariantInit(&varValue);
|
||||
|
||||
if (imageQuality == -1.0f)
|
||||
{
|
||||
// Set the options for the PNG encoder.
|
||||
PROPBAG2 option = { 0 };
|
||||
VARIANT varValue;
|
||||
|
||||
// Default subsampling.
|
||||
option.pstrName = const_cast<LPOLESTR>(L"InterlaceOption");
|
||||
VariantInit(&varValue);
|
||||
varValue.vt = VT_BOOL;
|
||||
varValue.boolVal = FALSE;
|
||||
hr = wicPropertyBag->Write(1, &option, &varValue);
|
||||
@@ -458,7 +459,6 @@ void WICFileIONative::SaveTo(std::string const& filename, uint32_t inFormat,
|
||||
|
||||
// Disable filtering.
|
||||
option.pstrName = const_cast<LPOLESTR>(L"FilterOption");
|
||||
VariantInit(&varValue);
|
||||
varValue.vt = VT_UI1;
|
||||
varValue.bVal = WICPngFilterNone;
|
||||
hr = wicPropertyBag->Write(1, &option, &varValue);
|
||||
@@ -469,13 +469,8 @@ void WICFileIONative::SaveTo(std::string const& filename, uint32_t inFormat,
|
||||
}
|
||||
else
|
||||
{
|
||||
// Set the options for the PNG encoder.
|
||||
PROPBAG2 option = { 0 };
|
||||
VARIANT varValue;
|
||||
|
||||
// Set image quality, a number in [0,1].
|
||||
option.pstrName = const_cast<LPOLESTR>(L"ImageQuality");
|
||||
VariantInit(&varValue);
|
||||
varValue.vt = VT_R4;
|
||||
varValue.fltVal = imageQuality;
|
||||
hr = wicPropertyBag->Write(1, &option, &varValue);
|
||||
@@ -626,3 +621,5 @@ WICFileIONative::msSaveFormatMap =
|
||||
{ B8G8R8A8, &GUID_WICPixelFormat32bppBGRA },
|
||||
{ R16G16B16A16, &GUID_WICPixelFormat64bppRGBA }
|
||||
} };
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.7.2020.06.06
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -86,13 +86,13 @@ namespace gte
|
||||
// Load from a resource with direct output. The input 'module' is an
|
||||
// HMODULE. The use of void* avoids having to expose the windows.h
|
||||
// header file to other source files.
|
||||
static void Load(void* module, std::string const& rtype, int resource,
|
||||
static void Load(void* module, std::string const& rtype, int32_t resource,
|
||||
uint32_t& outFormat, size_t& outWidth, size_t& outHeight,
|
||||
std::vector<uint8_t>& outTexels);
|
||||
|
||||
// Load from a resource with indirect output stored in the object
|
||||
// created by 'creator'.
|
||||
static void Load(void* module, std::string const& rtype, int resource,
|
||||
static void Load(void* module, std::string const& rtype, int32_t resource,
|
||||
TextureCreator const& creator);
|
||||
|
||||
// Support for saving to PNG or JPEG.
|
||||
@@ -164,3 +164,5 @@ namespace gte
|
||||
static std::array<SaveFormatMap, NUM_SAVE_FORMATS> const msSaveFormatMap;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/MSW/Window.h>
|
||||
@@ -12,6 +12,7 @@ using namespace gte;
|
||||
Window::Parameters::Parameters()
|
||||
:
|
||||
handle(nullptr),
|
||||
parent(nullptr),
|
||||
hscrollBar(false),
|
||||
vscrollBar(false),
|
||||
deviceCreationFlags(0)
|
||||
@@ -19,10 +20,11 @@ Window::Parameters::Parameters()
|
||||
}
|
||||
|
||||
Window::Parameters::Parameters(std::wstring const& inTitle,
|
||||
int inXOrigin, int inYOrigin, int inXSize, int inYSize)
|
||||
int32_t inXOrigin, int32_t inYOrigin, int32_t inXSize, int32_t inYSize)
|
||||
:
|
||||
WindowApplication::Parameters(inTitle, inXOrigin, inYOrigin, inXSize, inYSize),
|
||||
handle(nullptr),
|
||||
parent(nullptr),
|
||||
hscrollBar(false),
|
||||
vscrollBar(false),
|
||||
deviceCreationFlags(0)
|
||||
@@ -52,7 +54,7 @@ Window::Window(Parameters& parameters)
|
||||
// directly via class members.
|
||||
mHasScroll[0] = parameters.hscrollBar;
|
||||
mHasScroll[1] = parameters.vscrollBar;
|
||||
for (int i = 0; i < 2; ++i)
|
||||
for (int32_t i = 0; i < 2; ++i)
|
||||
{
|
||||
ZeroMemory(&mScrollInfo[i], sizeof(SCROLLINFO));
|
||||
mScrollInfo[i].cbSize = sizeof(SCROLLINFO);
|
||||
@@ -69,20 +71,20 @@ void Window::SetTitle(std::wstring const& title)
|
||||
SetWindowText(mHandle, title.c_str());
|
||||
}
|
||||
|
||||
void Window::SetMousePosition(int x, int y)
|
||||
void Window::SetMousePosition(int32_t x, int32_t y)
|
||||
{
|
||||
POINT point = { static_cast<LONG>(x), static_cast<LONG>(y) };
|
||||
ClientToScreen(mHandle, &point);
|
||||
SetCursorPos(point.x, point.y);
|
||||
}
|
||||
|
||||
void Window::GetMousePosition(int& x, int& y) const
|
||||
void Window::GetMousePosition(int32_t& x, int32_t& y) const
|
||||
{
|
||||
POINT point;
|
||||
GetCursorPos(&point);
|
||||
ScreenToClient(mHandle, &point);
|
||||
x = static_cast<int>(point.x);
|
||||
y = static_cast<int>(point.y);
|
||||
x = static_cast<int32_t>(point.x);
|
||||
y = static_cast<int32_t>(point.y);
|
||||
}
|
||||
|
||||
void Window::OnClose()
|
||||
@@ -90,7 +92,7 @@ void Window::OnClose()
|
||||
PostQuitMessage(0);
|
||||
}
|
||||
|
||||
void Window::SetScrollInterval(int bar, int minValue, int maxValue)
|
||||
void Window::SetScrollInterval(int32_t bar, int32_t minValue, int32_t maxValue)
|
||||
{
|
||||
mScrollInfo[bar].fMask = SIF_RANGE;
|
||||
mScrollInfo[bar].nMin = minValue;
|
||||
@@ -98,7 +100,7 @@ void Window::SetScrollInterval(int bar, int minValue, int maxValue)
|
||||
SetScrollInfo(mHandle, bar, &mScrollInfo[bar], FALSE);
|
||||
}
|
||||
|
||||
void Window::GetScrollInterval(int bar, int& minValue, int& maxValue) const
|
||||
void Window::GetScrollInterval(int32_t bar, int32_t& minValue, int32_t& maxValue) const
|
||||
{
|
||||
mScrollInfo[bar].fMask = SIF_RANGE;
|
||||
GetScrollInfo(mHandle, bar, &mScrollInfo[bar]);
|
||||
@@ -106,26 +108,26 @@ void Window::GetScrollInterval(int bar, int& minValue, int& maxValue) const
|
||||
maxValue = mScrollInfo[bar].nMax;
|
||||
}
|
||||
|
||||
int Window::SetScrollPosition(int bar, int value)
|
||||
int32_t Window::SetScrollPosition(int32_t bar, int32_t value)
|
||||
{
|
||||
mScrollInfo[bar].fMask = SIF_POS;
|
||||
mScrollInfo[bar].nPos = value;
|
||||
return SetScrollInfo(mHandle, bar, &mScrollInfo[bar], FALSE);
|
||||
}
|
||||
|
||||
int Window::GetScrollPosition(int bar) const
|
||||
int32_t Window::GetScrollPosition(int32_t bar) const
|
||||
{
|
||||
mScrollInfo[bar].fMask = SIF_POS;
|
||||
GetScrollInfo(mHandle, bar, &mScrollInfo[bar]);
|
||||
return mScrollInfo[bar].nPos;
|
||||
}
|
||||
|
||||
int Window::OnScrollIncrementLoRes(int bar)
|
||||
int32_t Window::OnScrollIncrementLoRes(int32_t bar)
|
||||
{
|
||||
SCROLLINFO& info = mScrollInfo[bar];
|
||||
info.fMask = SIF_POS;
|
||||
GetScrollInfo(mHandle, bar, &info);
|
||||
int delta = info.nMax - info.nPos;
|
||||
int32_t delta = info.nMax - info.nPos;
|
||||
if (delta > 0)
|
||||
{
|
||||
delta = std::min(delta, mScrollLoResDelta[bar]);
|
||||
@@ -135,12 +137,12 @@ int Window::OnScrollIncrementLoRes(int bar)
|
||||
return delta;
|
||||
}
|
||||
|
||||
int Window::OnScrollDecrementLoRes(int bar)
|
||||
int32_t Window::OnScrollDecrementLoRes(int32_t bar)
|
||||
{
|
||||
SCROLLINFO& info = mScrollInfo[bar];
|
||||
info.fMask = SIF_POS;
|
||||
GetScrollInfo(mHandle, bar, &info);
|
||||
int delta = info.nPos - info.nMin;
|
||||
int32_t delta = info.nPos - info.nMin;
|
||||
if (delta > 0)
|
||||
{
|
||||
delta = std::min(delta, mScrollLoResDelta[bar]);
|
||||
@@ -150,12 +152,12 @@ int Window::OnScrollDecrementLoRes(int bar)
|
||||
return delta;
|
||||
}
|
||||
|
||||
int Window::OnScrollIncrementHiRes(int bar)
|
||||
int32_t Window::OnScrollIncrementHiRes(int32_t bar)
|
||||
{
|
||||
SCROLLINFO& info = mScrollInfo[bar];
|
||||
info.fMask = SIF_POS;
|
||||
GetScrollInfo(mHandle, bar, &info);
|
||||
int delta = info.nMax - info.nPos;
|
||||
int32_t delta = info.nMax - info.nPos;
|
||||
if (delta > 0)
|
||||
{
|
||||
delta = std::min(delta, mScrollHiResDelta[bar]);
|
||||
@@ -165,12 +167,12 @@ int Window::OnScrollIncrementHiRes(int bar)
|
||||
return delta;
|
||||
}
|
||||
|
||||
int Window::OnScrollDecrementHiRes(int bar)
|
||||
int32_t Window::OnScrollDecrementHiRes(int32_t bar)
|
||||
{
|
||||
SCROLLINFO& info = mScrollInfo[bar];
|
||||
info.fMask = SIF_POS;
|
||||
GetScrollInfo(mHandle, bar, &info);
|
||||
int delta = info.nPos - info.nMin;
|
||||
int32_t delta = info.nPos - info.nMin;
|
||||
if (delta > 0)
|
||||
{
|
||||
delta = std::min(delta, mScrollHiResDelta[bar]);
|
||||
@@ -180,7 +182,7 @@ int Window::OnScrollDecrementHiRes(int bar)
|
||||
return delta;
|
||||
}
|
||||
|
||||
int Window::OnScrollTracking(int bar)
|
||||
int32_t Window::OnScrollTracking(int32_t bar)
|
||||
{
|
||||
SCROLLINFO& info = mScrollInfo[bar];
|
||||
info.fMask = SIF_TRACKPOS;
|
||||
@@ -188,7 +190,7 @@ int Window::OnScrollTracking(int bar)
|
||||
return info.nTrackPos;
|
||||
}
|
||||
|
||||
int Window::OnScrollEndTracking(int bar)
|
||||
int32_t Window::OnScrollEndTracking(int32_t bar)
|
||||
{
|
||||
SCROLLINFO& info = mScrollInfo[bar];
|
||||
info.fMask = SIF_TRACKPOS;
|
||||
@@ -201,48 +203,50 @@ int Window::OnScrollEndTracking(int bar)
|
||||
|
||||
|
||||
// Class-static constants for Microsoft Windows applications.
|
||||
int const WindowApplication::KEY_ESCAPE = VK_ESCAPE;
|
||||
int const WindowApplication::KEY_LEFT = VK_LEFT;
|
||||
int const WindowApplication::KEY_RIGHT = VK_RIGHT;
|
||||
int const WindowApplication::KEY_UP = VK_UP;
|
||||
int const WindowApplication::KEY_DOWN = VK_DOWN;
|
||||
int const WindowApplication::KEY_HOME = VK_HOME;
|
||||
int const WindowApplication::KEY_END = VK_END;
|
||||
int const WindowApplication::KEY_PAGE_UP = VK_PRIOR;
|
||||
int const WindowApplication::KEY_PAGE_DOWN = VK_NEXT;
|
||||
int const WindowApplication::KEY_INSERT = VK_INSERT;
|
||||
int const WindowApplication::KEY_DELETE = VK_DELETE;
|
||||
int const WindowApplication::KEY_F1 = VK_F1;
|
||||
int const WindowApplication::KEY_F2 = VK_F2;
|
||||
int const WindowApplication::KEY_F3 = VK_F3;
|
||||
int const WindowApplication::KEY_F4 = VK_F4;
|
||||
int const WindowApplication::KEY_F5 = VK_F5;
|
||||
int const WindowApplication::KEY_F6 = VK_F6;
|
||||
int const WindowApplication::KEY_F7 = VK_F7;
|
||||
int const WindowApplication::KEY_F8 = VK_F8;
|
||||
int const WindowApplication::KEY_F9 = VK_F9;
|
||||
int const WindowApplication::KEY_F10 = VK_F10;
|
||||
int const WindowApplication::KEY_F11 = VK_F11;
|
||||
int const WindowApplication::KEY_F12 = VK_F12;
|
||||
int const WindowApplication::KEY_BACKSPACE = VK_BACK;
|
||||
int const WindowApplication::KEY_TAB = VK_TAB;
|
||||
int const WindowApplication::KEY_ENTER = VK_RETURN;
|
||||
int const WindowApplication::KEY_RETURN = VK_RETURN;
|
||||
int32_t const WindowApplication::KEY_ESCAPE = VK_ESCAPE;
|
||||
int32_t const WindowApplication::KEY_LEFT = VK_LEFT;
|
||||
int32_t const WindowApplication::KEY_RIGHT = VK_RIGHT;
|
||||
int32_t const WindowApplication::KEY_UP = VK_UP;
|
||||
int32_t const WindowApplication::KEY_DOWN = VK_DOWN;
|
||||
int32_t const WindowApplication::KEY_HOME = VK_HOME;
|
||||
int32_t const WindowApplication::KEY_END = VK_END;
|
||||
int32_t const WindowApplication::KEY_PAGE_UP = VK_PRIOR;
|
||||
int32_t const WindowApplication::KEY_PAGE_DOWN = VK_NEXT;
|
||||
int32_t const WindowApplication::KEY_INSERT = VK_INSERT;
|
||||
int32_t const WindowApplication::KEY_DELETE = VK_DELETE;
|
||||
int32_t const WindowApplication::KEY_F1 = VK_F1;
|
||||
int32_t const WindowApplication::KEY_F2 = VK_F2;
|
||||
int32_t const WindowApplication::KEY_F3 = VK_F3;
|
||||
int32_t const WindowApplication::KEY_F4 = VK_F4;
|
||||
int32_t const WindowApplication::KEY_F5 = VK_F5;
|
||||
int32_t const WindowApplication::KEY_F6 = VK_F6;
|
||||
int32_t const WindowApplication::KEY_F7 = VK_F7;
|
||||
int32_t const WindowApplication::KEY_F8 = VK_F8;
|
||||
int32_t const WindowApplication::KEY_F9 = VK_F9;
|
||||
int32_t const WindowApplication::KEY_F10 = VK_F10;
|
||||
int32_t const WindowApplication::KEY_F11 = VK_F11;
|
||||
int32_t const WindowApplication::KEY_F12 = VK_F12;
|
||||
int32_t const WindowApplication::KEY_BACKSPACE = VK_BACK;
|
||||
int32_t const WindowApplication::KEY_TAB = VK_TAB;
|
||||
int32_t const WindowApplication::KEY_ENTER = VK_RETURN;
|
||||
int32_t const WindowApplication::KEY_RETURN = VK_RETURN;
|
||||
|
||||
int const WindowApplication::KEY_SHIFT = VK_SHIFT;
|
||||
int const WindowApplication::KEY_CONTROL = VK_CONTROL;
|
||||
int const WindowApplication::KEY_ALT = 0; // not currently handled
|
||||
int const WindowApplication::KEY_COMMAND = 0; // not currently handled
|
||||
int32_t const WindowApplication::KEY_SHIFT = VK_SHIFT;
|
||||
int32_t const WindowApplication::KEY_CONTROL = VK_CONTROL;
|
||||
int32_t const WindowApplication::KEY_ALT = 0; // not currently handled
|
||||
int32_t const WindowApplication::KEY_COMMAND = 0; // not currently handled
|
||||
|
||||
int32_t const WindowApplication::MOUSE_NONE = 0;
|
||||
int32_t const WindowApplication::MOUSE_LEFT = 1;
|
||||
int32_t const WindowApplication::MOUSE_MIDDLE = 2;
|
||||
int32_t const WindowApplication::MOUSE_RIGHT= 3;
|
||||
int32_t const WindowApplication::MOUSE_UP = 0;
|
||||
int32_t const WindowApplication::MOUSE_DOWN = 1;
|
||||
|
||||
int32_t const WindowApplication::MODIFIER_CONTROL = MK_CONTROL;
|
||||
int32_t const WindowApplication::MODIFIER_LBUTTON = MK_LBUTTON;
|
||||
int32_t const WindowApplication::MODIFIER_MBUTTON = MK_MBUTTON;
|
||||
int32_t const WindowApplication::MODIFIER_RBUTTON = MK_RBUTTON;
|
||||
int32_t const WindowApplication::MODIFIER_SHIFT = MK_SHIFT;
|
||||
|
||||
int const WindowApplication::MOUSE_NONE = 0;
|
||||
int const WindowApplication::MOUSE_LEFT = 1;
|
||||
int const WindowApplication::MOUSE_MIDDLE = 2;
|
||||
int const WindowApplication::MOUSE_RIGHT= 3;
|
||||
int const WindowApplication::MOUSE_UP = 0;
|
||||
int const WindowApplication::MOUSE_DOWN = 1;
|
||||
|
||||
int const WindowApplication::MODIFIER_CONTROL = MK_CONTROL;
|
||||
int const WindowApplication::MODIFIER_LBUTTON = MK_LBUTTON;
|
||||
int const WindowApplication::MODIFIER_MBUTTON = MK_MBUTTON;
|
||||
int const WindowApplication::MODIFIER_RBUTTON = MK_RBUTTON;
|
||||
int const WindowApplication::MODIFIER_SHIFT = MK_SHIFT;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -31,17 +31,18 @@ namespace gte
|
||||
Parameters();
|
||||
|
||||
Parameters(std::wstring const& inTitle,
|
||||
int inXOrigin, int inYOrigin, int inXSize, int inYSize);
|
||||
int32_t inXOrigin, int32_t inYOrigin, int32_t inXSize, int32_t inYSize);
|
||||
|
||||
HWND handle;
|
||||
HWND parent;
|
||||
bool hscrollBar, vscrollBar;
|
||||
|
||||
// For DX11, the device creation flags are passed to the function
|
||||
// D3D11CreateDevice during construction of a DX11Engine object.
|
||||
// See the documentation for D3D11CreateDevice for the available
|
||||
// flags. For GL45, set the flags to 0 for the default behavior;
|
||||
// no additional semantics occur on GL45Engine construction. Set
|
||||
// bit 0 of the flag to 1 to tell the GL45Engine construction to
|
||||
// flags. For GL46, set the flags to 0 for the default behavior;
|
||||
// no additional semantics occur on GL46Engine construction. Set
|
||||
// bit 0 of the flag to 1 to tell the GL46Engine construction to
|
||||
// write a text file that contains the OpenGL driver information.
|
||||
// The default value is 0. When bit 0 is set to 1, a text file
|
||||
// named OpenGLDriverInfo.txt is generated that contains the
|
||||
@@ -62,30 +63,30 @@ namespace gte
|
||||
virtual void SetTitle(std::wstring const& title) override;
|
||||
|
||||
// Mouse position information.
|
||||
virtual void SetMousePosition(int x, int y) override;
|
||||
virtual void GetMousePosition(int& x, int& y) const override;
|
||||
virtual void SetMousePosition(int32_t x, int32_t y) override;
|
||||
virtual void GetMousePosition(int32_t& x, int32_t& y) const override;
|
||||
|
||||
// Actions to take before the window closes.
|
||||
virtual void OnClose() override;
|
||||
|
||||
// Scroll support. The 'bar' value is 0 for horizontal scroll bars
|
||||
// or 1 for vertical scroll bars.
|
||||
void SetScrollInterval(int bar, int minValue, int maxValue);
|
||||
void GetScrollInterval(int bar, int& minValue, int& maxValue) const;
|
||||
int SetScrollPosition(int bar, int value);
|
||||
int GetScrollPosition(int bar) const;
|
||||
void SetScrollInterval(int32_t bar, int32_t minValue, int32_t maxValue);
|
||||
void GetScrollInterval(int32_t bar, int32_t& minValue, int32_t& maxValue) const;
|
||||
int32_t SetScrollPosition(int32_t bar, int32_t value);
|
||||
int32_t GetScrollPosition(int32_t bar) const;
|
||||
|
||||
// The return value of the increment/decrement functions is the delta
|
||||
// of the slider thumb. If zero, the scroll state did not change.
|
||||
// For the tracking functions, the return value is the current slider
|
||||
// thumb position. A derived-class override must call the base-class
|
||||
// function first.
|
||||
int OnScrollIncrementLoRes(int bar);
|
||||
int OnScrollDecrementLoRes(int bar);
|
||||
int OnScrollIncrementHiRes(int bar);
|
||||
int OnScrollDecrementHiRes(int bar);
|
||||
int OnScrollTracking(int bar);
|
||||
int OnScrollEndTracking(int bar);
|
||||
int32_t OnScrollIncrementLoRes(int32_t bar);
|
||||
int32_t OnScrollDecrementLoRes(int32_t bar);
|
||||
int32_t OnScrollIncrementHiRes(int32_t bar);
|
||||
int32_t OnScrollDecrementHiRes(int32_t bar);
|
||||
int32_t OnScrollTracking(int32_t bar);
|
||||
int32_t OnScrollEndTracking(int32_t bar);
|
||||
|
||||
protected:
|
||||
Window(Parameters& parameters);
|
||||
@@ -96,8 +97,8 @@ namespace gte
|
||||
// Scroll bar support.
|
||||
bool mHasScroll[2];
|
||||
mutable SCROLLINFO mScrollInfo[2];
|
||||
int mScrollLoResDelta[2];
|
||||
int mScrollHiResDelta[2];
|
||||
int32_t mScrollLoResDelta[2];
|
||||
int32_t mScrollHiResDelta[2];
|
||||
|
||||
// TODO: This is assigned mBaseEngine, which allows development of
|
||||
// the DX12 engine independently of DX11 and WGL. The DX12 engine
|
||||
@@ -112,3 +113,5 @@ namespace gte
|
||||
// previously in this file and is known to the compiler when it includes this
|
||||
// file.
|
||||
#include <Applications/MSW/WindowSystem.h>
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2020.04.12
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/MSW/Window.h>
|
||||
@@ -17,7 +17,7 @@ namespace gte
|
||||
|
||||
WindowSystem::~WindowSystem()
|
||||
{
|
||||
if (mHandleMap.size() == 0 && mAtom)
|
||||
if (mHandleMap.empty() && mAtom)
|
||||
{
|
||||
UnregisterClass(mWindowClassName, nullptr);
|
||||
}
|
||||
@@ -28,7 +28,7 @@ WindowSystem::WindowSystem()
|
||||
mWindowClassName(L"GTEngineWindow"),
|
||||
mAtom(0)
|
||||
{
|
||||
WNDCLASS wc;
|
||||
WNDCLASS wc{};
|
||||
wc.style = CS_OWNDC;
|
||||
wc.lpfnWndProc = WindowProcedure;
|
||||
wc.cbClsExtra = 0;
|
||||
@@ -42,7 +42,7 @@ WindowSystem::WindowSystem()
|
||||
mAtom = RegisterClass(&wc);
|
||||
}
|
||||
|
||||
bool WindowSystem::GetWindowRectangle(int xClientSize, int yClientSize,
|
||||
bool WindowSystem::GetWindowRectangle(int32_t xClientSize, int32_t yClientSize,
|
||||
DWORD style, RECT& windowRectangle)
|
||||
{
|
||||
windowRectangle.left = 0;
|
||||
@@ -81,11 +81,11 @@ void WindowSystem::CreateFrom(Window::Parameters& parameters)
|
||||
style, rectangle);
|
||||
if (adjusted)
|
||||
{
|
||||
int adjustedXSize = (int)rectangle.right - (int)rectangle.left + 1;
|
||||
int adjustedYSize = (int)rectangle.bottom - (int)rectangle.top + 1;
|
||||
int32_t adjustedXSize = (int32_t)rectangle.right - (int32_t)rectangle.left + 1;
|
||||
int32_t adjustedYSize = (int32_t)rectangle.bottom - (int32_t)rectangle.top + 1;
|
||||
parameters.handle = CreateWindow(mWindowClassName,
|
||||
parameters.title.c_str(), style, parameters.xOrigin,
|
||||
parameters.yOrigin, adjustedXSize, adjustedYSize, nullptr,
|
||||
parameters.yOrigin, adjustedXSize, adjustedYSize, parameters.parent,
|
||||
nullptr, nullptr, nullptr);
|
||||
|
||||
// AdjustWindowRect decides that scroll bars cover client space,
|
||||
@@ -94,8 +94,8 @@ void WindowSystem::CreateFrom(Window::Parameters& parameters)
|
||||
if (parameters.hscrollBar || parameters.vscrollBar)
|
||||
{
|
||||
GetClientRect(parameters.handle, &rectangle);
|
||||
int clientXSize = (int)rectangle.right - (int)rectangle.left;
|
||||
int clientYSize = (int)rectangle.bottom - (int)rectangle.top;
|
||||
int32_t clientXSize = (int32_t)rectangle.right - (int32_t)rectangle.left;
|
||||
int32_t clientYSize = (int32_t)rectangle.bottom - (int32_t)rectangle.top;
|
||||
if (clientXSize != parameters.xSize
|
||||
|| clientYSize != parameters.ySize)
|
||||
{
|
||||
@@ -105,7 +105,7 @@ void WindowSystem::CreateFrom(Window::Parameters& parameters)
|
||||
parameters.handle = CreateWindow(mWindowClassName,
|
||||
parameters.title.c_str(), style, parameters.xOrigin,
|
||||
parameters.yOrigin, adjustedXSize, adjustedYSize,
|
||||
0, 0, 0, 0);
|
||||
parameters.parent, nullptr, nullptr, nullptr);
|
||||
GetClientRect(parameters.handle, &rectangle);
|
||||
}
|
||||
}
|
||||
@@ -146,7 +146,7 @@ void WindowSystem::CreateEngineAndProgramFactory(Window::Parameters& parameters)
|
||||
{
|
||||
// If parameters.deviceCreationFlags is 0 (no flags specified), the
|
||||
// first adapter in the adapter enumeration is selected. This is
|
||||
// invariable the adapter to which the display monitors are attached.
|
||||
// invariably the adapter to which the display monitors are attached.
|
||||
//
|
||||
// If the debug layer is selected using D3D11_CREATE_DEVICE_DEBUG,
|
||||
// choosing a non-null adapter does not work. It will cause the
|
||||
@@ -181,7 +181,7 @@ void WindowSystem::CreateEngineAndProgramFactory(Window::Parameters& parameters)
|
||||
parameters.useDepth24Stencil8, saveDriverInfo);
|
||||
if (!engine->MeetsRequirements())
|
||||
{
|
||||
LogError("OpenGL 4.5 or later is required.");
|
||||
LogError("OpenGL 4.6 or later is required.");
|
||||
}
|
||||
|
||||
if (engine->GetDevice())
|
||||
@@ -189,6 +189,7 @@ void WindowSystem::CreateEngineAndProgramFactory(Window::Parameters& parameters)
|
||||
parameters.engine = engine;
|
||||
parameters.factory = std::make_shared<GLSLProgramFactory>();
|
||||
parameters.created = true;
|
||||
engine->DisplayColorBuffer(0);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -197,16 +198,16 @@ void WindowSystem::CreateEngineAndProgramFactory(Window::Parameters& parameters)
|
||||
}
|
||||
#endif
|
||||
|
||||
void WindowSystem::Extract(LPARAM lParam, int& x, int& y)
|
||||
void WindowSystem::Extract(LPARAM lParam, int32_t& x, int32_t& y)
|
||||
{
|
||||
x = static_cast<int>(static_cast<short>(lParam & 0xFFFF));
|
||||
y = static_cast<int>(static_cast<short>((lParam & 0xFFFF0000) >> 16));
|
||||
x = static_cast<int32_t>(static_cast<int16_t>(lParam & 0xFFFF));
|
||||
y = static_cast<int32_t>(static_cast<int16_t>((lParam & 0xFFFF0000) >> 16));
|
||||
}
|
||||
|
||||
void WindowSystem::Extract(WPARAM wParam, int& x, int& y)
|
||||
void WindowSystem::Extract(WPARAM wParam, int32_t& x, int32_t& y)
|
||||
{
|
||||
x = static_cast<int>(static_cast<short>(wParam & 0xFFFF));
|
||||
y = static_cast<int>(static_cast<short>((wParam & 0xFFFF0000) >> 16));
|
||||
x = static_cast<int32_t>(static_cast<int16_t>(wParam & 0xFFFF));
|
||||
y = static_cast<int32_t>(static_cast<int16_t>((wParam & 0xFFFF0000) >> 16));
|
||||
}
|
||||
|
||||
LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
@@ -220,6 +221,14 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
|
||||
Window& window = *iter->second;
|
||||
|
||||
LRESULT lResult = 0;
|
||||
if (window.OnWindowsMessage(handle, message, wParam, lParam, lResult))
|
||||
{
|
||||
// The 'window' does not want the message interpreted by the switch
|
||||
// statement below.
|
||||
return lResult;
|
||||
}
|
||||
|
||||
switch (message)
|
||||
{
|
||||
case WM_PAINT:
|
||||
@@ -240,7 +249,7 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
{
|
||||
// Get the origin of the moved window. The y-value for window
|
||||
// moves is left-handed.
|
||||
int x, y;
|
||||
int32_t x, y;
|
||||
Extract(lParam, x, y);
|
||||
window.OnMove(x, y);
|
||||
return 0;
|
||||
@@ -248,7 +257,7 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
case WM_SIZE:
|
||||
{
|
||||
// Get the new size of the window.
|
||||
int xSize, ySize;
|
||||
int32_t xSize, ySize;
|
||||
Extract(lParam, xSize, ySize);
|
||||
|
||||
if (wParam == SIZE_MINIMIZED)
|
||||
@@ -271,14 +280,14 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
case WM_CHAR:
|
||||
{
|
||||
// Get thet translated key code.
|
||||
unsigned char key = static_cast<unsigned char>(static_cast<char>(wParam));
|
||||
uint8_t key = static_cast<uint8_t>(static_cast<char>(wParam));
|
||||
|
||||
// Get the cursor position in client coordinates.
|
||||
POINT point;
|
||||
GetCursorPos(&point);
|
||||
ScreenToClient(handle, &point);
|
||||
int x = static_cast<int>(point.x);
|
||||
int y = static_cast<int>(point.y);
|
||||
int32_t x = static_cast<int32_t>(point.x);
|
||||
int32_t y = static_cast<int32_t>(point.y);
|
||||
|
||||
window.OnCharPress(key, x, y);
|
||||
return 0;
|
||||
@@ -286,14 +295,14 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
case WM_KEYDOWN:
|
||||
{
|
||||
// Get the virtual key code.
|
||||
int key = static_cast<int>(wParam);
|
||||
int32_t key = static_cast<int32_t>(wParam);
|
||||
|
||||
// Get the cursor position in client coordinates.
|
||||
POINT point;
|
||||
GetCursorPos(&point);
|
||||
ScreenToClient(handle, &point);
|
||||
int x = static_cast<int>(point.x);
|
||||
int y = static_cast<int>(point.y);
|
||||
int32_t x = static_cast<int32_t>(point.x);
|
||||
int32_t y = static_cast<int32_t>(point.y);
|
||||
|
||||
window.OnKeyDown(key, x, y);
|
||||
return 0;
|
||||
@@ -301,14 +310,14 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
case WM_KEYUP:
|
||||
{
|
||||
// Get the virtual key code.
|
||||
int key = static_cast<int>(wParam);
|
||||
int32_t key = static_cast<int32_t>(wParam);
|
||||
|
||||
// Get the cursor position in client coordinates.
|
||||
POINT point;
|
||||
GetCursorPos(&point);
|
||||
ScreenToClient(handle, &point);
|
||||
int x = static_cast<int>(point.x);
|
||||
int y = static_cast<int>(point.y);
|
||||
int32_t x = static_cast<int32_t>(point.x);
|
||||
int32_t y = static_cast<int32_t>(point.y);
|
||||
|
||||
window.OnKeyUp(key, x, y);
|
||||
return 0;
|
||||
@@ -316,10 +325,10 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
case WM_LBUTTONDOWN:
|
||||
{
|
||||
// Get the modifier flags.
|
||||
unsigned int modifiers = static_cast<unsigned int>(wParam);
|
||||
uint32_t modifiers = static_cast<uint32_t>(wParam);
|
||||
|
||||
// Get the cursor position in client coordinates.
|
||||
int x, y;
|
||||
int32_t x, y;
|
||||
Extract(lParam, x, y);
|
||||
|
||||
window.OnMouseClick(WindowApplication::MOUSE_LEFT, WindowApplication::MOUSE_DOWN,
|
||||
@@ -329,10 +338,10 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
case WM_LBUTTONUP:
|
||||
{
|
||||
// Get the modifier flags.
|
||||
unsigned int modifiers = static_cast<unsigned int>(wParam);
|
||||
uint32_t modifiers = static_cast<uint32_t>(wParam);
|
||||
|
||||
// Get the cursor position in client coordinates.
|
||||
int x, y;
|
||||
int32_t x, y;
|
||||
Extract(lParam, x, y);
|
||||
|
||||
window.OnMouseClick(WindowApplication::MOUSE_LEFT, WindowApplication::MOUSE_UP,
|
||||
@@ -342,10 +351,10 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
case WM_MBUTTONDOWN:
|
||||
{
|
||||
// Get the modifier flags.
|
||||
unsigned int modifiers = static_cast<unsigned int>(wParam);
|
||||
uint32_t modifiers = static_cast<uint32_t>(wParam);
|
||||
|
||||
// Get the cursor position in client coordinates.
|
||||
int x, y;
|
||||
int32_t x, y;
|
||||
Extract(lParam, x, y);
|
||||
|
||||
window.OnMouseClick(WindowApplication::MOUSE_MIDDLE, WindowApplication::MOUSE_DOWN,
|
||||
@@ -355,10 +364,10 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
case WM_MBUTTONUP:
|
||||
{
|
||||
// Get the modifier flags.
|
||||
unsigned int modifiers = static_cast<unsigned int>(wParam);
|
||||
uint32_t modifiers = static_cast<uint32_t>(wParam);
|
||||
|
||||
// Get the cursor position in client coordinates.
|
||||
int x, y;
|
||||
int32_t x, y;
|
||||
Extract(lParam, x, y);
|
||||
|
||||
window.OnMouseClick(WindowApplication::MOUSE_MIDDLE, WindowApplication::MOUSE_UP,
|
||||
@@ -368,10 +377,10 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
case WM_RBUTTONDOWN:
|
||||
{
|
||||
// Get the modifier flags.
|
||||
unsigned int modifiers = static_cast<unsigned int>(wParam);
|
||||
uint32_t modifiers = static_cast<uint32_t>(wParam);
|
||||
|
||||
// Get the cursor position in client coordinates.
|
||||
int x, y;
|
||||
int32_t x, y;
|
||||
Extract(lParam, x, y);
|
||||
|
||||
window.OnMouseClick(WindowApplication::MOUSE_RIGHT, WindowApplication::MOUSE_DOWN,
|
||||
@@ -381,10 +390,10 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
case WM_RBUTTONUP:
|
||||
{
|
||||
// Get the modifier flags.
|
||||
unsigned int modifiers = static_cast<unsigned int>(wParam);
|
||||
uint32_t modifiers = static_cast<uint32_t>(wParam);
|
||||
|
||||
// Get the cursor position in client coordinates.
|
||||
int x, y;
|
||||
int32_t x, y;
|
||||
Extract(lParam, x, y);
|
||||
|
||||
window.OnMouseClick(WindowApplication::MOUSE_RIGHT, WindowApplication::MOUSE_UP,
|
||||
@@ -394,13 +403,13 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
case WM_MOUSEMOVE:
|
||||
{
|
||||
// Get the modifier flags.
|
||||
unsigned int modifiers = static_cast<unsigned int>(wParam);
|
||||
uint32_t modifiers = static_cast<uint32_t>(wParam);
|
||||
|
||||
// Get the cursor position in client coordinates.
|
||||
int x, y;
|
||||
int32_t x, y;
|
||||
Extract(lParam, x, y);
|
||||
|
||||
int button;
|
||||
int32_t button;
|
||||
if (wParam & MK_LBUTTON)
|
||||
{
|
||||
button = WindowApplication::MOUSE_LEFT;
|
||||
@@ -424,23 +433,23 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
case WM_MOUSEWHEEL:
|
||||
{
|
||||
// Get the modifier flags and the amount the wheel rotated.
|
||||
int modifiers, delta;
|
||||
int32_t modifiers, delta;
|
||||
Extract(wParam, modifiers, delta);
|
||||
|
||||
// Get the cursor position in client coordinates.
|
||||
POINT point;
|
||||
GetCursorPos(&point);
|
||||
ScreenToClient(handle, &point);
|
||||
int x = static_cast<int>(point.x);
|
||||
int y = static_cast<int>(point.y);
|
||||
int32_t x = static_cast<int32_t>(point.x);
|
||||
int32_t y = static_cast<int32_t>(point.y);
|
||||
|
||||
window.OnMouseWheel(delta, x, y, (unsigned int)modifiers);
|
||||
window.OnMouseWheel(delta, x, y, (uint32_t)modifiers);
|
||||
return 0;
|
||||
}
|
||||
case WM_HSCROLL: // 0x0114
|
||||
case WM_VSCROLL: // 0x0115
|
||||
{
|
||||
int bar = message - WM_HSCROLL; // 0 or 1
|
||||
int32_t bar = message - WM_HSCROLL; // 0 or 1
|
||||
switch (LOWORD(wParam))
|
||||
{
|
||||
case SB_LINELEFT:
|
||||
@@ -472,7 +481,14 @@ LRESULT CALLBACK WindowSystem::WindowProcedure(HWND handle, UINT message,
|
||||
window.OnClose();
|
||||
return 0;
|
||||
}
|
||||
case WM_COPYDATA:
|
||||
{
|
||||
window.OnCopyData((HWND)wParam, reinterpret_cast<PCOPYDATASTRUCT>(lParam));
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
return DefWindowProc(handle, message, wParam, lParam);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace gte
|
||||
};
|
||||
|
||||
template <typename WindowType>
|
||||
void MessagePump(std::shared_ptr<WindowType> const& window, unsigned int flags)
|
||||
void MessagePump(std::shared_ptr<WindowType> const& window, uint32_t flags)
|
||||
{
|
||||
if (window)
|
||||
{
|
||||
@@ -111,7 +111,7 @@ namespace gte
|
||||
// menu bar, and so on). This information is useful to know before
|
||||
// creating a window to ensure the to-be-created window fits within
|
||||
// the monitor resolution.
|
||||
static bool GetWindowRectangle(int xClientSize, int yClientSize,
|
||||
static bool GetWindowRectangle(int32_t xClientSize, int32_t yClientSize,
|
||||
DWORD style, RECT& windowRectangle);
|
||||
|
||||
// Window creation and destruction. The CreateEngineAndProgramFactory
|
||||
@@ -125,8 +125,8 @@ namespace gte
|
||||
|
||||
// Extraction of cursor location, avoiding the extraction in <windows.h>
|
||||
// that does not work when you have dual monitors.
|
||||
static void Extract(LPARAM lParam, int& x, int& y);
|
||||
static void Extract(WPARAM wParam, int& x, int& y);
|
||||
static void Extract(LPARAM lParam, int32_t& x, int32_t& y);
|
||||
static void Extract(WPARAM wParam, int32_t& x, int32_t& y);
|
||||
|
||||
// The event handler.
|
||||
static LRESULT CALLBACK WindowProcedure(HWND handle, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
@@ -138,3 +138,5 @@ namespace gte
|
||||
|
||||
extern WindowSystem TheWindowSystem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2026.02.16
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/OnIdleTimer.h>
|
||||
@@ -63,7 +63,7 @@ double OnIdleTimer::GetSecondsPerFrame() const
|
||||
{
|
||||
double numFrames = static_cast<double>(mAccumulatedFrameCount);
|
||||
double numMilliseconds = static_cast<double>(mAccumulatedTime);
|
||||
return 1000.0 * numMilliseconds / numFrames;
|
||||
return numMilliseconds / (1000.0 * numFrames);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -94,3 +94,5 @@ std::string OnIdleTimer::GetFPS() const
|
||||
stream << "fps: " << GetFramesPerSecond();
|
||||
return stream.str();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -48,3 +48,5 @@ namespace gte
|
||||
std::chrono::high_resolution_clock::time_point mTime0, mTime1;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/Timer.h>
|
||||
@@ -45,3 +45,5 @@ void Timer::Reset()
|
||||
{
|
||||
mInitialTime = std::chrono::high_resolution_clock::now();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -31,3 +31,5 @@ namespace gte
|
||||
std::chrono::high_resolution_clock::time_point mInitialTime;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/TrackBall.h>
|
||||
@@ -17,7 +17,7 @@ TrackBall::TrackBall()
|
||||
mInitialOrientation.MakeIdentity();
|
||||
}
|
||||
|
||||
TrackBall::TrackBall(int xSize, int ySize, std::shared_ptr<Camera> const& camera)
|
||||
TrackBall::TrackBall(int32_t xSize, int32_t ySize, std::shared_ptr<Camera> const& camera)
|
||||
:
|
||||
TrackObject(xSize, ySize, camera)
|
||||
{
|
||||
@@ -132,20 +132,22 @@ void TrackBall::OnSetFinalPoint()
|
||||
{
|
||||
Matrix4x4<float> parWRotate = parent->worldTransform.GetRotation();
|
||||
Matrix4x4<float> trnParWRotate = Transpose(parWRotate);
|
||||
#if defined(GTE_USE_MAT_VEC)
|
||||
rotate = trnParWRotate * incrRotate * parWRotate * mInitialOrientation;
|
||||
#else
|
||||
#if defined(GTE_USE_VEC_MAT)
|
||||
rotate = mInitialOrientation * parWRotate * incrRotate * trnParWRotate;
|
||||
#else
|
||||
rotate = trnParWRotate * incrRotate * parWRotate * mInitialOrientation;
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
#if defined(GTE_USE_MAT_VEC)
|
||||
rotate = incrRotate * mInitialOrientation;
|
||||
#else
|
||||
#if defined(GTE_USE_VEC_MAT)
|
||||
rotate = mInitialOrientation * incrRotate;
|
||||
#else
|
||||
rotate = incrRotate * mInitialOrientation;
|
||||
#endif
|
||||
}
|
||||
|
||||
NormalizeAndUpdateRoot(rotate);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace gte
|
||||
// (ySize - 1 - y).
|
||||
virtual ~TrackBall() = default;
|
||||
TrackBall();
|
||||
TrackBall(int xSize, int ySize, std::shared_ptr<Camera> const& camera);
|
||||
TrackBall(int32_t xSize, int32_t ySize, std::shared_ptr<Camera> const& camera);
|
||||
|
||||
// Reset the trackball rotation to the identity.
|
||||
void Reset();
|
||||
@@ -33,3 +33,5 @@ namespace gte
|
||||
Matrix4x4<float> mInitialOrientation;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/TrackCylinder.h>
|
||||
#include <Mathematics/Functions.h>
|
||||
using namespace gte;
|
||||
|
||||
TrackCylinder::TrackCylinder()
|
||||
@@ -20,7 +21,7 @@ TrackCylinder::TrackCylinder()
|
||||
mRoot = std::make_shared<Node>();
|
||||
}
|
||||
|
||||
TrackCylinder::TrackCylinder(int xSize, int ySize, std::shared_ptr<Camera> const& camera)
|
||||
TrackCylinder::TrackCylinder(int32_t xSize, int32_t ySize, std::shared_ptr<Camera> const& camera)
|
||||
:
|
||||
TrackObject(xSize, ySize, camera),
|
||||
mInitialYaw(0.0f),
|
||||
@@ -61,19 +62,21 @@ void TrackCylinder::OnSetFinalPoint()
|
||||
mPitch = gte::clamp(mPitch, -halfPi, halfPi);
|
||||
|
||||
// The angle order depends on camera {D=0, U=1, R=2}.
|
||||
#if defined(GTE_USE_MAT_VEC)
|
||||
AxisAngle<4, float> yawAxisAngle(Vector4<float>::Unit(2), mYaw);
|
||||
Matrix4x4<float> yawRotate = Rotation<4, float>(yawAxisAngle);
|
||||
AxisAngle<4, float> pitchAxisAngle(Vector4<float>::Unit(1), mPitch);
|
||||
Matrix4x4<float> pitchRotate = Rotation<4, float>(pitchAxisAngle);
|
||||
Matrix4x4<float> rotate = pitchRotate * yawRotate;
|
||||
#else
|
||||
#if defined(GTE_USE_VEC_MAT)
|
||||
AxisAngle<4, float> yawAxisAngle(Vector4<float>::Unit(2), -mYaw);
|
||||
Matrix4x4<float> yawRotate = Rotation<4, float>(yawAxisAngle);
|
||||
AxisAngle<4, float> pitchAxisAngle(Vector4<float>::Unit(1), -mPitch);
|
||||
Matrix4x4<float> pitchRotate = Rotation<4, float>(pitchAxisAngle);
|
||||
Matrix4x4<float> rotate = yawRotate * pitchRotate;
|
||||
#else
|
||||
AxisAngle<4, float> yawAxisAngle(Vector4<float>::Unit(2), mYaw);
|
||||
Matrix4x4<float> yawRotate = Rotation<4, float>(yawAxisAngle);
|
||||
AxisAngle<4, float> pitchAxisAngle(Vector4<float>::Unit(1), mPitch);
|
||||
Matrix4x4<float> pitchRotate = Rotation<4, float>(pitchAxisAngle);
|
||||
Matrix4x4<float> rotate = pitchRotate * yawRotate;
|
||||
#endif
|
||||
|
||||
NormalizeAndUpdateRoot(rotate);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace gte
|
||||
// as desired.
|
||||
virtual ~TrackCylinder() = default;
|
||||
TrackCylinder();
|
||||
TrackCylinder(int xSize, int ySize, std::shared_ptr<Camera> const& camera);
|
||||
TrackCylinder(int32_t xSize, int32_t ySize, std::shared_ptr<Camera> const& camera);
|
||||
|
||||
// Reset the trackcylinder rotation to the identity.
|
||||
void Reset();
|
||||
@@ -46,3 +46,5 @@ namespace gte
|
||||
float mInitialPitch, mPitch;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/TrackObject.h>
|
||||
@@ -24,7 +24,7 @@ TrackObject::TrackObject()
|
||||
mRoot = std::make_shared<Node>();
|
||||
}
|
||||
|
||||
TrackObject::TrackObject(int xSize, int ySize, std::shared_ptr<Camera> const& camera)
|
||||
TrackObject::TrackObject(int32_t xSize, int32_t ySize, std::shared_ptr<Camera> const& camera)
|
||||
:
|
||||
mXSize(0),
|
||||
mYSize(0),
|
||||
@@ -40,7 +40,7 @@ TrackObject::TrackObject(int xSize, int ySize, std::shared_ptr<Camera> const& ca
|
||||
mRoot = std::make_shared<Node>();
|
||||
}
|
||||
|
||||
void TrackObject::Set(int xSize, int ySize, std::shared_ptr<Camera> const& camera)
|
||||
void TrackObject::Set(int32_t xSize, int32_t ySize, std::shared_ptr<Camera> const& camera)
|
||||
{
|
||||
if (xSize > 0 && ySize > 0 && camera)
|
||||
{
|
||||
@@ -102,7 +102,7 @@ void TrackObject::DetachAll()
|
||||
}
|
||||
}
|
||||
|
||||
void TrackObject::SetInitialPoint(int x, int y)
|
||||
void TrackObject::SetInitialPoint(int32_t x, int32_t y)
|
||||
{
|
||||
if (mValid && mRoot)
|
||||
{
|
||||
@@ -112,7 +112,7 @@ void TrackObject::SetInitialPoint(int x, int y)
|
||||
}
|
||||
}
|
||||
|
||||
void TrackObject::SetFinalPoint(int x, int y)
|
||||
void TrackObject::SetFinalPoint(int32_t x, int32_t y)
|
||||
{
|
||||
if (mValid && mRoot)
|
||||
{
|
||||
@@ -145,3 +145,5 @@ void TrackObject::NormalizeAndUpdateRoot(Matrix4x4<float>& rotate)
|
||||
mRoot->localTransform.SetRotation(rotate);
|
||||
mRoot->Update();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -18,22 +18,32 @@ namespace gte
|
||||
// Construction and destruction.
|
||||
virtual ~TrackObject() = default;
|
||||
TrackObject();
|
||||
TrackObject(int xSize, int ySize, std::shared_ptr<Camera> const& camera);
|
||||
TrackObject(int32_t xSize, int32_t ySize, std::shared_ptr<Camera> const& camera);
|
||||
|
||||
// Member access. The Set functions are for deferred construction
|
||||
// after a default construction of a trackball.
|
||||
void Set(int xSize, int ySize, std::shared_ptr<Camera> const& camera);
|
||||
void Set(int32_t xSize, int32_t ySize, std::shared_ptr<Camera> const& camera);
|
||||
|
||||
inline int GetXSize() const
|
||||
inline int32_t GetXSize() const
|
||||
{
|
||||
return mXSize;
|
||||
}
|
||||
|
||||
inline int GetYSize() const
|
||||
inline int32_t GetYSize() const
|
||||
{
|
||||
return mYSize;
|
||||
}
|
||||
|
||||
inline void SetXSize(int32_t size)
|
||||
{
|
||||
mXSize = size;
|
||||
}
|
||||
|
||||
inline void SetYSize(int32_t size)
|
||||
{
|
||||
mYSize = size;
|
||||
}
|
||||
|
||||
inline std::shared_ptr<Camera> const& GetCamera() const
|
||||
{
|
||||
return mCamera;
|
||||
@@ -93,12 +103,12 @@ namespace gte
|
||||
|
||||
// Set the initial point of the track object. The current track
|
||||
// object orientation is recorded.
|
||||
void SetInitialPoint(int x, int y);
|
||||
void SetInitialPoint(int32_t x, int32_t y);
|
||||
|
||||
// Set the final point of the track object. The track object
|
||||
// orientation is updated by the incremental rotation implied by the
|
||||
// initial and final points.
|
||||
void SetFinalPoint(int x, int y);
|
||||
void SetFinalPoint(int32_t x, int32_t y);
|
||||
|
||||
protected:
|
||||
virtual void OnSetInitialPoint() = 0;
|
||||
@@ -108,8 +118,10 @@ namespace gte
|
||||
|
||||
std::shared_ptr<Camera> mCamera;
|
||||
std::shared_ptr<Spatial> mRoot;
|
||||
int mXSize, mYSize;
|
||||
int32_t mXSize, mYSize;
|
||||
float mX0, mY0, mX1, mY1, mMultiplier;
|
||||
bool mActive, mValid;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -14,3 +14,5 @@
|
||||
#if defined(GTE_USE_LINUX)
|
||||
#include<Applications/GLX/WICFileIO.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/Window2.h>
|
||||
#include <Mathematics/ImageUtility2.h>
|
||||
#include <Graphics/SamplerState.h>
|
||||
using namespace gte;
|
||||
|
||||
Window2::Window2(Parameters& parameters)
|
||||
@@ -19,17 +20,15 @@ Window2::Window2(Parameters& parameters)
|
||||
mDoFlip(false),
|
||||
mScreenTextureNeedsUpdate(false)
|
||||
{
|
||||
if (parameters.allowResize)
|
||||
{
|
||||
parameters.created = false;
|
||||
return;
|
||||
}
|
||||
|
||||
mOverlay = std::make_shared<OverlayEffect>(mProgramFactory, mXSize, mYSize, mXSize, mYSize,
|
||||
SamplerState::MIN_P_MAG_P_MIP_P, SamplerState::CLAMP, SamplerState::CLAMP, true);
|
||||
mOverlay = std::make_shared<OverlayEffect>(mProgramFactory,
|
||||
mXSize, mYSize, mXSize, mYSize,
|
||||
SamplerState::Filter::MIN_P_MAG_P_MIP_P,
|
||||
SamplerState::Mode::CLAMP,
|
||||
SamplerState::Mode::CLAMP,
|
||||
true);
|
||||
|
||||
mScreenTexture = std::make_shared<Texture2>(DF_R8G8B8A8_UNORM, mXSize, mYSize);
|
||||
mScreenTexture->SetUsage(Resource::DYNAMIC_UPDATE);
|
||||
mScreenTexture->SetUsage(Resource::Usage::DYNAMIC_UPDATE);
|
||||
mOverlay->SetTexture(mScreenTexture);
|
||||
|
||||
// The default is to disable depth and stenciling. For layered drawing in
|
||||
@@ -41,12 +40,12 @@ Window2::Window2(Parameters& parameters)
|
||||
mEngine->SetDepthStencilState(mNoDepthStencilState);
|
||||
|
||||
// Callback functions for ImageUtility2 functions.
|
||||
mDrawPixel = [this](int x, int y) { SetPixel(x, y, mPixelColor); };
|
||||
mDrawThickPixel = [this](int x, int y)
|
||||
mDrawPixel = [this](int32_t x, int32_t y) { SetPixel(x, y, mPixelColor); };
|
||||
mDrawThickPixel = [this](int32_t x, int32_t y)
|
||||
{
|
||||
for (int dy = -mThick; dy <= mThick; ++dy)
|
||||
for (int32_t dy = -mThick; dy <= mThick; ++dy)
|
||||
{
|
||||
for (int dx = -mThick; dx <= mThick; ++dx)
|
||||
for (int32_t dx = -mThick; dx <= mThick; ++dx)
|
||||
{
|
||||
SetPixel(x + dx, y + dy, mPixelColor);
|
||||
}
|
||||
@@ -54,10 +53,28 @@ Window2::Window2(Parameters& parameters)
|
||||
};
|
||||
}
|
||||
|
||||
bool Window2::OnResize(int, int)
|
||||
bool Window2::OnResize(int32_t xSize, int32_t ySize)
|
||||
{
|
||||
// See the comments in GteWindow.h.
|
||||
return false;
|
||||
if (xSize != mXSize || ySize != mYSize)
|
||||
{
|
||||
mXSize = xSize;
|
||||
mYSize = ySize;
|
||||
|
||||
mOverlay = std::make_shared<OverlayEffect>(mProgramFactory,
|
||||
mXSize, mYSize, mXSize, mYSize,
|
||||
SamplerState::Filter::MIN_P_MAG_P_MIP_P,
|
||||
SamplerState::Mode::CLAMP,
|
||||
SamplerState::Mode::CLAMP,
|
||||
true);
|
||||
|
||||
mScreenTexture = std::make_shared<Texture2>(DF_R8G8B8A8_UNORM, mXSize, mYSize);
|
||||
mScreenTexture->SetUsage(Resource::Usage::DYNAMIC_UPDATE);
|
||||
|
||||
mOverlay->SetTexture(mScreenTexture);
|
||||
|
||||
mEngine->Resize(static_cast<uint32_t>(mXSize), static_cast<uint32_t>(mYSize));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void Window2::OnDisplay()
|
||||
@@ -78,17 +95,17 @@ void Window2::DrawScreenOverlay()
|
||||
// Stub for derived classes.
|
||||
}
|
||||
|
||||
void Window2::ClearScreen(unsigned int color)
|
||||
void Window2::ClearScreen(uint32_t color)
|
||||
{
|
||||
unsigned int const numTexels = mScreenTexture->GetNumElements();
|
||||
unsigned int* texels = mScreenTexture->Get<unsigned int>();
|
||||
for (unsigned int i = 0; i < numTexels; ++i)
|
||||
uint32_t const numTexels = mScreenTexture->GetNumElements();
|
||||
uint32_t* texels = mScreenTexture->Get<uint32_t>();
|
||||
for (uint32_t i = 0; i < numTexels; ++i)
|
||||
{
|
||||
*texels++ = color;
|
||||
}
|
||||
}
|
||||
|
||||
void Window2::SetPixel(int x, int y, unsigned int color)
|
||||
void Window2::SetPixel(int32_t x, int32_t y, uint32_t color)
|
||||
{
|
||||
if (mClampToWindow)
|
||||
{
|
||||
@@ -103,10 +120,10 @@ void Window2::SetPixel(int x, int y, unsigned int color)
|
||||
y = mYSize - 1 - y;
|
||||
}
|
||||
|
||||
mScreenTexture->Get<unsigned int>()[x + mXSize * y] = color;
|
||||
mScreenTexture->Get<uint32_t>()[x + mXSize * y] = color;
|
||||
}
|
||||
|
||||
unsigned int Window2::GetPixel(int x, int y)
|
||||
uint32_t Window2::GetPixel(int32_t x, int32_t y)
|
||||
{
|
||||
if (mClampToWindow)
|
||||
{
|
||||
@@ -121,70 +138,72 @@ unsigned int Window2::GetPixel(int x, int y)
|
||||
y = mYSize - 1 - y;
|
||||
}
|
||||
|
||||
return mScreenTexture->Get<unsigned int>()[x + mXSize * y];
|
||||
return mScreenTexture->Get<uint32_t>()[x + mXSize * y];
|
||||
}
|
||||
|
||||
void Window2::DrawThickPixel(int x, int y, int thick, unsigned int color)
|
||||
void Window2::DrawThickPixel(int32_t x, int32_t y, int32_t thick, uint32_t color)
|
||||
{
|
||||
mPixelColor = color;
|
||||
ImageUtility2::DrawThickPixel(x, y, thick, mDrawPixel);
|
||||
}
|
||||
|
||||
void Window2::DrawLine(int x0, int y0, int x1, int y1, unsigned int color)
|
||||
void Window2::DrawLine(int32_t x0, int32_t y0, int32_t x1, int32_t y1, uint32_t color)
|
||||
{
|
||||
mPixelColor = color;
|
||||
ImageUtility2::DrawLine(x0, y0, x1, y1, mDrawPixel);
|
||||
}
|
||||
|
||||
void Window2::DrawThickLine(int x0, int y0, int x1, int y1, int thick, unsigned int color)
|
||||
void Window2::DrawThickLine(int32_t x0, int32_t y0, int32_t x1, int32_t y1, int32_t thick, uint32_t color)
|
||||
{
|
||||
mPixelColor = color;
|
||||
mThick = thick;
|
||||
ImageUtility2::DrawLine(x0, y0, x1, y1, mDrawThickPixel);
|
||||
}
|
||||
|
||||
void Window2::DrawRectangle(int xMin, int yMin, int xMax, int yMax, unsigned int color, bool solid)
|
||||
void Window2::DrawRectangle(int32_t xMin, int32_t yMin, int32_t xMax, int32_t yMax, uint32_t color, bool solid)
|
||||
{
|
||||
mPixelColor = color;
|
||||
ImageUtility2::DrawRectangle(xMin, yMin, xMax, yMax, solid, mDrawPixel);
|
||||
}
|
||||
|
||||
void Window2::DrawThickRectangle(int xMin, int yMin, int xMax, int yMax, int thick, unsigned int color, bool solid)
|
||||
void Window2::DrawThickRectangle(int32_t xMin, int32_t yMin, int32_t xMax, int32_t yMax, int32_t thick, uint32_t color, bool solid)
|
||||
{
|
||||
mPixelColor = color;
|
||||
mThick = thick;
|
||||
ImageUtility2::DrawRectangle(xMin, yMin, xMax, yMax, solid, mDrawThickPixel);
|
||||
}
|
||||
|
||||
void Window2::DrawCircle(int xCenter, int yCenter, int radius, unsigned int color, bool solid)
|
||||
void Window2::DrawCircle(int32_t xCenter, int32_t yCenter, int32_t radius, uint32_t color, bool solid)
|
||||
{
|
||||
mPixelColor = color;
|
||||
ImageUtility2::DrawCircle(xCenter, yCenter, radius, solid, mDrawPixel);
|
||||
}
|
||||
|
||||
void Window2::DrawThickCircle(int xCenter, int yCenter, int radius, int thick, unsigned int color, bool solid)
|
||||
void Window2::DrawThickCircle(int32_t xCenter, int32_t yCenter, int32_t radius, int32_t thick, uint32_t color, bool solid)
|
||||
{
|
||||
mPixelColor = color;
|
||||
mThick = thick;
|
||||
ImageUtility2::DrawCircle(xCenter, yCenter, radius, solid, mDrawThickPixel);
|
||||
}
|
||||
|
||||
void Window2::DrawEllipse(int xCenter, int yCenter, int xExtent, int yExtent, unsigned int color)
|
||||
void Window2::DrawEllipse(int32_t xCenter, int32_t yCenter, int32_t xExtent, int32_t yExtent, uint32_t color)
|
||||
{
|
||||
mPixelColor = color;
|
||||
ImageUtility2::DrawEllipse(xCenter, yCenter, xExtent, yExtent, mDrawPixel);
|
||||
}
|
||||
|
||||
void Window2::DrawThickEllipse(int xCenter, int yCenter, int xExtent, int yExtent, int thick, unsigned int color)
|
||||
void Window2::DrawThickEllipse(int32_t xCenter, int32_t yCenter, int32_t xExtent, int32_t yExtent, int32_t thick, uint32_t color)
|
||||
{
|
||||
mPixelColor = color;
|
||||
mThick = thick;
|
||||
ImageUtility2::DrawEllipse(xCenter, yCenter, xExtent, yExtent, mDrawThickPixel);
|
||||
}
|
||||
|
||||
void Window2::DrawFloodFill4(int x, int y, unsigned int foreColor, unsigned int backColor)
|
||||
void Window2::DrawFloodFill4(int32_t x, int32_t y, uint32_t foreColor, uint32_t backColor)
|
||||
{
|
||||
ImageUtility2::DrawFloodFill4<unsigned int>(x, y, mXSize, mYSize, foreColor, backColor,
|
||||
[this](int x, int y, unsigned int color) { SetPixel(x, y, color); },
|
||||
[this](int x, int y) { return GetPixel(x, y); });
|
||||
ImageUtility2::DrawFloodFill4<uint32_t>(x, y, mXSize, mYSize, foreColor, backColor,
|
||||
[this](int32_t x, int32_t y, uint32_t color) { SetPixel(x, y, color); },
|
||||
[this](int32_t x, int32_t y) { return GetPixel(x, y); });
|
||||
}
|
||||
|
||||
|
||||
|
||||
+47
-25
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -13,7 +13,10 @@
|
||||
#if defined(GTE_USE_LINUX)
|
||||
#include <Applications/GLX/Window.h>
|
||||
#endif
|
||||
#include <Graphics/DepthStencilState.h>
|
||||
#include <Graphics/OverlayEffect.h>
|
||||
#include <Graphics/Texture2.h>
|
||||
#include <cstdint>
|
||||
|
||||
// The 2D application support is for GTEngine samples and is not a
|
||||
// general-purpose 2D windowing layer. The window resizing is disabled to
|
||||
@@ -31,13 +34,30 @@ namespace gte
|
||||
Window2(Parameters& parameters);
|
||||
|
||||
public:
|
||||
// Display functions. The OnResize function always returns 'false';
|
||||
// that is, you cannot resize the window. The DrawScreenOverlay
|
||||
// function is called after the screen texture is drawn but before the
|
||||
// swap-buffers call is made. This allows you to draw text or GUI
|
||||
// elements on top of the screen texture.
|
||||
virtual bool OnResize(int xSize, int ySize) override;
|
||||
// Display functions.
|
||||
|
||||
// OnResize is called during window resize events. The screen texture
|
||||
// and the overlay objects are recreated. The engine then resizes its
|
||||
// renderer. If a class derived from Window2 wants resizing, it must
|
||||
// set the parameters.allowResize to true. Moreover, the class must
|
||||
// override OnResize, calling the Window2::OnResize first and then
|
||||
// calling either its own OnDisplay or OnIdle, whichever it is using
|
||||
// for drawing. This is required because during the window resizing,
|
||||
// the message pump is receiving the events and OnIdle() is not
|
||||
// called directly in the message pump because there are messages
|
||||
// that must be processed first. If you do not call your own OnIdle,
|
||||
// the rendered client window will not display properly.
|
||||
virtual bool OnResize(int32_t xSize, int32_t ySize) override;
|
||||
|
||||
// The OnDisplay function updates the screen texture if it is 'dirty'
|
||||
// and then draws the 2D overlay followed by a call to
|
||||
// DrawScreenOverlay.
|
||||
virtual void OnDisplay() override;
|
||||
|
||||
// The DrawScreenOverlay function is called after the screen texture
|
||||
// is drawn but before the swap-buffers call is made. This allows you
|
||||
// to draw text or user-created GUI elements on top of the screen
|
||||
// texture.
|
||||
virtual void DrawScreenOverlay();
|
||||
|
||||
// Drawing functions. Each color is packed as R8G8B8A8 with the alpha
|
||||
@@ -45,43 +65,43 @@ namespace gte
|
||||
// bits. For example, (r,g,b,a) = (1,2,3,4) is 0x04030201.
|
||||
|
||||
// Set all pixels to the specified color.
|
||||
void ClearScreen(unsigned int color);
|
||||
void ClearScreen(uint32_t color);
|
||||
|
||||
// Set the pixel at location (x,y) to the specified color.
|
||||
void SetPixel(int x, int y, unsigned int color);
|
||||
void SetPixel(int32_t x, int32_t y, uint32_t color);
|
||||
|
||||
// Get the pixel color at location (x,y).
|
||||
unsigned int GetPixel(int x, int y);
|
||||
uint32_t GetPixel(int32_t x, int32_t y);
|
||||
|
||||
// Set the pixels (x',y') for x-thick <= x' <= x+thick and
|
||||
// y-thick <= y' <= y+thick.
|
||||
void DrawThickPixel(int x, int y, int thick, unsigned int color);
|
||||
void DrawThickPixel(int32_t x, int32_t y, int32_t thick, uint32_t color);
|
||||
|
||||
// Use Bresenham's algorithm to draw the line from (x0,y0) to (x1,y1)
|
||||
// using the specified color for the drawn pixels. The algorithm is
|
||||
// biased in that the pixels set by DrawLine(x0,y0,x1,y1) are not
|
||||
// necessarily the same as those set by DrawLine(x1,y1,x0,y0).
|
||||
// TODO: Implement the midpoint algorithm to avoid the bias.
|
||||
void DrawLine(int x0, int y0, int x1, int y1, unsigned int color);
|
||||
void DrawThickLine(int x0, int y0, int x1, int y1, int thick, unsigned int color);
|
||||
void DrawLine(int32_t x0, int32_t y0, int32_t x1, int32_t y1, uint32_t color);
|
||||
void DrawThickLine(int32_t x0, int32_t y0, int32_t x1, int32_t y1, int32_t thick, uint32_t color);
|
||||
|
||||
// Draw an axis-aligned rectangle using the specified color. The
|
||||
// 'solid' parameter indicates whether or not to fill the rectangle.
|
||||
void DrawRectangle(int xMin, int yMin, int xMax, int yMax, unsigned int color, bool solid);
|
||||
void DrawThickRectangle(int xMin, int yMin, int xMax, int yMax, int thick, unsigned int color, bool solid);
|
||||
void DrawRectangle(int32_t xMin, int32_t yMin, int32_t xMax, int32_t yMax, uint32_t color, bool solid);
|
||||
void DrawThickRectangle(int32_t xMin, int32_t yMin, int32_t xMax, int32_t yMax, int32_t thick, uint32_t color, bool solid);
|
||||
|
||||
// Use Bresenham's algorithm to draw the circle centered at
|
||||
// (xCenter,yCenter) with the specified 'radius' and using the
|
||||
// specified color. The 'solid' parameter indicates whether or not
|
||||
// to fill the circle.
|
||||
void DrawCircle(int xCenter, int yCenter, int radius, unsigned int color, bool solid);
|
||||
void DrawThickCircle(int xCenter, int yCenter, int radius, int thick, unsigned int color, bool solid);
|
||||
void DrawCircle(int32_t xCenter, int32_t yCenter, int32_t radius, uint32_t color, bool solid);
|
||||
void DrawThickCircle(int32_t xCenter, int32_t yCenter, int32_t radius, int32_t thick, uint32_t color, bool solid);
|
||||
|
||||
// Use Bresenham's algorithm to draw the axis-aligned ellipse
|
||||
// ((x-xc)/a)^2 + ((y-yc)/b)^2 = 1, where xCenter is xc, yCenter
|
||||
// is yc, xExtent is a, and yExtent is b.
|
||||
void DrawEllipse(int xCenter, int yCenter, int xExtent, int yExtent, unsigned int color);
|
||||
void DrawThickEllipse(int xCenter, int yCenter, int xExtent, int yExtent, int thick, unsigned int color);
|
||||
void DrawEllipse(int32_t xCenter, int32_t yCenter, int32_t xExtent, int32_t yExtent, uint32_t color);
|
||||
void DrawThickEllipse(int32_t xCenter, int32_t yCenter, int32_t xExtent, int32_t yExtent, int32_t thick, uint32_t color);
|
||||
|
||||
// Flood-fill a region whose pixels are of color 'backColor' by
|
||||
// changing their color to 'foreColor'. The fill treats the screen
|
||||
@@ -90,18 +110,20 @@ namespace gte
|
||||
// the screen boundary). The function simulates recursion by using
|
||||
// stacks, which avoids the expense of true recursion and the
|
||||
// potential to overflow the calling stack.
|
||||
void DrawFloodFill4(int x, int y, unsigned int foreColor, unsigned int backColor);
|
||||
void DrawFloodFill4(int32_t x, int32_t y, uint32_t foreColor, uint32_t backColor);
|
||||
|
||||
protected:
|
||||
std::shared_ptr<OverlayEffect> mOverlay;
|
||||
std::shared_ptr<Texture2> mScreenTexture;
|
||||
std::shared_ptr<DepthStencilState> mNoDepthStencilState;
|
||||
std::function<void(int, int)> mDrawPixel;
|
||||
std::function<void(int, int)> mDrawThickPixel;
|
||||
unsigned int mPixelColor;
|
||||
int mThick;
|
||||
std::function<void(int32_t, int32_t)> mDrawPixel;
|
||||
std::function<void(int32_t, int32_t)> mDrawThickPixel;
|
||||
uint32_t mPixelColor;
|
||||
int32_t mThick;
|
||||
bool mClampToWindow;
|
||||
bool mDoFlip;
|
||||
bool mScreenTextureNeedsUpdate;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/Window3.h>
|
||||
@@ -46,20 +46,22 @@ void Window3::InitializeCamera(float upFovDegrees, float aspectRatio, float dmin
|
||||
mCameraRig.SetRotationSpeed(rotationSpeed);
|
||||
}
|
||||
|
||||
bool Window3::OnResize(int xSize, int ySize)
|
||||
bool Window3::OnResize(int32_t xSize, int32_t ySize)
|
||||
{
|
||||
if (Window::OnResize(xSize, ySize))
|
||||
{
|
||||
float upFovDegrees, aspectRatio, dMin, dMax;
|
||||
mCamera->GetFrustum(upFovDegrees, aspectRatio, dMin, dMax);
|
||||
mCamera->SetFrustum(upFovDegrees, GetAspectRatio(), dMin, dMax);
|
||||
mTrackBall.SetXSize(xSize);
|
||||
mTrackBall.SetYSize(ySize);
|
||||
mPVWMatrices.Update();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Window3::OnCharPress(unsigned char key, int x, int y)
|
||||
bool Window3::OnCharPress(uint8_t key, int32_t x, int32_t y)
|
||||
{
|
||||
switch (key)
|
||||
{
|
||||
@@ -83,17 +85,17 @@ bool Window3::OnCharPress(unsigned char key, int x, int y)
|
||||
return Window::OnCharPress(key, x, y);
|
||||
}
|
||||
|
||||
bool Window3::OnKeyDown(int key, int, int)
|
||||
bool Window3::OnKeyDown(int32_t key, int32_t, int32_t)
|
||||
{
|
||||
return mCameraRig.PushMotion(key);
|
||||
}
|
||||
|
||||
bool Window3::OnKeyUp(int key, int, int)
|
||||
bool Window3::OnKeyUp(int32_t key, int32_t, int32_t)
|
||||
{
|
||||
return mCameraRig.PopMotion(key);
|
||||
}
|
||||
|
||||
bool Window3::OnMouseClick(MouseButton button, MouseState state, int x, int y, unsigned int)
|
||||
bool Window3::OnMouseClick(MouseButton button, MouseState state, int32_t x, int32_t y, uint32_t)
|
||||
{
|
||||
if (button == MOUSE_LEFT)
|
||||
{
|
||||
@@ -113,7 +115,7 @@ bool Window3::OnMouseClick(MouseButton button, MouseState state, int x, int y, u
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Window3::OnMouseMotion(MouseButton button, int x, int y, unsigned int)
|
||||
bool Window3::OnMouseMotion(MouseButton button, int32_t x, int32_t y, uint32_t)
|
||||
{
|
||||
if (button == MOUSE_LEFT && mTrackBall.GetActive())
|
||||
{
|
||||
@@ -124,3 +126,5 @@ bool Window3::OnMouseMotion(MouseButton button, int x, int y, unsigned int)
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+12
-10
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -36,31 +36,31 @@ namespace gte
|
||||
// to OnDisplay() or OnIdle(). The base class is unaware of which
|
||||
// display method you use, so to have a visual update you must
|
||||
// override OnResize
|
||||
// bool MyApplication::OnResize(int xSize, int ySize)
|
||||
// bool MyApplication::OnResize(int32_t xSize, int32_t ySize)
|
||||
// {
|
||||
// if (Window3::OnResize(xSize, ySize))
|
||||
// {
|
||||
// OnIdle(); // or OnDisplay() or MyOwnDrawFunction() ...
|
||||
// }
|
||||
// }
|
||||
virtual bool OnResize(int xSize, int ySize) override;
|
||||
virtual bool OnResize(int32_t xSize, int32_t ySize) override;
|
||||
|
||||
// The key 't' decreases the translation speed and the 'T' key
|
||||
// increases the translation speed. The 'r' key decreases the
|
||||
// rotation speed and the 'R' key increases the rotation speed.
|
||||
virtual bool OnCharPress(unsigned char key, int x, int y) override;
|
||||
virtual bool OnCharPress(uint8_t key, int32_t x, int32_t y) override;
|
||||
|
||||
// The appropriate camera rig motion is selected when 'key' is mapped
|
||||
// to a camera motion.
|
||||
virtual bool OnKeyDown(int key, int x, int y) override;
|
||||
virtual bool OnKeyUp(int key, int x, int y) override;
|
||||
virtual bool OnKeyDown(int32_t key, int32_t x, int32_t y) override;
|
||||
virtual bool OnKeyUp(int32_t key, int32_t x, int32_t y) override;
|
||||
|
||||
// Control the rotation of the trackball.
|
||||
virtual bool OnMouseClick(MouseButton button, MouseState state,
|
||||
int x, int y, unsigned int modifiers) override;
|
||||
int32_t x, int32_t y, uint32_t modifiers) override;
|
||||
|
||||
virtual bool OnMouseMotion(MouseButton button, int x, int y,
|
||||
unsigned int modifiers) override;
|
||||
virtual bool OnMouseMotion(MouseButton button, int32_t x, int32_t y,
|
||||
uint32_t modifiers) override;
|
||||
|
||||
protected:
|
||||
BufferUpdater mUpdater;
|
||||
@@ -70,3 +70,5 @@ namespace gte
|
||||
TrackBall mTrackBall;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#include <Applications/GTApplicationsPCH.h>
|
||||
#include <Applications/WindowApplication.h>
|
||||
@@ -23,7 +23,7 @@ WindowApplication::Parameters::Parameters()
|
||||
}
|
||||
|
||||
WindowApplication::Parameters::Parameters(std::wstring const& inTitle,
|
||||
int inXOrigin, int inYOrigin, int inXSize, int inYSize)
|
||||
int32_t inXOrigin, int32_t inYOrigin, int32_t inXSize, int32_t inYSize)
|
||||
:
|
||||
title(inTitle),
|
||||
xOrigin(inXOrigin),
|
||||
@@ -50,13 +50,13 @@ WindowApplication::WindowApplication(Parameters& parameters)
|
||||
{
|
||||
}
|
||||
|
||||
void WindowApplication::OnMove(int x, int y)
|
||||
void WindowApplication::OnMove(int32_t x, int32_t y)
|
||||
{
|
||||
mXOrigin = x;
|
||||
mYOrigin = y;
|
||||
}
|
||||
|
||||
bool WindowApplication::OnResize(int xSize, int ySize)
|
||||
bool WindowApplication::OnResize(int32_t xSize, int32_t ySize)
|
||||
{
|
||||
mIsMinimized = false;
|
||||
mIsMaximized = false;
|
||||
@@ -98,7 +98,7 @@ void WindowApplication::OnIdle()
|
||||
// Stub for derived classes.
|
||||
}
|
||||
|
||||
bool WindowApplication::OnCharPress(unsigned char key, int, int)
|
||||
bool WindowApplication::OnCharPress(uint8_t key, int32_t, int32_t)
|
||||
{
|
||||
if (key == KEY_ESCAPE)
|
||||
{
|
||||
@@ -116,47 +116,65 @@ bool WindowApplication::OnCharPress(unsigned char key, int, int)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool WindowApplication::OnKeyDown(int, int, int)
|
||||
bool WindowApplication::OnKeyDown(int32_t, int32_t, int32_t)
|
||||
{
|
||||
// Stub for derived classes.
|
||||
return false;
|
||||
}
|
||||
|
||||
bool WindowApplication::OnKeyUp(int, int, int)
|
||||
bool WindowApplication::OnKeyUp(int32_t, int32_t, int32_t)
|
||||
{
|
||||
// Stub for derived classes.
|
||||
return false;
|
||||
}
|
||||
|
||||
bool WindowApplication::OnMouseClick(int, int, int, int, unsigned int)
|
||||
bool WindowApplication::OnMouseClick(int32_t, int32_t, int32_t, int32_t, uint32_t)
|
||||
{
|
||||
// stub for derived classes
|
||||
return false;
|
||||
}
|
||||
|
||||
bool WindowApplication::OnMouseMotion(int, int, int, unsigned int)
|
||||
bool WindowApplication::OnMouseMotion(int32_t, int32_t, int32_t, uint32_t)
|
||||
{
|
||||
// stub for derived classes
|
||||
return false;
|
||||
}
|
||||
|
||||
bool WindowApplication::OnMouseWheel(int, int, int, unsigned int)
|
||||
bool WindowApplication::OnMouseWheel(int32_t, int32_t, int32_t, uint32_t)
|
||||
{
|
||||
// Stub for derived classes.
|
||||
return false;
|
||||
}
|
||||
|
||||
void WindowApplication::SetMousePosition(int, int)
|
||||
void WindowApplication::SetMousePosition(int32_t, int32_t)
|
||||
{
|
||||
// Stub for derived classes.
|
||||
}
|
||||
|
||||
void WindowApplication::GetMousePosition(int&, int&) const
|
||||
void WindowApplication::GetMousePosition(int32_t&, int32_t&) const
|
||||
{
|
||||
// Stub for derived classes.
|
||||
}
|
||||
|
||||
#if defined(GTE_USE_MSWINDOWS)
|
||||
void WindowApplication::OnCopyData(HWND, PCOPYDATASTRUCT)
|
||||
{
|
||||
// Stub for derived classes.
|
||||
}
|
||||
#endif
|
||||
|
||||
void WindowApplication::OnClose()
|
||||
{
|
||||
// Stub for derived classes.
|
||||
}
|
||||
|
||||
#if defined(GTE_USE_MSWINDOWS)
|
||||
bool WindowApplication::OnWindowsMessage(HWND, UINT,
|
||||
WPARAM, LPARAM, LRESULT& result)
|
||||
{
|
||||
result = 0;
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// David Eberly, Geometric Tools, Redmond WA 98052
|
||||
// Copyright (c) 1998-2021
|
||||
// Copyright (c) 1998-2026
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
|
||||
// Version: 4.0.2019.08.13
|
||||
// File Version: 8.0.2025.05.10
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -20,10 +20,10 @@ namespace gte
|
||||
Parameters();
|
||||
|
||||
Parameters(std::wstring const& inTitle,
|
||||
int inXOrigin, int inYOrigin, int inXSize, int inYSize);
|
||||
int32_t inXOrigin, int32_t inYOrigin, int32_t inXSize, int32_t inYSize);
|
||||
|
||||
std::wstring title;
|
||||
int xOrigin, yOrigin, xSize, ySize;
|
||||
int32_t xOrigin, yOrigin, xSize, ySize;
|
||||
bool allowResize, useDepth24Stencil8, created;
|
||||
};
|
||||
|
||||
@@ -45,22 +45,22 @@ namespace gte
|
||||
return mTitle;
|
||||
}
|
||||
|
||||
inline int GetXOrigin() const
|
||||
inline int32_t GetXOrigin() const
|
||||
{
|
||||
return mXOrigin;
|
||||
}
|
||||
|
||||
inline int GetYOrigin() const
|
||||
inline int32_t GetYOrigin() const
|
||||
{
|
||||
return mYOrigin;
|
||||
}
|
||||
|
||||
inline int GetXSize() const
|
||||
inline int32_t GetXSize() const
|
||||
{
|
||||
return mXSize;
|
||||
}
|
||||
|
||||
inline int GetYSize() const
|
||||
inline int32_t GetYSize() const
|
||||
{
|
||||
return mYSize;
|
||||
}
|
||||
@@ -81,8 +81,8 @@ namespace gte
|
||||
}
|
||||
|
||||
// Display callbacks.
|
||||
virtual void OnMove(int x, int y);
|
||||
virtual bool OnResize(int xSize, int ySize);
|
||||
virtual void OnMove(int32_t x, int32_t y);
|
||||
virtual bool OnResize(int32_t xSize, int32_t ySize);
|
||||
virtual void OnMinimize();
|
||||
virtual void OnMaximize();
|
||||
virtual void OnDisplay();
|
||||
@@ -92,83 +92,99 @@ namespace gte
|
||||
// upper-case and lower-case letters; OnKeyDown and OnKeyUp do not.
|
||||
// For OnCharPress, pressing KEY_ESCAPE terminates the application.
|
||||
// Pressing ' ' resets the application timer.
|
||||
virtual bool OnCharPress(unsigned char key, int x, int y);
|
||||
virtual bool OnKeyDown(int key, int x, int y);
|
||||
virtual bool OnKeyUp(int key, int x, int y);
|
||||
virtual bool OnCharPress(uint8_t key, int32_t x, int32_t y);
|
||||
virtual bool OnKeyDown(int32_t key, int32_t x, int32_t y);
|
||||
virtual bool OnKeyUp(int32_t key, int32_t x, int32_t y);
|
||||
|
||||
// Mouse callbacks and state information.
|
||||
// TODO: HACK FOR NOW. Once these are removed, all the sample
|
||||
// applications must have their signatures changed.
|
||||
typedef int MouseButton;
|
||||
typedef int MouseState;
|
||||
typedef int32_t MouseButton;
|
||||
typedef int32_t MouseState;
|
||||
// END TODO;
|
||||
virtual bool OnMouseClick(int button, int state, int x, int y, unsigned int modifiers);
|
||||
virtual bool OnMouseMotion(int button, int x, int y, unsigned int modifiers);
|
||||
virtual bool OnMouseWheel(int delta, int x, int y, unsigned int modifiers);
|
||||
virtual void SetMousePosition(int x, int y);
|
||||
virtual void GetMousePosition(int& x, int& y) const;
|
||||
virtual bool OnMouseClick(int32_t button, int32_t state, int32_t x, int32_t y, uint32_t modifiers);
|
||||
virtual bool OnMouseMotion(int32_t button, int32_t x, int32_t y, uint32_t modifiers);
|
||||
virtual bool OnMouseWheel(int32_t delta, int32_t x, int32_t y, uint32_t modifiers);
|
||||
virtual void SetMousePosition(int32_t x, int32_t y);
|
||||
virtual void GetMousePosition(int32_t& x, int32_t& y) const;
|
||||
|
||||
#if defined(GTE_USE_MSWINDOWS)
|
||||
// Allow an application to pass data to another application.
|
||||
virtual void OnCopyData(HWND sender, PCOPYDATASTRUCT copyData);
|
||||
#endif
|
||||
|
||||
// Actions to take before the window closes.
|
||||
virtual void OnClose();
|
||||
|
||||
#if defined(GTE_USE_MSWINDOWS)
|
||||
// Allow an application to process the Windows message. The function
|
||||
// is called in WindowSystem::WindowProcedure. If the return value is
|
||||
// 'true', the message is not passed to 'window' via the message pump.
|
||||
// If the return value is 'false', the message is passed to 'window'.
|
||||
// This allows a third-party UI package to intercept messages and
|
||||
// process them as needed.
|
||||
virtual bool OnWindowsMessage(HWND handle, UINT message,
|
||||
WPARAM wParam, LPARAM lParam, LRESULT& result);
|
||||
#endif
|
||||
|
||||
// Key identifiers. These are platform-specific, so classes that
|
||||
// derived from WindowApplication must define these variables. They
|
||||
// are not defined by WindowApplication itself.
|
||||
static int const KEY_ESCAPE;
|
||||
static int const KEY_LEFT;
|
||||
static int const KEY_RIGHT;
|
||||
static int const KEY_UP;
|
||||
static int const KEY_DOWN;
|
||||
static int const KEY_HOME;
|
||||
static int const KEY_END;
|
||||
static int const KEY_PAGE_UP;
|
||||
static int const KEY_PAGE_DOWN;
|
||||
static int const KEY_INSERT;
|
||||
static int const KEY_DELETE;
|
||||
static int const KEY_F1;
|
||||
static int const KEY_F2;
|
||||
static int const KEY_F3;
|
||||
static int const KEY_F4;
|
||||
static int const KEY_F5;
|
||||
static int const KEY_F6;
|
||||
static int const KEY_F7;
|
||||
static int const KEY_F8;
|
||||
static int const KEY_F9;
|
||||
static int const KEY_F10;
|
||||
static int const KEY_F11;
|
||||
static int const KEY_F12;
|
||||
static int const KEY_BACKSPACE;
|
||||
static int const KEY_TAB;
|
||||
static int const KEY_ENTER;
|
||||
static int const KEY_RETURN;
|
||||
static int32_t const KEY_ESCAPE;
|
||||
static int32_t const KEY_LEFT;
|
||||
static int32_t const KEY_RIGHT;
|
||||
static int32_t const KEY_UP;
|
||||
static int32_t const KEY_DOWN;
|
||||
static int32_t const KEY_HOME;
|
||||
static int32_t const KEY_END;
|
||||
static int32_t const KEY_PAGE_UP;
|
||||
static int32_t const KEY_PAGE_DOWN;
|
||||
static int32_t const KEY_INSERT;
|
||||
static int32_t const KEY_DELETE;
|
||||
static int32_t const KEY_F1;
|
||||
static int32_t const KEY_F2;
|
||||
static int32_t const KEY_F3;
|
||||
static int32_t const KEY_F4;
|
||||
static int32_t const KEY_F5;
|
||||
static int32_t const KEY_F6;
|
||||
static int32_t const KEY_F7;
|
||||
static int32_t const KEY_F8;
|
||||
static int32_t const KEY_F9;
|
||||
static int32_t const KEY_F10;
|
||||
static int32_t const KEY_F11;
|
||||
static int32_t const KEY_F12;
|
||||
static int32_t const KEY_BACKSPACE;
|
||||
static int32_t const KEY_TAB;
|
||||
static int32_t const KEY_ENTER;
|
||||
static int32_t const KEY_RETURN;
|
||||
|
||||
// Keyboard modifiers.
|
||||
static int const KEY_SHIFT;
|
||||
static int const KEY_CONTROL;
|
||||
static int const KEY_ALT;
|
||||
static int const KEY_COMMAND;
|
||||
static int32_t const KEY_SHIFT;
|
||||
static int32_t const KEY_CONTROL;
|
||||
static int32_t const KEY_ALT;
|
||||
static int32_t const KEY_COMMAND;
|
||||
|
||||
// Mouse buttons.
|
||||
static int const MOUSE_NONE;
|
||||
static int const MOUSE_LEFT;
|
||||
static int const MOUSE_MIDDLE;
|
||||
static int const MOUSE_RIGHT;
|
||||
static int32_t const MOUSE_NONE;
|
||||
static int32_t const MOUSE_LEFT;
|
||||
static int32_t const MOUSE_MIDDLE;
|
||||
static int32_t const MOUSE_RIGHT;
|
||||
|
||||
// Mouse state.
|
||||
static int const MOUSE_UP;
|
||||
static int const MOUSE_DOWN;
|
||||
static int32_t const MOUSE_UP;
|
||||
static int32_t const MOUSE_DOWN;
|
||||
|
||||
// Mouse modifiers.
|
||||
static int const MODIFIER_CONTROL;
|
||||
static int const MODIFIER_LBUTTON;
|
||||
static int const MODIFIER_MBUTTON;
|
||||
static int const MODIFIER_RBUTTON;
|
||||
static int const MODIFIER_SHIFT;
|
||||
static int32_t const MODIFIER_CONTROL;
|
||||
static int32_t const MODIFIER_LBUTTON;
|
||||
static int32_t const MODIFIER_MBUTTON;
|
||||
static int32_t const MODIFIER_RBUTTON;
|
||||
static int32_t const MODIFIER_SHIFT;
|
||||
|
||||
protected:
|
||||
// Standard window information.
|
||||
std::wstring mTitle;
|
||||
int mXOrigin, mYOrigin, mXSize, mYSize;
|
||||
int32_t mXOrigin, mYOrigin, mXSize, mYSize;
|
||||
bool mAllowResize;
|
||||
bool mIsMinimized;
|
||||
bool mIsMaximized;
|
||||
@@ -176,3 +192,5 @@ namespace gte
|
||||
OnIdleTimer mTimer;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,35 @@
|
||||
#!/bin/bash
|
||||
# usage: ./CMakeLibraries.sh BUILD_TYPE LIBRARY_TYPE
|
||||
# where BUILD_TYPE is in {Debug,Release}
|
||||
# and where LIBRARY_TYPE is in {Static,Shared}
|
||||
|
||||
BUILD_TYPE=$1
|
||||
LIBRARY_TYPE=$2
|
||||
GCC=gcc
|
||||
GXX=g++
|
||||
|
||||
if [[ ! "${BUILD_TYPE}" = "Debug" && ! "${BUILD_TYPE}" = "Release" ]]; then
|
||||
echo "Invalid build type: ${BUILD_TYPE}, must be in {Debug, Release}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ ! "${LIBRARY_TYPE}" = "Static" && ! "${LIBRARY_TYPE}" = "Shared" ]]; then
|
||||
echo "Invalid library type: ${LIBRARY_TYPE}, must be in {Static, Shared}"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
if [ "${BUILD_TYPE}" = "Debug" ]; then
|
||||
if [ "${LIBRARY_TYPE}" = "Static" ]; then
|
||||
cmake -DBUILD_SAMPLES=ON -DCMAKE_BUILD_TYPE:STRING=Debug -DBUILD_RELEASE_LIB:BOOL=FALSE -DBUILD_SHARED_LIB:BOOL=FALSE -DCMAKE_C_COMPILER:FILEPATH=${GCC} -DCMAKE_CXX_COMPILER:FILEPATH=${GXX} -B./build -G "Unix Makefiles"
|
||||
else
|
||||
cmake -DBUILD_SAMPLES=ON -DCMAKE_BUILD_TYPE:STRING=Debug -DBUILD_RELEASE_LIB:BOOL=FALSE -DBUILD_SHARED_LIB:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=${GCC} -DCMAKE_CXX_COMPILER:FILEPATH=${GXX} -B./build -G "Unix Makefiles"
|
||||
fi
|
||||
cmake --build ./build --config Debug --target all -- -j 10
|
||||
else
|
||||
if [ "${LIBRARY_TYPE}" = "Static" ]; then
|
||||
cmake -DBUILD_SAMPLES=ON -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_RELEASE_LIB:BOOL=TRUE -DBUILD_SHARED_LIB:BOOL=FALSE -DCMAKE_C_COMPILER:FILEPATH=${GCC} -DCMAKE_CXX_COMPILER:FILEPATH=${GXX} -B./build -G "Unix Makefiles"
|
||||
else
|
||||
cmake -DBUILD_SAMPLES=ON -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_RELEASE_LIB:BOOL=TRUE -DBUILD_SHARED_LIB:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=${GCC} -DCMAKE_CXX_COMPILER:FILEPATH=${GXX} -B./build -G "Unix Makefiles"
|
||||
fi
|
||||
cmake --build ./build --config Release --target all -- -j 10
|
||||
fi
|
||||
+10
-3
@@ -3,13 +3,20 @@ if(COMMAND cmake_policy)
|
||||
cmake_policy(SET CMP0048 NEW)
|
||||
endif()
|
||||
|
||||
set(GTE_VERSION_MAJOR 5)
|
||||
set(GTE_VERSION_MINOR 11)
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
set(GTE_VERSION_MAJOR 8)
|
||||
set(GTE_VERSION_MINOR 2)
|
||||
set(PROJECT_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR})
|
||||
|
||||
project(GTE VERSION ${GTE_VERSION_MAJOR}.${GTE_VERSION_MINOR})
|
||||
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
add_subdirectory(Applications)
|
||||
add_subdirectory(Graphics)
|
||||
add_subdirectory(Mathematics)
|
||||
add_subdirectory(MathematicsGPU)
|
||||
|
||||
option(BUILD_SAMPLES "Build Samples" OFF)
|
||||
if(BUILD_SAMPLES)
|
||||
add_subdirectory(Samples)
|
||||
endif()
|
||||
@@ -1,65 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTApplicationsDX11.v14", "GTApplicationsDX11.v14.vcxproj", "{741CFCD7-01A2-4325-AF0D-6678F7686FD8}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Required", "Required", "{467CF875-4855-4CBE-9D8D-86ADA3BA1AC5}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTMathematics.v14", "GTMathematics.v14.vcxproj", "{10A02379-886E-46F8-93F1-1E14235D42F9}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphics.v14", "GTGraphics.v14.vcxproj", "{7BE071FB-E33C-4903-9278-6D12BBA46E0D}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphicsDX11.v14", "GTGraphicsDX11.v14.vcxproj", "{56D7218D-8CCB-49A4-A2B9-D38D538EA42E}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{741CFCD7-01A2-4325-AF0D-6678F7686FD8}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{741CFCD7-01A2-4325-AF0D-6678F7686FD8}.Debug|x64.Build.0 = Debug|x64
|
||||
{741CFCD7-01A2-4325-AF0D-6678F7686FD8}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{741CFCD7-01A2-4325-AF0D-6678F7686FD8}.Debug|x86.Build.0 = Debug|Win32
|
||||
{741CFCD7-01A2-4325-AF0D-6678F7686FD8}.Release|x64.ActiveCfg = Release|x64
|
||||
{741CFCD7-01A2-4325-AF0D-6678F7686FD8}.Release|x64.Build.0 = Release|x64
|
||||
{741CFCD7-01A2-4325-AF0D-6678F7686FD8}.Release|x86.ActiveCfg = Release|Win32
|
||||
{741CFCD7-01A2-4325-AF0D-6678F7686FD8}.Release|x86.Build.0 = Release|Win32
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Debug|x64.Build.0 = Debug|x64
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Debug|x86.Build.0 = Debug|Win32
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Release|x64.ActiveCfg = Release|x64
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Release|x64.Build.0 = Release|x64
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Release|x86.ActiveCfg = Release|Win32
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Release|x86.Build.0 = Release|Win32
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Debug|x64.Build.0 = Debug|x64
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Debug|x86.Build.0 = Debug|Win32
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Release|x64.ActiveCfg = Release|x64
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Release|x64.Build.0 = Release|x64
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Release|x86.ActiveCfg = Release|Win32
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Release|x86.Build.0 = Release|Win32
|
||||
{56D7218D-8CCB-49A4-A2B9-D38D538EA42E}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{56D7218D-8CCB-49A4-A2B9-D38D538EA42E}.Debug|x64.Build.0 = Debug|x64
|
||||
{56D7218D-8CCB-49A4-A2B9-D38D538EA42E}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{56D7218D-8CCB-49A4-A2B9-D38D538EA42E}.Debug|x86.Build.0 = Debug|Win32
|
||||
{56D7218D-8CCB-49A4-A2B9-D38D538EA42E}.Release|x64.ActiveCfg = Release|x64
|
||||
{56D7218D-8CCB-49A4-A2B9-D38D538EA42E}.Release|x64.Build.0 = Release|x64
|
||||
{56D7218D-8CCB-49A4-A2B9-D38D538EA42E}.Release|x86.ActiveCfg = Release|Win32
|
||||
{56D7218D-8CCB-49A4-A2B9-D38D538EA42E}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9} = {467CF875-4855-4CBE-9D8D-86ADA3BA1AC5}
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D} = {467CF875-4855-4CBE-9D8D-86ADA3BA1AC5}
|
||||
{56D7218D-8CCB-49A4-A2B9-D38D538EA42E} = {467CF875-4855-4CBE-9D8D-86ADA3BA1AC5}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -1,233 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{741CFCD7-01A2-4325-AF0D-6678F7686FD8}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>GTApplicationsDX11.v14</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="GTGraphics.v14.vcxproj">
|
||||
<Project>{7be071fb-e33c-4903-9278-6d12bba46e0d}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="GTGraphicsDX11.v14.vcxproj">
|
||||
<Project>{56d7218d-8ccb-49a4-a2b9-d38d538ea42e}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\Application.h" />
|
||||
<ClInclude Include="Applications\CameraRig.h" />
|
||||
<ClInclude Include="Applications\Command.h" />
|
||||
<ClInclude Include="Applications\Console.h" />
|
||||
<ClInclude Include="Applications\ConsoleApplication.h" />
|
||||
<ClInclude Include="Applications\Environment.h" />
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\LogReporter.h" />
|
||||
<ClInclude Include="Applications\MSW\Console.h" />
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToMessageBox.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToOutputWindow.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h" />
|
||||
<ClInclude Include="Applications\MSW\Window.h" />
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h" />
|
||||
<ClInclude Include="Applications\OnIdleTimer.h" />
|
||||
<ClInclude Include="Applications\Timer.h" />
|
||||
<ClInclude Include="Applications\TrackBall.h" />
|
||||
<ClInclude Include="Applications\TrackCylinder.h" />
|
||||
<ClInclude Include="Applications\TrackObject.h" />
|
||||
<ClInclude Include="Applications\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\Window2.h" />
|
||||
<ClInclude Include="Applications\Window3.h" />
|
||||
<ClInclude Include="Applications\WindowApplication.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\Application.cpp" />
|
||||
<ClCompile Include="Applications\CameraRig.cpp" />
|
||||
<ClCompile Include="Applications\Command.cpp" />
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp" />
|
||||
<ClCompile Include="Applications\Environment.cpp" />
|
||||
<ClCompile Include="Applications\GTApplications.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\LogReporter.cpp" />
|
||||
<ClCompile Include="Applications\MSW\Console.cpp" />
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToMessageBox.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToOutputWindow.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp" />
|
||||
<ClCompile Include="Applications\MSW\Window.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp" />
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp" />
|
||||
<ClCompile Include="Applications\Timer.cpp" />
|
||||
<ClCompile Include="Applications\TrackBall.cpp" />
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp" />
|
||||
<ClCompile Include="Applications\TrackObject.cpp" />
|
||||
<ClCompile Include="Applications\Window2.cpp" />
|
||||
<ClCompile Include="Applications\Window3.cpp" />
|
||||
<ClCompile Include="Applications\WindowApplication.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -1,156 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Common">
|
||||
<UniqueIdentifier>{cb2ad3b5-22f9-4e38-ae16-341e12a5fba1}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="MSW">
|
||||
<UniqueIdentifier>{b496b533-4480-46b5-9faf-e66d58d3e420}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\CameraRig.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Command.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Environment.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\LogReporter.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\OnIdleTimer.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Timer.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackBall.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackCylinder.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackObject.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\WICFileIO.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Window2.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Window3.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\LogToMessageBox.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\LogToOutputWindow.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Console.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\ConsoleApplication.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\WindowApplication.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\Console.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\Window.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Application.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\GTApplications.cpp" />
|
||||
<ClCompile Include="Applications\CameraRig.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Command.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Environment.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\LogReporter.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Timer.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackBall.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackObject.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window2.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window3.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\LogToMessageBox.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\LogToOutputWindow.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\WindowApplication.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Console.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Window.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Application.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,68 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.28307.645
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTApplicationsDX11.v15", "GTApplicationsDX11.v15.vcxproj", "{B8757F4C-106D-4E38-98F6-D013BE27BA74}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Required", "Required", "{6B439195-378D-4804-AEEC-79FAED351859}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTMathematics.v15", "GTMathematics.v15.vcxproj", "{49616508-0E21-4645-AC0B-7FE8E3628AB0}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphics.v15", "GTGraphics.v15.vcxproj", "{51BBAD44-0632-4222-A199-F45BB78E5989}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphicsDX11.v15", "GTGraphicsDX11.v15.vcxproj", "{08B9FE3D-A338-42AD-9AE5-3F483FCFD64B}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{B8757F4C-106D-4E38-98F6-D013BE27BA74}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{B8757F4C-106D-4E38-98F6-D013BE27BA74}.Debug|x64.Build.0 = Debug|x64
|
||||
{B8757F4C-106D-4E38-98F6-D013BE27BA74}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{B8757F4C-106D-4E38-98F6-D013BE27BA74}.Debug|x86.Build.0 = Debug|Win32
|
||||
{B8757F4C-106D-4E38-98F6-D013BE27BA74}.Release|x64.ActiveCfg = Release|x64
|
||||
{B8757F4C-106D-4E38-98F6-D013BE27BA74}.Release|x64.Build.0 = Release|x64
|
||||
{B8757F4C-106D-4E38-98F6-D013BE27BA74}.Release|x86.ActiveCfg = Release|Win32
|
||||
{B8757F4C-106D-4E38-98F6-D013BE27BA74}.Release|x86.Build.0 = Release|Win32
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Debug|x64.Build.0 = Debug|x64
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Debug|x86.Build.0 = Debug|Win32
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Release|x64.ActiveCfg = Release|x64
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Release|x64.Build.0 = Release|x64
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Release|x86.ActiveCfg = Release|Win32
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Release|x86.Build.0 = Release|Win32
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Debug|x64.Build.0 = Debug|x64
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Debug|x86.Build.0 = Debug|Win32
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Release|x64.ActiveCfg = Release|x64
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Release|x64.Build.0 = Release|x64
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Release|x86.ActiveCfg = Release|Win32
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Release|x86.Build.0 = Release|Win32
|
||||
{08B9FE3D-A338-42AD-9AE5-3F483FCFD64B}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{08B9FE3D-A338-42AD-9AE5-3F483FCFD64B}.Debug|x64.Build.0 = Debug|x64
|
||||
{08B9FE3D-A338-42AD-9AE5-3F483FCFD64B}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{08B9FE3D-A338-42AD-9AE5-3F483FCFD64B}.Debug|x86.Build.0 = Debug|Win32
|
||||
{08B9FE3D-A338-42AD-9AE5-3F483FCFD64B}.Release|x64.ActiveCfg = Release|x64
|
||||
{08B9FE3D-A338-42AD-9AE5-3F483FCFD64B}.Release|x64.Build.0 = Release|x64
|
||||
{08B9FE3D-A338-42AD-9AE5-3F483FCFD64B}.Release|x86.ActiveCfg = Release|Win32
|
||||
{08B9FE3D-A338-42AD-9AE5-3F483FCFD64B}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0} = {6B439195-378D-4804-AEEC-79FAED351859}
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989} = {6B439195-378D-4804-AEEC-79FAED351859}
|
||||
{08B9FE3D-A338-42AD-9AE5-3F483FCFD64B} = {6B439195-378D-4804-AEEC-79FAED351859}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {49965E7C-6FAE-4AB4-BCE0-15796A3D58E6}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -1,238 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{B8757F4C-106D-4E38-98F6-D013BE27BA74}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>GTApplicationsDX11.v15</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="GTGraphics.v15.vcxproj">
|
||||
<Project>{51bbad44-0632-4222-a199-f45bb78e5989}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="GTGraphicsDX11.v15.vcxproj">
|
||||
<Project>{08b9fe3d-a338-42ad-9ae5-3f483fcfd64b}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\Application.cpp" />
|
||||
<ClCompile Include="Applications\CameraRig.cpp" />
|
||||
<ClCompile Include="Applications\Command.cpp" />
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp" />
|
||||
<ClCompile Include="Applications\Environment.cpp" />
|
||||
<ClCompile Include="Applications\GTApplications.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\LogReporter.cpp" />
|
||||
<ClCompile Include="Applications\MSW\Console.cpp" />
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToMessageBox.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToOutputWindow.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp" />
|
||||
<ClCompile Include="Applications\MSW\Window.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp" />
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp" />
|
||||
<ClCompile Include="Applications\Timer.cpp" />
|
||||
<ClCompile Include="Applications\TrackBall.cpp" />
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp" />
|
||||
<ClCompile Include="Applications\TrackObject.cpp" />
|
||||
<ClCompile Include="Applications\Window2.cpp" />
|
||||
<ClCompile Include="Applications\Window3.cpp" />
|
||||
<ClCompile Include="Applications\WindowApplication.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\Application.h" />
|
||||
<ClInclude Include="Applications\CameraRig.h" />
|
||||
<ClInclude Include="Applications\Command.h" />
|
||||
<ClInclude Include="Applications\Console.h" />
|
||||
<ClInclude Include="Applications\ConsoleApplication.h" />
|
||||
<ClInclude Include="Applications\Environment.h" />
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\LogReporter.h" />
|
||||
<ClInclude Include="Applications\MSW\Console.h" />
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToMessageBox.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToOutputWindow.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h" />
|
||||
<ClInclude Include="Applications\MSW\Window.h" />
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h" />
|
||||
<ClInclude Include="Applications\OnIdleTimer.h" />
|
||||
<ClInclude Include="Applications\Timer.h" />
|
||||
<ClInclude Include="Applications\TrackBall.h" />
|
||||
<ClInclude Include="Applications\TrackCylinder.h" />
|
||||
<ClInclude Include="Applications\TrackObject.h" />
|
||||
<ClInclude Include="Applications\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\Window2.h" />
|
||||
<ClInclude Include="Applications\Window3.h" />
|
||||
<ClInclude Include="Applications\WindowApplication.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -1,156 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Common">
|
||||
<UniqueIdentifier>{c32b676f-1007-43e3-8d8d-fcc60950882c}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="MSW">
|
||||
<UniqueIdentifier>{cf17034e-4fdd-4bbf-8af0-77d5bf25863d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\CameraRig.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Command.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Environment.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\LogReporter.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Timer.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackBall.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackObject.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window2.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window3.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GTApplications.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToMessageBox.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\LogToOutputWindow.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\WindowApplication.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Application.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Console.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Window.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\CameraRig.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Command.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Environment.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\LogReporter.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\OnIdleTimer.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Timer.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackBall.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackCylinder.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackObject.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\WICFileIO.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Window2.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Window3.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToMessageBox.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\LogToOutputWindow.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\WindowApplication.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Application.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Console.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\ConsoleApplication.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\Console.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\Window.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,68 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.28803.452
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTApplicationsDX11.v16", "GTApplicationsDX11.v16.vcxproj", "{85367BB5-0DE5-477A-B880-0005612F8D1C}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Required", "Required", "{47C55BEE-24FC-4D7C-A401-CCF8332DC6CD}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTMathematics.v16", "GTMathematics.v16.vcxproj", "{3F553568-76EF-48F0-88DD-270482C058B9}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphics.v16", "GTGraphics.v16.vcxproj", "{ED37722A-40DE-4B07-9A4A-65E978D43643}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphicsDX11.v16", "GTGraphicsDX11.v16.vcxproj", "{B24EA8FC-D596-42A1-AA46-72DEF1BE24BC}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{85367BB5-0DE5-477A-B880-0005612F8D1C}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{85367BB5-0DE5-477A-B880-0005612F8D1C}.Debug|x64.Build.0 = Debug|x64
|
||||
{85367BB5-0DE5-477A-B880-0005612F8D1C}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{85367BB5-0DE5-477A-B880-0005612F8D1C}.Debug|x86.Build.0 = Debug|Win32
|
||||
{85367BB5-0DE5-477A-B880-0005612F8D1C}.Release|x64.ActiveCfg = Release|x64
|
||||
{85367BB5-0DE5-477A-B880-0005612F8D1C}.Release|x64.Build.0 = Release|x64
|
||||
{85367BB5-0DE5-477A-B880-0005612F8D1C}.Release|x86.ActiveCfg = Release|Win32
|
||||
{85367BB5-0DE5-477A-B880-0005612F8D1C}.Release|x86.Build.0 = Release|Win32
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Debug|x64.Build.0 = Debug|x64
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Debug|x86.Build.0 = Debug|Win32
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Release|x64.ActiveCfg = Release|x64
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Release|x64.Build.0 = Release|x64
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Release|x86.ActiveCfg = Release|Win32
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Release|x86.Build.0 = Release|Win32
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Debug|x64.Build.0 = Debug|x64
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Debug|x86.Build.0 = Debug|Win32
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Release|x64.ActiveCfg = Release|x64
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Release|x64.Build.0 = Release|x64
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Release|x86.ActiveCfg = Release|Win32
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Release|x86.Build.0 = Release|Win32
|
||||
{B24EA8FC-D596-42A1-AA46-72DEF1BE24BC}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{B24EA8FC-D596-42A1-AA46-72DEF1BE24BC}.Debug|x64.Build.0 = Debug|x64
|
||||
{B24EA8FC-D596-42A1-AA46-72DEF1BE24BC}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{B24EA8FC-D596-42A1-AA46-72DEF1BE24BC}.Debug|x86.Build.0 = Debug|Win32
|
||||
{B24EA8FC-D596-42A1-AA46-72DEF1BE24BC}.Release|x64.ActiveCfg = Release|x64
|
||||
{B24EA8FC-D596-42A1-AA46-72DEF1BE24BC}.Release|x64.Build.0 = Release|x64
|
||||
{B24EA8FC-D596-42A1-AA46-72DEF1BE24BC}.Release|x86.ActiveCfg = Release|Win32
|
||||
{B24EA8FC-D596-42A1-AA46-72DEF1BE24BC}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9} = {47C55BEE-24FC-4D7C-A401-CCF8332DC6CD}
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643} = {47C55BEE-24FC-4D7C-A401-CCF8332DC6CD}
|
||||
{B24EA8FC-D596-42A1-AA46-72DEF1BE24BC} = {47C55BEE-24FC-4D7C-A401-CCF8332DC6CD}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {1CD44720-5081-46D2-8BE2-16D9BE17A4AA}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -1,258 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\Application.cpp" />
|
||||
<ClCompile Include="Applications\CameraRig.cpp" />
|
||||
<ClCompile Include="Applications\Command.cpp" />
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp" />
|
||||
<ClCompile Include="Applications\Environment.cpp" />
|
||||
<ClCompile Include="Applications\GTApplications.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\LogReporter.cpp" />
|
||||
<ClCompile Include="Applications\MSW\Console.cpp" />
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToMessageBox.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToOutputWindow.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp" />
|
||||
<ClCompile Include="Applications\MSW\Window.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp" />
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp" />
|
||||
<ClCompile Include="Applications\Timer.cpp" />
|
||||
<ClCompile Include="Applications\TrackBall.cpp" />
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp" />
|
||||
<ClCompile Include="Applications\TrackObject.cpp" />
|
||||
<ClCompile Include="Applications\Window2.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window3.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\WindowApplication.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\Application.h" />
|
||||
<ClInclude Include="Applications\CameraRig.h" />
|
||||
<ClInclude Include="Applications\Command.h" />
|
||||
<ClInclude Include="Applications\Console.h" />
|
||||
<ClInclude Include="Applications\ConsoleApplication.h" />
|
||||
<ClInclude Include="Applications\Environment.h" />
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\LogReporter.h" />
|
||||
<ClInclude Include="Applications\MSW\Console.h" />
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToMessageBox.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToOutputWindow.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h" />
|
||||
<ClInclude Include="Applications\MSW\Window.h" />
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h" />
|
||||
<ClInclude Include="Applications\OnIdleTimer.h" />
|
||||
<ClInclude Include="Applications\Timer.h" />
|
||||
<ClInclude Include="Applications\TrackBall.h" />
|
||||
<ClInclude Include="Applications\TrackCylinder.h" />
|
||||
<ClInclude Include="Applications\TrackObject.h" />
|
||||
<ClInclude Include="Applications\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\Window2.h" />
|
||||
<ClInclude Include="Applications\Window3.h" />
|
||||
<ClInclude Include="Applications\WindowApplication.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="GTGraphics.v16.vcxproj">
|
||||
<Project>{ed37722a-40de-4b07-9a4a-65e978d43643}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="GTGraphicsDX11.v16.vcxproj">
|
||||
<Project>{b24ea8fc-d596-42a1-aa46-72def1be24bc}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>16.0</VCProjectVersion>
|
||||
<ProjectGuid>{85367BB5-0DE5-477A-B880-0005612F8D1C}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>GTApplicationsDX11.v16</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
<TargetName>$(ProjectName)</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
<TargetName>$(ProjectName)</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -1,156 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Common">
|
||||
<UniqueIdentifier>{108bb8b1-880b-478f-b5f2-01a02c0235e2}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="MSW">
|
||||
<UniqueIdentifier>{5fcf44bc-cff8-487c-b2b6-7c3346df6e5d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\Command.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Environment.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window2.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window3.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackBall.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackObject.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\CameraRig.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\LogReporter.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\LogToMessageBox.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\LogToOutputWindow.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GTApplications.cpp" />
|
||||
<ClCompile Include="Applications\Timer.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Window.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\WindowApplication.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Application.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Console.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\Command.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Environment.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\OnIdleTimer.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\WICFileIO.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Window2.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Window3.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\CameraRig.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackBall.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackCylinder.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackObject.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\LogReporter.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\LogToMessageBox.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\LogToOutputWindow.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\Timer.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\Window.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\WindowApplication.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Application.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Console.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\ConsoleApplication.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\Console.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,68 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.0.32014.148
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTApplicationsDX11.v17", "GTApplicationsDX11.v17.vcxproj", "{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Required", "Required", "{A6702790-A89B-4C1B-BB65-A21A6970C2C5}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTMathematics.v17", "GTMathematics.v17.vcxproj", "{0CADDB12-31D9-4F60-A8C0-678D1773DA03}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphics.v17", "GTGraphics.v17.vcxproj", "{B15CB711-F650-4063-9C7C-E7A5F88139A2}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphicsDX11.v17", "GTGraphicsDX11.v17.vcxproj", "{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Debug|x64.Build.0 = Debug|x64
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Debug|x86.Build.0 = Debug|Win32
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Release|x64.ActiveCfg = Release|x64
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Release|x64.Build.0 = Release|x64
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Release|x86.ActiveCfg = Release|Win32
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Release|x86.Build.0 = Release|Win32
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Debug|x64.Build.0 = Debug|x64
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Debug|x86.Build.0 = Debug|Win32
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Release|x64.ActiveCfg = Release|x64
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Release|x64.Build.0 = Release|x64
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Release|x86.ActiveCfg = Release|Win32
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Release|x86.Build.0 = Release|Win32
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Debug|x64.Build.0 = Debug|x64
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Debug|x86.Build.0 = Debug|Win32
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Release|x64.ActiveCfg = Release|x64
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Release|x64.Build.0 = Release|x64
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Release|x86.ActiveCfg = Release|Win32
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Release|x86.Build.0 = Release|Win32
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Debug|x64.Build.0 = Debug|x64
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Debug|x86.Build.0 = Debug|Win32
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Release|x64.ActiveCfg = Release|x64
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Release|x64.Build.0 = Release|x64
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Release|x86.ActiveCfg = Release|Win32
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03} = {A6702790-A89B-4C1B-BB65-A21A6970C2C5}
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2} = {A6702790-A89B-4C1B-BB65-A21A6970C2C5}
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004} = {A6702790-A89B-4C1B-BB65-A21A6970C2C5}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {156E34D8-849A-442A-B83B-B08AE1E1AF2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1,256 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\Application.cpp" />
|
||||
<ClCompile Include="Applications\CameraRig.cpp" />
|
||||
<ClCompile Include="Applications\Command.cpp" />
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp" />
|
||||
<ClCompile Include="Applications\Environment.cpp" />
|
||||
<ClCompile Include="Applications\GTApplications.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Console.cpp" />
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp" />
|
||||
<ClCompile Include="Applications\MSW\Window.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp" />
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp" />
|
||||
<ClCompile Include="Applications\Timer.cpp" />
|
||||
<ClCompile Include="Applications\TrackBall.cpp" />
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp" />
|
||||
<ClCompile Include="Applications\TrackObject.cpp" />
|
||||
<ClCompile Include="Applications\Window2.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window3.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\WindowApplication.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\Application.h" />
|
||||
<ClInclude Include="Applications\CameraRig.h" />
|
||||
<ClInclude Include="Applications\Command.h" />
|
||||
<ClInclude Include="Applications\Console.h" />
|
||||
<ClInclude Include="Applications\ConsoleApplication.h" />
|
||||
<ClInclude Include="Applications\Environment.h" />
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\MSW\Console.h" />
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h" />
|
||||
<ClInclude Include="Applications\MSW\Window.h" />
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h" />
|
||||
<ClInclude Include="Applications\OnIdleTimer.h" />
|
||||
<ClInclude Include="Applications\Timer.h" />
|
||||
<ClInclude Include="Applications\TrackBall.h" />
|
||||
<ClInclude Include="Applications\TrackCylinder.h" />
|
||||
<ClInclude Include="Applications\TrackObject.h" />
|
||||
<ClInclude Include="Applications\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\Window2.h" />
|
||||
<ClInclude Include="Applications\Window3.h" />
|
||||
<ClInclude Include="Applications\WindowApplication.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="GTGraphics.v17.vcxproj">
|
||||
<Project>{B15CB711-F650-4063-9C7C-E7A5F88139A2}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="GTGraphicsDX11.v17.vcxproj">
|
||||
<Project>{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>17.0</VCProjectVersion>
|
||||
<ProjectGuid>{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>GTApplicationsDX11.v17</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
<TargetName>$(ProjectName)</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
<TargetName>$(ProjectName)</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<DisableSpecificWarnings>6262;26812</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<DisableSpecificWarnings>6262;26812</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<DisableSpecificWarnings>6262;26812</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<DisableSpecificWarnings>6262;26812</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,138 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Common">
|
||||
<UniqueIdentifier>{108bb8b1-880b-478f-b5f2-01a02c0235e2}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="MSW">
|
||||
<UniqueIdentifier>{5fcf44bc-cff8-487c-b2b6-7c3346df6e5d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\Command.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Environment.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window2.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window3.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackBall.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackObject.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\CameraRig.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GTApplications.cpp" />
|
||||
<ClCompile Include="Applications\Timer.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Window.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\WindowApplication.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Application.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Console.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\Command.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Environment.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\OnIdleTimer.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\WICFileIO.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Window2.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Window3.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\CameraRig.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackBall.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackCylinder.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackObject.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\Timer.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\Window.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\WindowApplication.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Application.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Console.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\ConsoleApplication.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\Console.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,68 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 18
|
||||
VisualStudioVersion = 18.1.11312.151 d18.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTApplicationsDX11.v18", "GTApplicationsDX11.v18.vcxproj", "{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Required", "Required", "{A6702790-A89B-4C1B-BB65-A21A6970C2C5}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTMathematics.v18", "GTMathematics.v18.vcxproj", "{0CADDB12-31D9-4F60-A8C0-678D1773DA03}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphics.v18", "GTGraphics.v18.vcxproj", "{B15CB711-F650-4063-9C7C-E7A5F88139A2}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphicsDX11.v18", "GTGraphicsDX11.v18.vcxproj", "{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Debug|x64.Build.0 = Debug|x64
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Debug|x86.Build.0 = Debug|Win32
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Release|x64.ActiveCfg = Release|x64
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Release|x64.Build.0 = Release|x64
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Release|x86.ActiveCfg = Release|Win32
|
||||
{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}.Release|x86.Build.0 = Release|Win32
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Debug|x64.Build.0 = Debug|x64
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Debug|x86.Build.0 = Debug|Win32
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Release|x64.ActiveCfg = Release|x64
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Release|x64.Build.0 = Release|x64
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Release|x86.ActiveCfg = Release|Win32
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03}.Release|x86.Build.0 = Release|Win32
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Debug|x64.Build.0 = Debug|x64
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Debug|x86.Build.0 = Debug|Win32
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Release|x64.ActiveCfg = Release|x64
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Release|x64.Build.0 = Release|x64
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Release|x86.ActiveCfg = Release|Win32
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2}.Release|x86.Build.0 = Release|Win32
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Debug|x64.Build.0 = Debug|x64
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Debug|x86.Build.0 = Debug|Win32
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Release|x64.ActiveCfg = Release|x64
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Release|x64.Build.0 = Release|x64
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Release|x86.ActiveCfg = Release|Win32
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{0CADDB12-31D9-4F60-A8C0-678D1773DA03} = {A6702790-A89B-4C1B-BB65-A21A6970C2C5}
|
||||
{B15CB711-F650-4063-9C7C-E7A5F88139A2} = {A6702790-A89B-4C1B-BB65-A21A6970C2C5}
|
||||
{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004} = {A6702790-A89B-4C1B-BB65-A21A6970C2C5}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {156E34D8-849A-442A-B83B-B08AE1E1AF2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1,256 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\Application.cpp" />
|
||||
<ClCompile Include="Applications\CameraRig.cpp" />
|
||||
<ClCompile Include="Applications\Command.cpp" />
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp" />
|
||||
<ClCompile Include="Applications\Environment.cpp" />
|
||||
<ClCompile Include="Applications\GTApplications.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Console.cpp" />
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp" />
|
||||
<ClCompile Include="Applications\MSW\Window.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp" />
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp" />
|
||||
<ClCompile Include="Applications\Timer.cpp" />
|
||||
<ClCompile Include="Applications\TrackBall.cpp" />
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp" />
|
||||
<ClCompile Include="Applications\TrackObject.cpp" />
|
||||
<ClCompile Include="Applications\Window2.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window3.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\WindowApplication.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\Application.h" />
|
||||
<ClInclude Include="Applications\CameraRig.h" />
|
||||
<ClInclude Include="Applications\Command.h" />
|
||||
<ClInclude Include="Applications\Console.h" />
|
||||
<ClInclude Include="Applications\ConsoleApplication.h" />
|
||||
<ClInclude Include="Applications\Environment.h" />
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\MSW\Console.h" />
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h" />
|
||||
<ClInclude Include="Applications\MSW\Window.h" />
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h" />
|
||||
<ClInclude Include="Applications\OnIdleTimer.h" />
|
||||
<ClInclude Include="Applications\Timer.h" />
|
||||
<ClInclude Include="Applications\TrackBall.h" />
|
||||
<ClInclude Include="Applications\TrackCylinder.h" />
|
||||
<ClInclude Include="Applications\TrackObject.h" />
|
||||
<ClInclude Include="Applications\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\Window2.h" />
|
||||
<ClInclude Include="Applications\Window3.h" />
|
||||
<ClInclude Include="Applications\WindowApplication.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="GTGraphics.v18.vcxproj">
|
||||
<Project>{B15CB711-F650-4063-9C7C-E7A5F88139A2}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="GTGraphicsDX11.v18.vcxproj">
|
||||
<Project>{00DEFF42-0F7C-4A7C-9C1F-59322B9E9004}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>18.0</VCProjectVersion>
|
||||
<ProjectGuid>{8BB237C2-2D3A-41AD-9B98-A35BA75D5DEA}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>GTApplicationsDX11.v18</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v145</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v145</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v145</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v145</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
<TargetName>$(ProjectName)</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
<TargetName>$(ProjectName)</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\DX11\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<DisableSpecificWarnings>6262;26812</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<DisableSpecificWarnings>6262;26812</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<DisableSpecificWarnings>6262;26812</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_DIRECTX;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
<DisableSpecificWarnings>6262;26812</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,138 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Common">
|
||||
<UniqueIdentifier>{108bb8b1-880b-478f-b5f2-01a02c0235e2}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="MSW">
|
||||
<UniqueIdentifier>{5fcf44bc-cff8-487c-b2b6-7c3346df6e5d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\Command.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Environment.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window2.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window3.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackBall.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackObject.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\CameraRig.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GTApplications.cpp" />
|
||||
<ClCompile Include="Applications\Timer.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Window.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\WindowApplication.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Application.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Console.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\Command.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Environment.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\OnIdleTimer.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\WICFileIO.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Window2.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Window3.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\CameraRig.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackBall.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackCylinder.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackObject.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\Timer.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\Window.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\WindowApplication.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Application.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Console.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\ConsoleApplication.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\Console.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,65 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTApplicationsGL45.v14", "GTApplicationsGL45.v14.vcxproj", "{8AE08D71-B1FF-471C-9EEB-2ADF97593747}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Required", "Required", "{D4CA8594-EBBF-49A6-856A-041C80426153}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTMathematics.v14", "GTMathematics.v14.vcxproj", "{10A02379-886E-46F8-93F1-1E14235D42F9}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphics.v14", "GTGraphics.v14.vcxproj", "{7BE071FB-E33C-4903-9278-6D12BBA46E0D}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphicsGL45.v14", "GTGraphicsGL45.v14.vcxproj", "{77148ADE-5F3A-47D4-9F7F-B8CB621592AD}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8AE08D71-B1FF-471C-9EEB-2ADF97593747}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{8AE08D71-B1FF-471C-9EEB-2ADF97593747}.Debug|x64.Build.0 = Debug|x64
|
||||
{8AE08D71-B1FF-471C-9EEB-2ADF97593747}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{8AE08D71-B1FF-471C-9EEB-2ADF97593747}.Debug|x86.Build.0 = Debug|Win32
|
||||
{8AE08D71-B1FF-471C-9EEB-2ADF97593747}.Release|x64.ActiveCfg = Release|x64
|
||||
{8AE08D71-B1FF-471C-9EEB-2ADF97593747}.Release|x64.Build.0 = Release|x64
|
||||
{8AE08D71-B1FF-471C-9EEB-2ADF97593747}.Release|x86.ActiveCfg = Release|Win32
|
||||
{8AE08D71-B1FF-471C-9EEB-2ADF97593747}.Release|x86.Build.0 = Release|Win32
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Debug|x64.Build.0 = Debug|x64
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Debug|x86.Build.0 = Debug|Win32
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Release|x64.ActiveCfg = Release|x64
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Release|x64.Build.0 = Release|x64
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Release|x86.ActiveCfg = Release|Win32
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9}.Release|x86.Build.0 = Release|Win32
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Debug|x64.Build.0 = Debug|x64
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Debug|x86.Build.0 = Debug|Win32
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Release|x64.ActiveCfg = Release|x64
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Release|x64.Build.0 = Release|x64
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Release|x86.ActiveCfg = Release|Win32
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D}.Release|x86.Build.0 = Release|Win32
|
||||
{77148ADE-5F3A-47D4-9F7F-B8CB621592AD}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{77148ADE-5F3A-47D4-9F7F-B8CB621592AD}.Debug|x64.Build.0 = Debug|x64
|
||||
{77148ADE-5F3A-47D4-9F7F-B8CB621592AD}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{77148ADE-5F3A-47D4-9F7F-B8CB621592AD}.Debug|x86.Build.0 = Debug|Win32
|
||||
{77148ADE-5F3A-47D4-9F7F-B8CB621592AD}.Release|x64.ActiveCfg = Release|x64
|
||||
{77148ADE-5F3A-47D4-9F7F-B8CB621592AD}.Release|x64.Build.0 = Release|x64
|
||||
{77148ADE-5F3A-47D4-9F7F-B8CB621592AD}.Release|x86.ActiveCfg = Release|Win32
|
||||
{77148ADE-5F3A-47D4-9F7F-B8CB621592AD}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{10A02379-886E-46F8-93F1-1E14235D42F9} = {D4CA8594-EBBF-49A6-856A-041C80426153}
|
||||
{7BE071FB-E33C-4903-9278-6D12BBA46E0D} = {D4CA8594-EBBF-49A6-856A-041C80426153}
|
||||
{77148ADE-5F3A-47D4-9F7F-B8CB621592AD} = {D4CA8594-EBBF-49A6-856A-041C80426153}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -1,293 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{8AE08D71-B1FF-471C-9EEB-2ADF97593747}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>GTApplicationsGL45.v14</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_OPENGL;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_OPENGL;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_OPENGL;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_OPENGL;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="GTGraphics.v14.vcxproj">
|
||||
<Project>{7be071fb-e33c-4903-9278-6d12bba46e0d}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="GTGraphicsGL45.v14.vcxproj">
|
||||
<Project>{77148ade-5f3a-47d4-9f7f-b8cb621592ad}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\Application.h" />
|
||||
<ClInclude Include="Applications\CameraRig.h" />
|
||||
<ClInclude Include="Applications\Command.h" />
|
||||
<ClInclude Include="Applications\Console.h" />
|
||||
<ClInclude Include="Applications\ConsoleApplication.h" />
|
||||
<ClInclude Include="Applications\Environment.h" />
|
||||
<ClInclude Include="Applications\GLX\Console.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\ConsoleSystem.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\WICFileIO.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\Window.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\WindowSystem.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\LogReporter.h" />
|
||||
<ClInclude Include="Applications\MSW\Console.h" />
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToMessageBox.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToOutputWindow.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h" />
|
||||
<ClInclude Include="Applications\MSW\Window.h" />
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h" />
|
||||
<ClInclude Include="Applications\OnIdleTimer.h" />
|
||||
<ClInclude Include="Applications\Timer.h" />
|
||||
<ClInclude Include="Applications\TrackBall.h" />
|
||||
<ClInclude Include="Applications\TrackCylinder.h" />
|
||||
<ClInclude Include="Applications\TrackObject.h" />
|
||||
<ClInclude Include="Applications\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\Window2.h" />
|
||||
<ClInclude Include="Applications\Window3.h" />
|
||||
<ClInclude Include="Applications\WindowApplication.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\Application.cpp" />
|
||||
<ClCompile Include="Applications\CameraRig.cpp" />
|
||||
<ClCompile Include="Applications\Command.cpp" />
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp" />
|
||||
<ClCompile Include="Applications\Environment.cpp" />
|
||||
<ClCompile Include="Applications\GLX\Console.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\ConsoleSystem.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\WICFileIO.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\Window.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\WindowSystem.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GTApplications.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\LogReporter.cpp" />
|
||||
<ClCompile Include="Applications\MSW\Console.cpp" />
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToMessageBox.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToOutputWindow.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp" />
|
||||
<ClCompile Include="Applications\MSW\Window.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp" />
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp" />
|
||||
<ClCompile Include="Applications\Timer.cpp" />
|
||||
<ClCompile Include="Applications\TrackBall.cpp" />
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp" />
|
||||
<ClCompile Include="Applications\TrackObject.cpp" />
|
||||
<ClCompile Include="Applications\Window2.cpp" />
|
||||
<ClCompile Include="Applications\Window3.cpp" />
|
||||
<ClCompile Include="Applications\WindowApplication.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -1,189 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Common">
|
||||
<UniqueIdentifier>{c03aff5c-0ebd-4e30-9f11-42023bd3137f}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="MSW">
|
||||
<UniqueIdentifier>{71cb904f-976c-4379-a07f-7d3849cbb438}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="GLX">
|
||||
<UniqueIdentifier>{e68475bc-ecff-43e6-ab37-6806684c4478}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\TrackObject.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\WICFileIO.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Window2.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Window3.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\CameraRig.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Command.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Environment.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\LogReporter.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\OnIdleTimer.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Timer.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackBall.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackCylinder.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToMessageBox.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\LogToOutputWindow.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\WindowApplication.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Application.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Console.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\ConsoleApplication.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\Console.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\Window.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\WICFileIO.h">
|
||||
<Filter>GLX</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\Window.h">
|
||||
<Filter>GLX</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\WindowSystem.h">
|
||||
<Filter>GLX</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\Console.h">
|
||||
<Filter>GLX</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\ConsoleSystem.h">
|
||||
<Filter>GLX</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\Window2.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window3.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\CameraRig.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Command.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Environment.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\LogReporter.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Timer.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackBall.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackObject.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GTApplications.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToMessageBox.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\LogToOutputWindow.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\WindowApplication.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Application.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Console.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Window.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\WICFileIO.cpp">
|
||||
<Filter>GLX</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\Window.cpp">
|
||||
<Filter>GLX</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\WindowSystem.cpp">
|
||||
<Filter>GLX</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\Console.cpp">
|
||||
<Filter>GLX</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\ConsoleSystem.cpp">
|
||||
<Filter>GLX</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,68 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.28307.645
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTApplicationsGL45.v15", "GTApplicationsGL45.v15.vcxproj", "{14364644-585C-43A8-9C45-E2EBCD8EEE4F}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Required", "Required", "{998B0775-BF22-470C-86F2-D729250B9A33}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTMathematics.v15", "GTMathematics.v15.vcxproj", "{49616508-0E21-4645-AC0B-7FE8E3628AB0}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphics.v15", "GTGraphics.v15.vcxproj", "{51BBAD44-0632-4222-A199-F45BB78E5989}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphicsGL45.v15", "GTGraphicsGL45.v15.vcxproj", "{F85F48E2-4D4A-48F5-8A54-AF1F788DF531}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{14364644-585C-43A8-9C45-E2EBCD8EEE4F}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{14364644-585C-43A8-9C45-E2EBCD8EEE4F}.Debug|x64.Build.0 = Debug|x64
|
||||
{14364644-585C-43A8-9C45-E2EBCD8EEE4F}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{14364644-585C-43A8-9C45-E2EBCD8EEE4F}.Debug|x86.Build.0 = Debug|Win32
|
||||
{14364644-585C-43A8-9C45-E2EBCD8EEE4F}.Release|x64.ActiveCfg = Release|x64
|
||||
{14364644-585C-43A8-9C45-E2EBCD8EEE4F}.Release|x64.Build.0 = Release|x64
|
||||
{14364644-585C-43A8-9C45-E2EBCD8EEE4F}.Release|x86.ActiveCfg = Release|Win32
|
||||
{14364644-585C-43A8-9C45-E2EBCD8EEE4F}.Release|x86.Build.0 = Release|Win32
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Debug|x64.Build.0 = Debug|x64
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Debug|x86.Build.0 = Debug|Win32
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Release|x64.ActiveCfg = Release|x64
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Release|x64.Build.0 = Release|x64
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Release|x86.ActiveCfg = Release|Win32
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0}.Release|x86.Build.0 = Release|Win32
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Debug|x64.Build.0 = Debug|x64
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Debug|x86.Build.0 = Debug|Win32
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Release|x64.ActiveCfg = Release|x64
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Release|x64.Build.0 = Release|x64
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Release|x86.ActiveCfg = Release|Win32
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989}.Release|x86.Build.0 = Release|Win32
|
||||
{F85F48E2-4D4A-48F5-8A54-AF1F788DF531}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{F85F48E2-4D4A-48F5-8A54-AF1F788DF531}.Debug|x64.Build.0 = Debug|x64
|
||||
{F85F48E2-4D4A-48F5-8A54-AF1F788DF531}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{F85F48E2-4D4A-48F5-8A54-AF1F788DF531}.Debug|x86.Build.0 = Debug|Win32
|
||||
{F85F48E2-4D4A-48F5-8A54-AF1F788DF531}.Release|x64.ActiveCfg = Release|x64
|
||||
{F85F48E2-4D4A-48F5-8A54-AF1F788DF531}.Release|x64.Build.0 = Release|x64
|
||||
{F85F48E2-4D4A-48F5-8A54-AF1F788DF531}.Release|x86.ActiveCfg = Release|Win32
|
||||
{F85F48E2-4D4A-48F5-8A54-AF1F788DF531}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{49616508-0E21-4645-AC0B-7FE8E3628AB0} = {998B0775-BF22-470C-86F2-D729250B9A33}
|
||||
{51BBAD44-0632-4222-A199-F45BB78E5989} = {998B0775-BF22-470C-86F2-D729250B9A33}
|
||||
{F85F48E2-4D4A-48F5-8A54-AF1F788DF531} = {998B0775-BF22-470C-86F2-D729250B9A33}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {B036766D-D7F6-4477-A0B2-6C0D380980AC}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -1,298 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{14364644-585C-43A8-9C45-E2EBCD8EEE4F}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>GTApplicationsGL45.v15</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_OPENGL;WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_OPENGL;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_OPENGL;WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_OPENGL;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="GTGraphics.v15.vcxproj">
|
||||
<Project>{51bbad44-0632-4222-a199-f45bb78e5989}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="GTGraphicsGL45.v15.vcxproj">
|
||||
<Project>{f85f48e2-4d4a-48f5-8a54-af1f788df531}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\Application.cpp" />
|
||||
<ClCompile Include="Applications\CameraRig.cpp" />
|
||||
<ClCompile Include="Applications\Command.cpp" />
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp" />
|
||||
<ClCompile Include="Applications\Environment.cpp" />
|
||||
<ClCompile Include="Applications\GLX\Console.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\ConsoleSystem.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\WICFileIO.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\Window.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\WindowSystem.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GTApplications.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\LogReporter.cpp" />
|
||||
<ClCompile Include="Applications\MSW\Console.cpp" />
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToMessageBox.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToOutputWindow.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp" />
|
||||
<ClCompile Include="Applications\MSW\Window.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp" />
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp" />
|
||||
<ClCompile Include="Applications\Timer.cpp" />
|
||||
<ClCompile Include="Applications\TrackBall.cpp" />
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp" />
|
||||
<ClCompile Include="Applications\TrackObject.cpp" />
|
||||
<ClCompile Include="Applications\Window2.cpp" />
|
||||
<ClCompile Include="Applications\Window3.cpp" />
|
||||
<ClCompile Include="Applications\WindowApplication.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\Application.h" />
|
||||
<ClInclude Include="Applications\CameraRig.h" />
|
||||
<ClInclude Include="Applications\Command.h" />
|
||||
<ClInclude Include="Applications\Console.h" />
|
||||
<ClInclude Include="Applications\ConsoleApplication.h" />
|
||||
<ClInclude Include="Applications\Environment.h" />
|
||||
<ClInclude Include="Applications\GLX\Console.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\ConsoleSystem.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\WICFileIO.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\Window.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\WindowSystem.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\LogReporter.h" />
|
||||
<ClInclude Include="Applications\MSW\Console.h" />
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToMessageBox.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToOutputWindow.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h" />
|
||||
<ClInclude Include="Applications\MSW\Window.h" />
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h" />
|
||||
<ClInclude Include="Applications\OnIdleTimer.h" />
|
||||
<ClInclude Include="Applications\Timer.h" />
|
||||
<ClInclude Include="Applications\TrackBall.h" />
|
||||
<ClInclude Include="Applications\TrackCylinder.h" />
|
||||
<ClInclude Include="Applications\TrackObject.h" />
|
||||
<ClInclude Include="Applications\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\Window2.h" />
|
||||
<ClInclude Include="Applications\Window3.h" />
|
||||
<ClInclude Include="Applications\WindowApplication.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -1,189 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Common">
|
||||
<UniqueIdentifier>{bdd603a2-d1bc-462c-bd58-cf585d8adf59}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="MSW">
|
||||
<UniqueIdentifier>{4de8142b-1464-43a8-a0ec-1973e6b6085e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="GLX">
|
||||
<UniqueIdentifier>{19852bbb-292e-4b2e-b8ea-545c692b5cc1}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Timer.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackBall.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\TrackObject.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window2.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Window3.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\CameraRig.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Command.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Environment.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\LogReporter.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GTApplications.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToMessageBox.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\LogToOutputWindow.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\WindowApplication.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\Application.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp">
|
||||
<Filter>Common</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Console.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\Window.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\WICFileIO.cpp">
|
||||
<Filter>GLX</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\Window.cpp">
|
||||
<Filter>GLX</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\WindowSystem.cpp">
|
||||
<Filter>GLX</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\Console.cpp">
|
||||
<Filter>GLX</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\ConsoleSystem.cpp">
|
||||
<Filter>GLX</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp">
|
||||
<Filter>MSW</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\OnIdleTimer.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Timer.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackBall.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackCylinder.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\TrackObject.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\WICFileIO.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Window2.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Window3.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\CameraRig.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Command.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Environment.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\LogReporter.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToMessageBox.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\LogToOutputWindow.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\WindowApplication.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Application.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\Console.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\ConsoleApplication.h">
|
||||
<Filter>Common</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\Console.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\Window.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\WICFileIO.h">
|
||||
<Filter>GLX</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\Window.h">
|
||||
<Filter>GLX</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\WindowSystem.h">
|
||||
<Filter>GLX</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\Console.h">
|
||||
<Filter>GLX</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\ConsoleSystem.h">
|
||||
<Filter>GLX</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h">
|
||||
<Filter>MSW</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,68 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.28922.388
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTApplicationsGL45.v16", "GTApplicationsGL45.v16.vcxproj", "{EA72EE75-14B3-448F-828A-231FE02D0B38}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Required", "Required", "{A384113F-71DF-4725-AD9A-AACFA10EB6C3}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTMathematics.v16", "GTMathematics.v16.vcxproj", "{3F553568-76EF-48F0-88DD-270482C058B9}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphics.v16", "GTGraphics.v16.vcxproj", "{ED37722A-40DE-4B07-9A4A-65E978D43643}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GTGraphicsGL45.v16", "GTGraphicsGL45.v16.vcxproj", "{93806879-D052-48B1-AFAF-BF190FC67B7F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{EA72EE75-14B3-448F-828A-231FE02D0B38}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{EA72EE75-14B3-448F-828A-231FE02D0B38}.Debug|x64.Build.0 = Debug|x64
|
||||
{EA72EE75-14B3-448F-828A-231FE02D0B38}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{EA72EE75-14B3-448F-828A-231FE02D0B38}.Debug|x86.Build.0 = Debug|Win32
|
||||
{EA72EE75-14B3-448F-828A-231FE02D0B38}.Release|x64.ActiveCfg = Release|x64
|
||||
{EA72EE75-14B3-448F-828A-231FE02D0B38}.Release|x64.Build.0 = Release|x64
|
||||
{EA72EE75-14B3-448F-828A-231FE02D0B38}.Release|x86.ActiveCfg = Release|Win32
|
||||
{EA72EE75-14B3-448F-828A-231FE02D0B38}.Release|x86.Build.0 = Release|Win32
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Debug|x64.Build.0 = Debug|x64
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Debug|x86.Build.0 = Debug|Win32
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Release|x64.ActiveCfg = Release|x64
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Release|x64.Build.0 = Release|x64
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Release|x86.ActiveCfg = Release|Win32
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9}.Release|x86.Build.0 = Release|Win32
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Debug|x64.Build.0 = Debug|x64
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Debug|x86.Build.0 = Debug|Win32
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Release|x64.ActiveCfg = Release|x64
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Release|x64.Build.0 = Release|x64
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Release|x86.ActiveCfg = Release|Win32
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643}.Release|x86.Build.0 = Release|Win32
|
||||
{93806879-D052-48B1-AFAF-BF190FC67B7F}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{93806879-D052-48B1-AFAF-BF190FC67B7F}.Debug|x64.Build.0 = Debug|x64
|
||||
{93806879-D052-48B1-AFAF-BF190FC67B7F}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{93806879-D052-48B1-AFAF-BF190FC67B7F}.Debug|x86.Build.0 = Debug|Win32
|
||||
{93806879-D052-48B1-AFAF-BF190FC67B7F}.Release|x64.ActiveCfg = Release|x64
|
||||
{93806879-D052-48B1-AFAF-BF190FC67B7F}.Release|x64.Build.0 = Release|x64
|
||||
{93806879-D052-48B1-AFAF-BF190FC67B7F}.Release|x86.ActiveCfg = Release|Win32
|
||||
{93806879-D052-48B1-AFAF-BF190FC67B7F}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{3F553568-76EF-48F0-88DD-270482C058B9} = {A384113F-71DF-4725-AD9A-AACFA10EB6C3}
|
||||
{ED37722A-40DE-4B07-9A4A-65E978D43643} = {A384113F-71DF-4725-AD9A-AACFA10EB6C3}
|
||||
{93806879-D052-48B1-AFAF-BF190FC67B7F} = {A384113F-71DF-4725-AD9A-AACFA10EB6C3}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {5AA4F78B-E10F-4485-8EBE-4968A5C54B62}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -1,300 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>16.0</VCProjectVersion>
|
||||
<ProjectGuid>{EA72EE75-14B3-448F-828A-231FE02D0B38}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>GTApplicationsGL45.v16</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
<TargetName>$(ProjectName)</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
<TargetName>$(ProjectName)</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>_Output\Applications\GL45\$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_OPENGL;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_OPENGL;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_OPENGL;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>GTE_USE_MSWINDOWS;GTE_USE_ROW_MAJOR;GTE_USE_MAT_VEC;GTE_USE_OPENGL;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>.</AdditionalIncludeDirectories>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PrecompiledHeaderFile>Applications/GTApplicationsPCH.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="GTGraphics.v16.vcxproj">
|
||||
<Project>{ed37722a-40de-4b07-9a4a-65e978d43643}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="GTGraphicsGL45.v16.vcxproj">
|
||||
<Project>{93806879-d052-48b1-afaf-bf190fc67b7f}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Applications\Application.cpp" />
|
||||
<ClCompile Include="Applications\CameraRig.cpp" />
|
||||
<ClCompile Include="Applications\Command.cpp" />
|
||||
<ClCompile Include="Applications\ConsoleApplication.cpp" />
|
||||
<ClCompile Include="Applications\Environment.cpp" />
|
||||
<ClCompile Include="Applications\GLX\Console.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\ConsoleSystem.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\WICFileIO.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\Window.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GLX\WindowSystem.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\GTApplications.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Applications\LogReporter.cpp" />
|
||||
<ClCompile Include="Applications\MSW\Console.cpp" />
|
||||
<ClCompile Include="Applications\MSW\ConsoleSystem.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToMessageBox.cpp" />
|
||||
<ClCompile Include="Applications\MSW\LogToOutputWindow.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIO.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WICFileIONative.cpp" />
|
||||
<ClCompile Include="Applications\MSW\Window.cpp" />
|
||||
<ClCompile Include="Applications\MSW\WindowSystem.cpp" />
|
||||
<ClCompile Include="Applications\OnIdleTimer.cpp" />
|
||||
<ClCompile Include="Applications\Timer.cpp" />
|
||||
<ClCompile Include="Applications\TrackBall.cpp" />
|
||||
<ClCompile Include="Applications\TrackCylinder.cpp" />
|
||||
<ClCompile Include="Applications\TrackObject.cpp" />
|
||||
<ClCompile Include="Applications\Window2.cpp" />
|
||||
<ClCompile Include="Applications\Window3.cpp" />
|
||||
<ClCompile Include="Applications\WindowApplication.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Applications\Application.h" />
|
||||
<ClInclude Include="Applications\CameraRig.h" />
|
||||
<ClInclude Include="Applications\Command.h" />
|
||||
<ClInclude Include="Applications\Console.h" />
|
||||
<ClInclude Include="Applications\ConsoleApplication.h" />
|
||||
<ClInclude Include="Applications\Environment.h" />
|
||||
<ClInclude Include="Applications\GLX\Console.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\ConsoleSystem.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\WICFileIO.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\Window.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GLX\WindowSystem.h">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Applications\GTApplications.h" />
|
||||
<ClInclude Include="Applications\GTApplicationsPCH.h" />
|
||||
<ClInclude Include="Applications\LogReporter.h" />
|
||||
<ClInclude Include="Applications\MSW\Console.h" />
|
||||
<ClInclude Include="Applications\MSW\ConsoleSystem.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToMessageBox.h" />
|
||||
<ClInclude Include="Applications\MSW\LogToOutputWindow.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\MSW\WICFileIONative.h" />
|
||||
<ClInclude Include="Applications\MSW\Window.h" />
|
||||
<ClInclude Include="Applications\MSW\WindowSystem.h" />
|
||||
<ClInclude Include="Applications\OnIdleTimer.h" />
|
||||
<ClInclude Include="Applications\Timer.h" />
|
||||
<ClInclude Include="Applications\TrackBall.h" />
|
||||
<ClInclude Include="Applications\TrackCylinder.h" />
|
||||
<ClInclude Include="Applications\TrackObject.h" />
|
||||
<ClInclude Include="Applications\WICFileIO.h" />
|
||||
<ClInclude Include="Applications\Window2.h" />
|
||||
<ClInclude Include="Applications\Window3.h" />
|
||||
<ClInclude Include="Applications\WindowApplication.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user