hispidence
8a31dbf644
Move scripting source files into new filder. Obviously, these won't work yet or even compile.
2021-12-14 21:10:21 +00:00
hispidence
0b433edfe2
Include frameworkandsol.h instead of framework.h and sol.hpp.
2021-12-04 21:15:26 +00:00
hispidence
0563755dba
Take sol.hpp out of framework.h and include it only where needed.
...
This actually makes the project take longer to build, probably because of it no longer getting precompiled, but this is the first step of many in an effort to decouple them a bit to make things more sensible.
2021-11-25 23:34:02 +00:00
hispidence
e7dacf0de7
Actually bind GameScriptRotation::ToString.
2021-11-03 20:18:09 +00:00
Lwmte
7f5dceef0c
Further organizing
2021-09-08 18:31:35 +03:00
hispidence
1cccef16b2
Give documentation comments new tag names. Part 2 of making the documentation better.
2021-08-23 19:16:24 +01:00
hispidence
c0c4310bed
Add __tostring metamethod to GameScriptPosition, GameScriptRotation and GameScriptColor.
...
Make their properties lowercase to keep them consistent with the properties of other classes.
Move documentation from GameScriptPosition.h to GameScriptPosition.cpp.
2021-07-23 02:06:50 +01:00
hispidence
893c176c0c
Move documentation from GameScriptRotation.h to ".cpp.
2021-07-20 17:49:14 +01:00
hispidence
3adf79879a
Make GameScriptPosition and GameScriptRotation convertible from PHD_3POS and add a function which puts their position or rotation data into a PHD_3POS. Make their members public since their setters and getters were trivial, aside from some tests which seem to serve no purpose (an int can't be larger than INT_MAX or smaller than INT_MIN).
2021-07-03 23:07:21 +01:00
hispidence
cabc14dbbc
Add Register and ConvertRotation member functions. ConvertRotation converts from degrees to the -32768 to 32767 system the renderer seems to expect.
...
Changed clamp values to -359 and 359, as 360 = -360 = 0.
2021-07-01 19:25:44 +01:00
hispidence
5056ebbb54
Make getters of GameScriptPosition and GameScriptRotation const.
2021-06-30 14:08:46 +01:00
MontyTRC89
d25cfb6c92
Moved GameScriptPosition, GameScriptRotation and GameScriptColor classes in separate files
2021-06-29 05:28:17 +02:00