Commit Graph
653 Commits
Author SHA1 Message Date
Acruid 3fd1a2f3fb Fill out cases for the shape switch.
Circle-Box collisions!

Circle Collisions!

PhysShapeCircle!
2020-07-31 12:02:41 -07:00
DrSmugleafandGitHub 011a06a7d8 Fix za buildo (#1202) 2020-07-30 13:46:17 +02:00
Acruid 3f5321853a Removed obsolete ScreenToWorld methods from EyeManager. 2020-07-29 16:54:01 -07:00
Acruid 0bf451d5d4 Turns out TransformComponent already has the matrix available to use. 2020-07-29 14:27:20 -07:00
Acruid b8e9e3634b Grid rendering can now render rotated grids. 2020-07-29 12:05:09 -07:00
Pieter-Jan Briers e5ddc4f654 Move light intersection check earlier, slight optimization.
Not sure why it wasn't like this in the first place.
2020-07-29 02:10:04 +02:00
Pieter-Jan Briers c482253b9d Clyde debug stats for light count. 2020-07-29 02:06:39 +02:00
16d50f3ecf Container light occlusion (#967)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2020-07-26 13:28:25 +02:00
Pieter-Jan Briers 6e35b37e0f Fix stretching bugs on odd viewport sizes. 2020-07-21 00:59:52 +02:00
Pieter-Jan Briers 00674d5624 Clean Clyde state at start of frame to make it more robust. 2020-07-18 23:10:32 +02:00
Pieter-Jan Briers 42b6ee9740 Fix BeforeUI screenshots. 2020-07-18 16:10:40 +02:00
Pieter-Jan Briers abdc5418e2 Clyde object resource management.
Objects now use IDisposable().
Finalizers.
2020-07-18 16:01:24 +02:00
ExpandGitHub eeabe9af02 Remember Window Size & Pos when switching to/from fullscreen (#1181) 2020-07-17 10:37:55 +02:00
Pieter-Jan Briers 7ea6b9c470 Minor cleanup and optimizations inside Clyde. 2020-07-16 16:00:31 +02:00
Pieter-Jan Briers 855e548651 Refactor Clyde internals so multiple viewports is possible. 2020-07-16 16:00:31 +02:00
Víctor Aguilera Puerto 4b7a5b4e93 Added method to get a RSI state frame at a specific second. 2020-07-15 14:29:19 +02:00
Víctor Aguilera Puerto 21d18731ba Overlay FrameUpdate is now protected internal. 2020-07-14 23:44:16 +02:00
Víctor Aguilera Puerto ce89b7c93d Overlay's FrameUpdate is now public. 2020-07-14 23:40:44 +02:00
Pieter-Jan Briers 9e7b50a12e Fix nullability. 2020-07-13 16:29:03 +02:00
Pieter-Jan Briers b7e224a56f Moving a ton of rendering code around and it somehow still works somewhat. 2020-07-13 16:27:43 +02:00
Pieter-Jan Briers bd699eeb57 Removed _queuedSpace from Clyde internals. 2020-07-12 19:14:29 +02:00
Pieter-Jan Briers f879ced75e Fix exception from client shutdown from logging inside Dispose() 2020-07-11 14:39:58 +02:00
Pieter-Jan Briers 4b3be2db3d ACTUALLY remove low res lights biasing hack. 2020-07-07 13:26:35 +02:00
437bf58e7b Input Handling + other cleanups to support click drag functionality (#1132)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2020-07-06 21:21:13 +02:00
Pieter-Jan Briers 9da67e6a66 Fix compiler warnings. 2020-06-30 19:27:25 +02:00
Pieter-Jan Briers daa5a34413 Guess we're doing render trees for lights and occluders aswell. 2020-06-29 20:23:08 +02:00
Pieter-Jan Briers 16b4262486 Remove dead code. 2020-06-29 16:19:11 +02:00
Pieter-Jan Briers b72b0e5984 Use a DynamicTree for sprite finding.
Significantly improves client CPU usage.
2020-06-29 16:18:11 +02:00
ClyybberandGitHub 2b6ed4852d Cleanup occlusion (#1138) 2020-06-22 12:32:29 +02:00
Tyler YoungandGitHub 368f6482e8 Provide fallback for Creative EFX OpenAL Extension in Clyde.Audio (#1137)
provide fallback for mac if it doesn't exist
2020-06-19 21:25:19 +02:00
Pieter-Jan BriersandGitHub af249f80c8 Improved click detection supporting features: (#1133)
* Improved click detection supporting features:

Clickable removed from engine
Texture/RSI load hooks for content
New sprite layer API

* Fix tests.
2020-06-18 02:25:02 +02:00
Tyler YoungandGitHub 47f307dd2a Upgrades SixLabors.ImageSharp (#1128)
adds InlineIl.Fody for fast access to image backing buffers
2020-06-13 03:08:29 +02:00
Pieter-Jan BriersandGitHub 6674be3adc Client NRTs (#1121) 2020-06-12 12:57:39 +02:00
Pieter-Jan Briers edbe2839b6 Use GetProcAddress for DebugMessageCallback in OpenGL. 2020-06-10 15:13:48 +02:00
ComicIronicandGitHub a284e9f244 Add ScreenToMap overload taking ScreenCoordinates (#1120)
This was a small hole in the API, no real new functionality.
2020-06-09 13:56:52 +02:00
ComicIronicandGitHub dec76c9ad9 Fix lasers changing DrawingHandleWorld transform (#1103) 2020-06-06 14:26:33 +02:00
ComicIronicandGitHub 486fd670e2 Change DrawDepth to int, add content constant hook (#1090)
This allows DrawDepth to be defined in the content layer.
2020-05-31 00:40:48 +02:00
20kdcandGitHub 171a19487b Allow drawing unfilled circles, remove extra (0, 0) point (#1084) 2020-05-28 14:13:45 +02:00
ClyybberandGitHub 9d75c3a1c8 Implement audio occlusion and upgrade to OpenTK 4 (#1068) 2020-05-27 17:50:01 +02:00
Pieter-Jan Briers 4be2f8c780 Render greek glyphs. 2020-05-26 16:20:47 +02:00
Pieter-Jan Briers fd204e5a99 Fix rounding error in font atlas code.
This could cause the atlas to be too small at certain configurations.
2020-05-26 16:20:47 +02:00
Pieter-Jan Briers 1e196dfd67 Implement DrawCircle in DrawingHandleScreen 2020-05-26 16:20:47 +02:00
Pieter-Jan Briers 7f508f7719 Show largest clyde batch size in F3. 2020-05-21 13:44:41 +02:00
Pieter-Jan Briers 1551ff1ae4 Adds ability to draw arbitrary primitives in Clyde. 2020-05-18 02:29:32 +02:00
Víctor Aguilera PuertoandGitHub 40c22563e3 Improves MIDI further (#1048) 2020-05-06 19:21:59 +02:00
Pieter-Jan Briers 33989aa6e5 Pull texture lookup out of DrawTexture
Small optimization.
2020-05-03 14:38:43 +02:00
Pieter-Jan Briers 7be309f774 Screenshot API. 2020-04-30 11:56:57 +02:00
Jackson LewisandGitHub 949b8cd2d9 Fix bug with InteractionOutline on larger sprites (#1034) 2020-04-23 23:52:20 +02:00
Pieter-Jan Briers 1f64080859 Shamelessly up light cap to 128 as a shoddy bandaid for saltern. 2020-04-20 16:19:58 +02:00
Pieter-Jan Briers e2ec1216d9 NoInlining SwapBuffers 2020-04-20 16:10:48 +02:00