2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-09-09 03:01:41 -04:00
Commit Graph

108 Commits

Author SHA1 Message Date
794b82de0e Minor fixes
- Rename Gestures enum to Gesture
- Update tests to net6.0
2021-11-26 07:11:56 +00:00
958ab3e601 Update XmlDoc comments 2021-11-11 21:57:13 +11:00
8684db9d10 Update comments to xmldoc 2021-11-11 21:54:14 +11:00
222d0f538e Replace old version of GetDroppedUtils 2021-11-06 22:48:28 +00:00
ffcdf76809 Include README.md in package 2021-11-04 21:48:49 +00:00
1c61ed6641 Remove some constants from Raylib.cs 2021-11-04 21:20:09 +00:00
6697995eda Remove ref SetShaderValue overloads 2021-11-04 21:14:56 +00:00
a1348d4bc3 Update README.md and Raylib.csproj for testing 2021-11-04 20:47:57 +00:00
323a48d916 Rename CloseAudioStream to UnloadAudioStream 2021-11-03 18:32:22 +00:00
2172d43c68 Fix parameter names 2021-10-30 11:15:52 +01:00
f655c1a9e6 Small fixes 1 2021-10-28 20:48:37 +01:00
26b0a0dac4 Reorganize types
- Move into types folder
- Group types based on usage
2021-10-24 16:11:28 +01:00
9b1c2269f0 Update Raylib-cs.csproj
Remove net6.0 as its a pain to build
2021-10-24 21:20:37 +11:00
830826ce66 Testing utils for Raylib.cs 2021-10-24 11:15:30 +01:00
436419afea Update Version in csproj 2021-10-24 21:02:53 +11:00
7f531ff27a Split Enums, Structs & Classes into own files 2021-10-24 20:59:05 +11:00
882b42f47d Update Raylib.cs functions 2 2021-10-24 10:47:07 +01:00
2268c115e0 Update Raylib.cs functions 1 2021-10-23 20:38:11 +01:00
d7bdb7a20a Update types in Raylib.cs to 4.0 2021-10-22 18:50:42 +01:00
7ca1f28a9f Fix formatting/update doc comments in Raylib.cs 2021-10-22 17:49:45 +01:00
6140872094 3.7.0.1 2021-10-02 13:44:55 +01:00
Ben Parsons
5d9198acd2 XmlDoc: Convert some comments to <summary> tags (#96)
* Fixed-up comments on first ~500 lines

* Update Comments to xmldoc till around line  ~1700

I might have used regex.
2021-10-02 22:17:15 +10:00
cbfaf28c90 Fix typo 2021-10-02 13:12:10 +01:00
bec7ecc77b Fixes to enums and GetGestureDetected
- Fix enum order for MaterialMapIndex
- Return Gestures instead of int from GetGestureDetected
- Update naming of CubemapLayout
2021-10-02 12:46:18 +01:00
Ben Parsons
0460d2c2db Github Actions for Nuget Releases (#95)
* Add Raylib target tag to app.config

* Enable GitHub Actions on all PRs

* Create and upload NuGet package

Co-authored-by: ChrisDill <chris.rj.dill@gmail.com>
2021-10-02 21:21:11 +10:00
Jarrod Doyle
0821d9d5f9 Fixes #93 2021-09-26 21:55:32 +01:00
d0318795e1 Remove GetMouseCursor 2021-09-25 07:49:14 +01:00
4ebb829423 Fix missing argument in GetMonitorPosition 2021-09-24 21:55:32 +01:00
bbb425b5bb Fix ShaderLocationIndex order and add missing normal location 2021-07-02 22:47:33 +01:00
65d1ca11fe Remove linux-x86 folder from runtimes
- Dropping support for 32 bit on linux.
2021-05-19 15:46:34 +01:00
4f4296adaf Merge pull request #82 from ChrisDill/3.7-dev
3.7 dev
2021-05-12 10:22:22 +01:00
207ba0ab1a Review minor project details
- Disable warning for missing doc comments for now.
- Specify specific version or System.Numerics.Vectors.
- Format fixes.
2021-05-12 09:38:37 +01:00
3c2f2b4064 Fix enum naming
- Add missing prefixes to enums to match raylib.
- Add aliases for a few enum types
2021-05-11 08:23:29 +01:00
d342e5427f Add summary tags to improve documentation
- Helps with intelisense and documentation generators. More details can
be added in the future as needed.
- Include documentation in package
2021-05-11 08:23:29 +01:00
094c4e7789 Update project details and experimental libs
- Unsure on experimental lib at the moment. Need to test pinvoke
overhead. Might move to examples repo.
- Update README.md.
- Update Raylib-cs.csproj.
- Remove GenMeshDefault.
2021-05-11 08:19:46 +01:00
3224a58371 Initial 3.7 update
- Many breaking changes in this update. This is a work in
progress and needs testing.
2021-04-25 11:36:02 +01:00
b6cf094a34 Minor bugfixes
- Fix issue with github actions randomly failing on windows.
- Remove default arguments from Camera3D constructor.
- GetGamepadName was using Ansi when it should of been UTF8.
- Fix issue where charsPadding was not public.
2021-04-22 10:45:04 +01:00
Lázaro Blanc
b2ef3c1bab Update Raylib.cs 2021-03-26 16:00:51 +01:00
e49ca5b92c Review bindings
- All raylib structs are now blittable.
- Fixing some incorrect functions(types, naming etc).
- Remove netfx.props.
2021-03-25 20:43:39 +00:00
Ben Beshara
aa940e3d48 Fixed capitalisation on Framebuffer externs 2021-02-09 09:53:07 +11:00
17be194afc Add UnloadFileData
- Add missing UnloadFileData function. Frees memory allocated by LoadFileData.
2021-01-25 12:24:01 +00:00
05a1133e4a Fix bug with LoadFileData and LoadFontData
- Changed return of LoadFileData from byte[] to IntPtr as it cannot Marshal as a byte[].
- Adding missing dataSize argument to LoadFontData.
2021-01-25 12:05:21 +00:00
c1f25cc135 Initial set of UTF8 fixes
- Working on issue #69. Testing the MarshalAs fix with window and text drawing functions.
2021-01-22 13:31:59 +00:00
7351c663fa Update GetMonitorName and GetClipboardText to return UTF8 2021-01-15 10:09:51 +00:00
8fa8d74156 Update TraceLogCallback and INTERNAL_GetGamepadName
- Change TraceLogCallback calling convention to Cdecl.
- Change INTERNAL_GetGamePadName to private.
2021-01-15 09:08:56 +00:00
79e326da27 Remove Raylib-cs.targets 2021-01-06 10:47:25 +00:00
12c9887788 Review Raylib-cs.csproj
- Updated version to 3.5.0. Plan to keep this in sync with future raylib releases to reduce confusion about versioning.
- Since netstandard2.1 includes System.Numerics, we no longer need to reference it here.
- Testing possible fixes for packing/using runtimes.
2021-01-05 12:09:41 +00:00
4f0fdc3880 Removed unused tags from project files
- Don't need to specify Platforms and Configurations for libraries or tests.
2021-01-02 11:26:56 +00:00
b1f46d3307 Fix pinvoke crashes when returning strings for GetMonitorName, GetClipboardText and GetGamepadName
- These functions return native memory to strings. However it was trying to free the native memory.
- I changed it so they return IntPtr internally and the public versions use Marshal.PtrToStringAnsi to copy it into a
string which fixes this issue.
2020-12-29 18:34:04 +00:00
701434ef99 Remove file management functions in favour of System.IO alternatives
- These functions have a similar api to System.IO functions in C#.
For example 'DirectoryExists' can be replaced with 'Directory.Exists'.
- I considered wrapping them to use `System.IO` internally however that is less flexible than using it
directly.
2020-12-29 16:26:35 +00:00