Commit graph

161 commits

Author SHA1 Message Date
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
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