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

66 Commits

Author SHA1 Message Date
5014ebbfe0 Testing CBool type instead of bool 2021-11-26 07:11:56 +00:00
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
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
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
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
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
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
4f4296adaf Merge pull request #82 from ChrisDill/3.7-dev
3.7 dev
2021-05-12 10:22:22 +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
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
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
60973394ad Add Fade function for compatibility with previous versions
- Recommended you use ColorAlpha instead but this makes it easier
for users to update to 3.5.0. Fixes #68.
2020-12-28 19:02:24 +00:00
1279502344 Minor improvements and formatting
- Replaced Rlgl format usage with PixelFormat enum and update constants.
- Added new enums used with framebuffers.
- Added missing functions and fixed function naming.
2020-12-28 09:20:03 +00:00
1e362c5e64 Add GetShaderLocationAttrib function
- Used by the example shaders_rlgl_mesh_instanced.
2020-12-27 15:47:10 +00:00
5d266806eb Add missing ConfigFlag flag argument to ClearWindowState 2020-12-27 15:31:43 +00:00
71610bc8e5 Add missing format argument to GenTetxureCubemap 2020-12-27 12:49:13 +00:00
75a4d9bf27 Update Rlgl.cs to 3.5.0 and rename GetExtension to GetFileExtension 2020-12-26 15:45:40 +00:00
2e0b2d93eb Update Raylib.cs audio functions to 3.5.0 2020-12-26 15:20:54 +00:00
cfde708bd8 Update Raylib.cs model functions to 3.5.0 2020-12-26 15:18:53 +00:00
010db71473 Update Raylib.cs image, texture and font functions to 3.5.0 2020-12-26 15:02:45 +00:00
75050deeed Update Raylib.cs drawing functions to 3.5.0
- Update Image drawing functions
- Update Texture drawing functions
- Update shape drawing functions
2020-12-26 13:46:42 +00:00
29fca9725f Update Raylib.cs input related functions to 3.5.0 2020-12-26 13:24:48 +00:00
7be227a115 Replace Image/Texture section with Color/Pixel and update those functions to 3.5.0 2020-12-26 13:11:47 +00:00