Skip to content

Commit 689ed33

Browse files
committed
Check-in rsp changes, add namespace for windowing, add SDL_main bindings
1 parent 67619a3 commit 689ed33

35 files changed

+110
-4
lines changed

.silktouch/c8c046b328b09d23.stout

0 Bytes
Binary file not shown.

.silktouch/f244179f618073d9.stout

-1 Bytes
Binary file not shown.

eng/silktouch/sdl/SDL3/generate.rsp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Silk.NET.SDL
3232
../../../submodules/sdl/include/SDL3/SDL_events.h
3333
../../../submodules/sdl/include/SDL3/SDL_filesystem.h
3434
../../../submodules/sdl/include/SDL3/SDL_gamepad.h
35+
../../../submodules/sdl/include/SDL3/SDL_gpu.h
3536
../../../submodules/sdl/include/SDL3/SDL_guid.h
3637
../../../submodules/sdl/include/SDL3/SDL_haptic.h
3738
../../../submodules/sdl/include/SDL3/SDL_hidapi.h
@@ -54,6 +55,7 @@ Silk.NET.SDL
5455
../../../submodules/sdl/include/SDL3/SDL_pixels.h
5556
../../../submodules/sdl/include/SDL3/SDL_platform.h
5657
../../../submodules/sdl/include/SDL3/SDL_power.h
58+
../../../submodules/sdl/include/SDL3/SDL_process.h
5759
../../../submodules/sdl/include/SDL3/SDL_properties.h
5860
../../../submodules/sdl/include/SDL3/SDL_rect.h
5961
../../../submodules/sdl/include/SDL3/SDL_render.h
@@ -68,3 +70,4 @@ Silk.NET.SDL
6870
../../../submodules/sdl/include/SDL3/SDL_touch.h
6971
../../../submodules/sdl/include/SDL3/SDL_version.h
7072
../../../submodules/sdl/include/SDL3/SDL_video.h
73+
../../../submodules/sdl/include/SDL3/SDL_vulkan.h

eng/silktouch/sdl/SDL3/sdl-SDL.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#define SDL_MAIN_USE_CALLBACKS
12
#include <SDL3/SDL.h>

sources/SDL/SDL/SDL3/Sdl.gen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50898,7 +50898,7 @@ public static byte WriteU8Raw(IOStreamHandle dst, [NativeTypeName("Uint8")] byte
5089850898
"/Users/dylan/Documents/Silk.NET3/eng/silktouch/sdl/SDL3/sdl-SDL.h"u8;
5089950899

5090050900
[NativeTypeName("#define SDL_LINE __LINE__")]
50901-
public const int Line = 7;
50901+
public const int Line = 8;
5090250902

5090350903
[NativeTypeName("#define SDL_NULL_WHILE_LOOP_CONDITION (0)")]
5090450904
public const int NullWhileLoopCondition = (0);

sources/Windowing/Windowing/DisplayAvailabilityChangeEvent.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
namespace Silk.NET.Windowing;
2+
13
/// <summary>
24
/// Contains properties pertaining to a display being connected or disconnected.
35
/// </summary>

sources/Windowing/Windowing/DisplayChangeEvent.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
namespace Silk.NET.Windowing;
2+
13
/// <summary>
24
/// Contains properties pertaining to a surface changing to a different display.
35
/// </summary>

sources/Windowing/Windowing/DisplayCoordinatesEvent.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
namespace Silk.NET.Windowing;
2+
13
using Silk.NET.Maths;
24

35
/// <summary>

sources/Windowing/Windowing/DisplayVideoModeAvailabilityChangeEvent.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
namespace Silk.NET.Windowing;
2+
13
/// <summary>
24
/// Contains properties pertaining to a change in the available video modes for a display.
35
/// </summary>

sources/Windowing/Windowing/IDisplay.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
namespace Silk.NET.Windowing;
2+
13
using Silk.NET.Maths;
24

35
/// <summary>

0 commit comments

Comments
 (0)