Merge branch 'main' of https://github.com/JosephA1997/fake-mario
This commit is contained in:
commit
85dc80eb5b
|
|
@ -1,7 +1,6 @@
|
||||||
project "Editor"
|
project "Editor"
|
||||||
language "C++"
|
language "C++"
|
||||||
cppdialect "C++17"
|
cppdialect "C++17"
|
||||||
cdialect "C17"
|
|
||||||
systemversion "latest"
|
systemversion "latest"
|
||||||
targetname "Editor"
|
targetname "Editor"
|
||||||
links {"Engine-Core"}
|
links {"Engine-Core"}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
project "Engine-Core"
|
project "Engine-Core"
|
||||||
language "C++"
|
language "C++"
|
||||||
cppdialect "C++17"
|
cppdialect "C++17"
|
||||||
cdialect "C17"
|
|
||||||
systemversion "latest"
|
systemversion "latest"
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
|
||||||
|
|
@ -31,6 +30,12 @@ project "Engine-Core"
|
||||||
|
|
||||||
libdirs {vs_sfmldir .."/lib"}
|
libdirs {vs_sfmldir .."/lib"}
|
||||||
|
|
||||||
|
filter {"action:vs*", "system:windows", "configurations:Debug"}
|
||||||
|
postbuildcommands
|
||||||
|
{
|
||||||
|
'{COPY} "%{prj.location}/vendor/sfml/lib/*.pdb" "%{cfg.targetdir}"'
|
||||||
|
}
|
||||||
|
|
||||||
--not visual studio --
|
--not visual studio --
|
||||||
filter {"not action:vs*", "system:windows"}
|
filter {"not action:vs*", "system:windows"}
|
||||||
targetdir (corelibdir)
|
targetdir (corelibdir)
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#define SFML_VERSION_MAJOR 3
|
#define SFML_VERSION_MAJOR 3
|
||||||
#define SFML_VERSION_MINOR 0
|
#define SFML_VERSION_MINOR 0
|
||||||
#define SFML_VERSION_PATCH 1
|
#define SFML_VERSION_PATCH 2
|
||||||
#define SFML_VERSION_IS_RELEASE true
|
#define SFML_VERSION_IS_RELEASE true
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -191,10 +191,6 @@ public:
|
||||||
/// }
|
/// }
|
||||||
/// \endcode
|
/// \endcode
|
||||||
///
|
///
|
||||||
/// Don't focus on the return type, it's equivalent to bool but
|
|
||||||
/// it disallows unwanted implicit conversions to integer or
|
|
||||||
/// pointer types.
|
|
||||||
///
|
|
||||||
/// \return `true` if last data extraction from packet was successful
|
/// \return `true` if last data extraction from packet was successful
|
||||||
///
|
///
|
||||||
/// \see `endOfPacket`
|
/// \see `endOfPacket`
|
||||||
|
|
|
||||||
|
|
@ -337,7 +337,7 @@ In Utf<16>::decode(In begin, In end, char32_t& output, char32_t replacement)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// We can make a direct copy
|
// We can make a direct copy
|
||||||
output = first;
|
output = static_cast<char32_t>(first);
|
||||||
}
|
}
|
||||||
|
|
||||||
return begin;
|
return begin;
|
||||||
|
|
|
||||||
|
|
@ -113,6 +113,10 @@ enum class Wheel
|
||||||
///
|
///
|
||||||
/// \param position New position of the mouse
|
/// \param position New position of the mouse
|
||||||
///
|
///
|
||||||
|
/// \warning On macOS the OS API used for `setPosition` requires granting
|
||||||
|
/// of Accessibility permission for your application.
|
||||||
|
/// See also: https://support.apple.com/guide/mac-help/allow-accessibility-apps-to-access-your-mac-mh43185/
|
||||||
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
SFML_WINDOW_API void setPosition(Vector2i position);
|
SFML_WINDOW_API void setPosition(Vector2i position);
|
||||||
|
|
||||||
|
|
@ -125,6 +129,10 @@ SFML_WINDOW_API void setPosition(Vector2i position);
|
||||||
/// \param position New position of the mouse
|
/// \param position New position of the mouse
|
||||||
/// \param relativeTo Reference window
|
/// \param relativeTo Reference window
|
||||||
///
|
///
|
||||||
|
/// \warning On macOS the OS API used for `setPosition` requires granting
|
||||||
|
/// of Accessibility permission for your application.
|
||||||
|
/// See also: https://support.apple.com/guide/mac-help/allow-accessibility-apps-to-access-your-mac-mh43185/
|
||||||
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
SFML_WINDOW_API void setPosition(Vector2i position, const WindowBase& relativeTo);
|
SFML_WINDOW_API void setPosition(Vector2i position, const WindowBase& relativeTo);
|
||||||
} // namespace Mouse
|
} // namespace Mouse
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,7 +1,6 @@
|
||||||
project "Game"
|
project "Game"
|
||||||
language "C++"
|
language "C++"
|
||||||
cppdialect "C++17"
|
cppdialect "C++17"
|
||||||
cdialect "C17"
|
|
||||||
systemversion "latest"
|
systemversion "latest"
|
||||||
targetname "Game"
|
targetname "Game"
|
||||||
links {"Engine-Core"}
|
links {"Engine-Core"}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue