Commit graph

826 commits

Author SHA1 Message Date
Vsevolod Kremianskii
b750adcb64 fix: Fix water rendering 2021-01-27 17:44:35 +07:00
Vsevolod Kremianskii
cfabadecb6 fix: Do not apply lighting to meshes with additive textures 2021-01-27 16:25:09 +07:00
Vsevolod Kremianskii
f2d8afd581 fix: Fix pause and dead creature animations not using the model scale 2021-01-27 16:16:54 +07:00
Vsevolod Kremianskii
c043f89f7c feat: Apply lighting to area geometry
Unless it is lightmapped or has a self illum color.
2021-01-27 16:14:20 +07:00
Vsevolod Kremianskii
1e43753156 feat: Directly use MDL values for lightsaber planes 2021-01-27 15:24:15 +07:00
Vsevolod Kremianskii
c266e39c41 fix: Fix alignment of multiline vertically centered text 2021-01-26 21:25:29 +07:00
Vsevolod Kremianskii
8303e79689 fix: Fix segfault when converting TPC to TGA 2021-01-26 21:25:01 +07:00
Vsevolod Kremianskii
ae787aae60 feat: Play powerup lightsaber animation on equip, load lightsaber planes 2021-01-22 13:25:51 +07:00
Vsevolod Kremianskii
27645f5d38 feat: Implement onClick and onEnter GUI sounds 2021-01-20 16:32:46 +07:00
Vsevolod Kremianskii
6ae12d63a0 fix: Fix text alignment in in-game menus 2021-01-20 15:51:22 +07:00
Vsevolod Kremianskii
53b8563b48 fix: Register mouse click on mouse button up 2021-01-20 15:37:54 +07:00
Vsevolod Kremianskii
769e138d72 chore: Remove odd Z value for GUI background 2021-01-20 15:23:57 +07:00
Vsevolod Kremianskii
055daa571b style: Use make_shared/make_unique functions universally 2021-01-20 14:11:32 +07:00
Vsevolod Kremianskii
c8a7dadd25 refactor: Make template functions in blueprints.cpp static 2021-01-20 13:47:25 +07:00
Vsevolod Kremianskii
671a6f6fd0 refactor: Use endianutil functions in StreamReader/StreamWriter 2021-01-20 13:43:48 +07:00
Vsevolod Kremianskii
ab728687de refactor: Drop iterator interface from the ActionQueue 2021-01-20 10:21:40 +07:00
Vsevolod Kremianskii
70d6327cc5 refactor: Delayed actions use timers to account for game pauses 2021-01-20 10:02:05 +07:00
Vsevolod Kremianskii
5859badf18 doc: Mention pressing space to pause the game
[ci skip]
2021-01-20 02:02:47 +07:00
Vsevolod Kremianskii
e9beccda50 feat: Implement pausing game 2021-01-20 02:01:41 +07:00
Vsevolod Kremianskii
d0d5d1eeed feat: Implement loading creatures sound sets 2021-01-20 01:47:33 +07:00
Vsevolod Kremianskii
425a672d57 refactor: Make BifFile.getResourceData return a unique_ptr 2021-01-20 00:47:55 +07:00
Vsevolod Kremianskii
42337b8079 refactor: Cleanup handler registration in ScriptExecution 2021-01-20 00:37:56 +07:00
Vsevolod Kremianskii
62b3f73941 fix: Doors with KeyRequired=1 cannot be unlocked 2021-01-19 17:34:07 +07:00
Vsevolod Kremianskii
351f342a8f perf: Move bumpmap uniforms into a separate UBO 2021-01-19 17:19:26 +07:00
Vsevolod Kremianskii
d5f2903c66 perf: Move billboard uniforms into a separate UBO 2021-01-19 17:01:53 +07:00
Vsevolod Kremianskii
80ecf5ab20 feat: Play up to 8 room animations simulatenously 2021-01-19 15:50:46 +07:00
Vsevolod Kremianskii
c68e631c89 chore: Cleanup and document SceneNodeAnimator 2021-01-19 14:20:16 +07:00
Vsevolod Kremianskii
da1880d1db refactor: Move file loaders into format subdirectory 2021-01-19 13:56:51 +07:00
Vsevolod Kremianskii
3ba480930c refactor: Add withViewport utility function 2021-01-19 13:32:21 +07:00
Vsevolod Kremianskii
6b56f7de24 refactor: Give concrete names to util files 2021-01-19 12:59:00 +07:00
Vsevolod Kremianskii
e1a9b981ee refactor: Reuse KeyBifProvider in the ModuleProbe tool 2021-01-19 12:37:04 +07:00
Vsevolod Kremianskii
e52912dd8a refactor: Extract Key/BIF handling into a separate class 2021-01-19 11:59:56 +07:00
Vsevolod Kremianskii
33345559e9 refactor: Refactor and document Resources
Make resource caches non-static members of the class.
2021-01-19 11:40:16 +07:00
Vsevolod Kremianskii
818b19b4a2 build: Fix compilation errors 2021-01-19 10:57:23 +07:00
Vsevolod Kremianskii
793cb45b22 refactor: Use file extensions in ResourceType, extract IResourceProvider 2021-01-19 10:53:12 +07:00
Vsevolod Kremianskii
3cbb978433 chore: Document random functions 2021-01-19 09:54:12 +07:00
Vsevolod Kremianskii
3d56b97b0e refactor: Streamline and document endianess functions 2021-01-19 09:47:33 +07:00
Vsevolod Kremianskii
edcb8502fb
doc: Add link to Discord channel to README.md
[ci skip]
2021-01-18 09:22:45 +07:00
Vsevolod Kremianskii
52c7319cd7 feat: Add support for waypoints and sounds to ModuleProbe 2021-01-18 08:32:31 +07:00
Vsevolod Kremianskii
470d3b0b40 fix: Fix file tool execution 2021-01-18 08:03:36 +07:00
Vsevolod Kremianskii
6fd165cd38 feat: Add ModuleProbe tool
ModuleProbe generates a JSON file describing a game module.
2021-01-18 00:48:16 +07:00
Vsevolod Kremianskii
ceb4c21387 fix: Fix multiline text rendering 2021-01-17 14:05:26 +07:00
Vsevolod Kremianskii
8672b7d4bd feat: Implement motion blur projectiles 2021-01-17 12:44:10 +07:00
Vsevolod Kremianskii
e20fefe066 refactor: Update scene nodes as part of SceneGraph.update 2021-01-17 11:16:34 +07:00
Vsevolod Kremianskii
4625de5ffc chore: Prefer static constexpr to contexpr to static const 2021-01-16 21:49:55 +07:00
Vsevolod Kremianskii
adc66d6c75 fix: Fix Timer.advance 2021-01-16 21:49:12 +07:00
Vsevolod Kremianskii
3891b213a5 fix: Initialize objectsByType to avoid access errors 2021-01-16 21:33:19 +07:00
Vsevolod Kremianskii
e742c9efa7 fix: Skinned meshes should not cast shadows 2021-01-16 21:19:10 +07:00
Vsevolod Kremianskii
e2b34c51e8 refactor: Simplify Timer interface 2021-01-16 20:55:43 +07:00
Vsevolod Kremianskii
76b0bab6fb feat: Initial projectile implementation 2021-01-16 20:15:52 +07:00