2023-09-22 19:26:14 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<ItemGroup>
|
|
|
|
<Filter Include="Header Files">
|
|
|
|
<UniqueIdentifier>{fa0ff2df-c3d6-498a-96f1-1f88e7ce0da3}</UniqueIdentifier>
|
|
|
|
</Filter>
|
|
|
|
<Filter Include="Source Files">
|
|
|
|
<UniqueIdentifier>{68e1b30b-19ed-4612-93e4-6260c5a979e5}</UniqueIdentifier>
|
|
|
|
</Filter>
|
main: Added _optional_ callback entry points.
This lets apps optionally have a handful of callbacks for their entry points instead of a single main function. If used, the actual main/SDL_main/whatever entry point will be implemented in the single-header library SDL_main.h and the app will implement four separate functions:
First:
int SDL_AppInit(int argc, char **argv);
This will be called once before anything else. argc/argv work like they always do. If this returns 0, the app runs. If it returns < 0, the app calls SDL_AppQuit and terminates with an exit code that reports an error to the platform. If it returns > 0, the app calls SDL_AppQuit and terminates with an exit code that reports success to the platform. This function should not go into an infinite mainloop; it should do any one-time startup it requires and then return.
Then:
int SDL_AppIterate(void);
This is called over and over, possibly at the refresh rate of the display or some other metric that the platform dictates. This is where the heart of your app runs. It should return as quickly as reasonably possible, but it's not a "run one memcpy and that's all the time you have" sort of thing. The app should do any game updates, and render a frame of video. If it returns < 0, SDL will call SDL_AppQuit and terminate the process with an exit code that reports an error to the platform. If it returns > 0, the app calls SDL_AppQuit and terminates with an exit code that reports success to the platform. If it returns 0, then SDL_AppIterate will be called again at some regular frequency. The platform may choose to run this more or less (perhaps less in the background, etc), or it might just call this function in a loop as fast as possible. You do not check the event queue in this function (SDL_AppEvent exists for that).
Next:
int SDL_AppEvent(const SDL_Event *event);
This will be called once for each event pushed into the SDL queue. This may be called from any thread, and possibly in parallel to SDL_AppIterate. The fields in event do not need to be free'd (as you would normally need to do for SDL_EVENT_DROP_FILE, etc), and your app should not call SDL_PollEvent, SDL_PumpEvent, etc, as SDL will manage this for you. Return values are the same as from SDL_AppIterate(), so you can terminate in response to SDL_EVENT_QUIT, etc.
Finally:
void SDL_AppQuit(void);
This is called once before terminating the app--assuming the app isn't being forcibly killed or crashed--as a last chance to clean up. After this returns, SDL will call SDL_Quit so the app doesn't have to (but it's safe for the app to call it, too). Process termination proceeds as if the app returned normally from main(), so atexit handles will run, if your platform supports that.
The app does not implement SDL_main if using this. To turn this on, define SDL_MAIN_USE_CALLBACKS before including SDL_main.h. Defines like SDL_MAIN_HANDLED and SDL_MAIN_NOIMPL are also respected for callbacks, if the app wants to do some sort of magic main implementation thing.
In theory, on most platforms these can be implemented in the app itself, but this saves some #ifdefs in the app and lets everyone struggle less against some platforms, and might be more efficient in the long run, too.
On some platforms, it's possible this is the only reasonable way to go, but we haven't actually hit one that 100% requires it yet (but we will, if we want to write a RetroArch backend, for example).
Using the callback entry points works on every platform, because on platforms that don't require them, we can fake them with a simple loop in an internal implementation of the usual SDL_main.
The primary way we expect people to write SDL apps is with SDL_main, and this is not intended to replace it. If the app chooses to use this, it just removes some platform-specific details they might have to otherwise manage, and maybe removes a barrier to entry on some future platform.
Fixes #6785.
Reference PR #8247.
2023-11-02 01:40:41 +03:00
|
|
|
<Filter Include="main">
|
|
|
|
<UniqueIdentifier>{00004a2523fc69c7128c60648c860000}</UniqueIdentifier>
|
|
|
|
</Filter>
|
|
|
|
<Filter Include="main\generic">
|
|
|
|
<UniqueIdentifier>{0000318d975e0a2867ab1d5727bf0000}</UniqueIdentifier>
|
|
|
|
</Filter>
|
2023-12-17 05:36:04 +03:00
|
|
|
<Filter Include="camera">
|
|
|
|
<UniqueIdentifier>{00009e5236c2ac679fe0bc30beb90000}</UniqueIdentifier>
|
|
|
|
</Filter>
|
|
|
|
<Filter Include="camera\dummy">
|
|
|
|
<UniqueIdentifier>{000031d805439b865ff4550d2f620000}</UniqueIdentifier>
|
|
|
|
</Filter>
|
2024-03-16 18:15:13 +03:00
|
|
|
<Filter Include="filesystem">
|
|
|
|
<UniqueIdentifier>{00004389761f0ae646deb5a3d65f0000}</UniqueIdentifier>
|
|
|
|
</Filter>
|
|
|
|
<Filter Include="filesystem\windows">
|
|
|
|
<UniqueIdentifier>{0000bc587ef6c558d75ce2e620cb0000}</UniqueIdentifier>
|
|
|
|
</Filter>
|
Add time and realtime clock functions
Adds functions to query the system's realtime clock, convert time intervals to/from a calendar date and time in either UTC or the local time, and perform time related calculations.
An SDL_Time type (a time interval represented in nanoseconds), and SDL_DateTime struct (broken down calendar date and time) were added to facilitate this functionality.
Querying the system time results in a value expressed in nanoseconds since the Unix epoch (Jan 1, 1970) in UTC +0000. Conversions to and from the various platform epochs and units are performed when required.
Any direct handling of timezones and DST were intentionally avoided. The offset from UTC is provided when converting from UTC to a local time by calculating the difference between the original UTC and the resulting local time, but no other timezone or DST information is used.
The preferred date formatting and 12/24 hour time for the system locale can be retrieved via global preferences.
Helper functions for obtaining the day of week or day or year for calendar date, and getting the number of days in a month in a given year are provided for convenience. These are simple, but useful for performing various time related calculations.
An automated test for time conversion is included, as is a simple standalone test to display the current system date and time onscreen along with a calendar, the rendering of which demonstrates the use of the utility functions (press up/down to increment or decrement the current month, and keys 1-5 to change the date and time formats).
2024-02-29 21:06:26 +03:00
|
|
|
<Filter Include="time">
|
|
|
|
<UniqueIdentifier>{0000948771d0040a6a55997a7f1e0000}</UniqueIdentifier>
|
|
|
|
</Filter>
|
|
|
|
<Filter Include="time\windows">
|
|
|
|
<UniqueIdentifier>{0000012051ca8361c8e1013aee1d0000}</UniqueIdentifier>
|
|
|
|
</Filter>
|
2024-04-02 23:03:58 +03:00
|
|
|
<Filter Include="dialog">
|
|
|
|
<UniqueIdentifier>{0000c99bfadbbcb05a474a8472910000}</UniqueIdentifier>
|
|
|
|
</Filter>
|
2024-07-05 03:32:19 +03:00
|
|
|
<Filter Include="main\winrt">
|
|
|
|
<UniqueIdentifier>{00006680a11742e2b280c6453be80000}</UniqueIdentifier>
|
|
|
|
</Filter>
|
2023-09-22 19:26:14 +03:00
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_begin_code.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
2023-12-17 05:36:04 +03:00
|
|
|
<ClInclude Include="..\include\SDL3\SDL_camera.h">
|
|
|
|
<Filter>API Headers</Filter>
|
|
|
|
</ClInclude>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClInclude Include="..\include\SDL3\SDL_close_code.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_assert.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_atomic.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_audio.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_blendmode.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_clipboard.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_copying.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_cpuinfo.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_egl.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_endian.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_error.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_events.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_filesystem.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_guid.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_haptic.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_hints.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_hidapi.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_input.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_joystick.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_keyboard.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_keycode.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_loadso.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_locale.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_log.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_main.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_mouse.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_mutex.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_opengles2.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
API for pressure-sensitive pens + XInput2/Wayland
This patch adds an API for querying pressure-
sensitive pens, cf. SDL_pen.h:
- Enumerate all pens
- Get pen capabilities, names, GUIDs
- Distinguishes pens and erasers
- Distinguish attached and detached pens
- Pressure and tilt support
- Rotation, distance, throttle wheel support
(throttle wheel untested)
- Pen type and meta-information reporting
(partially tested)
Pen event reporting:
- Three new event structures: PenTip, PenMotion, and
PenButton
- Report location with sub-pixel precision
- Include axis and button status, is-eraser flag
Internal pen tracker, intended to be independent
of platform APIs, cf. SDL_pen_c.h:
- Track known pens
- Handle pen hotplugging
Automatic test:
- testautomation_pen.c
Other features:
- XInput2 implementation, incl. hotplugging
- Wayland implementation, incl. hotplugging
- Backward compatibility: pen events default to
emulating pens with mouse ID SDL_PEN_MOUSEID
- Can be toggled via SDL_HINT_PEN_NOT_MOUSE
- Test/demo program (testpen)
- Wacom pen feature identification by pen ID
Acknowledgements:
- Ping Cheng (Wacom) provided extensive feedback
on Wacom pen features and detection so that
hopefully untested Wacom devices have a
realistic chance of working out of the box.
2023-08-27 09:20:29 +03:00
|
|
|
<ClInclude Include="..\include\SDL3\SDL_pen.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClInclude Include="..\include\SDL3\SDL_pixels.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_platform.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_platform_defines.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_power.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_rect.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_render.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_revision.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
2024-03-15 06:30:59 +03:00
|
|
|
<ClInclude Include="..\include\SDL3\SDL_iostream.h">
|
2023-09-22 19:26:14 +03:00
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_scancode.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_stdinc.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_surface.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_system.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_thread.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_timer.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_touch.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_types.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_version.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_video.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
2023-12-17 05:36:04 +03:00
|
|
|
<ClInclude Include="..\src\camera\SDL_camera_c.h">
|
|
|
|
<Filter>camera</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\camera\SDL_syscamera.h">
|
|
|
|
<Filter>camera</Filter>
|
2023-11-09 13:11:07 +03:00
|
|
|
</ClInclude>
|
2024-03-25 20:02:05 +03:00
|
|
|
<ClInclude Include="..\src\filesystem\SDL_sysfilesystem.h">
|
2024-03-16 18:15:13 +03:00
|
|
|
<Filter>filesystem</Filter>
|
|
|
|
</ClInclude>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClInclude Include="..\src\joystick\SDL_gamepad_c.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\joystick\SDL_gamepad_db.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\audio\disk\SDL_diskaudio.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\audio\dummy\SDL_dummyaudio.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\audio\SDL_audiodev_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2023-10-24 03:04:14 +03:00
|
|
|
<ClInclude Include="..\src\audio\SDL_audio_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClInclude Include="..\src\audio\SDL_sysaudio.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\audio\SDL_audioqueue.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\audio\SDL_audioresample.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\audio\SDL_wave.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\core\windows\SDL_directx.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\core\windows\SDL_windows.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\core\windows\SDL_xinput.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\core\winrt\SDL_winrtapp_common.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\core\winrt\SDL_winrtapp_direct3d.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\core\winrt\SDL_winrtapp_xaml.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2024-02-24 15:46:06 +03:00
|
|
|
<ClInclude Include="..\src\cpuinfo\SDL_cpuinfo_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClInclude Include="..\src\dynapi\SDL_dynapi.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\dynapi\SDL_dynapi_overrides.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\dynapi\SDL_dynapi_procs.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\events\blank_cursor.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\events\default_cursor.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\events\SDL_clipboardevents_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\events\SDL_dropevents_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\events\SDL_events_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\events\SDL_keyboard_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2024-06-20 01:00:12 +03:00
|
|
|
<ClInclude Include="..\src\events\SDL_keymap_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClInclude Include="..\src\events\SDL_mouse_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\events\SDL_touch_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\events\SDL_windowevents_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\haptic\SDL_haptic_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\haptic\SDL_syshaptic.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\joystick\SDL_joystick_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2023-12-10 10:05:34 +03:00
|
|
|
<ClInclude Include="..\src\joystick\SDL_steam_virtual_gamepad.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClInclude Include="..\src\joystick\SDL_sysjoystick.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\joystick\virtual\SDL_virtualjoystick_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\joystick\windows\SDL_dinputjoystick_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\joystick\windows\SDL_windowsjoystick_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\joystick\windows\SDL_xinputjoystick_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
main: Added _optional_ callback entry points.
This lets apps optionally have a handful of callbacks for their entry points instead of a single main function. If used, the actual main/SDL_main/whatever entry point will be implemented in the single-header library SDL_main.h and the app will implement four separate functions:
First:
int SDL_AppInit(int argc, char **argv);
This will be called once before anything else. argc/argv work like they always do. If this returns 0, the app runs. If it returns < 0, the app calls SDL_AppQuit and terminates with an exit code that reports an error to the platform. If it returns > 0, the app calls SDL_AppQuit and terminates with an exit code that reports success to the platform. This function should not go into an infinite mainloop; it should do any one-time startup it requires and then return.
Then:
int SDL_AppIterate(void);
This is called over and over, possibly at the refresh rate of the display or some other metric that the platform dictates. This is where the heart of your app runs. It should return as quickly as reasonably possible, but it's not a "run one memcpy and that's all the time you have" sort of thing. The app should do any game updates, and render a frame of video. If it returns < 0, SDL will call SDL_AppQuit and terminate the process with an exit code that reports an error to the platform. If it returns > 0, the app calls SDL_AppQuit and terminates with an exit code that reports success to the platform. If it returns 0, then SDL_AppIterate will be called again at some regular frequency. The platform may choose to run this more or less (perhaps less in the background, etc), or it might just call this function in a loop as fast as possible. You do not check the event queue in this function (SDL_AppEvent exists for that).
Next:
int SDL_AppEvent(const SDL_Event *event);
This will be called once for each event pushed into the SDL queue. This may be called from any thread, and possibly in parallel to SDL_AppIterate. The fields in event do not need to be free'd (as you would normally need to do for SDL_EVENT_DROP_FILE, etc), and your app should not call SDL_PollEvent, SDL_PumpEvent, etc, as SDL will manage this for you. Return values are the same as from SDL_AppIterate(), so you can terminate in response to SDL_EVENT_QUIT, etc.
Finally:
void SDL_AppQuit(void);
This is called once before terminating the app--assuming the app isn't being forcibly killed or crashed--as a last chance to clean up. After this returns, SDL will call SDL_Quit so the app doesn't have to (but it's safe for the app to call it, too). Process termination proceeds as if the app returned normally from main(), so atexit handles will run, if your platform supports that.
The app does not implement SDL_main if using this. To turn this on, define SDL_MAIN_USE_CALLBACKS before including SDL_main.h. Defines like SDL_MAIN_HANDLED and SDL_MAIN_NOIMPL are also respected for callbacks, if the app wants to do some sort of magic main implementation thing.
In theory, on most platforms these can be implemented in the app itself, but this saves some #ifdefs in the app and lets everyone struggle less against some platforms, and might be more efficient in the long run, too.
On some platforms, it's possible this is the only reasonable way to go, but we haven't actually hit one that 100% requires it yet (but we will, if we want to write a RetroArch backend, for example).
Using the callback entry points works on every platform, because on platforms that don't require them, we can fake them with a simple loop in an internal implementation of the usual SDL_main.
The primary way we expect people to write SDL apps is with SDL_main, and this is not intended to replace it. If the app chooses to use this, it just removes some platform-specific details they might have to otherwise manage, and maybe removes a barrier to entry on some future platform.
Fixes #6785.
Reference PR #8247.
2023-11-02 01:40:41 +03:00
|
|
|
<ClInclude Include="..\src\main\SDL_main_callbacks.h">
|
|
|
|
<Filter>main</Filter>
|
|
|
|
</ClInclude>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClInclude Include="..\src\render\direct3d11\SDL_render_winrt.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\opengles2\SDL_gles2funcs.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\opengles2\SDL_shaders_gles2.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\SDL_d3dmath.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\SDL_sysrender.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\SDL_yuv_sw_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\software\SDL_blendfillrect.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\software\SDL_blendline.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\software\SDL_blendpoint.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\software\SDL_draw.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\software\SDL_drawline.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\software\SDL_drawpoint.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\software\SDL_render_sw_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\software\SDL_rotate.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\software\SDL_triangle.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\SDL_assert_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\SDL_error_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\SDL_fatal.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2023-10-10 22:38:22 +03:00
|
|
|
<ClInclude Include="..\src\SDL_hashtable.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClInclude Include="..\src\SDL_hints_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\SDL_internal.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\SDL_log_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2023-10-10 22:38:22 +03:00
|
|
|
<ClInclude Include="..\src\SDL_properties_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClInclude Include="..\src\locale\SDL_syslocale.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\thread\SDL_systhread.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\thread\SDL_thread_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\thread\stdcpp\SDL_sysmutex_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\thread\stdcpp\SDL_systhread_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\timer\SDL_timer_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\dummy\SDL_nullevents_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\dummy\SDL_nullframebuffer_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\dummy\SDL_nullvideo.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\SDL_blit.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\SDL_blit_auto.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\SDL_blit_copy.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\SDL_blit_slow.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\SDL_egl_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\SDL_pixels_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\SDL_rect_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\SDL_RLEaccel_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2024-07-09 00:59:18 +03:00
|
|
|
<ClInclude Include="..\src\video\SDL_surface_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClInclude Include="..\src\video\SDL_sysvideo.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2023-11-09 13:11:07 +03:00
|
|
|
<ClInclude Include="..\src\video\SDL_sysvideocapture.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClInclude Include="..\src\video\winrt\SDL_winrtevents_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\winrt\SDL_winrtmessagebox.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\winrt\SDL_winrtmouse_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\winrt\SDL_winrtopengles.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\winrt\SDL_winrtvideo_cpp.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\audio\wasapi\SDL_wasapi.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\winrt\SDL_winrtgamebar_cpp.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\SDL_list.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\haptic\windows\SDL_dinputhaptic_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\haptic\windows\SDL_windowshaptic_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\SDL_yuv_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\video\yuv2rgb\yuv_rgb.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\render\direct3d11\SDL_shaders_d3d11.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_sensor.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\sensor\SDL_sensor_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\sensor\SDL_syssensor.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\sensor\dummy\SDL_dummysensor.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\src\events\SDL_displayevents_c.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_misc.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClCompile Include="..\src\atomic\SDL_atomic.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\atomic\SDL_spinlock.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\audio\disk\SDL_diskaudio.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\audio\dummy\SDL_dummyaudio.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\audio\SDL_audio.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\audio\SDL_audiocvt.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\audio\SDL_audiodev.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\audio\SDL_audiotypecvt.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\audio\SDL_audioqueue.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\audio\SDL_audioresample.c">
|
|
|
|
<Filter>Source Files</Filter>
|
2023-10-11 01:58:53 +03:00
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\audio\SDL_mixer.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\audio\SDL_wave.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\audio\wasapi\SDL_wasapi_winrt.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-12-17 05:36:04 +03:00
|
|
|
<ClCompile Include="..\src\camera\dummy\SDL_camera_dummy.c">
|
|
|
|
<Filter>camera\dummy</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\camera\SDL_camera.c">
|
|
|
|
<Filter>camera</Filter>
|
|
|
|
</ClCompile>
|
2023-09-27 07:11:09 +03:00
|
|
|
<ClCompile Include="..\src\core\SDL_core_unsupported.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\core\windows\SDL_windows.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\core\windows\SDL_xinput.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\core\winrt\SDL_winrtapp_common.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\core\winrt\SDL_winrtapp_direct3d.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\core\winrt\SDL_winrtapp_xaml.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\cpuinfo\SDL_cpuinfo.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2024-04-02 23:03:58 +03:00
|
|
|
<ClCompile Include="..\src\dialog\SDL_dialog_utils.c">
|
|
|
|
<Filter>dialog</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\dynapi\SDL_dynapi.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\events\SDL_clipboardevents.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\events\SDL_dropevents.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\events\SDL_events.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\events\SDL_keyboard.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2024-06-20 01:00:12 +03:00
|
|
|
<ClCompile Include="..\src\events\SDL_keymap.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\events\SDL_mouse.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
API for pressure-sensitive pens + XInput2/Wayland
This patch adds an API for querying pressure-
sensitive pens, cf. SDL_pen.h:
- Enumerate all pens
- Get pen capabilities, names, GUIDs
- Distinguishes pens and erasers
- Distinguish attached and detached pens
- Pressure and tilt support
- Rotation, distance, throttle wheel support
(throttle wheel untested)
- Pen type and meta-information reporting
(partially tested)
Pen event reporting:
- Three new event structures: PenTip, PenMotion, and
PenButton
- Report location with sub-pixel precision
- Include axis and button status, is-eraser flag
Internal pen tracker, intended to be independent
of platform APIs, cf. SDL_pen_c.h:
- Track known pens
- Handle pen hotplugging
Automatic test:
- testautomation_pen.c
Other features:
- XInput2 implementation, incl. hotplugging
- Wayland implementation, incl. hotplugging
- Backward compatibility: pen events default to
emulating pens with mouse ID SDL_PEN_MOUSEID
- Can be toggled via SDL_HINT_PEN_NOT_MOUSE
- Test/demo program (testpen)
- Wacom pen feature identification by pen ID
Acknowledgements:
- Ping Cheng (Wacom) provided extensive feedback
on Wacom pen features and detection so that
hopefully untested Wacom devices have a
realistic chance of working out of the box.
2023-08-27 09:20:29 +03:00
|
|
|
<ClCompile Include="..\src\events\SDL_pen.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\events\SDL_quit.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\events\SDL_touch.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\events\SDL_windowevents.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2024-03-16 18:15:13 +03:00
|
|
|
<ClCompile Include="..\src\filesystem\SDL_filesystem.c">
|
|
|
|
<Filter>filesystem</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\filesystem\windows\SDL_sysfsops.c">
|
|
|
|
<Filter>filesystem\windows</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\filesystem\winrt\SDL_sysfilesystem.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2024-03-15 06:30:59 +03:00
|
|
|
<ClCompile Include="..\src\file\SDL_iostream.c">
|
2023-09-22 19:26:14 +03:00
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\haptic\dummy\SDL_syshaptic.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\haptic\SDL_haptic.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\hidapi\SDL_hidapi.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\joystick\dummy\SDL_sysjoystick.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\joystick\SDL_gamepad.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\joystick\SDL_joystick.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-12-10 10:05:34 +03:00
|
|
|
<ClCompile Include="..\src\joystick\SDL_steam_virtual_gamepad.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\joystick\virtual\SDL_virtualjoystick.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\joystick\windows\SDL_dinputjoystick.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\joystick\windows\SDL_windowsjoystick.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\joystick\windows\SDL_xinputjoystick.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\loadso\windows\SDL_sysloadso.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
main: Added _optional_ callback entry points.
This lets apps optionally have a handful of callbacks for their entry points instead of a single main function. If used, the actual main/SDL_main/whatever entry point will be implemented in the single-header library SDL_main.h and the app will implement four separate functions:
First:
int SDL_AppInit(int argc, char **argv);
This will be called once before anything else. argc/argv work like they always do. If this returns 0, the app runs. If it returns < 0, the app calls SDL_AppQuit and terminates with an exit code that reports an error to the platform. If it returns > 0, the app calls SDL_AppQuit and terminates with an exit code that reports success to the platform. This function should not go into an infinite mainloop; it should do any one-time startup it requires and then return.
Then:
int SDL_AppIterate(void);
This is called over and over, possibly at the refresh rate of the display or some other metric that the platform dictates. This is where the heart of your app runs. It should return as quickly as reasonably possible, but it's not a "run one memcpy and that's all the time you have" sort of thing. The app should do any game updates, and render a frame of video. If it returns < 0, SDL will call SDL_AppQuit and terminate the process with an exit code that reports an error to the platform. If it returns > 0, the app calls SDL_AppQuit and terminates with an exit code that reports success to the platform. If it returns 0, then SDL_AppIterate will be called again at some regular frequency. The platform may choose to run this more or less (perhaps less in the background, etc), or it might just call this function in a loop as fast as possible. You do not check the event queue in this function (SDL_AppEvent exists for that).
Next:
int SDL_AppEvent(const SDL_Event *event);
This will be called once for each event pushed into the SDL queue. This may be called from any thread, and possibly in parallel to SDL_AppIterate. The fields in event do not need to be free'd (as you would normally need to do for SDL_EVENT_DROP_FILE, etc), and your app should not call SDL_PollEvent, SDL_PumpEvent, etc, as SDL will manage this for you. Return values are the same as from SDL_AppIterate(), so you can terminate in response to SDL_EVENT_QUIT, etc.
Finally:
void SDL_AppQuit(void);
This is called once before terminating the app--assuming the app isn't being forcibly killed or crashed--as a last chance to clean up. After this returns, SDL will call SDL_Quit so the app doesn't have to (but it's safe for the app to call it, too). Process termination proceeds as if the app returned normally from main(), so atexit handles will run, if your platform supports that.
The app does not implement SDL_main if using this. To turn this on, define SDL_MAIN_USE_CALLBACKS before including SDL_main.h. Defines like SDL_MAIN_HANDLED and SDL_MAIN_NOIMPL are also respected for callbacks, if the app wants to do some sort of magic main implementation thing.
In theory, on most platforms these can be implemented in the app itself, but this saves some #ifdefs in the app and lets everyone struggle less against some platforms, and might be more efficient in the long run, too.
On some platforms, it's possible this is the only reasonable way to go, but we haven't actually hit one that 100% requires it yet (but we will, if we want to write a RetroArch backend, for example).
Using the callback entry points works on every platform, because on platforms that don't require them, we can fake them with a simple loop in an internal implementation of the usual SDL_main.
The primary way we expect people to write SDL apps is with SDL_main, and this is not intended to replace it. If the app chooses to use this, it just removes some platform-specific details they might have to otherwise manage, and maybe removes a barrier to entry on some future platform.
Fixes #6785.
Reference PR #8247.
2023-11-02 01:40:41 +03:00
|
|
|
<ClCompile Include="..\src\main\generic\SDL_sysmain_callbacks.c">
|
|
|
|
<Filter>main\generic</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\main\SDL_main_callbacks.c">
|
|
|
|
<Filter>main</Filter>
|
|
|
|
</ClCompile>
|
2024-07-05 03:32:19 +03:00
|
|
|
<ClCompile Include="..\src\main\SDL_runapp.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\main\winrt\SDL_sysmain_runapp.cpp">
|
|
|
|
<Filter>main\winrt</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\power\SDL_power.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\power\winrt\SDL_syspower.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\direct3d11\SDL_render_d3d11.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\direct3d11\SDL_render_winrt.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\opengles2\SDL_render_gles2.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\opengles2\SDL_shaders_gles2.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\SDL_d3dmath.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\SDL_render.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-09-27 07:11:09 +03:00
|
|
|
<ClCompile Include="..\src\render\SDL_render_unsupported.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\render\SDL_yuv_sw.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\software\SDL_blendfillrect.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\software\SDL_blendline.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\software\SDL_blendpoint.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\software\SDL_drawline.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\software\SDL_drawpoint.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\software\SDL_render_sw.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\software\SDL_rotate.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\software\SDL_triangle.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\SDL.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\SDL_assert.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\SDL_error.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\SDL_guid.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-10-10 22:38:22 +03:00
|
|
|
<ClCompile Include="..\src\SDL_hashtable.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\SDL_hints.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-10-10 22:38:22 +03:00
|
|
|
<ClCompile Include="..\src\SDL_list.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\SDL_log.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-10-10 22:38:22 +03:00
|
|
|
<ClCompile Include="..\src\SDL_utils.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\SDL_properties.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\locale\SDL_locale.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\locale\winrt\SDL_syslocale.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\stdlib\SDL_crc16.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\stdlib\SDL_crc32.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\stdlib\SDL_getenv.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\stdlib\SDL_iconv.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\stdlib\SDL_malloc.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2024-01-20 19:12:11 +03:00
|
|
|
<ClCompile Include="..\src\stdlib\SDL_memcpy.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\stdlib\SDL_memmove.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\stdlib\SDL_memset.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\stdlib\SDL_qsort.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2024-06-16 17:20:11 +03:00
|
|
|
<ClCompile Include="..\src\stdlib\SDL_random.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\stdlib\SDL_stdlib.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\stdlib\SDL_string.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\stdlib\SDL_strtokr.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\thread\generic\SDL_syssem.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\thread\SDL_thread.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\thread\stdcpp\SDL_syscond.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\thread\stdcpp\SDL_sysmutex.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\thread\stdcpp\SDL_sysrwlock.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\thread\stdcpp\SDL_systhread.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\timer\SDL_timer.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\timer\windows\SDL_systimer.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
Add time and realtime clock functions
Adds functions to query the system's realtime clock, convert time intervals to/from a calendar date and time in either UTC or the local time, and perform time related calculations.
An SDL_Time type (a time interval represented in nanoseconds), and SDL_DateTime struct (broken down calendar date and time) were added to facilitate this functionality.
Querying the system time results in a value expressed in nanoseconds since the Unix epoch (Jan 1, 1970) in UTC +0000. Conversions to and from the various platform epochs and units are performed when required.
Any direct handling of timezones and DST were intentionally avoided. The offset from UTC is provided when converting from UTC to a local time by calculating the difference between the original UTC and the resulting local time, but no other timezone or DST information is used.
The preferred date formatting and 12/24 hour time for the system locale can be retrieved via global preferences.
Helper functions for obtaining the day of week or day or year for calendar date, and getting the number of days in a month in a given year are provided for convenience. These are simple, but useful for performing various time related calculations.
An automated test for time conversion is included, as is a simple standalone test to display the current system date and time onscreen along with a calendar, the rendering of which demonstrates the use of the utility functions (press up/down to increment or decrement the current month, and keys 1-5 to change the date and time formats).
2024-02-29 21:06:26 +03:00
|
|
|
<ClCompile Include="..\src\time\SDL_time.c">
|
|
|
|
<Filter>time</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\time\windows\SDL_systime.c">
|
|
|
|
<Filter>time\windows</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\video\dummy\SDL_nullevents.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\dummy\SDL_nullframebuffer.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\dummy\SDL_nullvideo.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_blit.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_blit_0.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_blit_1.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_blit_A.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_blit_auto.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_blit_copy.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_blit_N.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_blit_slow.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_bmp.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_clipboard.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_egl.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_fillrect.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_pixels.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_rect.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_RLEaccel.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_stretch.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_surface.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_video.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-09-27 07:11:09 +03:00
|
|
|
<ClCompile Include="..\src\video\SDL_video_unsupported.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\video\winrt\SDL_winrtevents.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\winrt\SDL_winrtkeyboard.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\winrt\SDL_winrtmessagebox.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\winrt\SDL_winrtmouse.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\winrt\SDL_winrtopengles.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\winrt\SDL_winrtpointerinput.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\winrt\SDL_winrtvideo.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\audio\wasapi\SDL_wasapi.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\winrt\SDL_winrtgamebar.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\haptic\windows\SDL_dinputhaptic.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\haptic\windows\SDL_windowshaptic.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\SDL_yuv.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\video\yuv2rgb\yuv_rgb.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\render\direct3d11\SDL_shaders_d3d11.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\sensor\SDL_sensor.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\sensor\dummy\SDL_dummysensor.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\events\SDL_displayevents.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\misc\winrt\SDL_sysurl.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\misc\SDL_url.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClInclude Include="..\src\joystick\controller_type.h">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClInclude>
|
|
|
|
<ClInclude Include="..\include\SDL3\SDL_main_impl.h">
|
|
|
|
<Filter>Header Files</Filter>
|
|
|
|
</ClInclude>
|
2023-10-11 01:58:53 +03:00
|
|
|
<ClInclude Include="..\src\video\SDL_clipboard_c.h" />
|
2023-09-22 19:26:14 +03:00
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClCompile Include="..\src\joystick\windows\SDL_windows_gaming_input.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\joystick\controller_type.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\stdlib\SDL_mslibc.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
2024-01-04 19:46:00 +03:00
|
|
|
<MASM Include="..\src\stdlib\SDL_mslibc_x64.masm">
|
2023-10-02 12:00:06 +03:00
|
|
|
<Filter>stdlib</Filter>
|
|
|
|
</MASM>
|
2023-09-22 19:26:14 +03:00
|
|
|
<ClCompile Include="..\src\core\windows\pch.c">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\src\core\windows\pch_cpp.cpp">
|
|
|
|
<Filter>Source Files</Filter>
|
|
|
|
</ClCompile>
|
|
|
|
</ItemGroup>
|
2024-07-09 00:59:18 +03:00
|
|
|
</Project>
|