sfml.js 0.0.1-preview.4 → 0.0.1-preview.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -4
- package/binding.gyp +63 -17
- package/index.d.ts +1 -0
- package/lib/clock.d.ts +1 -3
- package/lib/clock.js +3 -1
- package/lib/color.d.ts +2 -2
- package/lib/color.js +58 -3
- package/lib/common.js +33 -7
- package/lib/drawable/circle_shape.d.ts +2 -2
- package/lib/drawable/circle_shape.js +3 -3
- package/lib/drawable/convex_shape.d.ts +5 -0
- package/lib/drawable/convex_shape.js +35 -0
- package/lib/drawable/drawable.d.ts +6 -0
- package/lib/drawable/{base.js → drawable.js} +7 -4
- package/lib/drawable/plugin_package.d.ts +31 -0
- package/lib/drawable/plugin_package.js +102 -0
- package/lib/drawable/rectangle_shape.d.ts +6 -3
- package/lib/drawable/rectangle_shape.js +14 -2
- package/lib/drawable/shape.d.ts +8 -32
- package/lib/drawable/shape.js +16 -115
- package/lib/drawable/sprite.d.ts +17 -0
- package/lib/drawable/sprite.js +53 -0
- package/lib/drawable/text.d.ts +26 -0
- package/lib/drawable/text.js +88 -0
- package/lib/drawable/transformable.d.ts +28 -0
- package/lib/drawable/transformable.js +113 -0
- package/lib/drawable/vertex_array.d.ts +40 -0
- package/lib/drawable/vertex_array.js +128 -0
- package/lib/font.d.ts +24 -0
- package/lib/font.js +137 -0
- package/lib/image.d.ts +26 -0
- package/lib/image.js +147 -0
- package/lib/keyboard.d.ts +106 -0
- package/lib/keyboard.js +17 -0
- package/lib/mouse.d.ts +6 -0
- package/lib/mouse.js +39 -0
- package/lib/poll_event.d.ts +2 -4
- package/lib/rect.d.ts +1 -1
- package/lib/rect.js +29 -9
- package/lib/render_window.d.ts +27 -14
- package/lib/render_window.js +61 -7
- package/lib/sfml.d.ts +28 -0
- package/lib/sfml.js +22 -9
- package/lib/sound/base.d.ts +33 -0
- package/lib/sound/base.js +109 -0
- package/lib/sound/music.d.ts +15 -0
- package/lib/sound/music.js +65 -0
- package/lib/sound/sound.d.ts +16 -0
- package/lib/sound/sound.js +55 -0
- package/lib/sound/sound_buffer.d.ts +14 -0
- package/lib/sound/sound_buffer.js +78 -0
- package/lib/texture.d.ts +21 -0
- package/lib/texture.js +127 -0
- package/lib/time.d.ts +2 -2
- package/lib/vector2.d.ts +24 -0
- package/lib/vector2.js +85 -16
- package/lib/vertex.d.ts +14 -0
- package/lib/vertex.js +177 -0
- package/lib/video_mode.d.ts +2 -4
- package/lib/video_mode.js +15 -5
- package/package.json +33 -10
- package/src/base_class_with_loading.h +21 -0
- package/src/clock.cc +3 -3
- package/src/clock.h +5 -2
- package/src/color.cc +18 -13
- package/src/color.h +9 -3
- package/src/drawable/circle_shape.cc +9 -9
- package/src/drawable/circle_shape.h +4 -1
- package/src/drawable/convex_shape.cc +57 -0
- package/src/drawable/convex_shape.h +29 -0
- package/src/drawable/drawable-inl.h +29 -0
- package/src/drawable/drawable.cc +41 -0
- package/src/drawable/drawable.h +26 -38
- package/src/drawable/package_plugin-inl.h +191 -0
- package/src/drawable/package_plugin.h +60 -0
- package/src/drawable/rectangle_shape.cc +43 -7
- package/src/drawable/rectangle_shape.h +7 -1
- package/src/drawable/shape.cc +67 -0
- package/src/drawable/shape.h +13 -28
- package/src/drawable/sprite.cc +122 -0
- package/src/drawable/sprite.h +45 -0
- package/src/drawable/text.cc +133 -0
- package/src/drawable/text.h +54 -0
- package/src/drawable/vertex_array.cc +248 -0
- package/src/drawable/vertex_array.h +46 -0
- package/src/font.cc +208 -0
- package/src/font.h +43 -0
- package/src/image.cc +379 -0
- package/src/image.h +72 -0
- package/src/keyboard.cc +50 -0
- package/src/keyboard.h +8 -1
- package/src/mouse.cc +80 -0
- package/src/mouse.h +9 -1
- package/src/plugins/transformable_plugin-inl.h +121 -0
- package/src/plugins/transformable_plugin.h +42 -0
- package/src/poll_event.h +2 -1
- package/src/rect-inl.h +21 -16
- package/src/rect.h +10 -8
- package/src/render_window.cc +72 -6
- package/src/render_window.h +25 -2
- package/src/resizable_buffer.h +103 -0
- package/src/sfml.cc +29 -0
- package/src/sound/music.cc +113 -0
- package/src/sound/music.h +35 -0
- package/src/sound/sound.cc +116 -0
- package/src/sound/sound.h +41 -0
- package/src/sound/sound_buffer.cc +226 -0
- package/src/sound/sound_buffer.h +46 -0
- package/src/sound/sound_source.cc +124 -0
- package/src/sound/sound_source.h +80 -0
- package/src/texture.cc +246 -0
- package/src/texture.h +47 -0
- package/src/time.h +2 -1
- package/src/utils-inl.h +19 -0
- package/src/utils.h +6 -0
- package/src/vector2-inl.h +101 -17
- package/src/vector2.cc +4 -3
- package/src/vector2.h +42 -12
- package/src/vertex.cc +238 -0
- package/src/vertex.h +114 -0
- package/src/video_mode.cc +9 -9
- package/src/video_mode.h +9 -2
- package/src/workers/load_from_file_worker.h +79 -0
- package/src/workers/save_to_file_worker.h +79 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/AlResource.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/Export.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/InputSoundFile.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/Listener.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/Music.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/OutputSoundFile.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/Sound.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/SoundBuffer.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/SoundBufferRecorder.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/SoundFileFactory.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/SoundFileFactory.inl +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/SoundFileReader.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/SoundFileWriter.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/SoundRecorder.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/SoundSource.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/SoundStream.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Config.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/GpuPreference.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/BlendMode.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/CircleShape.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Color.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/ConvexShape.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Drawable.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Export.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Font.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Glsl.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Glsl.inl +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Glyph.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Image.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/PrimitiveType.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Rect.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Rect.inl +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/RectangleShape.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/RenderStates.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/RenderTarget.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/RenderTexture.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/RenderWindow.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Shader.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Shape.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Sprite.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Text.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Texture.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Transform.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Transformable.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Vertex.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/VertexArray.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/VertexBuffer.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/View.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Main.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/Export.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/Ftp.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/Http.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/IpAddress.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/Packet.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/Socket.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/SocketHandle.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/SocketSelector.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/TcpListener.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/TcpSocket.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/UdpSocket.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/OpenGL.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Clock.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Err.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Export.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/FileInputStream.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/InputStream.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Lock.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/MemoryInputStream.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Mutex.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/NativeActivity.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/NonCopyable.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Sleep.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/String.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/String.inl +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Thread.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Thread.inl +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/ThreadLocal.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/ThreadLocalPtr.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/ThreadLocalPtr.inl +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Time.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Utf.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Utf.inl +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Vector2.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Vector2.inl +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Vector3.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Vector3.inl +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Clipboard.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Context.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/ContextSettings.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Cursor.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Event.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Export.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/GlResource.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Joystick.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Keyboard.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Mouse.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Sensor.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Touch.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/VideoMode.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Window.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/WindowHandle.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/WindowStyle.hpp +0 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window.hpp +0 -0
- package/third_party/sfml/platform/linux/lib/libsfml-audio.so.2.5.1 +0 -0
- package/third_party/sfml/platform/linux/lib/libsfml-graphics.so.2.5.1 +0 -0
- package/third_party/sfml/platform/linux/lib/libsfml-network.so.2.5.1 +0 -0
- package/third_party/sfml/platform/linux/lib/libsfml-system.so.2.5.1 +0 -0
- package/third_party/sfml/platform/linux/lib/libsfml-window.so.2.5.1 +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/FLAC.framework/Versions/A → sfml/platform/macOS/Frameworks/FLAC.framework}/Resources/Info.plist +0 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/Frameworks/FLAC.framework/Versions/A/FLAC +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/FLAC.framework/Versions/A/Resources/Info.plist +22 -0
- package/third_party/sfml/platform/macOS/Frameworks/FLAC.framework/Versions/Current/FLAC +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/FLAC.framework/Versions/Current/Resources/Info.plist +22 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/OpenAL.framework/Versions/A → sfml/platform/macOS/Frameworks/OpenAL.framework}/Resources/Info.plist +0 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/Frameworks/OpenAL.framework/Versions/A/OpenAL +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/OpenAL.framework/Versions/A/Resources/Info.plist +22 -0
- package/third_party/sfml/platform/macOS/Frameworks/OpenAL.framework/Versions/Current/OpenAL +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/OpenAL.framework/Versions/Current/Resources/Info.plist +22 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/AlResource.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/Export.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/InputSoundFile.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/Listener.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/Music.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/OutputSoundFile.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/Sound.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/SoundBuffer.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/SoundBufferRecorder.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/SoundFileFactory.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/SoundFileFactory.inl +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/SoundFileReader.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/SoundFileWriter.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/SoundRecorder.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/SoundSource.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio/SoundStream.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Audio.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Config.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/GpuPreference.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/BlendMode.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/CircleShape.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Color.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/ConvexShape.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Drawable.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Export.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Font.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Glsl.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Glsl.inl +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Glyph.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Image.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/PrimitiveType.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Rect.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Rect.inl +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/RectangleShape.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/RenderStates.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/RenderTarget.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/RenderTexture.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/RenderWindow.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Shader.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Shape.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Sprite.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Text.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Texture.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Transform.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Transformable.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/Vertex.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/VertexArray.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/VertexBuffer.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics/View.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Graphics.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Main.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Network/Export.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Network/Ftp.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Network/Http.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Network/IpAddress.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Network/Packet.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Network/Socket.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Network/SocketHandle.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Network/SocketSelector.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Network/TcpListener.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Network/TcpSocket.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Network/UdpSocket.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Network.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/OpenGL.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Clock.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Err.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Export.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/FileInputStream.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/InputStream.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Lock.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/MemoryInputStream.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Mutex.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/NativeActivity.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/NonCopyable.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Sleep.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/String.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/String.inl +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Thread.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Thread.inl +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/ThreadLocal.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/ThreadLocalPtr.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/ThreadLocalPtr.inl +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Time.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Utf.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Utf.inl +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Vector2.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Vector2.inl +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Vector3.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System/Vector3.inl +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/System.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/Clipboard.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/Context.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/ContextSettings.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/Cursor.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/Event.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/Export.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/GlResource.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/Joystick.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/Keyboard.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/Mouse.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/Sensor.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/Touch.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/VideoMode.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/Window.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/WindowHandle.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window/WindowStyle.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Headers/Window.hpp +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Resources/CMake/SFMLConfig.cmake +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Resources/CMake/SFMLConfigDependencies.cmake +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Resources/CMake/SFMLConfigVersion.cmake +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Resources/CMake/SFMLSharedTargets-release.cmake +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Resources/CMake/SFMLSharedTargets.cmake +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/SFML.framework}/Resources/Info.plist +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/AlResource.hpp +70 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/Export.hpp +48 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/InputSoundFile.hpp +263 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/Listener.hpp +234 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/Music.hpp +337 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/OutputSoundFile.hpp +133 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/Sound.hpp +264 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/SoundBuffer.hpp +352 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/SoundBufferRecorder.hpp +144 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/SoundFileFactory.hpp +197 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/SoundFileFactory.inl +100 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/SoundFileReader.hpp +165 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/SoundFileWriter.hpp +125 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/SoundRecorder.hpp +408 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/SoundSource.hpp +332 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/SoundStream.hpp +405 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio.hpp +56 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Config.hpp +236 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/GpuPreference.hpp +74 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/BlendMode.hpp +215 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/CircleShape.hpp +154 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Color.hpp +275 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/ConvexShape.hpp +153 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Drawable.hpp +126 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Export.hpp +48 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Font.hpp +439 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Glsl.hpp +227 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Glsl.inl +155 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Glyph.hpp +79 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Image.hpp +324 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/PrimitiveType.hpp +58 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Rect.hpp +254 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Rect.inl +159 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/RectangleShape.hpp +132 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/RenderStates.hpp +174 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/RenderTarget.hpp +510 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/RenderTexture.hpp +314 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/RenderWindow.hpp +284 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Shader.hpp +875 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Shape.hpp +355 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Sprite.hpp +279 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Text.hpp +513 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Texture.hpp +733 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Transform.hpp +479 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Transformable.hpp +429 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Vertex.hpp +148 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/VertexArray.hpp +223 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/VertexBuffer.hpp +408 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/View.hpp +343 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics.hpp +68 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Main.hpp +43 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/Export.hpp +48 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/Ftp.hpp +616 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/Http.hpp +482 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/IpAddress.hpp +328 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/Packet.hpp +532 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/Socket.hpp +219 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/SocketHandle.hpp +57 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/SocketSelector.hpp +263 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/TcpListener.hpp +166 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/TcpSocket.hpp +316 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/UdpSocket.hpp +291 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network.hpp +53 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/OpenGL.hpp +78 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Clock.hpp +117 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Err.hpp +80 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Export.hpp +48 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/FileInputStream.hpp +169 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/InputStream.hpp +152 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Lock.hpp +139 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/MemoryInputStream.hpp +148 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Mutex.hpp +148 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/NativeActivity.hpp +62 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/NonCopyable.hpp +129 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Sleep.hpp +52 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/String.hpp +669 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/String.inl +53 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Thread.hpp +282 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Thread.inl +90 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/ThreadLocal.hpp +103 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/ThreadLocalPtr.hpp +158 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/ThreadLocalPtr.inl +77 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Time.hpp +488 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Utf.hpp +763 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Utf.inl +752 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Vector2.hpp +301 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Vector2.inl +161 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Vector3.hpp +302 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Vector3.inl +168 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System.hpp +60 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Clipboard.hpp +119 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Context.hpp +195 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/ContextSettings.hpp +149 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Cursor.hpp +222 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Event.hpp +284 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Export.hpp +48 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/GlResource.hpp +109 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Joystick.hpp +227 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Keyboard.hpp +232 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Mouse.hpp +177 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Sensor.hpp +150 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Touch.hpp +137 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/VideoMode.hpp +228 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Window.hpp +622 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/WindowHandle.hpp +101 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/WindowStyle.hpp +53 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window.hpp +58 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Resources/CMake/SFMLConfig.cmake +148 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Resources/CMake/SFMLConfigDependencies.cmake +86 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Resources/CMake/SFMLConfigVersion.cmake +46 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Resources/CMake/SFMLSharedTargets-release.cmake +59 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Resources/CMake/SFMLSharedTargets.cmake +158 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/2.5.1/Resources/Info.plist +26 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/Frameworks/SFML.framework/Versions/2.5.1/SFML +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/AlResource.hpp +70 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/Export.hpp +48 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/InputSoundFile.hpp +263 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/Listener.hpp +234 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/Music.hpp +337 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/OutputSoundFile.hpp +133 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/Sound.hpp +264 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/SoundBuffer.hpp +352 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/SoundBufferRecorder.hpp +144 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/SoundFileFactory.hpp +197 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/SoundFileFactory.inl +100 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/SoundFileReader.hpp +165 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/SoundFileWriter.hpp +125 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/SoundRecorder.hpp +408 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/SoundSource.hpp +332 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio/SoundStream.hpp +405 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Audio.hpp +56 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Config.hpp +236 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/GpuPreference.hpp +74 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/BlendMode.hpp +215 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/CircleShape.hpp +154 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Color.hpp +275 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/ConvexShape.hpp +153 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Drawable.hpp +126 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Export.hpp +48 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Font.hpp +439 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Glsl.hpp +227 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Glsl.inl +155 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Glyph.hpp +79 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Image.hpp +324 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/PrimitiveType.hpp +58 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Rect.hpp +254 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Rect.inl +159 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/RectangleShape.hpp +132 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/RenderStates.hpp +174 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/RenderTarget.hpp +510 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/RenderTexture.hpp +314 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/RenderWindow.hpp +284 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Shader.hpp +875 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Shape.hpp +355 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Sprite.hpp +279 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Text.hpp +513 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Texture.hpp +733 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Transform.hpp +479 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Transformable.hpp +429 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/Vertex.hpp +148 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/VertexArray.hpp +223 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/VertexBuffer.hpp +408 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics/View.hpp +343 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Graphics.hpp +68 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Main.hpp +43 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Network/Export.hpp +48 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Network/Ftp.hpp +616 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Network/Http.hpp +482 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Network/IpAddress.hpp +328 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Network/Packet.hpp +532 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Network/Socket.hpp +219 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Network/SocketHandle.hpp +57 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Network/SocketSelector.hpp +263 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Network/TcpListener.hpp +166 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Network/TcpSocket.hpp +316 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Network/UdpSocket.hpp +291 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Network.hpp +53 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/OpenGL.hpp +78 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Clock.hpp +117 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Err.hpp +80 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Export.hpp +48 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/FileInputStream.hpp +169 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/InputStream.hpp +152 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Lock.hpp +139 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/MemoryInputStream.hpp +148 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Mutex.hpp +148 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/NativeActivity.hpp +62 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/NonCopyable.hpp +129 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Sleep.hpp +52 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/String.hpp +669 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/String.inl +53 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Thread.hpp +282 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Thread.inl +90 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/ThreadLocal.hpp +103 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/ThreadLocalPtr.hpp +158 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/ThreadLocalPtr.inl +77 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Time.hpp +488 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Utf.hpp +763 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Utf.inl +752 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Vector2.hpp +301 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Vector2.inl +161 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Vector3.hpp +302 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System/Vector3.inl +168 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/System.hpp +60 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/Clipboard.hpp +119 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/Context.hpp +195 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/ContextSettings.hpp +149 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/Cursor.hpp +222 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/Event.hpp +284 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/Export.hpp +48 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/GlResource.hpp +109 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/Joystick.hpp +227 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/Keyboard.hpp +232 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/Mouse.hpp +177 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/Sensor.hpp +150 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/Touch.hpp +137 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/VideoMode.hpp +228 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/Window.hpp +622 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/WindowHandle.hpp +101 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window/WindowStyle.hpp +53 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Headers/Window.hpp +58 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Resources/CMake/SFMLConfig.cmake +148 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Resources/CMake/SFMLConfigDependencies.cmake +86 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Resources/CMake/SFMLConfigVersion.cmake +46 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Resources/CMake/SFMLSharedTargets-release.cmake +59 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Resources/CMake/SFMLSharedTargets.cmake +158 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/Resources/Info.plist +26 -0
- package/third_party/sfml/platform/macOS/Frameworks/SFML.framework/Versions/Current/SFML +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/freetype.framework/Versions/A → sfml/platform/macOS/Frameworks/freetype.framework}/Resources/Info.plist +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/freetype.framework/Versions/A/Resources/Info.plist +22 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/Frameworks/freetype.framework/Versions/A/freetype +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/freetype.framework/Versions/Current/Resources/Info.plist +22 -0
- package/third_party/sfml/platform/macOS/Frameworks/freetype.framework/Versions/Current/freetype +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/ogg.framework/Versions/A → sfml/platform/macOS/Frameworks/ogg.framework}/Resources/Info.plist +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/ogg.framework/Versions/A/Resources/Info.plist +22 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/Frameworks/ogg.framework/Versions/A/ogg +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/ogg.framework/Versions/Current/Resources/Info.plist +22 -0
- package/third_party/sfml/platform/macOS/Frameworks/ogg.framework/Versions/Current/ogg +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/sfml-audio.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/sfml-audio.framework}/Resources/Info.plist +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-audio.framework/Versions/2.5.1/Resources/Info.plist +26 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/Frameworks/sfml-audio.framework/Versions/2.5.1/sfml-audio +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-audio.framework/Versions/Current/Resources/Info.plist +26 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-audio.framework/Versions/Current/sfml-audio +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/sfml-graphics.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/sfml-graphics.framework}/Resources/Info.plist +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-graphics.framework/Versions/2.5.1/Resources/Info.plist +26 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/Frameworks/sfml-graphics.framework/Versions/2.5.1/sfml-graphics +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-graphics.framework/Versions/Current/Resources/Info.plist +26 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-graphics.framework/Versions/Current/sfml-graphics +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/sfml-network.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/sfml-network.framework}/Resources/Info.plist +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-network.framework/Versions/2.5.1/Resources/Info.plist +26 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/Frameworks/sfml-network.framework/Versions/2.5.1/sfml-network +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-network.framework/Versions/Current/Resources/Info.plist +26 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-network.framework/Versions/Current/sfml-network +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/sfml-system.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/sfml-system.framework}/Resources/Info.plist +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-system.framework/Versions/2.5.1/Resources/Info.plist +26 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/Frameworks/sfml-system.framework/Versions/2.5.1/sfml-system +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-system.framework/Versions/Current/Resources/Info.plist +26 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-system.framework/Versions/Current/sfml-system +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/sfml-window.framework/Versions/2.5.1 → sfml/platform/macOS/Frameworks/sfml-window.framework}/Resources/Info.plist +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-window.framework/Versions/2.5.1/Resources/Info.plist +26 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/Frameworks/sfml-window.framework/Versions/2.5.1/sfml-window +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-window.framework/Versions/Current/Resources/Info.plist +26 -0
- package/third_party/sfml/platform/macOS/Frameworks/sfml-window.framework/Versions/Current/sfml-window +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/vorbis.framework/Versions/A → sfml/platform/macOS/Frameworks/vorbis.framework}/Resources/Info.plist +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/vorbis.framework/Versions/A/Resources/Info.plist +22 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/Frameworks/vorbis.framework/Versions/A/vorbis +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/vorbis.framework/Versions/Current/Resources/Info.plist +22 -0
- package/third_party/sfml/platform/macOS/Frameworks/vorbis.framework/Versions/Current/vorbis +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/vorbisenc.framework/Versions/A → sfml/platform/macOS/Frameworks/vorbisenc.framework}/Resources/Info.plist +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/vorbisenc.framework/Versions/A/Resources/Info.plist +22 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/Frameworks/vorbisenc.framework/Versions/A/vorbisenc +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/vorbisenc.framework/Versions/Current/Resources/Info.plist +22 -0
- package/third_party/sfml/platform/macOS/Frameworks/vorbisenc.framework/Versions/Current/vorbisenc +0 -0
- package/third_party/{SFML-2.5.1/macOS/Frameworks/vorbisfile.framework/Versions/A → sfml/platform/macOS/Frameworks/vorbisfile.framework}/Resources/Info.plist +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/vorbisfile.framework/Versions/A/Resources/Info.plist +22 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/Frameworks/vorbisfile.framework/Versions/A/vorbisfile +0 -0
- package/third_party/sfml/platform/macOS/Frameworks/vorbisfile.framework/Versions/Current/Resources/Info.plist +22 -0
- package/third_party/sfml/platform/macOS/Frameworks/vorbisfile.framework/Versions/Current/vorbisfile +0 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/lib/libsfml-audio.2.5.1.dylib +0 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/lib/libsfml-graphics.2.5.1.dylib +0 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/lib/libsfml-network.2.5.1.dylib +0 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/lib/libsfml-system.2.5.1.dylib +0 -0
- package/third_party/{SFML-2.5.1 → sfml/platform}/macOS/lib/libsfml-window.2.5.1.dylib +0 -0
- package/third_party/sfml/platform/win64/bin/openal32.dll +0 -0
- package/third_party/sfml/platform/win64/bin/sfml-audio-2.dll +0 -0
- package/third_party/sfml/platform/win64/bin/sfml-graphics-2.dll +0 -0
- package/third_party/sfml/platform/win64/bin/sfml-network-2.dll +0 -0
- package/third_party/sfml/platform/win64/bin/sfml-system-2.dll +0 -0
- package/third_party/sfml/platform/win64/bin/sfml-window-2.dll +0 -0
- package/third_party/sfml/platform/win64/lib/flac.lib +0 -0
- package/third_party/sfml/platform/win64/lib/freetype.lib +0 -0
- package/third_party/sfml/platform/win64/lib/ogg.lib +0 -0
- package/third_party/sfml/platform/win64/lib/openal32.lib +0 -0
- package/third_party/sfml/platform/win64/lib/sfml-audio.lib +0 -0
- package/third_party/sfml/platform/win64/lib/sfml-graphics.lib +0 -0
- package/third_party/sfml/platform/win64/lib/sfml-main.lib +0 -0
- package/third_party/sfml/platform/win64/lib/sfml-network.lib +0 -0
- package/third_party/sfml/platform/win64/lib/sfml-system.lib +0 -0
- package/third_party/sfml/platform/win64/lib/sfml-window.lib +0 -0
- package/third_party/sfml/platform/win64/lib/vorbis.lib +0 -0
- package/third_party/sfml/platform/win64/lib/vorbisenc.lib +0 -0
- package/third_party/sfml/platform/win64/lib/vorbisfile.lib +0 -0
- package/tools/clang_format.js +9 -0
- package/tools/keycode.js +31 -20
- package/tools/mouse_button.js +53 -36
- package/tools/symlinks.js +122 -0
- package/tsconfig.json +8 -0
- package/lib/drawable/base.d.ts +0 -3
- package/src/drawable/shape-inl.h +0 -231
package/lib/font.js
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const path = require('path');
|
|
4
|
+
const util = require('util');
|
|
5
|
+
|
|
6
|
+
const { Font: _Font } = require('../build/Release/binding.node');
|
|
7
|
+
const { createDeferred, validateTypeOf } = require('./common');
|
|
8
|
+
|
|
9
|
+
const GET_INFO = Symbol('Font::getInfo');
|
|
10
|
+
|
|
11
|
+
class Font extends _Font {
|
|
12
|
+
[util.inspect.custom](depth, opts) {
|
|
13
|
+
return `Font ${util.inspect({
|
|
14
|
+
[GET_INFO]: this.getInfo(),
|
|
15
|
+
...this.toJSON(),
|
|
16
|
+
}, opts)}`;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
toJSON() {
|
|
20
|
+
return {};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
async loadFromFile(filename) {
|
|
24
|
+
const { promise, resolve, reject } = createDeferred();
|
|
25
|
+
validateTypeOf(filename, 'filename', 'string');
|
|
26
|
+
filename = path.resolve(process.cwd(), filename);
|
|
27
|
+
const err = super.loadFromFile(filename, err => {
|
|
28
|
+
if (err) {
|
|
29
|
+
reject(err);
|
|
30
|
+
} else {
|
|
31
|
+
resolve();
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
if (err) {
|
|
36
|
+
process.nextTick(() => { reject(err); });
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
return promise;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
loadFromMemory(buff) {
|
|
43
|
+
validateTypeOf(buff, 'buff', Buffer);
|
|
44
|
+
return super.loadFromMemory(buff);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
loadFromFileSync(filename) {
|
|
48
|
+
validateTypeOf(filename, 'filename', 'string');
|
|
49
|
+
filename = path.resolve(process.cwd(), filename);
|
|
50
|
+
return super.loadFromFileSync(filename);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
getGlyph(codePoint, characterSize, bold, outlineThickness = 0) {
|
|
54
|
+
validateTypeOf(codePoint, 'codePoint', 'number');
|
|
55
|
+
validateTypeOf(characterSize, 'characterSize', 'number');
|
|
56
|
+
validateTypeOf(bold, 'bold', 'boolean');
|
|
57
|
+
validateTypeOf(outlineThickness, 'outlineThickness', 'number');
|
|
58
|
+
|
|
59
|
+
if (codePoint < 0) {
|
|
60
|
+
throw new RangeError('codePoint should not smaller than 0.');
|
|
61
|
+
} else {
|
|
62
|
+
codePoint = parseInt(codePoint);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
if (characterSize < 0) {
|
|
66
|
+
throw new RangeError('characterSize should not smaller than 0.');
|
|
67
|
+
} else {
|
|
68
|
+
characterSize = parseInt(characterSize);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return super.getGlyph(codePoint, characterSize, bold, outlineThickness);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
getKerning(first, second, characterSize) {
|
|
75
|
+
validateTypeOf(first, 'first', 'number');
|
|
76
|
+
validateTypeOf(second, 'second', 'number');
|
|
77
|
+
validateTypeOf(characterSize, 'characterSize', 'boolean');
|
|
78
|
+
|
|
79
|
+
if (first < 0) {
|
|
80
|
+
throw new RangeError('first should not smaller than 0.');
|
|
81
|
+
} else {
|
|
82
|
+
first = parseInt(first);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
if (second < 0) {
|
|
86
|
+
throw new RangeError('second should not smaller than 0.');
|
|
87
|
+
} else {
|
|
88
|
+
second = parseInt(second);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
if (characterSize < 0) {
|
|
92
|
+
throw new RangeError('characterSize should not smaller than 0.');
|
|
93
|
+
} else {
|
|
94
|
+
characterSize = parseInt(characterSize);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
return super.getKerning(first, second, characterSize);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
getLineSpacing(characterSize) {
|
|
101
|
+
validateTypeOf(characterSize, 'characterSize', 'number');
|
|
102
|
+
|
|
103
|
+
if (characterSize < 0) {
|
|
104
|
+
throw new RangeError('characterSize should not smaller than 0.');
|
|
105
|
+
} else {
|
|
106
|
+
characterSize = parseInt(characterSize);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return super.getLineSpacing(characterSize);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
getUnderlinePosition(characterSize) {
|
|
113
|
+
validateTypeOf(characterSize, 'characterSize', 'number');
|
|
114
|
+
|
|
115
|
+
if (characterSize < 0) {
|
|
116
|
+
throw new RangeError('characterSize should not smaller than 0.');
|
|
117
|
+
} else {
|
|
118
|
+
characterSize = parseInt(characterSize);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
return super.getUnderlinePosition(characterSize);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
getUnderlineThickness(characterSize) {
|
|
125
|
+
validateTypeOf(characterSize, 'characterSize', 'number');
|
|
126
|
+
|
|
127
|
+
if (characterSize < 0) {
|
|
128
|
+
throw new RangeError('characterSize should not smaller than 0.');
|
|
129
|
+
} else {
|
|
130
|
+
characterSize = parseInt(characterSize);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return super.getUnderlineThickness(characterSize);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
module.exports = { Font };
|
package/lib/image.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Color } from './color';
|
|
2
|
+
import { IntRect } from './rect';
|
|
3
|
+
import { Vector2F } from './vector2';
|
|
4
|
+
|
|
5
|
+
export class Image {
|
|
6
|
+
constructor();
|
|
7
|
+
|
|
8
|
+
getSize(): Vector2F;
|
|
9
|
+
copy(src: Image, destX: number, destY: number, sourceRect?: IntRect, applyAlpha?: boolean): void;
|
|
10
|
+
create(width: number, height: number, colorOrPixels: Color | number[] | ArrayBuffer | Uint8Array | Buffer | number): void;
|
|
11
|
+
createMaskColor(color: Color | number, alpha?: number): void;
|
|
12
|
+
|
|
13
|
+
loadFromMemory(buff: Buffer): boolean;
|
|
14
|
+
loadFromFile(filename: string): Promise<boolean>;
|
|
15
|
+
loadFromFileSync(filename: string): boolean;
|
|
16
|
+
|
|
17
|
+
saveToFile(filename: string): Promise<void>;
|
|
18
|
+
|
|
19
|
+
setPixel(x: number, y: number, color: Color | number): void;
|
|
20
|
+
getPixel(x: number, y: number): Color;
|
|
21
|
+
|
|
22
|
+
duplicatePixels(): Buffer;
|
|
23
|
+
|
|
24
|
+
flipHorizontally(): void;
|
|
25
|
+
flipVertically(): void;
|
|
26
|
+
}
|
package/lib/image.js
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const fs = require('fs');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
|
|
6
|
+
const { Color } = require('./color');
|
|
7
|
+
const { IntRect } = require('./rect');
|
|
8
|
+
const { Image: _Image } = require('../build/Release/binding.node');
|
|
9
|
+
const { createDeferred, validateTypeOf } = require('./common');
|
|
10
|
+
|
|
11
|
+
class Image extends _Image {
|
|
12
|
+
copy(src, destX, destY, sourceRect, applyAlpha) {
|
|
13
|
+
validateTypeOf(src, 'src', _Image);
|
|
14
|
+
validateTypeOf(destX, 'destX', 'number');
|
|
15
|
+
validateTypeOf(destY, 'destY', 'number');
|
|
16
|
+
validateTypeOf(
|
|
17
|
+
sourceRect,
|
|
18
|
+
'sourceRectOrApplyAlpha',
|
|
19
|
+
[ 'boolean', IntRect ],
|
|
20
|
+
true);
|
|
21
|
+
validateTypeOf(applyAlpha, 'applyAlpha', 'boolean', true);
|
|
22
|
+
|
|
23
|
+
if (sourceRect === undefined && applyAlpha === undefined) {
|
|
24
|
+
return super.copy(src, destX, destY);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
if (applyAlpha === undefined) {
|
|
28
|
+
return super.copy(src, destX, destY, sourceRect);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
super.copy(src, destX, destY, sourceRect, applyAlpha);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
create(width, height, colorOrPixels) {
|
|
35
|
+
validateTypeOf(width, 'width', 'number');
|
|
36
|
+
validateTypeOf(height, 'height', 'number');
|
|
37
|
+
validateTypeOf(colorOrPixels, 'colorOrPixels', [
|
|
38
|
+
Color,
|
|
39
|
+
Buffer,
|
|
40
|
+
Array,
|
|
41
|
+
ArrayBuffer,
|
|
42
|
+
Uint8Array,
|
|
43
|
+
'number',
|
|
44
|
+
]);
|
|
45
|
+
|
|
46
|
+
if (typeof colorOrPixels === 'number') {
|
|
47
|
+
colorOrPixels = new Color(colorOrPixels);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
if (width < 0 || height < 0) {
|
|
51
|
+
throw new RangeError('`width` and `height` should >= 0.');
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
width = parseInt(width);
|
|
55
|
+
height = parseInt(height);
|
|
56
|
+
|
|
57
|
+
super.create(width, height, colorOrPixels);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
createMaskFromColor(color, alpha) {
|
|
61
|
+
if (typeof color === 'number') {
|
|
62
|
+
color = new Color(color);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validateTypeOf(color, 'color', Color);
|
|
66
|
+
validateTypeOf(alpha, 'alpha', 'number', true);
|
|
67
|
+
if (alpha < 0 || alpha > 255) {
|
|
68
|
+
throw new RangeError('`alpha` should between 0 and 255.');
|
|
69
|
+
}
|
|
70
|
+
alpha = parseInt(alpha);
|
|
71
|
+
super.createMaskFromColor(color, alpha);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
setPixel(x, y, color) {
|
|
75
|
+
if (typeof color === 'number') {
|
|
76
|
+
color = new Color(color);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
validateTypeOf(x, 'x', 'number');
|
|
80
|
+
validateTypeOf(y, 'y', 'number');
|
|
81
|
+
|
|
82
|
+
if (x < 0 || y < 0) {
|
|
83
|
+
throw new RangeError('`x` and `y` should >= 0.');
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
x = parseInt(x);
|
|
87
|
+
y = parseInt(y);
|
|
88
|
+
super.setPixel(x, y, color);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
getPixel(x, y) {
|
|
92
|
+
validateTypeOf(x, 'x', 'number');
|
|
93
|
+
validateTypeOf(y, 'y', 'number');
|
|
94
|
+
|
|
95
|
+
if (x < 0 || y < 0) {
|
|
96
|
+
throw new RangeError('`x` and `y` should >= 0.');
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
x = parseInt(x);
|
|
100
|
+
y = parseInt(y);
|
|
101
|
+
|
|
102
|
+
return new Color(super.getPixel(x, y));
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
loadFromMemory(buff) {
|
|
106
|
+
validateTypeOf(buff, 'buff', Buffer);
|
|
107
|
+
return super.loadFromMemory(buff);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// TODO(XadillaX): streamify
|
|
111
|
+
async loadFromFile(filename) {
|
|
112
|
+
filename = path.resolve(process.cwd(), filename);
|
|
113
|
+
const buff = await fs.promises.readFile(filename);
|
|
114
|
+
return super.loadFromMemory(buff);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
loadFromFileSync(filename) {
|
|
118
|
+
filename = path.resolve(process.cwd(), filename);
|
|
119
|
+
const buff = fs.readFileSync(filename);
|
|
120
|
+
return super.loadFromMemory(buff);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
async saveToFile(filename) {
|
|
124
|
+
const { promise, resolve, reject } = createDeferred();
|
|
125
|
+
validateTypeOf(filename, 'filename', 'string');
|
|
126
|
+
filename = path.resolve(process.cwd(), filename);
|
|
127
|
+
const err = super.saveToFile(filename, err => {
|
|
128
|
+
if (err) {
|
|
129
|
+
reject(err);
|
|
130
|
+
} else {
|
|
131
|
+
resolve();
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
if (err) {
|
|
136
|
+
process.nextTick(() => {
|
|
137
|
+
reject(err);
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
return promise;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
Image.setRealConstructor((...args) => new Image(...args));
|
|
146
|
+
|
|
147
|
+
module.exports = { Image };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
export function isKeyPressed(key: number | string): boolean;
|
|
2
|
+
export function setVirtualKeyboardVisible(visible: boolean): void;
|
|
3
|
+
export enum Keys {
|
|
4
|
+
A = 0,
|
|
5
|
+
Add = 67,
|
|
6
|
+
B = 1,
|
|
7
|
+
Backslash = 53,
|
|
8
|
+
Backspace = 59,
|
|
9
|
+
C = 2,
|
|
10
|
+
Comma = 49,
|
|
11
|
+
D = 3,
|
|
12
|
+
Delete = 66,
|
|
13
|
+
Divide = 70,
|
|
14
|
+
Down = 74,
|
|
15
|
+
E = 4,
|
|
16
|
+
End = 63,
|
|
17
|
+
Enter = 58,
|
|
18
|
+
Equal = 55,
|
|
19
|
+
Escape = 36,
|
|
20
|
+
F = 5,
|
|
21
|
+
F1 = 85,
|
|
22
|
+
F10 = 94,
|
|
23
|
+
F11 = 95,
|
|
24
|
+
F12 = 96,
|
|
25
|
+
F13 = 97,
|
|
26
|
+
F14 = 98,
|
|
27
|
+
F15 = 99,
|
|
28
|
+
F2 = 86,
|
|
29
|
+
F3 = 87,
|
|
30
|
+
F4 = 88,
|
|
31
|
+
F5 = 89,
|
|
32
|
+
F6 = 90,
|
|
33
|
+
F7 = 91,
|
|
34
|
+
F8 = 92,
|
|
35
|
+
F9 = 93,
|
|
36
|
+
G = 6,
|
|
37
|
+
H = 7,
|
|
38
|
+
Home = 64,
|
|
39
|
+
Hyphen = 56,
|
|
40
|
+
I = 8,
|
|
41
|
+
Insert = 65,
|
|
42
|
+
J = 9,
|
|
43
|
+
K = 10,
|
|
44
|
+
L = 11,
|
|
45
|
+
LAlt = 39,
|
|
46
|
+
LBracket = 46,
|
|
47
|
+
LControl = 37,
|
|
48
|
+
LShift = 38,
|
|
49
|
+
LSystem = 40,
|
|
50
|
+
Left = 71,
|
|
51
|
+
M = 12,
|
|
52
|
+
Menu = 45,
|
|
53
|
+
Multiply = 69,
|
|
54
|
+
N = 13,
|
|
55
|
+
Num0 = 26,
|
|
56
|
+
Num1 = 27,
|
|
57
|
+
Num2 = 28,
|
|
58
|
+
Num3 = 29,
|
|
59
|
+
Num4 = 30,
|
|
60
|
+
Num5 = 31,
|
|
61
|
+
Num6 = 32,
|
|
62
|
+
Num7 = 33,
|
|
63
|
+
Num8 = 34,
|
|
64
|
+
Num9 = 35,
|
|
65
|
+
Numpad0 = 75,
|
|
66
|
+
Numpad1 = 76,
|
|
67
|
+
Numpad2 = 77,
|
|
68
|
+
Numpad3 = 78,
|
|
69
|
+
Numpad4 = 79,
|
|
70
|
+
Numpad5 = 80,
|
|
71
|
+
Numpad6 = 81,
|
|
72
|
+
Numpad7 = 82,
|
|
73
|
+
Numpad8 = 83,
|
|
74
|
+
Numpad9 = 84,
|
|
75
|
+
O = 14,
|
|
76
|
+
P = 15,
|
|
77
|
+
PageDown = 62,
|
|
78
|
+
PageUp = 61,
|
|
79
|
+
Pause = 100,
|
|
80
|
+
Period = 50,
|
|
81
|
+
Q = 16,
|
|
82
|
+
Quote = 51,
|
|
83
|
+
R = 17,
|
|
84
|
+
RAlt = 43,
|
|
85
|
+
RBracket = 47,
|
|
86
|
+
RControl = 41,
|
|
87
|
+
RShift = 42,
|
|
88
|
+
RSystem = 44,
|
|
89
|
+
Right = 72,
|
|
90
|
+
S = 18,
|
|
91
|
+
Semicolon = 48,
|
|
92
|
+
Slash = 52,
|
|
93
|
+
Space = 57,
|
|
94
|
+
Subtract = 68,
|
|
95
|
+
T = 19,
|
|
96
|
+
Tab = 60,
|
|
97
|
+
Tilde = 54,
|
|
98
|
+
U = 20,
|
|
99
|
+
Unknown = -1,
|
|
100
|
+
Up = 73,
|
|
101
|
+
V = 21,
|
|
102
|
+
W = 22,
|
|
103
|
+
X = 23,
|
|
104
|
+
Y = 24,
|
|
105
|
+
Z = 25,
|
|
106
|
+
}
|
package/lib/keyboard.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const {
|
|
4
|
+
isKeyPressed: _isKeyPressed,
|
|
5
|
+
setVirtualKeyboardVisible: _setVirtualKeyboardVisible,
|
|
6
|
+
Keys,
|
|
7
|
+
} = require('../build/Release/binding.node');
|
|
8
|
+
|
|
9
|
+
exports.setVirtualKeyboardVisible = function setVirtualKeyboardVisible(
|
|
10
|
+
visible
|
|
11
|
+
) {
|
|
12
|
+
_setVirtualKeyboardVisible(!!visible);
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
exports.isKeyPressed = _isKeyPressed;
|
|
16
|
+
|
|
17
|
+
exports.Keys = Keys;
|
package/lib/mouse.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PointType, Vector2I } from './vector2';
|
|
2
|
+
import * as RenderWindow from './render_window';
|
|
3
|
+
|
|
4
|
+
export function isButtonPressed(button: number | string): boolean;
|
|
5
|
+
export function getPosition(window?: RenderWindow): Vector2I;
|
|
6
|
+
export function setPosition(pos: PointType<Vector2I>, window?: RenderWindow): void;
|
package/lib/mouse.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const {
|
|
4
|
+
getPosition: _getPosition,
|
|
5
|
+
isButtonPressed: _isButtonPressed,
|
|
6
|
+
setPosition: _setPosition,
|
|
7
|
+
} = require('../build/Release/binding.node');
|
|
8
|
+
const { RenderWindow } = require('./render_window');
|
|
9
|
+
const { Vector2I } = require('./vector2');
|
|
10
|
+
|
|
11
|
+
exports.isButtonPressed = _isButtonPressed;
|
|
12
|
+
|
|
13
|
+
exports.getPosition = function getPosition(window) {
|
|
14
|
+
if (!arguments.length) {
|
|
15
|
+
return _getPosition();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
if (!(window instanceof RenderWindow)) {
|
|
19
|
+
throw new TypeError('Parameter is not a RenderWindow instance.');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
return _getPosition(window[RenderWindow.RAW_RENDER_WINDOW]);
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
exports.setPosition = function setPosition(pos, window) {
|
|
26
|
+
if (!(pos instanceof Vector2I)) {
|
|
27
|
+
pos = new Vector2I(pos?.x, pos?.y);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
if (arguments.length <= 1) {
|
|
31
|
+
return _setPosition(pos);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (!(window instanceof RenderWindow)) {
|
|
35
|
+
throw new TypeError('`window` is not a RenderWindow instance.');
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
_setPosition(pos, window[RenderWindow.RAW_RENDER_WINDOW]);
|
|
39
|
+
};
|
package/lib/poll_event.d.ts
CHANGED
|
@@ -70,7 +70,5 @@ interface MouseWheelScrollEvent {
|
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
type Event = OtherEvent | SizeEvent | KeyEvent | TextEvent | MouseMoveEvent | MouseButtonEvent |
|
|
74
|
-
MouseWheelScrollEvent;
|
|
75
|
-
|
|
76
|
-
export = Event;
|
|
73
|
+
export type Event = OtherEvent | SizeEvent | KeyEvent | TextEvent | MouseMoveEvent | MouseButtonEvent |
|
|
74
|
+
MouseWheelEvent | MouseWheelScrollEvent;
|
package/lib/rect.d.ts
CHANGED
package/lib/rect.js
CHANGED
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
const util = require('util');
|
|
4
4
|
|
|
5
|
-
const {
|
|
5
|
+
const {
|
|
6
|
+
FloatRect: _FloatRect,
|
|
7
|
+
IntRect: _IntRect,
|
|
8
|
+
} = require('../build/Release/binding.node');
|
|
6
9
|
const { validateTypeOf } = require('./common');
|
|
7
|
-
const {
|
|
10
|
+
const { Vector2F, Vector2I } = require('./vector2');
|
|
8
11
|
|
|
9
12
|
function createClass(name, BaseClz, Vector) {
|
|
10
13
|
return class Rect extends BaseClz {
|
|
@@ -15,7 +18,12 @@ function createClass(name, BaseClz, Vector) {
|
|
|
15
18
|
}
|
|
16
19
|
|
|
17
20
|
toJSON() {
|
|
18
|
-
return {
|
|
21
|
+
return {
|
|
22
|
+
left: this.left,
|
|
23
|
+
top: this.top,
|
|
24
|
+
width: this.width,
|
|
25
|
+
height: this.height,
|
|
26
|
+
};
|
|
19
27
|
}
|
|
20
28
|
|
|
21
29
|
constructor(leftOrPosition, topOrSize, width, height) {
|
|
@@ -42,25 +50,37 @@ function createClass(name, BaseClz, Vector) {
|
|
|
42
50
|
}
|
|
43
51
|
}
|
|
44
52
|
|
|
45
|
-
get top() {
|
|
53
|
+
get top() {
|
|
54
|
+
return super.top;
|
|
55
|
+
}
|
|
56
|
+
|
|
46
57
|
set top(val) {
|
|
47
58
|
validateTypeOf(val, 'top', 'number');
|
|
48
59
|
super.top = val;
|
|
49
60
|
}
|
|
50
61
|
|
|
51
|
-
get left() {
|
|
62
|
+
get left() {
|
|
63
|
+
return super.left;
|
|
64
|
+
}
|
|
65
|
+
|
|
52
66
|
set left(val) {
|
|
53
67
|
validateTypeOf(val, 'left', 'number');
|
|
54
68
|
super.left = val;
|
|
55
69
|
}
|
|
56
70
|
|
|
57
|
-
get width() {
|
|
71
|
+
get width() {
|
|
72
|
+
return super.width;
|
|
73
|
+
}
|
|
74
|
+
|
|
58
75
|
set width(val) {
|
|
59
76
|
validateTypeOf(val, 'width', 'number');
|
|
60
77
|
super.width = val;
|
|
61
78
|
}
|
|
62
79
|
|
|
63
|
-
get height() {
|
|
80
|
+
get height() {
|
|
81
|
+
return super.height;
|
|
82
|
+
}
|
|
83
|
+
|
|
64
84
|
set height(val) {
|
|
65
85
|
validateTypeOf(val, 'height', 'number');
|
|
66
86
|
super.height = val;
|
|
@@ -91,9 +111,9 @@ function createClass(name, BaseClz, Vector) {
|
|
|
91
111
|
}
|
|
92
112
|
|
|
93
113
|
const IntRect = createClass('IntRect', _IntRect, Vector2I);
|
|
94
|
-
_IntRect.setRealConstructor(IntRect);
|
|
114
|
+
_IntRect.setRealConstructor((...args) => new IntRect(...args));
|
|
95
115
|
|
|
96
116
|
const FloatRect = createClass('FloatRect', _FloatRect, Vector2F);
|
|
97
|
-
_FloatRect.setRealConstructor(FloatRect);
|
|
117
|
+
_FloatRect.setRealConstructor((...args) => new FloatRect(...args));
|
|
98
118
|
|
|
99
119
|
module.exports = { FloatRect, IntRect };
|
package/lib/render_window.d.ts
CHANGED
|
@@ -1,28 +1,41 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { Color } from './color';
|
|
2
|
+
import { Drawable } from './drawable/drawable';
|
|
3
|
+
import { Event } from './poll_event';
|
|
4
|
+
import { Image } from './image';
|
|
5
|
+
import { VideoMode } from './video_mode';
|
|
6
|
+
import { Vector2U } from './vector2';
|
|
4
7
|
|
|
5
|
-
|
|
8
|
+
export class RenderWindow {
|
|
6
9
|
constructor(videoMode?: VideoMode, title?: string, style?: RenderWindow.Style);
|
|
7
10
|
|
|
8
|
-
|
|
11
|
+
capture(): Image;
|
|
12
|
+
clear(color: number | Color): void;
|
|
9
13
|
close(): void;
|
|
10
14
|
draw(content: Drawable): void;
|
|
11
15
|
display(): void;
|
|
12
16
|
isOpen(): boolean;
|
|
13
17
|
|
|
14
18
|
pollEvent(): Event;
|
|
15
|
-
}
|
|
16
19
|
|
|
17
|
-
|
|
20
|
+
setVisible(visible: boolean): void;
|
|
21
|
+
setVerticalSyncEnabled(enabled: boolean): void;
|
|
22
|
+
setMouseCursorVisible(visible: boolean): void;
|
|
23
|
+
setMouseCursorGrabbed(grabbed: boolean): void;
|
|
24
|
+
setKeyRepeatEnabled(enabled: boolean): void;
|
|
25
|
+
setFramerateLimit(limit: number): void;
|
|
26
|
+
setActive(active?: boolean): void;
|
|
27
|
+
|
|
28
|
+
getSize(): Vector2U;
|
|
29
|
+
|
|
30
|
+
hasFocus(): boolean;
|
|
31
|
+
}
|
|
32
|
+
export namespace RenderWindow {
|
|
18
33
|
enum Style {
|
|
19
34
|
None = 0,
|
|
20
|
-
Titlebar = 1,
|
|
21
|
-
Resize =
|
|
22
|
-
Close =
|
|
23
|
-
Fullscreen =
|
|
24
|
-
Default =
|
|
35
|
+
Titlebar = 1 << 0,
|
|
36
|
+
Resize = 1 << 1,
|
|
37
|
+
Close = 1 << 2,
|
|
38
|
+
Fullscreen = 1 << 3,
|
|
39
|
+
Default = Titlebar | Resize | Close,
|
|
25
40
|
}
|
|
26
41
|
}
|
|
27
|
-
|
|
28
|
-
export = RenderWindow;
|