Simon Lübeß
73392f58f7
Add heuristics to not always rebuild script project on play
2026-10-24 17:18:08 +02:00
Simon Lübeß
6718279a9f
Add option to clean rebuild scripts
2026-10-24 17:13:43 +02:00
Simon Lübeß
2674836cca
Allow serialization of all generic types in scripts
2026-10-24 13:36:36 +02:00
Simon Lübeß
ed94213435
No longer lose script instances (and type names) when reloading assemblies
2026-10-23 23:31:06 +02:00
Simon Lübeß
fa3f734341
Fixed benchmark
2026-10-23 23:04:24 +02:00
Simon Lübeß
a7d0ef830b
Allow suspension of script assembly watcher and reload after rebuild
2026-10-23 23:03:50 +02:00
Simon Lübeß
1b10e98f8c
Remove debug logs
2026-10-23 23:02:31 +02:00
Simon Lübeß
4488bd7d9c
Build script project from editor
...
- Added `ContinueWith` to BackgroundTask
- Added setting for Path to `dotnet` executable
- Added detection and check of installed .Net SDKs
2026-10-23 22:21:16 +02:00
Simon Lübeß
9c90b6bb3f
ImGui extension for InputText that works on a mutable String directly
2026-10-23 22:11:38 +02:00
Simon Lübeß
d392eb5ba5
ImGui extension to push GlitchyEngine color types (and scoped push)
2026-10-23 22:11:11 +02:00
Simon Lübeß
a18426658a
Add Pipeline trigger for doc-website
2026-10-21 17:33:25 +02:00
Simon Lübeß
25cbf58106
Fixed deserialization of decimal script fields
2026-10-21 15:58:53 +02:00
Simon Lübeß
ba8b5ed47b
Removed Mono Runtime stuff
2026-10-21 13:55:07 +02:00
Simon Lübeß
a664dc2047
Show popup when trying to open script project with no IDE selected
2026-10-21 13:24:34 +02:00
Simon Lübeß
8341097b7e
Hide asset-config files in Visual Studio project
2026-10-21 13:23:54 +02:00
Simon Lübeß
125872a157
Show popup when opening script and no IDE is configured
2026-09-20 16:46:27 +02:00
Simon Lübeß
a6d4aa047b
A bit of cleanup in the ScriptGlue generator
2026-09-20 16:39:03 +02:00
Simon Lübeß
c3053db27b
Allow calling Entity.Name again
2026-09-20 15:42:23 +02:00
Simon Lübeß
101200306e
Generate SuppressGCTransition (but only for release builds)
2026-09-20 15:41:54 +02:00
Simon Lübeß
f62adf8390
Hardened access to boxed value
2026-09-19 23:47:01 +02:00
Simon Lübeß
14c1568e98
Disable runtime marshalling
2026-09-19 23:43:25 +02:00
Simon Lübeß
da349465fd
Work around marshalling for bools
...
Apparently C# marshalls bools as 4 byte integers
2026-09-19 23:16:02 +02:00
Simon Lübeß
e27237360f
Fixed regression for generic handling TypeExtension.FindType
...
Caused by d2c6c9a948
2026-09-14 22:50:20 +02:00
Simon Lübeß
b927e2e709
Fixed "Save component to edit mode" and also jankily save script data
2026-09-14 22:30:10 +02:00
Simon Lübeß
d2c6c9a948
Fixed TypeExtension.FindType for array types
2026-09-14 22:05:10 +02:00
Simon Lübeß
c7fb9af0c7
Validate input of edit fields for type char
2026-09-13 22:41:12 +02:00
Simon Lübeß
fff1abf012
Fixed integer displays in script editor
2026-09-13 21:56:17 +02:00
Simon Lübeß
8e9efbb367
Remove unnecessary PlayMode enum
2026-09-13 21:16:09 +02:00
Simon Lübeß
8244033ac5
Skip unnecessary (de-)serializations when reloading script assembly
2026-09-13 21:11:35 +02:00
Simon Lübeß
e3619ae93c
Properly unload script assembly when reloading
2026-09-13 17:45:12 +02:00
Simon Lübeß
0087bca27b
Log error when script assembly doesn't exist
2026-09-12 15:19:55 +02:00
Simon Lübeß
9119613e62
StaticInit ScriptEngine after FileSystemWatcher
2026-09-12 15:18:01 +02:00
Simon Lübeß
1636f3a5d0
Fix serialization of EngineObjectReferences
2026-09-12 15:10:14 +02:00
Simon Lübeß
886d2760bc
Update ScriptCore to DotNet 10
2026-09-12 15:06:14 +02:00
Simon Lübeß
6da69aad03
Fixed serialization of engine object references
2026-09-03 22:37:43 +02:00
Simon Lübeß
6c184aafe0
Correctly use ScriptGlue functions for Input queries
2026-09-03 22:36:15 +02:00
Simon Lübeß
5c18f61da4
Fixed Entity_GetScriptInstance
2026-09-03 22:35:43 +02:00
Simon Lübeß
1435dac4d6
Fixed exception logging and entity id of messages
2026-09-03 22:35:14 +02:00
Simon Lübeß
abf7a01917
More robust "recent projects" deduplication
2026-08-23 12:54:18 +02:00
Simon Lübeß
c8d63a9c36
More robust csproj-referencing
...
also add other relevant project-files to the solution
2026-08-22 18:45:29 +02:00
Simon Lübeß
9ccaf8977a
Be a more patient with Visual Studio when moving the cursor
2026-08-22 18:38:11 +02:00
Simon Lübeß
e758d6fd09
Allow jumping to columns in IDE
2026-08-22 18:15:38 +02:00
Simon Lübeß
1cc604cd51
Only write to solution and project files when they changed
2026-08-17 22:14:31 +02:00
Simon Lübeß
8c53dcb9ca
Updated submodule imgui
2026-08-16 22:34:30 +02:00
Simon Lübeß
5577aa6e11
Update Freetype-Submodule
2026-08-16 22:28:56 +02:00
Simon Lübeß
6a60fae5d5
Added missing override
2026-08-16 22:26:42 +02:00
Simon Lübeß
7b82e738eb
Removed extension methods as they are part of corelib now
2026-08-16 22:25:37 +02:00
Simon Lübeß
c81e695981
Fix compile errors due to Beef.Linq update
2026-08-16 22:21:53 +02:00
Simon Lübeß
2a90374b5b
"Fix" warnings
2026-08-16 20:11:36 +02:00
Simon Lübeß
39d78ab4c1
Removed deprecated Application.Get()
2026-08-16 19:51:56 +02:00
Simon Lübeß
836c926a22
Updated Beef.Linq
2026-08-16 19:51:02 +02:00
Simon Lübeß
e451864908
Stop warning when calling SetDebugName again
2026-08-16 19:21:25 +02:00
Simon Lübeß
229629a587
Fixed crash when resizing window
2026-08-16 16:43:15 +02:00
Simon Lübeß
fd2b990a8f
Reuse running Visual Studio instances
2026-08-16 14:30:24 +02:00
Simon Lübeß
29b6f37c2a
Fixed memory leak
2026-08-15 13:52:45 +02:00
Simon Lübeß
188dc4b3b6
Better names for found Rider installs + context menu for copy/open path
2026-08-15 13:52:33 +02:00
Simon Lübeß
62ad8bee35
Auto detect all Visual Studio and Rider installs
2026-08-14 23:34:04 +02:00
Simon Lübeß
f8e533f28d
Almost entirely moved ImGui dependency (and settings) from Engine to Editor
2026-08-09 16:49:54 +02:00
Simon Lübeß
faa3040471
Find Rider installations
2026-08-09 16:14:40 +02:00
Simon Lübeß
05187e6b9f
Locate Visual Studio using vswhere
2026-08-02 17:33:14 +02:00
Simon Lübeß
eaffc1a135
Fixed string deserialization in release builds
2026-08-02 16:28:59 +02:00
Simon Lübeß
ec9fccee12
Don't touch LastOpenedScenes when we didn't save
2026-08-02 15:59:38 +02:00
Simon Lübeß
164384e55e
Made not having a project loaded less crashy
2026-08-02 15:58:02 +02:00
Simon Lübeß
9b14cdddb9
At least don't crash when no project is opened
2026-08-02 12:34:26 +02:00
Simon Lübeß
85b3fd5bc9
Fix release configurations
2026-08-02 12:33:54 +02:00
Simon Lübeß
c56db0f069
Added winget install instructions to readme
2026-08-02 12:04:41 +02:00
Simon Lübeß
8ccbc565ad
Removed unnecessary reflection option
2026-08-02 12:03:59 +02:00
Simon Lübeß
a14d86012a
Finally debugged and fixed cleanup error in Font
2026-08-02 12:00:40 +02:00
Simon Lübeß
8b64afee0c
Cleanup and refactor Font and FontRenderer
2026-08-02 12:00:08 +02:00
Simon Lübeß
344aabae2b
Who thought Point was a good size unit for 3D text?
2026-08-02 11:59:19 +02:00
Simon Lübeß
dec0a004a5
Preprocess and delete glyph shape
2026-08-02 11:58:39 +02:00
Simon Lübeß
4e314d1de2
Commit asset configs for resources without importer
2026-08-02 11:46:17 +02:00
Simon Lübeß
4157477882
Correctly handle errors of File.GetLastWriteTimeUtc
2026-08-01 23:06:29 +02:00
Simon Lübeß
c65fa58940
Save asset configs for file types without importer
2026-08-01 23:06:02 +02:00
Simon Lübeß
b5071e3499
Updated freetype, harfbuzz and msdfgen
2026-08-01 23:04:44 +02:00
Simon Lübeß
2f5baa5f5e
Font rendering rework
...
Handle fonts unscaled
2026-08-01 22:55:35 +02:00
Simon Lübeß
ab39386b27
Show texture dimensions in AsserViewer
...
- fixed color picker for background
2026-07-22 21:25:16 +02:00
Simon Lübeß
3095c8f0bb
Provide build config when building Helper
2026-07-19 16:54:30 +02:00
Simon Lübeß
e4e86bd21d
Fixed initialization of EditorCamera
...
`this = default` overwrote `_cameraRotationSpeed` with 0 thus breaking user input
2026-07-19 14:27:18 +02:00
Simon Lübeß
8382060f8a
Comment out wait for debugger
2026-07-19 14:22:31 +02:00
Simon Lübeß
e076eabfa1
Added ToString to Quaternion
2026-07-19 14:22:02 +02:00
Simon Lübeß
c8fdba6121
Fixed beef workspace build
2026-04-13 21:03:28 +02:00
Simon Lübeß
6935e9daf9
Setup WatchedSources for BuildTool Module "GlitchyEngineHelper"
2026-04-13 20:53:31 +02:00
Simon Lübeß
1e1ec7aaa9
Some changes
...
- Changed ModuleInfo to class, save Length for Timestamp-Hashes
- Obey recursive-flag for WatchedSources
- Verbosely skip up-to-date modules
2026-04-13 20:48:21 +02:00
Simon Lübeß
6bec99ab06
Adhere to ExcludedSubpaths while scanning directory for change
2026-04-13 20:05:41 +02:00
Simon Lübeß
aad44dd835
Simple unnecessary build prevention
2026-04-13 19:58:55 +02:00
Simon Lübeß
28ad9298af
Removed DirectXTK dependency
2026-04-12 22:10:39 +02:00
Simon Lübeß
86977213ff
Updated msdfgen
2026-04-12 14:28:26 +02:00
Simon Lübeß
4c20cca585
Build msdfgen with BuildTool
2026-04-12 14:02:54 +02:00
Simon Lübeß
4c855819c9
Added FreeType to BuildTool
2026-04-12 12:05:55 +02:00
Simon Lübeß
aabcd5f9b2
Build Box2D with BuildTool
2026-04-11 17:28:04 +02:00
Simon Lübeß
3fd5452146
Fixed debug builds for ScriptCore and GEHelper
2026-04-11 09:39:13 +02:00
Simon Lübeß
10e2294f9c
BuildTool: Stop after when Module failed
2026-04-11 09:39:13 +02:00
Simon Lübeß
bca4281d84
Fixed ScriptGlue function discovery and slighty automated extension assignment
2026-04-11 09:38:43 +02:00
Simon Lübeß
28a9242023
Fixed compiler bugs
...
Stuff happens when you don't work on a project for half a year!
2026-04-11 09:35:45 +02:00
Simon Lübeß
1b8cc93834
Added All-Target to BuildTool
2026-04-10 22:02:13 +02:00
Simon Lübeß
1eeab94575
Start of buildtool
2025-10-23 11:09:48 +02:00
Simon Lübeß
419ed7c9d2
Fixed uninitialized struct
2025-10-22 20:00:04 +02:00
Simon Lübeß
986ffeade0
Moved submodule NetHostBeef
2025-08-24 16:59:50 +02:00
Simon Lübeß
c94ffbef64
Made release buildable
2025-08-24 16:54:26 +02:00
Simon Lübeß
7df651103b
Custom columns for benchmarking
2025-08-17 03:01:41 +02:00
Simon Lübeß
8f51d1c626
Basic benchmarking
2025-08-17 00:26:16 +02:00
Simon Lübeß
fca126c960
Start of test and benchmark
2025-08-11 22:09:54 +02:00
Simon Lübeß
4992511112
No longer add scripts to csproj
2025-08-11 22:09:00 +02:00
Simon Lübeß
b94b2afc55
Dev settings for using ScriptCore as either dll or csproj
2025-08-09 23:40:31 +02:00
Simon Lübeß
d002dfe25e
Automatically set ScriptCore.dll reference in Visual Studio Solution/Project
2025-08-09 19:18:49 +02:00
Simon Lübeß
b4f41fc218
Ignore generated files
2025-08-09 10:59:09 +02:00
Simon Lübeß
ac0f4dade6
Updated Template for new dotnet runtime
...
- Added Submodule 'Xml-Beef'
- Use .slnx as solution-file
- Automatically set correct path to ScriptCore in Project files
2025-08-09 01:13:05 +02:00
Simon Lübeß
52cbf9dcf4
Disable circle rendering
2025-08-08 19:12:42 +02:00
Simon Lübeß
e57c1c876f
Removed unnecessary null terminator
2025-08-08 19:10:40 +02:00
Simon Lübeß
3f83c200f2
Secured struct layout
2025-08-08 19:09:59 +02:00
Simon Lübeß
74243cd285
Added Entity event OnCollisionEnter2D
2025-08-08 19:09:34 +02:00
Simon Lübeß
bf03e99e4a
Improved style checker
2025-08-08 19:03:31 +02:00
Simon Lübeß
d156618453
Fixed calling engine functions from scripts
...
- Removed mono references in generator
- Implemented StringView type in C#
2025-08-08 19:03:09 +02:00
Simon Lübeß
042ae83a0f
Setup ScriptCore to also function as analyzer
2025-08-03 12:01:22 +02:00
Simon Lübeß
cc38236184
Try catch in C# Glue Functions called by engine, removed test ThrowException method
2025-08-03 12:00:35 +02:00
Simon Lübeß
184b92e95c
StyleChecker works, tests dont
2025-08-03 11:58:27 +02:00
Simon Lübeß
41dacf72b6
Implement test code analyzer
2025-08-01 21:43:22 +02:00
Simon Lübeß
c01ccf571e
Profiling for starting play mode, fixed unnecessary font loading
2025-07-30 19:00:22 +02:00
Simon Lübeß
ed644b5b41
Better engine exception for scripting
2025-07-30 18:58:26 +02:00
Simon Lübeß
72e87ee9ad
Extending ScriptGlue now possible
2025-07-27 17:43:00 +02:00
Simon Lübeß
566d39d928
Fixed memory leak
2025-07-27 16:43:34 +02:00
Simon Lübeß
89bb4f4430
Removed C# code generation from beef-side script glue
2025-07-27 16:43:12 +02:00
Simon Lübeß
08846a0c0b
Added EngineResult glue type, some cleanup
2025-07-26 21:03:10 +02:00
Simon Lübeß
c41425ad36
Include Beef-files in ScriptCore project
2025-07-18 12:41:33 +02:00
Simon Lübeß
28311165ad
ScriptEngine work and cleanup
2025-07-18 12:40:44 +02:00
Simon Lübeß
271286fb7e
Remove mono from Glue functions
2025-07-17 20:07:19 +02:00
Simon Lübeß
f77b153512
Fixed DLL-Import for ImGui.NET
2025-07-17 15:13:21 +02:00
Simon Lübeß
f7bcff5337
Script glue works!
2025-07-17 15:07:06 +02:00
Simon Lübeß
0a53ff48f9
More generating script glue
2025-07-17 10:16:58 +02:00
Simon Lübeß
edfcfd3b20
Start of using CoreCLR and automatic scriptglue generation
2025-07-14 22:14:41 +02:00
Simon Lübeß
063cbfa415
Fixed assets leaking memory
2025-07-11 12:54:04 +02:00
Simon Lübeß
311deb5bc0
Fixed Assets being registered for two IDs, getting Asset for Id 0 now returns null.
2025-07-11 12:28:09 +02:00
Simon Lübeß
c2d330fc8f
Handle loading error and placeholder shaders
2025-07-10 14:59:37 +02:00
Simon Lübeß
1b63c922da
Asset browser: Copy, cut, paste
2025-07-10 13:31:27 +02:00
Simon Lübeß
39a825634a
Path.FindFreePath: Fixed bug when filename is stringview into target string
2025-07-10 13:29:32 +02:00
Simon Lübeß
ecfe838ad4
Added basic central popup service and way to highlight settings.
2025-07-08 19:35:40 +02:00
Simon Lübeß
081f7b4a7e
Asset Browser: Defer navigation to next frame, show history when right clicking forward/backward button
2025-07-06 19:36:58 +02:00
Simon Lübeß
5f5192b0f4
Fast navigation in "address bar"
2025-07-06 18:52:59 +02:00
Simon Lübeß
3e9c9e8202
Asset Browser: Selection rectangle works with scrolling
2025-07-06 15:15:21 +02:00
Simon Lübeß
1e614eb944
Asset Browser: Handle navigation hotkeys only when directory is hovered
2025-07-06 14:14:39 +02:00
Simon Lübeß
1c97a5e9c4
Asset Browser: No longer show parent directory entry, navigate forward/backword with XButtons
2025-07-06 12:55:09 +02:00
Simon Lübeß
4b91116b51
Asset Browser: Navigation abstraction, show current path
2025-07-06 12:47:17 +02:00
Simon Lübeß
941cc8b767
ImGui: Added typed and scoped style vars
2025-07-06 12:44:59 +02:00
Simon Lübeß
88f6acb336
Selection Rectangle improvements
2025-07-05 22:36:35 +02:00
Simon Lübeß
736c8ce205
Improved entry placement, word wrapping for file names
2025-07-04 10:45:42 +02:00
Simon Lübeß
5cffe34620
Fixed clear selection when navigating or clicking background
2025-07-04 10:44:51 +02:00
Simon Lübeß
f3b4fbd628
Spread empty space between directory entries, better parent directory handling, fixed id collision
2025-07-04 01:03:51 +02:00
Simon Lübeß
e3c7057dce
Basic rectangle selection in content browser
2025-07-04 00:13:33 +02:00
Simon Lübeß
b00119b41e
Generate ToString for vectors, generate Boolean-Opeartors for boolVectors
2025-07-04 00:13:02 +02:00
Simon Lübeß
9dc6b585bd
Use StringView for Path operations
2025-07-04 00:12:19 +02:00
Simon Lübeß
1b46ff779a
Remove sleep from delete task
2025-07-03 11:02:30 +02:00
Simon Lübeß
c931451f10
Delete hotkey, delte files in background, Alt Up to go back a folder, basic multi select files
2025-06-30 23:14:03 +02:00
Simon Lübeß
300a2f1a8a
Refactored (unified) rendering of directory items
2025-06-29 22:22:44 +02:00
Simon Lübeß
e9644018ff
Show directores before files in asset browser
2025-06-29 22:09:34 +02:00
Simon Lübeß
173942114f
The functional remains of drop source
2025-06-29 21:40:55 +02:00
Simon Lübeß
39c9109919
Implemented base class for Com Interface implementations
2025-06-26 23:39:05 +02:00
Simon Lübeß
2cc8889ac1
Refactored DragDrop
2025-06-26 22:35:38 +02:00
Simon Lübeß
5fb8401a1a
Renamed property
2025-06-26 19:29:19 +02:00
Simon Lübeß
6ed5f6d943
Added copy filename option to content browser context menu
2025-06-26 18:00:08 +02:00
Simon Lübeß
95ccb597d6
Fixed copying with multiple conflict handling flags,
...
made canceling and pausing of tasks more robust
2025-06-26 17:51:32 +02:00
Simon Lübeß
05671649b4
Added String.SetF
2025-06-26 17:50:04 +02:00
Simon Lübeß
50bcfa2caf
Correctly copy directory hierarchy
2025-06-26 12:55:55 +02:00
Simon Lübeß
108e24eb38
advanced async copy of files
2025-06-26 10:16:39 +02:00
Simon Lübeß
bfd1754d14
Fixed memory leak
2025-06-22 20:15:04 +02:00
Simon Lübeß
6af2e49387
Basic copy for drag'n'drop
2025-06-20 21:51:46 +02:00
Simon Lübeß
68745f0515
Retrieve filenames from drop event
2025-06-17 18:08:19 +02:00
Simon Lübeß
60482059a4
Test handle Windows Explorer drag'n'drop in ImGui
2025-06-17 16:46:05 +02:00
Simon Lübeß
9b6bb2b8d8
Made Vectors CRepr
2025-06-17 14:43:26 +02:00
Simon Lübeß
07faafd28d
Basic drag & drop
2025-06-17 14:43:06 +02:00
Simon Lübeß
2c0b000afc
Improved Texel Grid for Texture Viewer
2025-04-18 14:46:34 +02:00
Simon Lübeß
9d0fb99e3d
Fixed mouse picking after gizmo usage
...
(and discovered more gizmo bugs...)
2025-03-29 15:13:08 +01:00
Simon Lübeß
400045b005
Allow custom resolutions for game window
2025-03-29 15:03:25 +01:00
Simon Lübeß
571bf98be2
Fixed data cycle
2025-03-23 17:46:55 +01:00
Simon Lübeß
c34f585bbf
Fixed temporary fix
2025-03-22 23:41:28 +01:00
Simon Lübeß
5e50d75eb9
Handle EngineBuffers, Preview Names and variable editor types for materials
2025-03-22 23:40:43 +01:00
Simon Lübeß
77a7a04637
Fixed missing semicolons
2025-03-19 21:15:37 +01:00
Simon Lübeß
6d50208700
Start of material editor
2025-03-03 20:29:35 +01:00
Simon Lübeß
10e8b3c282
Simplified serialization/deserialization of EngineObjects + added support for Assets (actually any EngineObject!)
2025-03-01 00:48:31 +01:00
Simon Lübeß
b5088329f5
Texture inheritance for materials, also script access
2025-03-01 00:03:38 +01:00
Simon Lübeß
824c19c0b2
Show texel border and more swizzle options
2025-02-24 23:00:46 +01:00
Simon Lübeß
0236130df1
Fixed crashes due to wrong use of append allocations
2025-02-24 23:00:09 +01:00
Simon Lübeß
28121d1b42
Added component-wise min and max (cmin and cmax)
2025-02-16 01:04:21 +01:00
Simon Lübeß
bb52f4c068
Fixes and improvements for Texture Vierwer
...
- Fixed bug where non-square Textures are render wrong
- Use center of preview area as 0,0
- Reset and Fit to View buttons
2025-02-16 01:04:04 +01:00
Simon Lübeß
49c3e93e08
Manage all Assets with ContentManager
2025-02-16 01:02:41 +01:00
Simon Lübeß
25e1c53a08
Allow resetting material variable
2025-02-14 15:34:33 +01:00
Simon Lübeß
24295731f3
Start of inheriting Materials, create material instance for getMaterial from scripts
2025-02-14 12:39:35 +01:00
Simon Lübeß
aaed4199d3
Interact with Materials from scripts
2025-02-14 11:54:07 +01:00
Simon Lübeß
e5437c6ff6
Some fixes, improvements for asset drop target
2025-02-14 11:38:39 +01:00
Simon Lübeß
688ebad278
Fixed 2d camera projection for texture viewer
2025-02-11 23:10:05 +01:00
Simon Lübeß
83b12efcff
Fixed out of bounds access
2025-02-11 23:09:44 +01:00
Simon Lübeß
7a306cac69
Separate handling for hlsl and fx files
2025-02-11 23:07:04 +01:00
Simon Lübeß
06b981e88a
Support materials in 2D Quad Renderer!
...
- Lost Circle rendering along the way
- Cleaned up 2D shaders
2025-02-11 14:02:16 +01:00
Simon Lübeß
76087d6ba4
Materials kind of working and used in some places
...
- Also Texture viewer fixes
2025-02-09 01:39:35 +01:00
Simon Lübeß
acfb052137
New material loading pipeline almost working
2025-01-31 13:18:49 +01:00
Simon Lübeß
2f0505241f
Append allocation and generics fixes
2025-01-31 13:17:12 +01:00
Simon Lübeß
577cca5886
Start of new materials, disable async asset loading
2024-11-30 16:21:00 +01:00
Simon Lübeß
cf1f2a9a7b
Emit parameterless constructor for vectors
2024-11-30 16:20:29 +01:00
Simon Lübeß
bcf75bf8cb
Engine barely starts again
2024-11-21 18:16:41 +01:00
Simon Lübeß
ad73abd4ea
Fixed memory leak when deleting Effect
2024-08-24 20:09:22 +02:00
Simon Lübeß
b98de9835d
Only hold on to vertex input layout shader code
2024-08-23 23:29:43 +02:00
Simon Lübeß
d788853dd3
Cleaned up Shader usings
2024-08-23 23:01:31 +02:00
Simon Lübeß
d8b3b137dd
Pass VertexShader to VertexLayout, don't reassign layout
2024-08-23 23:00:10 +02:00
Simon Lübeß
ff1c6db222
Removed old shader loading stuff
2024-08-22 23:42:16 +02:00
Simon Lübeß
73a6cc0854
Use blocking load method for shaders
2024-08-22 23:25:17 +02:00
Simon Lübeß
66e62f42ec
First working effects with new pipeline
2024-08-22 00:34:20 +02:00
Simon Lübeß
7b7a3dc645
Started rewriting shader compilation/processing
2024-08-18 23:30:47 +02:00
Simon Lübeß
f3e68bd8d8
Remove obsolete EffectLibrary
2024-08-18 22:54:46 +02:00
Simon Lübeß
c908f5a0e7
A little bit better number formatting
2024-06-27 20:50:26 +02:00
Simon Lübeß
b96f195afb
Clear log on play option
2024-06-23 18:58:40 +02:00
Simon Lübeß
bbbbe833df
Changed number format in component editor
2024-06-23 18:42:31 +02:00
Simon Lübeß
c6eb705977
Drag component window
2024-06-23 18:31:53 +02:00
Simon Lübeß
454ec59951
Use icon buttons for save component and context menu, right click context menu
2024-06-23 17:15:21 +02:00
Simon Lübeß
1b130a4bce
Basic save component button
2024-06-23 00:27:20 +02:00
Simon Lübeß
cd434d64f9
Better asset processor selection, process subassets
2024-06-13 15:44:27 +02:00
Simon Lübeß
36e98311c6
TextureAsset properties, start of better asset pipeline detection
2024-06-12 16:51:52 +02:00
Simon Lübeß
b3dac4a338
Show name of selected object in property window title
2024-06-09 17:12:56 +02:00
Simon Lübeß
c8be6eca5c
Show error in Properties window, deselect invalid objects in Inspector window
2024-06-09 17:12:42 +02:00
Simon Lübeß
2d5e6a9278
Properties window
2024-06-09 01:44:58 +02:00
Simon Lübeß
f61d1bc644
Inspector window to combine asset properties and components editor
2024-06-09 01:16:21 +02:00
Simon Lübeß
ace51b396d
Fixed crash when assets gets queued for reloading twice
2024-06-09 00:29:15 +02:00
Simon Lübeß
86afa234e7
Texture processor cleanup, new asset properties config UI
2024-06-08 17:03:21 +02:00
Simon Lübeß
8972e607fd
Asset Placeholders
2024-06-05 13:54:46 +02:00
Simon Lübeß
ff0ac74d12
Moved texture loader from editor to engine
2024-06-03 00:59:01 +02:00
Simon Lübeß
1b38a41dfc
Fix dds and texture cube import
2024-06-03 00:46:55 +02:00
Simon Lübeß
108b31399a
Use asset pipeline for blocking asset loading, remove old texture loader
2024-06-03 00:46:23 +02:00
Simon Lübeß
b2806d9460
Reprocess, load and hot swap changed assets using new asset pipeline
2024-06-02 00:39:22 +02:00
Simon Lübeß
9e7e7f0d76
Asset (de)compression
2024-05-20 16:10:55 +02:00
Simon Lübeß
ffe8954b8d
Load pngs from cache
2024-05-20 13:35:37 +02:00
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ß
1a43ff2971
Convert texture asset and save to cache
2024-05-20 01:08:18 +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ß
d1fc33cb6d
ScriptCore: Marked EditorFlags as falgs
2024-04-15 00:02:08 +02:00
Simon Lübeß
b65bdb84ae
ScriptCore: Added Math.remap
2024-04-14 23:57:12 +02:00
Simon Lübeß
f30bcb2f89
Slightly improved text renderer
2024-04-14 23:56:09 +02:00
Simon Lübeß
4d0617aff7
Fixed text box losing the last letter
2024-04-13 23:45:04 +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ß
9cee44f4d2
ScriptCore: Fixed error when deserializing list of strings
2024-03-22 10:15:24 +01:00
Simon Lübeß
c6c47d0c0e
ScriptCore: Implemented Pick-Method and ThreadSafeRandom
2024-03-22 10:14:38 +01:00
Simon Lübeß
f8b6c50cda
ScriptCore: Type.GetSimpleName and GetPrettyName
2024-03-22 10:13:16 +01:00
Simon Lübeß
94fc620662
EntityEditor: Refactored type dropdown
2024-03-22 10:12:55 +01:00
Simon Lübeß
d357f44a39
Jump to correct line when opening script file from log
2024-03-22 10:05:00 +01:00
Simon Lübeß
da59fd87f2
Removed sandbox project from workspace
2024-03-17 20:30:51 +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ß
84204aed46
No longer crash when selected entity disappears
2024-03-17 20:10:48 +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ß
a87820c7da
Use text height for entity visibility toggle
2024-03-10 15:21:25 +01:00
Simon Lübeß
27c433aba2
Moved play buttons into main menu
2024-03-10 15:16:55 +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ß
5ca5404f72
Moved template copying from EditorLayer to Project
2024-03-09 20:53:27 +01:00
Simon Lübeß
9ea27a64e8
Modified template and improved template creation
2024-03-09 20:35:21 +01:00
Simon Lübeß
4e9a6b54f3
Friendship ended with VISUAL STUDIO, Now RIDER is my best friend
2024-03-09 20:33:26 +01:00
Simon Lübeß
09624e4e59
ScriptCore: Added NumberFormatAttribute
2024-03-09 01:00:59 +01:00
Simon Lübeß
5dbe1d7e50
ScriptCore: Color structs
2024-03-02 14:19:24 +01:00
Simon Lübeß
ba246dd638
ScriptCore: Fixed some nullable warnings
2024-03-02 14:19:02 +01:00
Simon Lübeß
caaa7646ef
ScriptCore: matrix generator
2024-03-02 13:54:34 +01:00
Simon Lübeß
0a8d83ffb6
Changed Transform Update order
2024-02-26 13:47:29 +01:00
Simon Lübeß
19ee9bee89
Tooltips for Script Editor
2024-02-26 13:46:32 +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ß
f5f32eecb2
Vector documentation
2024-02-19 18:17:45 +01:00
Simon Lübeß
b84ce5e482
File filter for open and save scene
2024-02-18 00:51:53 +01:00
Simon Lübeß
1340b06af5
Basic asset thumbnails
2024-02-18 00:48:09 +01:00
Simon Lübeß
3b584f2c78
Editor: Show name of script class in script component header
2024-02-17 23:43:39 +01:00
Simon Lübeß
886c4a71dd
Editor: Changed color for ImGui MenuBars
2024-02-17 23:32:47 +01:00
Simon Lübeß
86b09c173b
Print pretty names and support LabelAttribute for enum cases
2024-02-17 23:32:21 +01:00
Simon Lübeß
a07ea3276c
ScriptCore: Added LabelAttribute
2024-02-17 23:06:55 +01:00
Simon Lübeß
3c0302b06c
Editor: Show pretty script field names
2024-02-17 22:53:58 +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ß
aba7448fe6
Improved collapsing region for PolygonCollider2D vertices
2024-01-30 23:57:07 +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ß
09f7dfce90
FloatX to Numerics.VectorX converision operators
2024-01-30 23:36:35 +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ß
bae8b84d35
ScriptCore: Added some Random functions
2024-01-27 19:52:42 +01:00
Simon Lübeß
394ec2b9b2
ScriptCore: Added TryGetComponent for entities
...
also added NullableAttributes for better static null analysis
2024-01-27 19:47:30 +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ß
2399196a3a
Fixed Collision2D using wrong entities for rigidbodies
2024-01-25 23:36:29 +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ß
3815b70f06
Content Browser: Context menu item to copy path and identifier of assets
2024-01-25 22:28:02 +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ß
55eef017e7
AssetBrowser: Bad way to open scripts in Visual Studio
2024-01-20 21:23:01 +01:00
Simon Lübeß
04a0cecf3c
Fixed script play mode info
2024-01-18 21:41:18 +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ß
9befd9e910
ScriptCore: Added trigonometric functions to Math
...
I don't know why it claims I changed the entire file...
2024-01-16 13:32:46 +01:00
Simon Lübeß
60b45828c2
ScriptGlue: Added Camera component and throwing mono exceptions from beef
2024-01-15 01:22:52 +01:00
Simon Lübeß
ceb4241216
ScriptGlue: Added Log.Exception
...
- Also pushed missing List Editor fix
2024-01-15 01:21:56 +01:00
Simon Lübeß
49db3a28c8
Fixed deserialization of generic types
2024-01-15 01:18:13 +01:00
Simon Lübeß
19d70c94e6
Added UUID.Zero
2024-01-15 01:16:30 +01:00
Simon Lübeß
ba68eb7428
Editor: Show name of open scene in window title
2024-01-12 15:41:56 +01:00
Simon Lübeß
827f3bb564
EntityHierarchyWindow: Dragging entites no longer selects them
2024-01-12 15:32:21 +01:00
Simon Lübeß
6c910ab03b
Editor: Prevent saving while in not in edit mode
2024-01-12 00:31:10 +01:00
Simon Lübeß
55b4be05c2
ScriptCore: Properly use nullable
2024-01-12 00:17:40 +01:00
Simon Lübeß
3d0c010139
EntityHierarchyWindow: Fixed right click deselecting entities
2024-01-11 23:36:00 +01:00
Simon Lübeß
91cef7ad4b
Added checkbox to enable and disable polygon collider vertex handles
2024-01-11 22:55:40 +01:00
Simon Lübeß
7cdc398494
Added basic decimal editor
2024-01-11 22:55:18 +01:00
Simon Lübeß
99a12a118c
Fixed Script data for entity copying
2024-01-09 13:41:54 +01:00
Simon Lübeß
b93e081e0a
Fixed URL of Submodule Box2D
2024-01-08 14:37:14 +01:00
Simon Lübeß
86139f870c
ScriptCore: Cleanup and refactoring
...
A bit of nullable stuff
2024-01-07 23:56:44 +01:00
Simon Lübeß
bfc9d4a0a5
Save and Load script data from files
2024-01-07 18:35:33 +01:00
Simon Lübeß
a302a26f80
Moved SerializationType and Object to separate files
2024-01-06 13:27:24 +01:00
Simon Lübeß
9a09a1d878
ScriptCore: Escape sequence for char editor
2024-01-06 13:17:23 +01:00
Simon Lübeß
31e7edcc9c
ScriptCore: Open newly created dictionary entry
2024-01-06 13:16:36 +01:00
Simon Lübeß
5d9973a791
ScriptCore: Add Entry for dictionaries
2024-01-06 13:12:50 +01:00
Simon Lübeß
13baf2f4bc
ScriptCore: Show Custom Editor
...
Implemented basic Dictionary editor
2024-01-05 15:46:54 +01:00
Simon Lübeß
9da675e4bb
Use delegates for custom serializers
2024-01-05 14:34:11 +01:00
Simon Lübeß
a5e767df01
Enabled nullable for ScriptCore
2024-01-05 14:33:50 +01:00
Simon Lübeß
3de861110e
Custom Serializers
...
- Dictionary serializer
2024-01-05 13:37:58 +01:00
Simon Lübeß
16f4dd349b
Serialize and Deserialize Lists and 1D-Arrays
2024-01-01 13:03:34 +01:00
Simon Lübeß
c111fff32b
ScriptCore: Added extension Type.IsAssignableTo
2024-01-01 13:02:50 +01:00
Simon Lübeß
19fb969718
ScriptCore: Added custom debug display for UUID
2024-01-01 13:02:34 +01:00
Simon Lübeß
e5f2da66a9
ScriptCore Fixed CreateInstanceSafe(Type type, params object[] args)
2024-01-01 13:02:15 +01:00
Simon Lübeß
418aa71241
ScriptCore: Fixed adding element to arrays
2023-12-31 17:22:04 +01:00
Simon Lübeß
beb696ee5d
Added basic ArrayEditor
2023-12-31 17:10:17 +01:00
Simon Lübeß
ed3884e30e
ScriptCore: Made creation of class instance safer
2023-12-31 17:05:27 +01:00
Simon Lübeß
bd72a67d29
Fixed List add/remove element buttons not working
2023-12-31 17:01:23 +01:00
Simon Lübeß
9e222daeb2
ScriptCore: Fixed deserialization of null values
2023-12-28 23:05:49 +01:00
Simon Lübeß
34ddfc11f7
Update Submodule DirectX
2023-12-28 22:56:29 +01:00
Simon Lübeß
5051829753
Split up, clean up and internalize EntitySerializer
2023-12-28 22:50:24 +01:00
Simon Lübeß
2fc45a50e0
ScriptCore: Fixed component and entity reference serialization
2023-12-28 22:40:59 +01:00
Simon Lübeß
2e82f24fd7
Initialize ScriptGlue whenever ScriptEngine loads assemblies
2023-12-26 02:01:14 +01:00
Simon Lübeß
a4c311c2e4
Implemented Entity and Component Drop-Targets and added Name property for entities
...
- Also fixed non generic GetComponent
- Use UUID as Drag-Drop value for entities
- Removed unused methods from ComponentEditWindow
- Started a marginally type-safe version of ImGui.Payload
2023-12-26 02:00:44 +01:00
Simon Lübeß
4fa6384544
Fixed ScriptCore post build script to enable hot reloading for ScriptCore
2023-12-26 00:42:09 +01:00
Simon Lübeß
2f86f751a4
Serialize Enums (and maybe Entitiy/Component refs)
2023-12-25 21:46:19 +01:00
Simon Lübeß
215e1f6500
Catch Activator exceptions
2023-12-25 20:25:55 +01:00
Simon Lübeß
acefbb58bd
Serialize/Deserialize simple classes
2023-12-25 20:08:48 +01:00
Simon Lübeß
7bd69c162f
Fixed serialization of null-strings
2023-12-25 18:58:06 +01:00
Simon Lübeß
20814a61b6
Fixed memory leak in AssetFile
2023-12-25 16:30:58 +01:00
Simon Lübeß
abb119589c
Reload scripts in Play Mode!!!
...
- Dont serialize static fields
- Added some profiling to ScriptEngine
- Removed superseded ScriptFieldMaps
2023-12-24 01:33:48 +01:00
Simon Lübeß
d0f0a34247
Start of Script Instance deserialization
...
- Also deserialize when stopping the game to restore pre play state
- Fixed ancient bug where ClearDictionaryAndDeleteKeys falsly deletes the dictionary
- Added ClearDictionaryAndDeleteValues helper mixin
2023-12-24 01:30:01 +01:00
Simon Lübeß
c9116812b4
Serialize Data
2023-12-23 00:44:04 +01:00
Simon Lübeß
a6f68a59d6
Moved basic ScriptEngine classes into separate object
2023-12-22 19:11:40 +01:00
Simon Lübeß
424e995fae
ScriptCore: Made trivial pointer stuff complicated to fix some warnings
2023-12-18 01:44:44 +01:00
Simon Lübeß
4b30fc1a69
ScriptCore: Fixed nullable warning
2023-12-18 01:43:23 +01:00
Simon Lübeß
203e8c4ddb
ScriptCore: Generate GetHashCode for Vectors
...
Fixes warnings
2023-12-18 01:43:02 +01:00
Simon Lübeß
945a0e5603
Fixed Half
2023-12-17 19:23:19 +01:00
Simon Lübeß
3a3778651d
ScriptCore: Moved Physics2D into Physics namespace
2023-12-17 18:47:29 +01:00
Simon Lübeß
6a87d1ac09
ScriptCore: Use engine implementation of half to no longer rely on Half-Package
2023-12-17 18:47:07 +01:00
Simon Lübeß
64f7896c15
Updated ImGui to 1.90.1
2023-12-17 02:22:04 +01:00
Simon Lübeß
89e4e4ef17
Start of entity serialization
2023-12-15 14:53:31 +01:00
Simon Lübeß
b884ee8303
Moved Components to their respective namespaces
2023-12-15 14:53:10 +01:00
Simon Lübeß
66281ebddb
Added icon for editor
2023-12-15 14:52:19 +01:00
Simon Lübeß
a129156641
Documentation
2023-12-13 14:45:33 +01:00
Simon Lübeß
ed756f5847
Fixed scripts OnUpdate not being called in play mode
2023-12-13 14:01:23 +01:00
Simon Lübeß
4a2635a8c3
ScriptCore: Moved Component + Doc
2023-12-13 14:00:27 +01:00
Simon Lübeß
105ff57206
Merge branch 'main' of github.com:aharabada/glitchy-engine-beef
2023-12-12 13:38:47 +01:00
Simon Lübeß
e69e1b5526
Show Buttons in entity editor
...
- ScriptEngine: Added HasCustomAttribute- extension method
- ScriptEngine: Added Application class
2023-12-12 13:38:29 +01:00
aharabada
4ed3dcf96f
Update README.md
2023-12-12 02:34:06 +01:00
Simon Lübeß
13cb043cf4
Removed TODOs related to native script component (which was removed)
2023-12-10 12:52:49 +01:00
Simon Lübeß
bedbc696c3
ScriptCore: Added UUID.CreateNew
2023-12-10 12:50:11 +01:00
Simon Lübeß
1238a43896
Start and Stop script runtime for editor scene
2023-12-03 14:06:40 +01:00
Simon Lübeß
aaa48158c3
Removed script editor from beef side
2023-12-02 00:40:17 +01:00
Simon Lübeß
5852e11ccb
Start of edit mode scripts
...
- Initialize script instances in edit mode
- Run OnCreate and OnUpdate for Entities with RunInEditMode-Attribute
2023-12-02 00:28:04 +01:00
Simon Lübeß
23b38a7a31
Removed references to nonexistent files/folders
2023-12-01 23:52:16 +01:00
Simon Lübeß
dc551fb85c
Remove native script component
2023-12-01 23:51:53 +01:00
Simon Lübeß
df6b522741
Improved postbuild script for ScriptCore: Automatically create target directory
2023-12-01 23:45:02 +01:00
Simon Lübeß
8f93e1e0e5
Ignore ScriptCore build output
2023-12-01 23:22:41 +01:00
Simon Lübeß
48cdcee8a8
Fixed null pointer exception in ShowScriptEditor when script component has no instance
2023-12-01 23:14:51 +01:00
Simon Lübeß
270e34b983
Fixed list of struct drag and drop, added context menu to remove list entries
2023-12-01 23:14:19 +01:00
Simon Lübeß
df446188b6
Add support for strings and BoolX in script engine, show strings as textfields in editor
2023-12-01 23:13:30 +01:00
Simon Lübeß
b68bad5bda
Keep Entities selected when switching between Play- and Edit-Mode
...
- Fixed the check whether all selected entities have the same parent
2023-11-29 14:16:36 +01:00
Simon Lübeß
0257b93c7b
Move List elements via Drag and Drop
2023-11-22 19:28:02 +01:00
Simon Lübeß
872a400966
Scripts: More range attributes for fields
...
- Added Minimum- and Maximum attributes
- Documentation for Min, Max and Range
- EntityEditor: Refactoring + Range Attributes
2023-11-22 01:59:57 +01:00
Simon Lübeß
ffe86a18cf
Scripts: First implementation of Range- and Readonly-Attributes + added support for all primitive types
2023-11-22 00:57:18 +01:00
Simon Lübeß
881bb8ee51
Scriptengine: Support char-type
2023-11-22 00:55:07 +01:00
Simon Lübeß
05350d4768
Renamed EditfloatX to EditFloatX
2023-11-22 00:54:43 +01:00
Simon Lübeß
8127884b50
Improved List editor and added Enum editor, fixed changed fields not updating
2023-11-18 18:06:13 +01:00
Simon Lübeß
18867fd208
Scripting: VectorGeneratorgenerate Equals methods
2023-11-18 18:03:14 +01:00
Simon Lübeß
849a8582f6
Scripting: Added Log functions to print objects
2023-11-18 18:02:37 +01:00
Simon Lübeß
f28eabf807
Fixed mono not finding assemblies like linq, etc.
2023-11-18 17:56:09 +01:00
Simon Lübeß
060d1ae6fc
Scripting: Implemented Equals and GetHashCode for UUID
2023-11-18 16:45:46 +01:00
Simon Lübeß
24365ec477
Call correct UUID constructor for Entities, fixed crash and weirdness when Scripts have fields that are classes
...
Let's not talk about the fact that this was a one line fix all along...
2023-11-18 02:05:55 +01:00
Simon Lübeß
214889470f
Scene: Set ScriptEngine Context (Scene) when copying entities
...
Fixes invalid access when constructors throw exceptions
2023-11-18 02:00:11 +01:00
Simon Lübeß
2a4eac814b
ScriptGlue: Changed signature of Entity_GetScriptInstance
2023-11-18 01:59:10 +01:00
Simon Lübeß
1a92f4aec1
Started reworking entity initialisation
2023-11-18 01:04:12 +01:00
Simon Lübeß
02a2ccb6f9
Copy ScriptCore dependencies to output, EntityEditor: Start of lists
2023-11-16 18:32:13 +01:00
Simon Lübeß
d2972d1b03
Updated submodule "gltf"
2023-11-15 16:25:12 +01:00
Simon Lübeß
d718c6625d
Allow separators in "Create new Asset" dropdown (also changed text to just "Create new")
2023-11-15 16:23:22 +01:00
Simon Lübeß
6f1467046d
Tried EntityEditor in C#
2023-11-10 12:41:58 +01:00
Simon Lübeß
b41eaad788
Disposable Rigidbody2D
2023-10-28 21:48:56 +02:00
Simon Lübeß
38fc1f63b3
Small script engine improvements
...
- Fixed script class name not visible in Component Editor
- Retain user assembly file system watcher (fixed deletion while handling events)
- Fixed crash when a scritp constains a List or Array (by ignoring them for now)
- Fixed Typo in Genericinst
- Scene: Invoke OnCreate for copied entity scripts
2023-10-28 21:48:43 +02:00
Simon Lübeß
909012f518
Moved Script Solution (.sln) to project root
...
- Updated vswhere.exe
- Scripts created via Asset browser are now being added to the project
- Fixed Apply not being called for extended Settings
- Correctly wrap New File preview only when line full
- Create Project: Show warning, when target directory already exists
2023-10-27 22:29:10 +02:00
Simon Lübeß
3d8756ec42
Added context menu entry to create C#-Scripts.
...
Allow entering file name before creation
2023-10-19 19:27:01 +02:00
Simon Lübeß
bad7b08046
EditorContentManager: Fixed asset reloading
...
(thats why unit tests exist... or at least types...)
2023-09-29 18:56:37 +02:00
Simon Lübeß
d32bc6c475
Properties Window: Combined "Save"- and "Apply"-Buttons into one "Save"-Button
2023-09-29 18:51:21 +02:00
Simon Lübeß
688046fcf9
Scripting: Create Rigidbodies and Colliders during runtime
2023-09-21 15:10:20 +02:00
Simon Lübeß
446dc2ca2a
Scripting: Basic copying of entities during runtime + Reference Components using UUID
2023-09-21 14:23:00 +02:00
Simon Lübeß
ba54d48dfe
Fixed referencing entities and components that are not the script owners entity
2023-09-16 22:14:52 +02:00
Simon Lübeß
754c149493
Entity Creation and Destruction from scripts
...
- ScriptEngine: Allow destroying scripts during runtime
- Scripting:
- Create new entities using Constructors
- Added Destroy functions for Entities
- Added SetScript/RemoveScript functions for Entities
- Allow adding multiple components at once
- Added Is-Method
- Mono Wrapper: Added Array-Functions
- WorldEnumerator: Fixed crash due to dangling list pointer after entity creation
- Scene:
- Basic create Rigidbodies during runtime
- Start of entity copying (For runtime use)
- Added DestroyEntityDeferred
- SceneSerializer:
- Added option to assign new IDs to entities
2023-09-15 23:22:27 +02:00
Simon Lübeß
ff54eb738e
UUID: Removed empty constructor, added static Create-Function
2023-09-13 13:14:54 +02:00
Simon Lübeß
370eaf9bc7
Skip CMake compiler testing
2023-09-13 01:02:13 +02:00
Simon Lübeß
5af174ecee
ScriptCore: atan2
2023-09-05 23:15:48 +02:00
Simon Lübeß
7bffd01401
Rigidbody2D Get/Set Linear and Angular Velocity
2023-09-05 23:15:33 +02:00
Simon Lübeß
cd333f4f02
EditVector: Allow Disabling individual components
...
+ Disable XY-Angle when Entity has Rigidbody2D Component (This is something for future me, I couldn't figure it out...)
+ Start of handling of non trivial tranform nesting and rotations on XY axes
+ TranformComponent.RotationEuler: Normalize quaternion before converison
2023-09-05 23:14:51 +02:00
Simon Lübeß
2f58f0e142
Renamed RigidBody2D to Rigidbody2D
...
+ Math.normalize(Quaternion)
+ Position and Rotation properties for Rigidbody2D
+ use In, Out on beef side in ScriptGlue
2023-09-03 19:42:50 +02:00
Simon Lübeß
0165279220
Implemented "Open recent Project" menu entry
...
+ Clean up handle -> asset map when chaning Asset or Resource directory
2023-08-21 14:11:51 +02:00
Simon Lübeß
3affb8a32f
Scripting: Added Set and GetPosition to Rigidbody2D
...
+ Vectors: Hide swizzles in Debugger + Generate ToString
2023-08-21 13:20:12 +02:00
Simon Lübeß
d3c19dd8da
2D Polygon Collider editor with Gizmos
...
+ Added Handles class
2023-08-21 13:18:51 +02:00
Simon Lübeß
377997f903
Fixed mouse wrapping to wrong position when window is moved
2023-08-14 23:56:43 +02:00
Simon Lübeß
d7201299c7
Fixed physics only simulation
...
+ Don't run scripts in physics only mode
+ Don't initialize scritps in physics only mode
+ Don't setup physics callbacks in physics only mode
2023-08-14 22:38:55 +02:00
Simon Lübeß
a112fcc64a
Automatic switch between Player <-> Editor Tabs
...
+ Allow Editor to inject into Settings
2023-08-14 22:10:27 +02:00
Simon Lübeß
f71e851ab5
Push Loggers earlyer to hopefully avoid race condition
...
+ Fix null check in EditorLogger
2023-08-14 22:09:35 +02:00
Simon Lübeß
040e87d57f
Fixed Selection and Deletion in Entity Hierarchy Window
2023-08-14 14:32:58 +02:00
Simon Lübeß
74b17c8599
2D Polygon Collider
2023-08-13 12:03:06 +02:00
Simon Lübeß
4e5d3cfd64
Add OnCollisionLeave2D
2023-08-10 22:07:58 +02:00
Simon Lübeß
b28ca14e15
Updated Box2D
2023-08-10 20:38:49 +02:00
Simon Lübeß
aafcc41286
Invoke on collision enter + start of attach child colliders to rigidbody
...
+ Changed default Namespace of ScriptCore to GlitchyEngine
+ Implicit Casts float2 <-> b2Vec2
+ Entity constructor internal
+ Renamed RigidBody2D to Rigidbody2D (notice the B)
+ Basic Debug Draw actual 2D Colliders
+ Added Entity::GetParentWithComponent
2023-08-10 19:55:45 +02:00
Simon Lübeß
987246a806
Asset Drag'n'Drop preview
2023-08-02 14:59:35 +02:00
Simon Lübeß
f654a4f379
Fixed AssetHierarchy not updating + Drag'n'drop Files in Asset Browser
2023-08-02 13:48:06 +02:00
Simon Lübeß
92334d8150
Hide obsolete Application.Get()
2023-08-02 00:08:30 +02:00
Simon Lübeß
0101f546a5
Use InvokeOnMainThread for asset tree updates
2023-08-02 00:08:17 +02:00
Simon Lübeß
6c4ac923c6
Asset renaming + AssetHierarchy: major refactoring for file tree construction
...
+ AssetFile: Added "AssetConfigPath" Property
+ Less crashy, more cleaner
2023-08-01 23:56:52 +02:00
Simon Lübeß
51441f0e70
Fixed memory leak
2023-08-01 23:20:25 +02:00
Simon Lübeß
d2600c7517
Fixed Race-Condition in SamplerStateManager
2023-08-01 22:50:09 +02:00
Simon Lübeß
60725c3588
Universal AssetHandles. Serialize AssetHandle instead of AssetIdentifier
...
A bit unstable
2023-08-01 21:38:54 +02:00
Simon Lübeß
6d7f26b1f4
Added "Create new Folder" to Asset Browser context menu
2023-08-01 16:45:54 +02:00
Simon Lübeß
b1f89a345f
Deletion of Assets and Directories
2023-08-01 16:45:33 +02:00
Simon Lübeß
253dd8087e
Added option to create Materials in Asset Browser
2023-08-01 16:24:31 +02:00
Simon Lübeß
e8a5594540
Allow changing Effect of Materials
...
+ TextureDimension Property for Texture
2023-08-01 13:28:04 +02:00
Simon Lübeß
5d8c1b111a
Project user settings, load recent scenes, properly cleanup ScriptEngine when switching scenes
2023-07-31 20:09:56 +02:00
Simon Lübeß
3298053d9d
Fixed Asset Drag'n'Drop
2023-07-31 20:07:12 +02:00
Simon Lübeß
adccb74f44
Editor Layer cleanup
2023-07-31 18:48:36 +02:00
Simon Lübeß
97113b5df6
Start of Create Asset Context Menu
...
+ Asset Hierarchy: Fixed Assets in Folder-Root not being shown
2023-07-31 17:40:05 +02:00
Simon Lübeß
c374d86ec7
Cleanup
2023-07-31 16:40:27 +02:00
Simon Lübeß
803fd7f8ba
Fixed crash when ScriptComponent has no Instance in Play Mode
2023-07-31 16:36:02 +02:00
Simon Lübeß
11a57f5285
Fixed ComponentEditWindow showing component editor after it was deleted
2023-07-31 16:35:38 +02:00
Simon Lübeß
0d015b485e
Basic project creation
...
+ Added TreeNode.RemoveChild
+ Added Directory.Copy
+ Path.Combine now replaces alt directory separator
+ Project: Renamed ProjectName to Name
+ Project.Load: Save settings, if file doesn't exist
2023-07-31 16:35:12 +02:00
Simon Lübeß
17e4a6a589
Updated Beef.Linq
2023-07-30 20:32:19 +02:00
Simon Lübeß
c1a87ed946
Separated Assets to Resources (Engine assets) and Assets (Project specific)
...
+ AssetHierarchy: Exposed RootNode
+ ContentBrowserWindow: Fixed Empty Folder not being Leaf-Node
+ TreeNode: Added IsParentOf, IsChildOf and IsInSubtree.
+ Fixed InternalDeleteTreeAndChildren for null trees
2023-07-30 20:30:06 +02:00
Simon Lübeß
20dae92be7
Fixed Assets having scrollbars in content browser
2023-07-30 13:55:50 +02:00
Simon Lübeß
df67f32399
Start of project system
...
+ added Directory.IsEmpty
2023-07-30 13:23:34 +02:00
Simon Lübeß
14a802d057
Added new line to EditorLogger
2023-07-30 13:21:33 +02:00
Simon Lübeß
12d6df3edf
Fixed crash when AssetViewer has size of 0 (RTFM)
2023-07-29 18:54:45 +02:00
Simon Lübeß
2838449186
Ignore MonoDebugger.log
2023-07-28 21:15:23 +02:00
Simon Lübeß
75513bea3d
Removed obsolete texture viewer
2023-07-28 21:09:33 +02:00
Simon Lübeß
16c3d7c44d
Updated ImGui
2023-07-28 13:38:59 +02:00
Simon Lübeß
7ae069baf6
Fixed loading UI font
2023-07-28 12:26:15 +02:00
Simon Lübeß
00dc3faa19
Failed to show and edit script sctruct
...
+ SizeInBytes for MonoFields
2023-07-28 11:48:01 +02:00
Simon Lübeß
f39acdadb3
Show enum fields in Edit mode
2023-07-28 00:07:10 +02:00
Simon Lübeß
1254d01545
Handle exceptions from C# Scripts + Log window + EditorLogger
...
+ Renamed Platform/DX11/ImGui.bf to .../Dx11ImGui.bf for clarity
+ ImGuiExtension: ImageButtonEx thata takes a TextureViewBinding
+ EditorLogger that logs to the LogWindow
+ Current logger can now be changed
+ Info, Trace, Warning and Error Icons
2023-07-27 21:58:42 +02:00
Simon Lübeß
0bc517842f
Allow changing logger
2023-07-27 00:42:42 +02:00
Simon Lübeß
3e63281508
Fixed mono debugging...
2023-07-26 22:56:43 +02:00
Simon Lübeß
ef486b7082
Basic entity highlighting
2023-07-25 19:37:13 +02:00
Simon Lübeß
81a61d5a90
Drag'n'drop for components
...
+ Added CreateInstance to ScriptClass
+ Added CreateComponentInstance to ScriptInstance
2023-07-25 16:37:41 +02:00
Simon Lübeß
37197cbdf1
Allow dragging and dropping of Entities in editor
...
+ New Dictionary Helpers
+ Made ImGui Payloads safer
+ Start of Component drag'n'drop
2023-07-24 23:17:00 +02:00
Simon Lübeß
b53ed2d8f2
Made script deserialization more robust
2023-07-24 21:28:58 +02:00
Simon Lübeß
457b43352a
Debugging, but it doesn't work for some reason
2023-07-21 16:16:24 +02:00
Simon Lübeß
cc7fb7311f
Added single step for simulation and play mode
...
+ Added ManualStepTime to GameTime
2023-07-20 23:21:21 +02:00
Simon Lübeß
5f27b8001a
Automatic script assembly reloading
2023-07-20 22:11:11 +02:00
Simon Lübeß
0cbb8a4966
Fixed C# -> Beef Type mapping
2023-07-20 17:53:32 +02:00
Simon Lübeß
79adc70f01
Gitignores and missing updates to scripts
2023-07-20 17:51:06 +02:00
Simon Lübeß
78ba016b03
Log Exceptions in thrown by Script OnUpdate-Function
2023-07-20 17:48:50 +02:00
Simon Lübeß
3e55a1614a
Shader like vectors for C# Scripting
2023-07-20 17:48:28 +02:00
Simon Lübeß
f0de874572
Start of generate vectors for C#
2023-07-19 18:43:26 +02:00
Simon Lübeß
6e02a04a4f
Changed ScriptCore to DotNet Standard 2.0
2023-07-19 15:45:36 +02:00
Simon Lübeß
cd1562f372
Basic Script reloading
...
+ ScriptComponent now saves script name instead of direct ScriptClass reference
+ Added ClearDictionaryAndDeleteKeys helper
+ Moved ScriptFieldType to separate file
+ _ScriptFieldMap now uses String as Key
2023-07-18 22:06:34 +02:00
Simon Lübeß
e8505f6bdb
Scripting: FindEntityWithName and get script instance
...
+ Some C# UUID stuff
+ Added some Mono functions
+ ScriptEngine:
+ ID -> ScriptInstance map in ScriptEngine
+ GetManagedInstance
+ Fixed Scene not visible after loading a new scene
+ Renamed OnViewportResize to SetViewportSize for Scene and SceneRenderer
2023-07-17 20:27:18 +02:00
Simon Lübeß
66d66d3308
Serialize script fields in "array" + more forgiving deserialization
2023-07-17 04:04:01 +02:00
Simon Lübeß
88b393157a
Make sure we always initialize with a scene
2023-07-17 04:00:30 +02:00
Simon Lübeß
28155ec92c
Allow opening a scene on launch
...
+ don't resize on load/new scene
2023-07-17 02:19:49 +02:00
Simon Lübeß
1641bafd06
Don't instantiate scripts for Editor + ScriptComponent Serialzation + Don't crash when scene loading failed
2023-07-17 01:27:58 +02:00
Simon Lübeß
76bff3a6c1
Texture importer now supports mip maps
2023-07-06 17:06:59 +02:00
Simon Lübeß
a507eeb1cd
Kind of fixed a memory leak
2023-07-01 12:49:17 +02:00
Simon Lübeß
77c45db122
Replaced IntX by intX, Basic AssetViewer (can view Textures, kind of)
2023-07-01 00:15:01 +02:00
Simon Lübeß
e12fcaacff
Added Math min/max for float
2023-06-28 22:03:43 +02:00
Simon Lübeß
b31d43820a
Support emissive materials
2023-06-28 19:33:39 +02:00
Simon Lübeß
334c2c0366
Search in Content Browser (and added ForEach in TreeNode)
2023-06-28 19:27:52 +02:00
Simon Lübeß
bb520b43ec
Added support for Cube Textures, Improved dds import (and textures in general), Texture refactoring and DX11 DeviceContext synchronization
2023-06-25 17:58:16 +02:00
Simon Lübeß
46693666aa
Fixed current directories context menu not opening
...
i.e. when right clicking the background of the current directory
2023-06-25 03:20:35 +02:00
Simon Lübeß
9e1f648aa0
Transitioned from VectorX to floatX
...
And some trying to update Rigidbody when transform changes
2023-06-25 02:47:33 +02:00
Simon Lübeß
5f5da2ed35
Moved vector type files
2023-06-25 01:11:06 +02:00
Simon Lübeß
fa2277cd99
Start of shader like vectors + added 16 bit float
2023-06-24 23:45:56 +02:00
Simon Lübeß
54936d5744
Fixed crash when viewport size is negative
2023-06-24 13:07:07 +02:00
Simon Lübeß
04d69717a3
Automatically pull and build mono once + .gitignore
2023-06-18 21:03:59 +02:00
Simon Lübeß
3becc1e25b
fixed Settings-File not being created and start of Recent-Projects-Menu
2023-06-18 16:05:03 +02:00
Simon Lübeß
e8e6207bc1
Merge branch 'scripting' of github.com:aharabada/glitchy-engine-beef into scripting
...
# Conflicts:
# GlitchyEngine/src/Scripting/ScriptClass.bf
# GlitchyEngine/src/Scripting/ScriptEngine.bf
# GlitchyEngine/src/Scripting/ScriptInstance.bf
# GlitchyEngine/src/World/Scene.bf
# GlitchyEngineHelper/src/Mono/Mono.bf
2023-06-18 14:33:28 +02:00
Simon Lübeß
f4c5bf9c2d
Added binding for mono_field_get_value_object
2023-06-18 14:24:26 +02:00
Simon Lübeß
f4607a6210
Script default values after init, Fix memory leak, Copy Script values on Play
2023-05-31 14:38:07 +02:00
Simon Lübeß
6a59deb9e2
Weiß ich nicht, ist Monate her...
2023-05-30 16:54:57 +02:00
Simon Lübeß
ac1817fe33
Weiß ich nicht, ist Monate her...
2023-05-30 16:52:27 +02:00
Simon Lübeß
5855b13873
Wer weiß, was ich alles so gemacht hatte...
...
- Fixed crash caused by early ScriptEngine shutdown
2023-05-30 16:50:22 +02:00
Simon Lübeß
ef5e4ba64f
Fixed ScriptClass leaking
2023-03-30 15:13:21 +02:00
Simon Lübeß
4fd9a924a0
Added basic component access in Scripts
2023-03-29 16:32:46 +02:00
Simon Lübeß
e60d74fccd
Basic entity scripting
2023-03-29 13:33:34 +02:00
Simon Lübeß
5e5134a607
Added Mono for C# scripting
2023-03-26 13:11:44 +02:00
Simon Lübeß
fd6826785a
Updated submodules again?
2023-03-25 13:24:50 +01:00
Simon Lübeß
43bcf01299
Merge branch 'asset_handle' into main
2023-03-25 13:20:40 +01:00
Simon Lübeß
81ae5f1135
Updated submodules
2023-03-25 13:19:59 +01:00
Simon Lübeß
0ee2f5fa9e
Merge branch 'asset_handle' into main
2023-03-25 13:15:56 +01:00
Simon Lübeß
b76d4cd558
Merge remote-tracking branch 'origin/asset_handle' into asset_handle
2023-03-25 13:04:52 +01:00
Simon Lübeß
5893cfb74a
Refactor
2023-03-25 13:04:02 +01:00
Simon Lübeß
ed952155b6
Refactor
2023-03-25 00:41:34 +01:00
Simon Lübeß
d54cdf43ee
Simulation mode and pause/resume
2023-03-24 23:50:46 +01:00
Simon Lübeß
f16fbc3984
Separated window for game and editor
2023-03-24 22:48:55 +01:00
Simon Lübeß
184480243f
Collider rendering
2023-03-24 19:13:32 +01:00
Simon Lübeß
fc1875ed96
Added Line batch rendering
2023-03-24 12:54:46 +01:00
Simon Lübeß
5733166b74
Fixed uint render targets always being cleared to zero
2023-03-19 12:49:12 +01:00
Simon Lübeß
2ba4b68e09
Split up sprite and circle renderer component
2023-03-19 12:19:22 +01:00
Simon Lübeß
edcec02e94
Fixed AssetHandle serialization
...
- Serialize MeshComponents
- Fixed handling renamed files
2023-03-19 01:04:32 +01:00
Simon Lübeß
c164aeecaa
Copy scene when entering play mode
2023-03-18 23:30:57 +01:00
Simon Lübeß
793aa40975
Add up button und split scrolling in content browser
...
- Add Parent to TreeNode
- Start of Rename handling
2023-03-18 19:59:56 +01:00
Simon Lübeß
50714976e9
Start of async asset loading
...
- Refactored content manager and asset loaders
- Asset placeholder
- Error asset
2023-03-18 18:59:30 +01:00
Simon Lübeß
7b6662cbc4
Fixed Textures in Materials
2023-03-16 23:32:02 +01:00
Simon Lübeß
cfa046d2ea
Refactored EditorContentManager
2023-03-16 23:31:19 +01:00
Simon Lübeß
b22f73a156
Handles barely work now, mostly no crashes
2023-03-16 17:57:23 +01:00
Simon Lübeß
c3fb9bbd5d
More asset handles
2023-03-13 20:35:36 +01:00
Simon Lübeß
c22d122921
Start of asset handles
2023-03-13 20:35:30 +01:00
Simon Lübeß
ad14c9f6ed
AssetHandle Code snippets for design reference
2023-03-13 15:56:31 +01:00
Simon Lübeß
2ce357cd12
Basic material serialisation
2023-03-05 16:38:50 +01:00
Simon Lübeß
2324ae852d
Moved material editing from component window to asset editor
...
- EditorContentManager now returns null if asset wasn't found (instead of crashing)
- FixUp asset identifier when dragging from asset browser
- Lock current asset in properties editor
2023-01-08 20:31:43 +01:00
Simon Lübeß
d3d284256c
Fixed WorldEnumerator crashes if one of the components doesn't exist
2023-01-08 20:29:06 +01:00
Simon Lübeß
e38373dccf
Serialize Mesh and MeshRenderer in scene + fixed Light serialization
2023-01-08 19:31:01 +01:00
Simon Lübeß
b5ca86d8de
Fixed scope of full path
2023-01-08 16:48:38 +01:00
Simon Lübeß
4589030da6
Load effects via content manager + virtual InitContentManager in App
2023-01-08 00:17:04 +01:00
Simon Lübeß
3da60355df
Model and Material loading via content manager
2023-01-07 12:15:14 +01:00
Simon Lübeß
ee30920b56
Crappy hot reloading of textures and Properties editor for textures
2023-01-03 22:21:26 +01:00
Simon Lübeß
427323744b
Fixed Sampler State filters + Documentation
2023-01-03 22:18:43 +01:00
Simon Lübeß
9d97579857
More content browser stuff
...
- Seperate AssetHierarchy from EditorContentManager
- Make files selectable and context menu
2023-01-02 20:00:48 +01:00
Simon Lübeß
fdf680508d
Don't recreate the entire asset tree
2023-01-01 18:25:36 +01:00
Simon Lübeß
0b3f242082
Added Submodule "Beef.Linq"
2023-01-01 18:18:27 +01:00
Simon Lübeß
502cee47e7
EditorContentManager Part 2
2023-01-01 16:53:58 +01:00
Simon Lübeß
c389a77274
EditorContentManager Part 1
2023-01-01 16:53:45 +01:00
Simon Lübeß
dffd43a36f
RenderAPI changes and removed Context parameter from Effect and Material
2022-11-27 17:18:16 +01:00
Simon Lübeß
d47ac23e1b
Raw Input and some ImGuiExtension changes
2022-11-26 15:24:33 +01:00
Simon Lübeß
8f22cbb8bc
Fixed circle rendering and added 2D circle collider
2022-11-26 12:17:31 +01:00
Simon Lübeß
0155a38ae6
UUID
2022-11-16 13:09:26 +01:00
Simon Lübeß
a42544f171
2D Physics
2022-10-08 16:56:15 +02:00
Simon Lübeß
202083930a
Play Button
2022-10-06 16:33:33 +02:00
Simon Lübeß
6958d27c30
Fixed editor camera for real
2022-09-29 16:39:58 +02:00
Simon Lübeß
f8544c8f64
Updated imgui
2022-09-28 22:02:37 +02:00
Simon Lübeß
e95c5731b6
Basic Model drag'n'drop
2022-09-27 20:24:03 +02:00
Simon Lübeß
3ec537762a
Overload '->' operator for TreeNode
2022-09-27 00:01:05 +02:00
Simon Lübeß
e035832ab0
Fixed mouse wrapping when scene viewport is inactive
2022-09-27 00:00:17 +02:00
Simon Lübeß
0f1eddad5f
Updated submodule DirectX
2022-09-07 18:28:40 +02:00
Simon Lübeß
d2dca12d0c
Use corrent RefCounter
2022-08-19 20:01:05 +02:00
Simon Lübeß
0588a93ec4
Use ACES tone mapping
2022-08-18 14:03:33 +02:00
Simon Lübeß
42e386a142
Fixed component name
2022-08-18 13:51:40 +02:00
Simon Lübeß
21c8d839ef
Fixed mouse picking
2022-08-18 13:51:12 +02:00
Simon Lübeß
bc1f466d18
Drag drop Texture
2022-08-13 13:47:58 +02:00
Simon Lübeß
8495c6db28
Drag Texture
2022-07-26 08:00:17 +02:00
Simon Lübeß
bff4418b84
Content browser
2022-07-25 17:03:28 +02:00
Simon Lübeß
0339ae4422
Adjust to fix in beef mixins
2022-06-15 15:31:44 +02:00
Simon Lübeß
eb03eca4dd
Manual constant buffer binding
2022-06-13 14:10:54 +02:00
Simon Lübeß
a926ef4af2
Updated gltf
2022-06-13 13:26:04 +02:00
Simon Lübeß
866353a157
Refactored Effects + start of EngineBuffers (I hate it)
2022-06-07 13:12:03 +02:00
Simon Lübeß
a80018e80c
Removed redundant Point struct and SceneViewport improvements
...
- Keyboard shortcuts for Gizmo control
- Improved mousepick-blocking
2022-06-02 12:17:57 +02:00
Simon Lübeß
e41645e12a
Composit Target and gamma correct rendering
2022-05-31 22:41:20 +02:00
Simon Lübeß
8db2ce1d05
Mouse picking
2022-05-30 14:06:52 +02:00
Simon Lübeß
47fdce0a7e
Triangle fullscreen quad
2022-05-28 15:53:35 +02:00
Simon Lübeß
d212576719
Render EntityIDs (breaks post processing)
2022-05-28 15:42:48 +02:00
Simon Lübeß
164d420a25
DX11: Automatically validate input layouts against vertex shaders
2022-05-26 11:27:02 +02:00
Simon Lübeß
28f1fad464
RenderTargetGroup GetData, Shader uint support
2022-05-25 22:00:11 +02:00
Simon Lübeß
1418063d68
RenderTargetGroup
2022-05-20 18:37:59 +02:00
Simon Lübeß
4cd0bff91d
Fixed editorcamera stuttering, Added editor icons
2022-05-18 14:12:26 +02:00
Simon Lübeß
5d8a4ad3a7
Editor camera and Editor/Runtime scene update separation
2022-05-17 19:06:28 +02:00
Simon Lübeß
ccea61fb79
Updated bon
2022-05-16 19:23:45 +02:00
Simon Lübeß
de3da8ded8
Gizmo angle snapping
2022-05-16 10:11:33 +02:00
Simon Lübeß
62bb5baac9
Gizmo improvements
2022-05-15 14:36:07 +02:00
Simon Lübeß
3956080520
Start of serializaation
...
- Allow enumerating over unregistered components
- Refactored Editor a bit
2022-05-14 23:01:08 +02:00
Simon Lübeß
1d3d30f88d
Desketchified DX11 shader binding
2022-05-13 15:13:09 +02:00
Simon Lübeß
b1a1268319
Terrible postprocessing and start of Editor GUI for lights
2022-05-11 22:49:36 +02:00
Simon Lübeß
56e92a7d67
Added Lights
2022-05-11 11:39:59 +02:00
Simon Lübeß
f4c9dd8ade
MeshRendererComponentEditor
...
- Explicit conversion from VectorX to float[X]
- Expose "Columns" and "Rows" properties of BufferVariable
- Effects: VariableDescriptors
2022-05-10 22:29:40 +02:00
Simon Lübeß
2e0cc289df
Material.GetVariable and (maybe) fixed SetVariable for Matrix3x3
2022-05-10 22:06:07 +02:00
Simon Lübeß
336e52fbac
Fix Modelloader
2022-05-10 11:48:16 +02:00
Simon Lübeß
f527af13c3
EnsureTypeMatch speedup
2022-05-09 22:58:22 +02:00
Simon Lübeß
fe0d5fa529
More profiling
2022-05-09 22:53:48 +02:00
Simon Lübeß
b37b1b4bf9
UnbindTexture, PBR changes, Test scene
2022-05-09 22:11:46 +02:00
Simon Lübeß
3c2c37b270
Shader #include + Remved unused Dx11Effect
2022-05-09 18:19:24 +02:00
Simon Lübeß
dc235399c8
Start of PBR
2022-05-09 16:45:16 +02:00
Simon Lübeß
2817c5b1a1
Start of 3d renderer integration
2022-05-04 18:38:59 +02:00
Simon Lübeß
412d0ea965
Fixed release build and automatic compiling of CPP Helper
2022-05-04 18:34:56 +02:00
Simon Lübeß
9e23ac0fcf
Removed dangling DXTK-project dependencie
2022-05-04 18:33:43 +02:00
Simon Lübeß
a43572817d
Vector tweaks
2022-05-04 17:46:15 +02:00
Simon Lübeß
805423a64e
Rendertarget inherits from texture
2022-05-04 14:53:31 +02:00
Simon Lübeß
9c93ccee47
Removed redundant submodule-entry
2022-04-13 12:32:42 +02:00
Simon Lübeß
f1ce63ee3b
Removed submodule GlitchyEngine/vendor/DirectXTK
2022-04-13 00:01:05 +02:00
Simon Lübeß
e685b4fbba
Added DirectXTK to GlitchyEngineHelper
2022-04-13 00:00:41 +02:00
Simon Lübeß
9105c12e33
Added buildcommand
2022-04-12 14:32:00 +02:00
Simon Lübeß
863c264001
UI Tweaks, ChildEnumerator, ComponentAdded-Handlers
2022-04-12 00:48:20 +02:00
Simon Lübeß
bec202e23a
Settings / SettingsWindow
2022-04-10 13:12:09 +02:00
Simon Lübeß
bca72cf0d4
Add / Remove Components
2022-04-10 12:18:43 +02:00
Simon Lübeß
af37154071
Better Transform component and edit gui
2022-04-09 12:35:36 +02:00
Simon Lübeß
c7fde476e8
Updated DX11 Bindings
2022-04-09 12:34:28 +02:00
Simon Lübeß
604e34a12a
Start of ContentManager
2022-04-09 12:34:09 +02:00
Simon Lübeß
b94c84d304
GlitchyEngineHelper project
2022-04-09 12:33:05 +02:00
Simon Lübeß
d47bc37886
SpriteRenderer Editor, enabled alpha-blending and depth
2022-04-02 00:10:00 +02:00
Simon Lübeß
c13b0a26d1
Overhauled component editors
2022-04-01 23:29:35 +02:00
Simon Lübeß
e82f70ba02
Native scripting
2022-03-03 01:39:04 +01:00
Simon Lübeß
cbee9f59d8
Many ecs, component and editor changes
2022-03-02 01:59:51 +01:00
Simon Lübeß
afe36b19df
Removed unnecessary "override extern"s
2022-03-02 01:57:04 +01:00
Simon Lübeß
9197a209d6
Ecs changes
...
- BitArray has always at least sizeof(uint) bits
- Renamed Entity to EcsEntity
- Added value parameter to EcsWorld.AssignComponent
- Matched EcsWorld generic parameters
- Added Scene
- Added Entity
2022-02-28 23:34:52 +01:00
Simon Lübeß
ba5ccd7107
Editor window
2022-02-28 18:08:13 +01:00
Simon Lübeß
c80ca4d9a1
Cleaned up DX11 report
2022-02-28 12:13:44 +01:00
Simon Lübeß
92fd8bb572
Removed Bind from Texture
2022-02-27 12:30:09 +01:00
Simon Lübeß
b341c70a26
Editor changes
...
- Updated Renderer2D shaders
- Fixed scene viewport having resolution
- Show Grid even if no entity is selected
- Explicit conversion from ImGui.VecX <-> VectorX
- Simplified EditorLayer
2022-02-27 12:21:30 +01:00
Simon Lübeß
8c8f0d9fc7
Basic tilemap
2022-02-26 18:05:56 +01:00
Simon Lübeß
8638b7ac3b
ImGuiLayer cleanup
2022-02-26 18:05:47 +01:00
Simon Lübeß
be7c3d1d8b
Subtextures
2022-02-23 13:41:59 +01:00
Simon Lübeß
699522ff67
Fixed textureviewer
2022-02-22 20:18:37 +01:00
Simon Lübeß
6f999da1b8
Fixed fallback font rendering
2022-02-22 20:18:06 +01:00
Simon Lübeß
373980d5ad
SwizzleVectorAttribute no longer generates invalid setters
2022-02-21 17:06:48 +01:00
Simon Lübeß
0db85de067
Release build fixes + ImGui build flag
...
Fonts still not working
2022-02-18 16:03:24 +01:00
Simon Lübeß
fae2bdf084
Updated submodules
...
Updated submodule GlitchyEngine/vendor/imgui
Updated submodule GlitchyEngine/vendor/msdfgen
2022-02-17 01:12:02 +01:00
Simon Lübeß
0f0afc2a90
Renderer2D improvements + stats
2022-02-16 20:44:31 +01:00
Simon Lübeß
66dad82dc6
Added ColorHSV
2022-02-14 20:40:50 +01:00
Simon Lübeß
0e684af17d
Added Window.SetIcon
2022-02-14 20:38:01 +01:00
Simon Lübeß
82898f1d5c
Added DeltaTime
2022-02-14 20:37:31 +01:00
Simon Lübeß
a2db0774f8
Cleanup
2022-02-13 02:14:56 +01:00
Simon Lübeß
5b1f694bc9
SwapChain.AspectRatio fix
2022-01-22 10:44:10 +01:00
Simon Lübeß
69be98bb38
FontRenderer: Allow preparing empty strings
2022-01-22 10:42:27 +01:00
Simon Lübeß
7eb4001a1b
PrepareFont calculates total pen advance
2022-01-21 21:19:44 +01:00
Simon Lübeß
bca4552341
Added AspectRation property to SwapChain
2022-01-21 21:19:02 +01:00
Simon Lübeß
d96ec6f21b
Renderer2D: DrawQuad with Matrix + BeginScene now takes any camera
2022-01-21 21:17:43 +01:00
Simon Lübeß
44fe2c3281
Start of gamma correction
2022-01-15 17:50:52 +01:00
Simon Lübeß
6a55108a37
Fixed RenderTargets leaking a texure when it's a Swapchain target
2022-01-15 17:49:36 +01:00
Simon Lübeß
a7b2515cf4
Added PNG-Loader to Texture2D
2022-01-15 14:34:46 +01:00
Simon Lübeß
ee9dfd4593
Don't use Harfbuzz for simple text rendering + Ignored warnings
2022-01-15 13:29:45 +01:00
Simon Lübeß
3c1897b926
Even more Profiling
2022-01-14 22:01:41 +01:00
Simon Lübeß
8a84843f54
Updated Freetype-beef
2022-01-14 21:50:06 +01:00
Simon Lübeß
06469f3350
Instrumentation
2022-01-14 21:49:15 +01:00
Simon Lübeß
78faf4cb81
Simple bidirectional text
2022-01-08 02:17:35 +01:00
Simon Lübeß
e292029015
Start of font preparation
2022-01-07 18:42:43 +01:00
Simon Lübeß
5373d92297
Updated Freetype
2022-01-07 03:28:39 +01:00
Simon Lübeß
deedb62a03
Merge remote-tracking branch 'origin/main' into main
2022-01-05 15:42:57 +01:00
Simon Lübeß
6199496987
Fixed release build
2022-01-05 15:36:34 +01:00
Simon Lübeß
826ac68873
Basic Harfbuzz support and use MSDGen with Skia
2022-01-05 15:31:09 +01:00
Simon Lübeß
b2ce560bfc
Added DepthStencilState
2022-01-01 19:34:59 +01:00
Simon Lübeß
664ba552ea
Added struct and disposable component Generators
2021-12-30 16:52:32 +01:00
Simon Lübeß
b555cc37d1
Simplified dispose function of DisposableComponents
2021-12-30 16:52:13 +01:00
Simon Lübeß
b3ab30e72a
DrawQuad with transform matrix
2021-12-30 16:18:43 +01:00
Simon Lübeß
1cc37ee168
Run default constructor when assigning component
2021-12-30 16:18:22 +01:00
Simon Lübeß
f4d64b15fa
Merge remote-tracking branch 'origin/main' into main
2021-12-15 21:25:17 +01:00
Simon Lübeß
e55b73db0f
Renamed Int-Vector and added swizzle
2021-12-08 20:58:26 +01:00
Simon Lübeß
f28984bec5
Enabled vector swizzle
2021-12-04 15:52:48 +01:00
Simon Lübeß
0fd6ac1dee
Fixed preprocessor macros
2021-10-30 14:21:26 +02:00
Simon Lübeß
419509ab7f
Improved Define names
2021-10-30 14:17:17 +02:00
Simon Lübeß
2bc87b437a
Removed delete:append in GameTime
2021-10-30 11:25:31 +02:00
Simon Lübeß
b3f9376dc8
Added Min/Max to Vectors
2021-10-30 11:24:58 +02:00
Simon Lübeß
ffafa380ea
Added Backbuffer to Swapchain + RenderCommand API changes
2021-10-15 22:40:42 +02:00
Simon Lübeß
90e654b750
Renderer2D cleanup
2021-10-15 22:39:24 +02:00
Simon Lübeß
adaf62de62
Fixed circle instancing buffer + clip pixels
2021-10-15 12:57:32 +02:00
Simon Lübeß
dcb8424c2d
Added circle rendering to Renderer2D
2021-10-14 23:01:08 +02:00
Simon Lübeß
84df8c111b
Fixed various memory leaks + ModelLoader cleanup
2021-10-14 20:47:25 +02:00
Simon Lübeß
cd82a99450
Added helpers for deleting/clearing Lists of RefCounters
2021-10-14 20:42:24 +02:00
Simon Lübeß
9216462a51
ComponentPools no longer falsely trigger leak detection
...
Fixes #3
2021-10-14 20:40:18 +02:00
Simon Lübeß
3eb7068bca
Dispose Components when EcsWorld gets deleted
2021-10-14 18:56:29 +02:00
Simon Lübeß
54870330b6
Fixed memory leak
2021-10-14 15:54:13 +02:00
Simon Lübeß
ac74aeb116
Updated Submodule msdfgen
2021-10-13 23:12:32 +02:00
Simon Lübeß
b5bfcf5741
Fixed memory leak
2021-10-13 23:04:43 +02:00
Simon Lübeß
0cbbf94fe6
Use static D3D11 device and context
2021-10-13 22:56:22 +02:00
Simon Lübeß
84daee95e4
Replaced RefCounted with RefCounter
2021-10-13 09:52:12 +02:00
Simon Lübeß
2cd9ab3e69
Fixed memory leaks
2021-10-11 12:41:56 +02:00
Simon Lübeß
5a82b89622
Fixed memory leak in Renderer2D
2021-10-09 16:47:20 +02:00
Simon Lübeß
b020855ec5
Cleaned ExampleLayer2D
2021-09-29 23:58:01 +02:00
Simon Lübeß
4dc6c916ae
Reimplemented Renderer2D
...
- Renderer2D now static
- Renderer now calls Init and Deinit of Renderer2D
- Renderer2D now calls Init and Deinit of FontRenderer
- Fixed Deinit order of Layers and renderer (e.g. Layers now deinit first)
- Sandbox2D now uses SandboxApp (only loads different layer)
2021-09-29 23:27:41 +02:00
Simon Lübeß
9a9d75afbc
Movement speed now depends on zoom
2021-09-29 23:18:32 +02:00
Simon Lübeß
fab0f99951
Added guizmo
...
Translation is broken for some reason
2021-09-28 21:56:51 +02:00
Simon Lübeß
122f7e9904
Replaced imgui with engine specific repository
2021-09-28 21:27:08 +02:00
Simon Lübeß
eb2bbf4b82
Keep references to Images used by ImGui
2021-09-21 16:49:10 +02:00
Simon Lübeß
611782653c
Adapted Editor to new RenderTarget api
2021-09-21 16:36:22 +02:00
Simon Lübeß
229d2b578e
Reworked RenderTarget2D and corresponding API
2021-09-21 16:30:34 +02:00
Simon Lübeß
8e39d7988b
Added RefCounted helpers
2021-09-21 16:29:22 +02:00
Simon Lübeß
4debaee7d4
SetViewport now part of RenderCommand
2021-09-21 13:15:43 +02:00
Simon Lübeß
4af61a372f
Fire WindowResizeEvent when window minimizes
...
Also no longer updates layer-stack when the application is minimized
2021-09-21 13:14:58 +02:00
Simon Lübeß
3f1f5736b5
Improved MSDF generation and rendering
2021-09-20 15:42:10 +02:00
Simon Lübeß
2afff4ec20
Added MSDF to Font and FontRenderer
2021-09-19 21:19:00 +02:00
Simon Lübeß
764b9f27b6
Start of TextureViewer
2021-09-19 21:16:57 +02:00
Simon Lübeß
2d5c408b54
Flush Renderer2D when instance buffer is full
2021-09-19 17:36:58 +02:00
Simon Lübeß
22a4bc355e
Fixed typo
2021-09-19 17:35:53 +02:00
Simon Lübeß
90284739c0
Added support for int shader variables
2021-09-19 14:22:37 +02:00
Simon Lübeß
8471b7d7b9
Added SamplerState for white texture
2021-09-19 13:33:48 +02:00
Simon Lübeß
38fd5fa2c8
Switched to static c-library, updated submodules
2021-09-18 22:44:11 +02:00
Simon Lübeß
0c4fd27226
Removed warnings when converting Vectors from GlitchyEngine to DirectX
2021-09-18 18:59:01 +02:00
Simon Lübeß
a80a63fbc1
Start of msdf text
2021-09-18 18:39:34 +02:00
Simon Lübeß
9cd95ed0e4
Renderer2D can now use custom effects
2021-09-18 18:38:45 +02:00
Simon Lübeß
b5efaf2b5b
Added submodule msdfgen
2021-09-18 18:37:12 +02:00
Simon Lübeß
da6d242353
Adapted to internal change in Texture
2021-09-17 13:09:15 +02:00
Simon Lübeß
0b1ec9a837
Improved Editor
...
- Added window docking
- Added MenuBar
- Added scene viewport
- Added closing and reopening for editor windows
2021-09-17 13:05:15 +02:00
Simon Lübeß
45d298b755
Added overload for Image to ImGui extension
2021-09-17 13:00:17 +02:00
Simon Lübeß
266d7a4651
Added RenderTarget2D
2021-09-17 12:58:33 +02:00
Simon Lübeß
d051b392d0
Fixed class name in EditorApp
2021-09-16 18:16:40 +02:00
Simon Lübeß
e2fc373a06
Update EntityHierarchyWindow.bf
2021-09-16 18:14:37 +02:00
Simon Lübeß
48de55f987
Updated imgui
2021-09-16 18:13:10 +02:00
Simon Lübeß
0079b80b1c
Created editor project and moved Editor there
2021-09-16 13:19:25 +02:00
Simon Lübeß
f6b073557a
Updated .gitignore
2021-09-16 13:18:49 +02:00
Simon Lübeß
b8626f3c27
Made buffer fixed array
2021-09-15 18:43:45 +02:00
Simon Lübeß
0b8be33d68
Workaround for localTransform calculation changing transform values
2021-09-15 17:53:27 +02:00
Simon Lübeß
e14ebec387
Added Component editor for Transform- and DebugNameComponent
2021-09-15 17:52:35 +02:00
Simon Lübeß
b4bb5c4a39
Added Editor and EntityHierarchyWindow
2021-09-15 13:27:03 +02:00
Simon Lübeß
c04cd8a956
Added generic TreeNode class
2021-09-15 13:25:57 +02:00
Simon Lübeß
908167c83e
Added DebugNameComponent
2021-09-14 23:54:50 +02:00
Simon Lübeß
ab17598972
[ECS] WorldEnumerator now skips deleted entities
2021-09-14 23:29:33 +02:00
Simon Lübeß
db05a5a6a9
[ECS] Fixed_disposingPools gets trashed when _componentPools reallocates
2021-09-14 23:28:18 +02:00
Simon Lübeß
cb2c83678e
Assigning a component again now returns the component instead of null
2021-09-14 23:00:42 +02:00
Simon Lübeß
b0b5f76423
Animations now component based
2021-09-13 20:52:41 +02:00
Simon Lübeß
44374a84a7
Added DrawCoordinateCross function
2021-09-11 17:50:30 +02:00
Simon Lübeß
39f5893c7e
Updated AnimationClip, Model Loader now loads Nodes into ECS
...
- SandboxApp: Started basic skinned mesh render system
2021-09-11 17:00:11 +02:00
Simon Lübeß
89bb475994
Added SkinnedMeshRendererComponent
2021-09-11 16:58:00 +02:00
Simon Lübeß
c4ed04ba96
Replaced Error with debug assert
2021-09-11 16:57:33 +02:00
Simon Lübeß
886ce2fe3d
Added basic AnimationComponent
2021-09-11 16:57:16 +02:00
Simon Lübeß
8442f7741d
Fixed setting matrix array in material
2021-09-11 16:31:58 +02:00
Simon Lübeß
29749f64e9
Added WorldEnumerator with 4 generic parameters
2021-09-11 16:31:16 +02:00
Simon Lübeß
5c95668a1d
Start of DebugRenderer
2021-09-11 12:58:25 +02:00
Simon Lübeß
cb51880925
Reference fixes
2021-09-11 12:57:44 +02:00
Simon Lübeß
da24643c64
Added SetVariable for Matrix-arrays
2021-09-11 12:50:27 +02:00
Simon Lübeß
f761f87e1d
Added Setter for LocalTransform
2021-09-11 12:49:17 +02:00
Simon Lübeß
fc2f1cd7e6
Skeleton and AnimationClip now refcounted
2021-09-11 12:48:49 +02:00
Simon Lübeß
155495eeef
Added basic Matrix decomposition
2021-09-11 12:46:30 +02:00
Simon Lübeß
1491ea8e75
PI now optimal, added Zero-Check
2021-09-11 12:45:59 +02:00
Simon Lübeß
ff4cd48f1e
Changed Rotation from Euler to Quaternion (TransformComponent)
2021-09-03 16:44:50 +02:00
Simon Lübeß
d555a80d8d
Updated Quaternion and added Test
2021-09-02 23:36:17 +02:00
Simon Lübeß
2d8efa0154
Added MathHelper
...
- common Values of Pi
- Degree <-> Radians conversions
2021-09-02 23:34:42 +02:00
Simon Lübeß
78aeacc8a1
Added project for UnitTesting
2021-09-02 23:33:41 +02:00
Simon Lübeß
5545d84284
Changed pointer type to prevent compiler error
2021-09-02 13:09:32 +02:00
Simon Lübeß
30280c5f93
Re-Removed old code in TransformSystem
2021-09-02 13:02:43 +02:00
Simon Lübeß
e42b587d88
Added MeshRendererComponent
...
updated SandoxApp to utilize it
2021-09-02 12:34:28 +02:00
Simon Lübeß
c270fdcb03
Fixed parentTransform not causing update of child transform
...
(also improved performance)
2021-09-02 12:30:18 +02:00
Simon Lübeß
0534824c07
Refactored SetVariable and added some more types
2021-09-02 12:28:36 +02:00
Simon Lübeß
5ce7ebe674
Added generic World Enumerators
...
also moved WorldEnumerators out of EcsWorld
2021-09-02 12:20:33 +02:00
Simon Lübeß
c9e9a11e4e
No longer showing ImGui demo-window
2021-09-02 12:18:46 +02:00
Simon Lübeß
d1175519eb
Disabled assert that forces Debugger to be present
2021-09-02 12:17:44 +02:00
Simon Lübeß
566b4ea59e
Switched Allocator from Debug to CRT
2021-09-02 12:17:12 +02:00
Simon Lübeß
0e7217778f
Implemented disposing for component
2021-08-29 20:23:44 +02:00
Simon Lübeß
b376525d30
Added Entity hierarchy and hierarchical transforms
2021-08-28 22:28:40 +02:00
Simon Lübeß
ce03f7c600
Start of AnimationSystem
2021-08-27 22:37:59 +02:00
Simon Lübeß
eafdc2f17f
Transposed matrix resulting from RotationQuaternion
2021-08-27 20:54:34 +02:00
Simon Lübeß
22252f9161
Application now has EffectLibrary field
2021-08-25 22:46:50 +02:00
Simon Lübeß
7dda8bdd25
Added properties to PerspectiveCameraController
2021-08-25 22:42:48 +02:00
Simon Lübeß
41754f5c67
Added IndexOf and IndexOfBinary to Array
2021-08-25 22:39:34 +02:00
Simon Lübeß
099763e1e3
Added Vertexcount to GeometryBinding and made Indexbuffer optional
2021-08-25 22:39:11 +02:00
Simon Lübeß
a8bef51834
Deduplicated Vertexbuffer constructor
2021-08-25 22:36:05 +02:00
Simon Lübeß
c880c4ef73
Removed unneeded debug code
2021-08-25 22:28:33 +02:00
Simon Lübeß
8ab740fa2e
Added basic support for arrays in BufferVariables
2021-08-25 22:27:04 +02:00
Simon Lübeß
93513f3ea8
Vector Lerp
2021-08-25 22:22:59 +02:00
Simon Lübeß
9dbf9fd501
Added Quaternions
2021-08-25 22:19:02 +02:00
Simon Lübeß
e239de52d6
Added Line and Ray drawing
2021-08-20 19:44:26 +02:00
Simon Lübeß
9e06d4d51f
Refactored SetVertexShader and SetPixelShader
2021-08-15 14:19:24 +02:00
Simon Lübeß
d200c2c849
Refactored FontRenderer, fixed Sandbox2D
2021-08-15 13:20:38 +02:00
Simon Lübeß
f5f3bad8db
Fixed Renderer2D
...
- Fixed textures not being bound
- Fixed destructor trying to delete scoped object
2021-08-11 17:20:48 +02:00
Simon Lübeß
344accea60
Implemented Materials
...
- Shaders get Textureslots via reflection
- added Textureslots to Effect
2021-08-09 18:03:47 +02:00
Simon Lübeß
2326e69c0c
Added submodule gltf
...
This time for sure
2021-08-06 12:31:51 +02:00
Simon Lübeß
80e0bae347
Added GLTF submodule and start of ModelLoader
2021-08-06 12:22:46 +02:00
Simon Lübeß
5c0ee3bae0
VertexBuffer, VertexLayout and GeometryBinding improvements
...
- VertexBuffer: Added constructor that takes stride instead of type
- VertexLayout: Added Refcounting to VertexLayout and ownership parameters for VertexElements
- Fixed: GeometryBinding using stride and offset from buffer instead of buffer binding
2021-08-05 18:32:21 +02:00
Simon Lübeß
e04d058381
Added PerspectiveCameraController
2021-08-04 19:23:29 +02:00
Simon Lübeß
0735aae74f
Added OrthographicCameraController
2021-08-04 17:22:49 +02:00
Simon Lübeß
3ac99491cf
Changed EventDispacher from class to struct
2021-08-04 17:22:14 +02:00
Simon Lübeß
303578a83f
Fixed Width and Height property of ApplicationEvent
2021-08-04 17:21:03 +02:00
Simon Lübeß
ce163db30b
Unified texture loading, updated DirectX-beef
2021-07-22 18:57:35 +02:00
Simon Lübeß
dbdb8a0d32
Made FontRenderer static, added scale and linegap to DrawText
...
it seems I forgot to push the freetype-submodule
2021-07-19 20:19:57 +02:00
Simon Lübeß
9b418521af
Fixed WasKeyPressed and WasKeyReleased
2021-07-19 20:07:30 +02:00
Simon Lübeß
b1ad7b5ba3
Added single stepping
2021-07-19 20:06:37 +02:00
Simon Lübeß
9158da60c2
Refcounted Font, added Fallback property
2021-06-23 19:39:32 +02:00
Simon Lübeß
7f8379ea6c
Implemented FontRenderer
2021-06-23 19:17:17 +02:00
Simon Lübeß
8c957f9d9f
Renderer2D: render Null-Texture and custom UV-Coordinates
2021-06-23 19:16:40 +02:00
Simon Lübeß
819476a3ec
Added constructor and SetData to Texture2D
...
obviously this has to be done for the other texture types as well at some point
2021-06-23 19:11:37 +02:00
Simon Lübeß
1f1b32e101
Moved CPUAccessFlags and Usage to seperate file
2021-06-23 19:10:04 +02:00
Simon Lübeß
f131b21273
Added default SamplerStates
2021-06-23 19:08:41 +02:00
Simon Lübeß
5ae0192bc6
Added DepthStencilTarget to Sandbox2DApp
2021-06-02 16:51:45 +02:00
Simon Lübeß
dc088dcb0a
Added pixelformat parameter to DepthStencilTarget-constructor
2021-06-02 16:51:25 +02:00
Simon Lübeß
bf94f10a64
Added rudimentary DepthStencilTarget
2021-05-30 19:49:10 +02:00
Simon Lübeß
562f4855bd
Added Renderer2D and 2D Example
2021-05-30 19:38:24 +02:00
Simon Lübeß
64579f9603
Constantbuffer now supports single bools
2021-05-30 19:38:08 +02:00
Simon Lübeß
ae290936b9
Added basic support for instanced rendering
2021-05-30 19:37:23 +02:00
Simon Lübeß
0f2c481616
Fixed vector indexed access
2021-05-22 15:08:14 +02:00
Simon Lübeß
b19dd60e52
Debuglogger no longer asserts a Debugger to be present in release builds
2021-05-20 12:42:17 +02:00
Simon Lübeß
2f281f13fd
Updated submodule imgui-beef
2021-05-18 23:02:31 +02:00
Simon Lübeß
3eeca63d91
Fixed DirectXTK-Submodule path (for real this time)
2021-05-18 19:39:34 +02:00
Simon Lübeß
3f938d3488
Fixed DirectXTK-Submodule path
2021-05-18 19:37:21 +02:00
Simon Lübeß
7fb1f30303
Componentified Camera
2021-05-17 20:07:58 +02:00
Simon Lübeß
3e0c4b2eb7
Releasing RasterizerState insted of deleting
2021-04-09 19:38:20 +02:00
Simon Lübeß
bfd81745e9
Disabled Vector swizzle
...
caused by beef bug
2021-04-09 19:37:54 +02:00
Simon Lübeß
6376bde112
Implemented basic ECS
2021-04-09 19:35:24 +02:00
Simon Lübeß
047c09017c
Removed epsilon value from camera
...
(bug fixed in DirectX-beef)
2021-04-09 19:35:19 +02:00
Simon Lübeß
1f687f9b96
Added TextureCube
2021-04-09 19:35:13 +02:00
Simon Lübeß
ad4933a1f9
Added larger epsilon to perspective camera
2021-04-09 19:35:08 +02:00
Simon Lübeß
838bb7ec2e
Added explicit conversion from float to Vector
2021-04-09 19:34:44 +02:00
Simon Lübeß
92a3eaa426
Added protected function to create Texture2D from raw data
2021-04-09 19:32:24 +02:00
Simon Lübeß
4227882afa
Added GE_D3D11 flag
2021-04-09 19:32:02 +02:00
Simon Lübeß
5a8499ac43
Moved ImplBind implementation from Texture2D to Texture
2021-04-09 19:31:49 +02:00
Simon Lübeß
72cb982b13
Added lodepng-beef
2021-04-09 19:31:18 +02:00
Simon Lübeß
92b22acb91
Added refcounting to RasterizerState
2021-04-09 19:28:46 +02:00
Simon Lübeß
2ad45edef5
Improved Windows keyboard input
...
- added handling of syskey-messages (alt-Key now generates Key events)
- right and left variants of keys now generate seperate events (e.g. left shift and right shift are seperate keys now instead of simply being "shift")
- added method to get the localized name of a Key
2021-03-14 17:59:13 +01:00
Simon Lübeß
cfff2cb738
Added window (de-)activate events
2021-03-13 17:50:58 +01:00
Simon Lübeß
163dadbe37
Added EffectLibrary
2021-03-05 16:40:45 +01:00
Simon Lübeß
08daa2f59e
Added Int32 vectors
2021-03-03 16:42:17 +01:00