Commit Graph

4052 Commits

Author SHA1 Message Date
Turánszki János 21fea836ad small optimization for terrain 2024-08-05 08:44:36 +02:00
Dennis Brakhane 5e27c926f8 fix SDL_Init check (#908)
make_sdlsystem always returns a valid int pointer containing the result
of SDL_Init. SDL_Init is 0 on success, and a negative int on failure.
2024-08-05 05:54:40 +02:00
Turánszki János 382958b0c5 fixes 2024-08-04 07:11:17 +02:00
Turánszki János 3ac4ce9107 gpu optimizations v0.71.532 2024-08-03 08:43:58 +02:00
Romildo Franco f3f5148d32 Prevent delete key from removing an entity when TextInputField is active (#907)
Fixed an issue where pressing the delete key would remove an entity if the mouse was hovering over the entity tree list, instead of deleting a character in the TextInputField.
2024-08-03 06:29:58 +02:00
Turánszki János c8b581f8b1 some improvements v0.71.531 2024-08-02 07:19:43 +02:00
Turánszki János f854040bda removed 10 bit vertex quantization 2024-08-01 12:12:09 +02:00
Turanszki Janos 1e5d9928a9 instance alpha test will be hard edge cutoff 2024-08-01 12:08:40 +02:00
Turanszki Janos 631ebdfb1b babysitting AMD driver 2024-08-01 12:07:45 +02:00
Turanszki Janos 38de5e282f ocean reflection blend out very close to camera 2024-08-01 11:43:41 +02:00
Turánszki János c19105a8af archive fix 2024-08-01 09:23:07 +02:00
Turánszki János b343932652 some lua bindings and improvements 2024-07-31 20:59:05 +02:00
Turánszki János fb9b8d9fe3 ps5, xbox fixes 2024-07-31 20:54:32 +02:00
Turánszki János 9d913d0a28 various updates:
- buoyancy parameter
- ragdoll buyancy
- terrain region blending improvement
- application activation fixes
2024-07-31 07:39:29 +02:00
Turanszki Janos 894aa46ed3 AMD vulkan issue workaround 2024-07-30 07:19:59 +02:00
Turánszki János 99396e212d shader optimizations 2024-07-29 18:34:40 +02:00
Turánszki János 3b82ba0549 character controller movement improvements 2024-07-29 07:30:29 +02:00
Turánszki János 9c5fdfb5ba lightingHF refactor 2024-07-29 06:20:42 +02:00
Turánszki János 112d03d7e5 shadow fix 2024-07-28 19:27:30 +02:00
Turánszki János 228dd86360 shadow border clamp fix 2024-07-28 18:36:30 +02:00
Turánszki János 8f4f4e8649 soft shadow disk sampling (#906) 2024-07-28 13:42:12 +02:00
Turánszki János 48db6afe6d editor: snap to surface transform 2024-07-27 06:27:49 +02:00
Turánszki János 82aacb202e character controller script updates 2024-07-26 07:38:26 +02:00
Turánszki János 6ba8f79ca7 Metadata component (#902) 2024-07-25 18:59:46 +02:00
Romildo Franco 37b1ebf645 Avoid calling backlog when Home key is pressed in TextInputField (#903)
- Added functionality to prevent calling the backlog when the Home key is pressed while typing in the TextField.
  The hotkeys could be called even while typing in the TextInputField. I found out that the following part from TextInputField::Update was causing this

			if (state == DEACTIVATING)
			{
				state = IDLE;
				typing_active = false;
			}

  So, I moved typing_active = false closer to the two lines calling Deactivate() in TextInputField::Update().
- Using explicit conversion when calling std::signbit() in AnimationWindow::speedSlider::OnSlide() to resolve the warning during compilation.
- Moved AnimationWindow::lastDirection to local scope within AnimationWindow::speedSlider::OnSlide(), as it is only used there.
2024-07-25 14:36:57 +02:00
Turánszki János 6b7510cf1b gui fix #901 2024-07-24 11:54:56 +02:00
Turánszki János d249ab3cb6 engine initialization improvements 2024-07-24 06:42:00 +02:00
Turánszki János dafc77f4b9 ocean fixes 2024-07-23 16:59:38 +02:00
Romildo Franco ed6e930c96 Improve AnimationComponent and AnimationWindow (#900)
Add new logic and buttons to AnimationWindow for playing backwards and for the new loop types.
Add new methods to control looping: AnimationComponent::IsPingPong, AnimationComponent::IsPlayingOnce, AnimationComponent::SetPingPong, and AnimationComponent::SetPlayOnce.
Add checks in Scene::RunAnimationUpdateSystem for the new loops when the animation reaches the end.
2024-07-23 11:46:11 +02:00
Turánszki János 510fd5dce7 editor: added multiselection edit for many things 2024-07-23 06:56:01 +02:00
Dennis Brakhane 65d863d5c7 cmake: use copy_directory_if_different if available (#899)
After a discussion with Matteo, we decided it's better
to use if_different on CMake 3.26+ and just copy_directory
on previous versions. It seems to copy less files each run,
so it's good to use it if available.
2024-07-23 05:31:29 +02:00
Turánszki János 390d31e8fc Fp16 shader optimizations (#897) 2024-07-22 09:32:24 +02:00
CitroenGames 4d95a5770d Fixed: Windows Template wont create a win32 window when opening exe file (#898)
* Update CMakeLists.txt

* added the secret ingredient
2024-07-22 05:57:00 +02:00
Turánszki János d44f1751a1 path tracing clip plane support 2024-07-21 16:44:00 +02:00
Dennis Brakhane 7a786c2981 cmake: don't depend on a 3.26+ command (#896)
I accidentially used a CMake 3.26+ only command.
Copying the content directory doesn't take that long, so requiring 3.26
doesn't seem to be worth it at the time. So just replace it with
copy_directory
2024-07-21 06:32:27 +02:00
Turánszki János a8ff487e1f more packing for shader structures (#895) 2024-07-20 12:28:44 +02:00
CitroenGames e891e0140a Fixed: Cmake doesnt include Windows Template (#894)
* Fixed windows template not being included

* added and modified cmake files

added cmake in the template folder
modified cmake file in root directory because we dont need platform depenedend option imo
2024-07-20 07:13:50 +02:00
Turánszki János 4a6171fdd5 fixed padding in volumetric cloud structures 2024-07-19 08:04:46 +02:00
Turánszki János b78030b02f async queue updates (#885) 2024-07-19 06:56:14 +02:00
Dennis Brakhane 7dc740cca8 split actions (#893) 2024-07-19 05:44:43 +02:00
Dennis Brakhane f29495838a actions: don't use ccache direct mode (#892)
Conditional inclusion based on what files are available is the
one edge case that doesn't work in direct mode.
2024-07-18 19:26:30 +02:00
Turánszki János 7ba00d2692 font renderer flipping #888 (#891) 2024-07-18 17:22:20 +02:00
Dennis Brakhane 8362a4a79a cmake: remove race condition on "copy Content folder" (#890) 2024-07-18 15:55:48 +02:00
Dennis Brakhane bf790a46d3 cmake: replace explicit list of files with globs (#887)
CMake recommends against doing this because some build systems
might not support CONFIGURE_DEPENDS. But currently, the ones
we care about (Make, Ninja) do, and if there's ever a problem,
we can just start listing them again.

Using globs has the advantage that the linux build will not break
when a file is added in VS and somebody forgets to add the file to
cmakelists as well. I've also found some instances were some *.h
files were not listed, which means they weren't copied when installing.
2024-07-18 13:26:42 +02:00
Dennis Brakhane 6c8ed16d0e use ccache on linux builds (#889)
github workflows: use ccache on linux builds

this speeds up build time significantly if there aren't many changes.
2024-07-18 13:10:49 +02:00
Dennis Brakhane 1eabf13062 get rid of compiler warning (#886) 2024-07-18 06:23:44 +02:00
Turánszki János a935538fcf Shader optimizations (#884) 2024-07-16 12:58:06 +02:00
Turánszki János fd0ae0bced added tab keyboard button handler 2024-07-16 08:48:32 +02:00
Amer Koleci b3cb7e30f9 ThirdParty updates (#883) 2024-07-16 05:55:13 +02:00
Turánszki János 5330551f12 gui: treelist FocusOnItem; physics and gui fixes; 2024-07-15 08:44:42 +02:00