Files
EVEngine/test/template.cpp.in
T
西风逍遥游 2ab09dcf68 feat(script): bind Image decode, Joystick Pad axes/buttons, Mouse relative mode
- Image: expose newImageData(newImageDataFromFile)/newEmptyImageData/isCompressed and a
  full ImageData script class (getWidth/Height/Format/Size, pixel get/set, paste, clone,
  rotate). ImageData is now registered once by the Image module; drop the duplicate
  minimal registrations in Font and Model3D that could overwrite each other.
- Joystick: expose getJoystick/getJoystickFromID/getIndex/addJoystick/removeJoystick and a
  Pad class with raw axes/buttons/hats, GameController axis/button names, device info,
  and vibration. Pads stay owned by the module (non-owning script handles).
- Mouse: expose setRelativeMode/getRelativeMode plus setVisible/setPosition/setX/setY/
  setGrabbed/isGrabbed (SDL backend already implemented them).
- Tests: add image.nut/image_script.cpp and joystick.nut/joystick_script.cpp script tests,
  extend mouse.nut with relative-mode/visibility checks, wire into test CMake and the nut
  embed template.
- Docs: update image/joystick/mouse user chapters, MODULES.md and the REVIEW log.
2026-08-20 12:31:11 +08:00

13 lines
917 B
Plaintext

const char* simplesquirrel_content = R"content(@simplesquirrel_content@)content";
const char* filesystem_content = R"content(@filesystem_content@)content";
const char* graphic_content = R"content(@graphic_content@)content";
const char* window_content = R"content(@window_content@)content";
const char* mouse_content = R"content(@mouse_content@)content";
const char* image_content = R"content(@image_content@)content";
const char* joystick_content = R"content(@joystick_content@)content";
const char* model_content = R"content(@model_content@)content";
const char* model2_content = R"content(@model2_content@)content";
const char* timer_content = R"content(@timer_content@)content";
const char* i18n_content = R"content(@i18n_content@)content";
const char* dialogue_proc_script_content = R"content(@dialogue_proc_script_content@)content";