Commit graph

1355 commits

Author SHA1 Message Date
Vsevolod Kremianskii
4d8aa6df8a chore: Remember when loaded model node is a saber plane 2021-02-09 09:25:36 +07:00
Vsevolod Kremianskii
96c191e9df refactor: Rename PositionKeyframe to TranslationKeyframe 2021-02-09 09:25:36 +07:00
Vsevolod Kremianskii
cf487d13bb refactor: Split reone-tools Convert command into ToJson and ToTga 2021-02-09 08:45:00 +07:00
Vsevolod Kremianskii
c50bd65822 chore: Make reone-tools read options from a separate config file 2021-02-09 08:38:37 +07:00
Vsevolod Kremianskii
102803c804 fix: Change default blending function to preserve destination alpha
This is how particles were supposed to be rendered.
2021-02-09 08:21:49 +07:00
Vsevolod Kremianskii
249b8082af fix: Use special blending mode for particles
Use GL_SRC_ALPHA, GL_ONE when rendering normal particles. This is not ideal,
but at least it fixes weird transparency issues in the main menu.
2021-02-08 23:35:30 +07:00
Vsevolod Kremianskii
d37107deca refactor: Cleanup and refactor the scene graph 2021-02-08 23:35:30 +07:00
Vsevolod Kremianskii
d3ff68b6d7 feat: Depth textures are created with a stencil component 2021-02-08 21:24:57 +07:00
Vsevolod Kremianskii
a34c73e095 doc: Update modules diagram 2021-02-08 19:19:26 +07:00
Vsevolod Kremianskii
3f3fe8663e refactor: Merge libnet into libmp 2021-02-08 17:26:42 +07:00
Vsevolod Kremianskii
d748c82681 feat: Reimplement rendering GR2 skeletons 2021-02-08 09:19:47 +07:00
Vsevolod Kremianskii
4fa24a2842 refactor: Reimplement GR2 models and JBA animations
Still not working properly...
2021-02-08 02:05:19 +07:00
Vsevolod Kremianskii
ed1731c4b7 refactor: Move models(.h|.cpp) into model folder 2021-02-07 22:36:55 +07:00
Vsevolod Kremianskii
f9e54cbd10 refactor: Move libmp, libnet and libtor into experimental folder 2021-02-07 20:54:11 +07:00
Vsevolod Kremianskii
b90c1d9f4a refactor: Move TOR support code into a separate library 2021-02-07 20:45:10 +07:00
Vsevolod Kremianskii
a0fa2be9a3 feat: Update JbaFile to match the recent spec 2021-02-06 21:04:14 +07:00
Vsevolod Kremianskii
c23100b95e feat: Add partial support for SWTOR animations 2021-02-04 22:37:49 +07:00
Vsevolod Kremianskii
7e59bf32c7 feat: Implement reading attachments from GR2 models 2021-02-01 18:10:58 +07:00
Vsevolod Kremianskii
87a84285d0 feat: Improve support for GR2 materials 2021-02-01 12:56:16 +07:00
Vsevolod Kremianskii
31368bb967 feat: Set GR2 textures from materials 2021-02-01 10:32:44 +07:00
Vsevolod Kremianskii
9a2f8f5802 fix: Fix SWTOR bumpmap interpretation 2021-02-01 09:36:56 +07:00
Vsevolod Kremianskii
80c7662612 refactor: Refactor GR2 model loading 2021-01-31 23:38:09 +07:00
Vsevolod Kremianskii
2b0e9fa9d4 feat: Add support for GR2 model files (SWTOR) 2021-01-31 22:14:52 +07:00
Vsevolod Kremianskii
4b323899d6 feat: Render trigger geometry, toggleable by a flag 2021-01-31 14:09:03 +07:00
Vsevolod Kremianskii
e900157122 feat(render): Add LIP file support (untested) 2021-01-31 10:33:19 +07:00
Vsevolod Kremianskii
9ec8d7d9da fix: Apply talk animation to the base model if there is no head model 2021-01-31 10:21:08 +07:00
Vsevolod Kremianskii
fc0f4c0827 fix(game): Do not cull stunt models by distance to camera 2021-01-31 09:59:20 +07:00
Vsevolod Kremianskii
b105cf033f feat(game): Make conversations disablable by a flag 2021-01-31 09:32:34 +07:00
Vsevolod Kremianskii
96356b8f7a refactor(game): Allow passing flags to SpatialObject.playAnimation 2021-01-31 02:08:38 +07:00
Vsevolod Kremianskii
d087b9450e fix(game): Animation must not play while on container screen 2021-01-31 01:55:39 +07:00
Vsevolod Kremianskii
e363747921 fix(gui): Revert image button icon size change 2021-01-31 01:33:09 +07:00
Vsevolod Kremianskii
43bc1ac9ec feat: Implement combat sounds
- Party leader selection sound
- Death sound
- Ranged weapon shot sound

Also refactor sound set handling as part of this commit.
2021-01-31 01:31:37 +07:00
Vsevolod Kremianskii
3114d2fa9e feat(game): Allow opening party selection menu from the Map screen 2021-01-30 23:35:26 +07:00
Vsevolod Kremianskii
2c35ea149f fix: Make portraits hilight fill identical to border fill 2021-01-30 23:29:48 +07:00
Vsevolod Kremianskii
53fbfe49fc feat(game): Implement map notes 2021-01-30 23:22:15 +07:00
Vsevolod Kremianskii
e34d21a7b0 feat: Show party leader skills on Abilities screen 2021-01-30 21:38:01 +07:00
Vsevolod Kremianskii
08e05ca81c feat(game): Show abilities, hit points and XP on the character screen 2021-01-30 20:32:52 +07:00
Vsevolod Kremianskii
072a34c493 feat: Show party leader classes on the character screen
Also fix text alignment interpretation as part of this commit.
2021-01-30 20:21:42 +07:00
Vsevolod Kremianskii
1acf051835 feat(game): Play weapon draw animation on pressing X 2021-01-30 19:21:19 +07:00
Vsevolod Kremianskii
a7a6d567c5 fix: Fix motion blur projectiles
- Projectile must be stretched based on its speed
- Projectile speed must not depend on distance to target
2021-01-30 18:47:06 +07:00
Vsevolod Kremianskii
156a991048 feat(game): Press LMB during the mouse look to move player forward 2021-01-30 17:41:59 +07:00
Vsevolod Kremianskii
f83516cf42 fix(scene): Self-illuminated model nodes must not receive shadows 2021-01-30 17:09:44 +07:00
Vsevolod Kremianskii
fb2929fb89 feat: Implement animation events 2021-01-30 17:01:17 +07:00
Vsevolod Kremianskii
1eac84ab71 feat: Implement wireframe rendering mode 2021-01-30 16:10:24 +07:00
Vsevolod Kremianskii
170cca7c59 chore(render): Drop the global FPS counter 2021-01-30 16:01:28 +07:00
Vsevolod Kremianskii
36c6946e26 doc: Mention rotating camera using the mouse in README.md 2021-01-30 15:44:15 +07:00
Vsevolod Kremianskii
e80bc0374e feat(game): Implement rotating third-person camera using the mouse 2021-01-30 15:42:40 +07:00
Vsevolod Kremianskii
5ffb52e640 chore(game): Fix formatting in camerastyle.h 2021-01-30 12:12:45 +07:00
Vsevolod Kremianskii
2ade21a8f8 refactor(game): Use setBorderFill and set(Border|Hilight)Color functions 2021-01-30 12:02:57 +07:00
Vsevolod Kremianskii
9938e4b433 refactor(gui): Add setExtentHeight and setExtentTop to Control 2021-01-30 11:59:08 +07:00