Commit graph

11 commits

Author SHA1 Message Date
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
2e2d849092 Fix GameScriptColor's D3DCOLOR operator and __tostring, and add a converting constructor. 2021-08-29 17:05:06 +01:00
hispidence
50410f354a Add comment for prev commit. 2021-08-27 14:32:00 +01:00
hispidence
f3b9b18ede Make GameScriptColor able to convert to D3DCOLOR. 2021-08-27 14:30:41 +01: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
23e1ab0f50 Clean up GameScriptColor.
Give it default member initialisers and a delegating constructor and expose the four-component version to Lua.
2021-08-07 19:03:27 +01:00
hispidence
6720fb2318 Make color getters const. 2021-07-24 12:26:48 +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
936b7b36b6 Add conversions between GameScriptColor and Vector3/Vector4. 2021-07-21 18:18:51 +01:00
hispidence
12b28a38c6 Add Register function and documentation for GameScriptColor, since it will be used in GameScriptMeshInfo. 2021-07-20 17:48:39 +01:00
MontyTRC89
d25cfb6c92 Moved GameScriptPosition, GameScriptRotation and GameScriptColor classes in separate files 2021-06-29 05:28:17 +02:00