├── .editorconfig ├── .gitattributes ├── .gitignore ├── .gitmodules ├── LICENSE ├── MoonAdditions.def ├── MoonAdditions.sln ├── README.md ├── examples ├── car_custom_paintjob.lua ├── car_rgb_respray.lua ├── display_vehicle_components.lua ├── draw_circle.lua ├── draw_text.lua ├── draw_texture.lua ├── player_bones.lua ├── resource │ ├── texture │ │ └── example │ │ │ ├── example_bmp.bmp │ │ │ ├── example_bmp_a.bmp │ │ │ ├── example_dds.dds │ │ │ ├── example_png.png │ │ │ └── my_paintjob.png │ └── txd │ │ └── example │ │ └── example_txd.txd └── streetlights.lua ├── moonadditions-1.1.0-2.rockspec └── src ├── MoonAdditions.vcxproj ├── MoonAdditions.vcxproj.filters ├── additional_events.cpp ├── additional_events.h ├── drawer.h ├── filesystem.h ├── forward_declarations.h ├── lua_bone.cpp ├── lua_bone.h ├── lua_component.cpp ├── lua_component.h ├── lua_general.cpp ├── lua_general.h ├── lua_matrix.cpp ├── lua_matrix.h ├── lua_quat.cpp ├── lua_quat.h ├── lua_shape.cpp ├── lua_shape.h ├── lua_textdraw.cpp ├── lua_textdraw.h ├── lua_texture.cpp ├── lua_texture.h ├── lua_txd.cpp ├── lua_txd.h ├── lua_vector.cpp ├── lua_vector.h ├── main.cpp ├── optional.h ├── pch.cpp ├── pch.h ├── pool_object_extender.h ├── shape_drawer.cpp ├── shape_drawer.h ├── singleton.h ├── sol_custom_types.hpp ├── spotlight_drawer.cpp ├── spotlight_drawer.h ├── sprite_drawer.cpp ├── sprite_drawer.h ├── text_drawer.cpp ├── text_drawer.h ├── texture_manager.cpp ├── texture_manager.h ├── vehicle_renderer.cpp └── vehicle_renderer.h /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/LICENSE -------------------------------------------------------------------------------- /MoonAdditions.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | luaopen_MoonAdditions 3 | -------------------------------------------------------------------------------- /MoonAdditions.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/MoonAdditions.sln -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/README.md -------------------------------------------------------------------------------- /examples/car_custom_paintjob.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/examples/car_custom_paintjob.lua -------------------------------------------------------------------------------- /examples/car_rgb_respray.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/examples/car_rgb_respray.lua -------------------------------------------------------------------------------- /examples/display_vehicle_components.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/examples/display_vehicle_components.lua -------------------------------------------------------------------------------- /examples/draw_circle.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/examples/draw_circle.lua -------------------------------------------------------------------------------- /examples/draw_text.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/examples/draw_text.lua -------------------------------------------------------------------------------- /examples/draw_texture.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/examples/draw_texture.lua -------------------------------------------------------------------------------- /examples/player_bones.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/examples/player_bones.lua -------------------------------------------------------------------------------- /examples/resource/texture/example/example_bmp.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/examples/resource/texture/example/example_bmp.bmp -------------------------------------------------------------------------------- /examples/resource/texture/example/example_bmp_a.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/examples/resource/texture/example/example_bmp_a.bmp -------------------------------------------------------------------------------- /examples/resource/texture/example/example_dds.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/examples/resource/texture/example/example_dds.dds -------------------------------------------------------------------------------- /examples/resource/texture/example/example_png.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/examples/resource/texture/example/example_png.png -------------------------------------------------------------------------------- /examples/resource/texture/example/my_paintjob.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/examples/resource/texture/example/my_paintjob.png -------------------------------------------------------------------------------- /examples/resource/txd/example/example_txd.txd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/examples/resource/txd/example/example_txd.txd -------------------------------------------------------------------------------- /examples/streetlights.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/examples/streetlights.lua -------------------------------------------------------------------------------- /moonadditions-1.1.0-2.rockspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/moonadditions-1.1.0-2.rockspec -------------------------------------------------------------------------------- /src/MoonAdditions.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/MoonAdditions.vcxproj -------------------------------------------------------------------------------- /src/MoonAdditions.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/MoonAdditions.vcxproj.filters -------------------------------------------------------------------------------- /src/additional_events.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/additional_events.cpp -------------------------------------------------------------------------------- /src/additional_events.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/additional_events.h -------------------------------------------------------------------------------- /src/drawer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/drawer.h -------------------------------------------------------------------------------- /src/filesystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/filesystem.h -------------------------------------------------------------------------------- /src/forward_declarations.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/forward_declarations.h -------------------------------------------------------------------------------- /src/lua_bone.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_bone.cpp -------------------------------------------------------------------------------- /src/lua_bone.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_bone.h -------------------------------------------------------------------------------- /src/lua_component.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_component.cpp -------------------------------------------------------------------------------- /src/lua_component.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_component.h -------------------------------------------------------------------------------- /src/lua_general.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_general.cpp -------------------------------------------------------------------------------- /src/lua_general.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_general.h -------------------------------------------------------------------------------- /src/lua_matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_matrix.cpp -------------------------------------------------------------------------------- /src/lua_matrix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_matrix.h -------------------------------------------------------------------------------- /src/lua_quat.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_quat.cpp -------------------------------------------------------------------------------- /src/lua_quat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_quat.h -------------------------------------------------------------------------------- /src/lua_shape.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_shape.cpp -------------------------------------------------------------------------------- /src/lua_shape.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_shape.h -------------------------------------------------------------------------------- /src/lua_textdraw.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_textdraw.cpp -------------------------------------------------------------------------------- /src/lua_textdraw.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_textdraw.h -------------------------------------------------------------------------------- /src/lua_texture.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_texture.cpp -------------------------------------------------------------------------------- /src/lua_texture.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_texture.h -------------------------------------------------------------------------------- /src/lua_txd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_txd.cpp -------------------------------------------------------------------------------- /src/lua_txd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_txd.h -------------------------------------------------------------------------------- /src/lua_vector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_vector.cpp -------------------------------------------------------------------------------- /src/lua_vector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/lua_vector.h -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/main.cpp -------------------------------------------------------------------------------- /src/optional.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/optional.h -------------------------------------------------------------------------------- /src/pch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/pch.cpp -------------------------------------------------------------------------------- /src/pch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/pch.h -------------------------------------------------------------------------------- /src/pool_object_extender.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/pool_object_extender.h -------------------------------------------------------------------------------- /src/shape_drawer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/shape_drawer.cpp -------------------------------------------------------------------------------- /src/shape_drawer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/shape_drawer.h -------------------------------------------------------------------------------- /src/singleton.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/singleton.h -------------------------------------------------------------------------------- /src/sol_custom_types.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/sol_custom_types.hpp -------------------------------------------------------------------------------- /src/spotlight_drawer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/spotlight_drawer.cpp -------------------------------------------------------------------------------- /src/spotlight_drawer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/spotlight_drawer.h -------------------------------------------------------------------------------- /src/sprite_drawer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/sprite_drawer.cpp -------------------------------------------------------------------------------- /src/sprite_drawer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/sprite_drawer.h -------------------------------------------------------------------------------- /src/text_drawer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/text_drawer.cpp -------------------------------------------------------------------------------- /src/text_drawer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/text_drawer.h -------------------------------------------------------------------------------- /src/texture_manager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/texture_manager.cpp -------------------------------------------------------------------------------- /src/texture_manager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/texture_manager.h -------------------------------------------------------------------------------- /src/vehicle_renderer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/vehicle_renderer.cpp -------------------------------------------------------------------------------- /src/vehicle_renderer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/THE-FYP/MoonAdditions/HEAD/src/vehicle_renderer.h --------------------------------------------------------------------------------