Update classes

This commit is contained in:
Braedon Lewis 2023-04-13 10:06:05 -04:00
parent e3dfde5531
commit f0b58b5d15
74 changed files with 77 additions and 77 deletions

View file

@ -17,7 +17,8 @@ BeefLang bindings for **Raylib 4.5**.
## Example
```cs
using System;
using Raylib;
using RaylibBeef;
using static RaylibBeef.Raylib;
namespace example;
@ -25,7 +26,6 @@ class Program
{
public static int Main(String[] args)
{
SetConfigFlags((int)ConfigFlags.FLAG_WINDOW_RESIZABLE);
InitWindow(800, 600, "Raylib Beef 4.5");
var beefMain = Color(165, 47, 78, 255);

View file

@ -17,7 +17,7 @@ namespace RaylibBeefGenerator
private static Dictionary<string, FileDefinition> jsonFiles = new()
{
{ "raylib.json", new ("Raylib", "") },
{ "raylib.json", new ("Raylib", "Raylib") },
{ "rlgl.json", new("Rlgl", "Rlgl") },
{ "raymath.json", new("Raymath", "Raymath") }
};
@ -36,7 +36,7 @@ namespace RaylibBeefGenerator
#region Output Defines
private static string ImportLib = "raylib.dll";
private static string Namespace = "Raylib";
private static string Namespace = "RaylibBeef";
#endregion
public static void Main(string[] args)

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct AudioStream

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Color blending modes (pre-defined)
public enum BlendMode : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct BoneInfo

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct BoundingBox

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Camera2D

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
typealias Camera = Camera3D;

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Camera system modes
public enum CameraMode : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Camera projection
public enum CameraProjection : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Color

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// System/Window config flags
public enum ConfigFlags : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Cubemap layouts
public enum CubemapLayout : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct FilePathList

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Font

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Font type, defines generation method
public enum FontType : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Gamepad axis
public enum GamepadAxis : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Gamepad buttons
public enum GamepadButton : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Gesture
public enum Gesture : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct GlyphInfo

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Image

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Keyboard keys (US keyboard layout)
public enum KeyboardKey : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Material

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct MaterialMap

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Material map index
public enum MaterialMapIndex : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Matrix

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Mesh

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Model

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct ModelAnimation

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Mouse buttons
public enum MouseButton : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Mouse cursor
public enum MouseCursor : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Music

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct NPatchInfo

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// N-patch layout
public enum NPatchLayout : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Pixel formats
public enum PixelFormat : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Ray

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct RayCollision

View file

@ -1,9 +1,9 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
static
public static class Raylib
{
public const int RAYLIB_VERSION_MAJOR = 4;

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
public static class Raymath
{

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Rectangle

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
typealias RenderTexture2D = RenderTexture;

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
public static class Rlgl
{

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Shader

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Shader attribute data types
public enum ShaderAttributeDataType : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Shader location index
public enum ShaderLocationIndex : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Shader uniform data type
public enum ShaderUniformDataType : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Sound

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
typealias Texture2D = Texture;
typealias TextureCubemap = Texture;

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Texture parameters: filter mode
public enum TextureFilter : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Texture parameters: wrap mode
public enum TextureWrap : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Trace log level
public enum TraceLogLevel : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Transform

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Vector2

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Vector3

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
typealias Quaternion = Vector4;

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct VrDeviceInfo

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct VrStereoConfig

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct Wave

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct float16

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct float3

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Color blending modes (pre-defined)
public enum rlBlendMode : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Face culling mode
public enum rlCullMode : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct rlDrawCall

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Framebuffer texture attachment type
public enum rlFramebufferAttachTextureType : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Framebuffer attachment type
public enum rlFramebufferAttachType : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// OpenGL version
public enum rlGlVersion : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Texture pixel formats
public enum rlPixelFormat : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct rlRenderBatch

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Shader attribute data types
public enum rlShaderAttributeDataType : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Shader location point type
public enum rlShaderLocationIndex : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Shader uniform data type
public enum rlShaderUniformDataType : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Texture parameters: filter mode
public enum rlTextureFilter : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
/// Trace log level
public enum rlTraceLogLevel : c_int

View file

@ -1,7 +1,7 @@
using System;
using System.Interop;
namespace Raylib;
namespace RaylibBeef;
[CRepr]
public struct rlVertexBuffer