Commit graph

170 commits

Author SHA1 Message Date
Vsevolod Kremianskii
252ab735cc refactor: Refactor Program class 2020-10-01 16:53:36 +07:00
Vsevolod Kremianskii
9091dee126 fix: Move selectable point of creatures to the head hook 2020-09-30 22:52:58 +07:00
Vsevolod Kremianskii
4a6a38e130 chore: Fix CI warnings 2020-09-30 22:04:05 +07:00
Vsevolod Kremianskii
d772d4c8a1 chore: Disable copying of Framebuffer 2020-09-30 21:18:31 +07:00
Vsevolod Kremianskii
d04096ed58 feat: Implement proper self illumination (blur-based) 2020-09-30 20:43:22 +07:00
Vsevolod Kremianskii
17ab14d99d feat: Draw scene graph using deferred rendering 2020-09-30 18:03:33 +07:00
Vsevolod Kremianskii
a541782f08 refactor: Refactor shader uniform management 2020-09-30 17:47:08 +07:00
Vsevolod Kremianskii
ef2d119783 refactor: Rename NavMesh to Pathfinding 2020-09-29 23:11:50 +07:00
Vsevolod Kremianskii
63576e6317 refactor: Move cameras into game namespace 2020-09-29 23:02:46 +07:00
Vsevolod Kremianskii
98ae597500 refactor: Make camera part of a scene graph 2020-09-29 13:20:06 +07:00
Vsevolod Kremianskii
dd498510f4 refactor: Reduce number of fragment shaders 2020-09-29 10:28:11 +07:00
Vsevolod Kremianskii
0b563cecec perf: Draw GUI quads using GUI vertex shader 2020-09-29 08:52:45 +07:00
Vsevolod Kremianskii
9c856745e0 refactor: Combine basic and skeletal vertex shaders 2020-09-29 08:47:08 +07:00
Vsevolod Kremianskii
8bc500e5c5 feat: Remove conditions in skeletal vertex shader 2020-09-29 08:23:42 +07:00
Vsevolod Kremianskii
c253cf3638 refactor: Rename GUIQuad to Quad 2020-09-29 08:15:36 +07:00
Vsevolod Kremianskii
13b7fe2400 feat: Add Gaussian blur fragment shader 2020-09-29 08:04:56 +07:00
Vsevolod Kremianskii
2d1662ebee feat: Render 3D controls using FBO 2020-09-28 23:11:00 +07:00
Vsevolod Kremianskii
1791b2def6 refactor: Make SceneGraph not a singleton 2020-09-28 18:58:08 +07:00
Vsevolod Kremianskii
0819b41a5e refactor: Combine Area and ObjectContainer classes 2020-09-28 17:39:22 +07:00
Vsevolod Kremianskii
b6ac854861 refactor: Validate arguments in ScriptExecution, not RoutineManager 2020-09-28 16:39:14 +07:00
Vsevolod Kremianskii
72bba03898 refator: Remove IRoutineCallbacks interface 2020-09-28 16:18:05 +07:00
Vsevolod Kremianskii
1162a0371a refactor: Refactor Game class 2020-09-28 13:50:35 +07:00
Vsevolod Kremianskii
8dbabc8167 refactor: Determine game version inside of Game class 2020-09-28 13:01:56 +07:00
Vsevolod Kremianskii
d467c7f97a feat: Implement vanilla object selection 2020-09-28 11:56:10 +07:00
Vsevolod Kremianskii
641e9812ec feat: Implement left and right player movement 2020-09-27 20:19:47 +07:00
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