Simon Lübeß
f0fc67db35
Removed compiler warnings for Runtime.NotImplemented
2024-05-20 13:35:00 +02:00
Simon Lübeß
e5139ee3e8
Fixed DepthStencilTarget
2024-05-20 13:34:41 +02:00
Simon Lübeß
2725801db8
Start of asset management 2.0
2024-05-19 01:35:52 +02:00
Simon Lübeß
989ad4a5bd
Use dedicated AssetIdentifier instead of string
2024-05-19 01:06:02 +02:00
Simon Lübeß
1fc3b70a50
Fixed memory leak in TextRendererComponent
2024-05-12 19:32:31 +02:00
Simon Lübeß
8c4880f92f
Fixed AddComponent for components with Copy function
2024-05-12 19:32:06 +02:00
Simon Lübeß
045281e881
Updated submodule
...
box2D, freetype and imgui
2024-04-20 22:30:17 +02:00
Simon Lübeß
bb7bc41e62
Kind of prevent creating invalid colliders sometimes
2024-04-15 12:35:56 +02:00
Simon Lübeß
f30bcb2f89
Slightly improved text renderer
2024-04-14 23:56:09 +02:00
Simon Lübeß
a3de5ddc9c
Serialization: Support sharing object references
2024-04-13 00:50:09 +02:00
Simon Lübeß
949ab4ebb0
ScriptEngine: Serialize static fields
2024-04-13 00:10:35 +02:00
Simon Lübeß
df13aa8596
Refactored Scene serialization
2024-04-12 19:36:01 +02:00
Simon Lübeß
d81471419d
Refactored script instance serialization and now the refactoring is finally finished...
2024-04-10 14:42:07 +02:00
Simon Lübeß
95262d67d7
Fixed anoying access violation in font desctructor by leaking memory 🤷
2024-04-10 13:51:15 +02:00
Simon Lübeß
9640b153f6
Fixed compile error in some method I'm not sure why, but it wasn't used 🤷
2024-04-10 13:50:40 +02:00
Simon Lübeß
f05cf721e8
Almost done refactoring ScriptEngine
2024-04-10 13:50:12 +02:00
Simon Lübeß
777f52ab49
ScriptEngine refactoring
2024-03-31 12:36:22 +02:00
Simon Lübeß
abcacc84a9
Refactored ScriptEngine
2024-03-31 11:55:39 +02:00
Simon Lübeß
1279dc0a66
Implemented Copy for physics components
2024-03-28 22:40:53 +01:00
Simon Lübeß
d28426478b
Font renderer improvements + component for scripting
2024-03-17 20:29:52 +01:00
Simon Lübeß
930d289565
Improved copying of components
2024-03-17 20:28:41 +01:00
Simon Lübeß
a2c7bf7d06
Ensure generating unique Entity IDs
2024-03-17 20:25:38 +01:00
Simon Lübeß
2dd826fc36
Made entity hierarchy more compact
2024-03-17 18:08:39 +01:00
Simon Lübeß
96609a6c31
FontRenderer: Basic Rich Text processing and lazy text building
2024-03-16 23:35:12 +01:00
Simon Lübeß
f9ea705e77
Enum extension for SetFlag and ClearFlag
2024-03-16 23:34:10 +01:00
Simon Lübeß
e703452b94
Start of text renderer component
...
- UC, LC, IC, RC tags
2024-03-14 22:17:57 +01:00
Simon Lübeß
fc475eb468
Save and copy editor flags with scene. Replaced EditorComponent with DontSafe-flag
2024-03-10 13:11:53 +01:00
Simon Lübeß
72bd152999
Refactor
2024-03-10 13:01:05 +01:00
Simon Lübeß
8d92822845
Added EditorFlags: Hide entities in hierarchy and editor scene
...
- Also some Style changes
2024-03-10 12:21:20 +01:00
Simon Lübeß
0a8d83ffb6
Changed Transform Update order
2024-02-26 13:47:29 +01:00
Simon Lübeß
aa29207e72
Show ImGui DemoWindow in EditorLayer
2024-02-26 13:40:00 +01:00
Simon Lübeß
0a822dcd79
ScriptCore: Added Transform.WorldTransform
2024-02-19 21:39:07 +01:00
Simon Lübeß
1ca9746921
Fixed crash in Logger
2024-02-19 21:38:35 +01:00
Simon Lübeß
886c4a71dd
Editor: Changed color for ImGui MenuBars
2024-02-17 23:32:47 +01:00
Simon Lübeß
59aaec572b
Render 2D with depth, reverse depth of camera projection
...
dirty fix in Renderer...
2024-02-16 17:31:32 +01:00
Simon Lübeß
0321bd91c4
3D Renderer: inverted depth buffer
2024-02-16 16:14:14 +01:00
Simon Lübeß
2ab4a7d70b
Set debug names for directx textures and views in render target group
2024-02-16 16:07:10 +01:00
Simon Lübeß
4830fd289e
ComponentWindow finalized
...
ScriptCore:
- ActivatorExtension: Fixed creation of default value or null class
- ImGuiExtension: added DragUIntX / DoubleX and CheckboxX
2024-01-30 23:40:58 +01:00
Simon Lübeß
f86d1aa79e
Improved UI of component edit window
...
- Also fixed some errors in list and dictionary editors
2024-01-29 19:46:52 +01:00
Simon Lübeß
8ff35d3967
ScriptCore: Added more properties to components
...
- Added CircleRenderer
- Transform: Added Rotation, RotationEuler, RotationAxisAngle and Scale
- RigidBody: Added BodyType and GravityScale
- Added ColorRGBA
2024-01-27 19:46:37 +01:00
Simon Lübeß
bc535ddc26
Get/Set FixedRotation in play mode
2024-01-26 12:51:29 +01:00
Simon Lübeß
d4d6cc8e38
Fixed OnCollisionEnter/Leave callbacks
2024-01-26 12:41:37 +01:00
Simon Lübeß
4538c38fd7
ScriptGlue error handling
2024-01-25 23:35:56 +01:00
Simon Lübeß
525bb050ef
ScriptEngine cleanup
2024-01-25 23:35:40 +01:00
Simon Lübeß
d8e4e8d028
ScriptCore: Added Parent property to Transform
2024-01-25 22:29:11 +01:00
Simon Lübeß
7026be1c90
2D Physics and script improvements
...
- fixed time step
- Fixed crash caused by physics script callback being registered in simulation mode
- Moved 2D Physics config to file
- Finally gave up on the attempt to keep X and Y rotation when applying new Z-rotation from 2D rigidbody to transform and now I can sleep well
- Streamlined starting and stopping of scenes
- Scripts: execute all inits and OnCreates before OnUpdate
2024-01-22 23:19:55 +01:00
Simon Lübeß
7f40ae038a
Removed Atan2 from script glue
2024-01-20 21:24:43 +01:00
Simon Lübeß
02be6d8eb7
Log: Also log filename and line number of caller
2024-01-20 21:23:34 +01:00
Simon Lübeß
c906fc9667
Properly destroy script instances
...
Now without memory leaks!
2024-01-18 21:29:11 +01:00
Simon Lübeß
60b45828c2
ScriptGlue: Added Camera component and throwing mono exceptions from beef
2024-01-15 01:22:52 +01:00