Commit graph

195 commits

Author SHA1 Message Date
Vsevolod Kremianskii
fe26825a0c feat: Implement equipping items in the equipment menu 2020-09-27 19:03:58 +07:00
Vsevolod Kremianskii
ed6e6ee2b8 chore: Tweak self illumination strength 2020-09-27 10:14:04 +07:00
Vsevolod Kremianskii
159d490155 feat: Run OnInvDisturbed script on placeables 2020-09-26 23:40:20 +07:00
Vsevolod Kremianskii
93147e3e54 feat: Adjust dynamic lighting
- Add specular component
- Lower self illumination strength
- Disable light multipliers
2020-09-26 21:50:14 +07:00
Vsevolod Kremianskii
827e921b13 feat: Implement simple self illumination 2020-09-26 20:59:25 +07:00
Vsevolod Kremianskii
8e4e760c7b fix: Fix collision detection with game objects 2020-09-26 15:57:09 +07:00
Vsevolod Kremianskii
5fc8880f9f feat: Implement equipment screen, get items from containers 2020-09-26 15:43:44 +07:00
Vsevolod Kremianskii
6b97e3ab7d chore: Fix Coverity Scan issue 2020-09-26 10:21:18 +07:00
Vsevolod Kremianskii
06fca7ae4e feat: Improve pathfinding
- Do it in the main thread
- Clear path when destination is reached
- Fix navigation issues when updating path
- Account for point elevation
2020-09-26 10:05:13 +07:00
Vsevolod Kremianskii
921d34dd90 refactor: Add GUI quad instances with flipped texcoords 2020-09-26 08:53:14 +07:00
Vsevolod Kremianskii
05a9816f00 refactor: Transform DebugGui into DebugOverlay (not a subclass of GUI) 2020-09-26 08:20:43 +07:00
Vsevolod Kremianskii
4690a0f941 feat: Improve pathfinding
If path destination is closer than the next point, skip path.
2020-09-26 08:01:23 +07:00
Vsevolod Kremianskii
c0f5d7f347 feat: Initial console implementation 2020-09-25 23:59:24 +07:00
Vsevolod Kremianskii
95b04b7f59 perf: Replace map with unordered_map where it makes sense 2020-09-25 21:53:23 +07:00
Vsevolod Kremianskii
0c483c03f1 chore: Fix more Coverity Scan issues 2020-09-25 21:06:52 +07:00
Vsevolod Kremianskii
79d9f309d7 ci: Fix build failing in Coverity Scan branch 2020-09-25 17:33:58 +07:00
Vsevolod Kremianskii
929ef7b17c chore: Fix Coverity Scan issues 2020-09-25 17:26:48 +07:00
Vsevolod Kremianskii
6b61645a5d fix: Fix sounds not being removed when stopped manually
This fixes stuttering during conversations.
2020-09-25 16:22:05 +07:00
Vsevolod Kremianskii
2af40d5573 ci: Integrate Coverity Scan into Travis CI pipeline 2020-09-24 22:59:11 +07:00
Vsevolod Kremianskii
c0381521c2 doc: Update readme file
[ci skip]
2020-09-24 18:46:06 +07:00
Vsevolod Kremianskii
10aece7d90 fix: Add LIP resource type, do not throw on unknown file extensions 2020-09-24 09:41:02 +07:00
Vsevolod Kremianskii
f88d35765b feat: Add support for normal MP3 files
This fixes incompatibility with certain mods.
2020-09-24 09:29:14 +07:00
Vsevolod Kremianskii
b5b6141f7b perf: Major lighting optimization
- Cache light uniform names
- Remove light count dependency on distance to camera
2020-09-24 09:12:22 +07:00
Vsevolod Kremianskii
f5468a8e67 chore: Cleanup Area implementation 2020-09-24 00:44:14 +07:00
Vsevolod Kremianskii
4e0f6f67f7 feat: Improve pathfinding
- Use PTH files instead of dynamic graph creation
- Fix path always being skipped
- Remove pathfinding distance limit
2020-09-23 23:07:40 +07:00
Vsevolod Kremianskii
2cd3b0151e fix: Fix loading custom .vis files 2020-09-23 14:26:53 +07:00
Vsevolod Kremianskii
e1c8faaf75 chore: Clear blueprints cache on module load 2020-09-23 11:15:26 +07:00
Vsevolod Kremianskii
e131ac5304 refactor: Change ResMan definition to Resources 2020-09-23 11:01:45 +07:00
Vsevolod Kremianskii
8ea6210d1e refactor: Separate game objects and their respective blueprints 2020-09-23 10:56:10 +07:00
Vsevolod Kremianskii
8e02dc9004 refactor: Refactor BlueprintManager, add placeholder blueprint classes 2020-09-23 08:56:22 +07:00
Vsevolod Kremianskii
cc2c342bde refactor: Rename templates to blueprints
Templates are a C++ term.
2020-09-23 08:16:17 +07:00
Vsevolod Kremianskii
4df42611e3 doc: Update readme file 2020-09-22 17:25:25 +07:00
Vsevolod Kremianskii
0297f54841 feat: Reimplement mesh AABB rendering 2020-09-22 16:36:06 +07:00
Vsevolod Kremianskii
e066000da9 feat: Load ambient light color from ARE file 2020-09-22 13:56:33 +07:00
Vsevolod Kremianskii
e7f28a6419 feat: Base dynamic light attenuation on light radius 2020-09-22 13:29:16 +07:00
Vsevolod Kremianskii
c5f3bfe57f perf: Number of active lights depends on distance to camera 2020-09-22 10:56:58 +07:00
Vsevolod Kremianskii
14669e5e9e refactor: Refactor fragment shaders, optimize dynamic lighting
- Cache lights per model scene node
- Limit fragment color by the texture color
- Enable dynamic lighting in all shaders
- Reuse common fragment shader code
- Account for light multiplier and attenuation
2020-09-22 10:36:38 +07:00
Vsevolod Kremianskii
f8488ee537 fix: Fix TSL animation problems after refactoring 2020-09-21 13:39:08 +07:00
Vsevolod Kremianskii
025145588d feat: Improve dynamic lighting
- Increase max light count to 8
- Sort by priority first, then by distance to light
2020-09-21 08:19:58 +07:00
Vsevolod Kremianskii
c6f2ee69a8 feat: Initial dynamic light implementation 2020-09-20 23:20:17 +07:00
Vsevolod Kremianskii
edbad211d9 doc: Restructure readme file
[ci skip]
2020-09-20 19:30:00 +07:00
Vsevolod Kremianskii
68730a4d7a doc: Add Similar Projects section to the readme file 2020-09-20 17:06:17 +07:00
Vsevolod Kremianskii
14d9975dc4 feat: Use VIS file to hide invisible rooms and objects 2020-09-20 13:15:11 +07:00
Vsevolod Kremianskii
597a126699 refactor: Cleanup, minor refactoring 2020-09-20 09:58:18 +07:00
Vsevolod Kremianskii
a18d7d15c1 build: Fix build of tools 2020-09-19 08:10:46 +07:00
Vsevolod Kremianskii
d2e5c2b5d5 chore: Remove unused includes 2020-09-19 08:05:53 +07:00
Vsevolod Kremianskii
e37ada215c refactor: Extract debug level management into a separate file 2020-09-19 08:01:11 +07:00
Vsevolod Kremianskii
e69621e07b fix: Fix Clang compilation 2020-09-19 07:49:09 +07:00
Vsevolod Kremianskii
0d50e1e07d refactor: Optimize scene graph rendering
Create mesh scene nodes once per model scene node
2020-09-18 23:31:02 +07:00
Vsevolod Kremianskii
f1ee974e72 refactor: Rename ModelInstance to ModelSceneNode 2020-09-16 13:39:58 +07:00