Vsevolod Kremianskii
|
3c4b1c87f9
|
feat: Implement running OnExit trigger scripts
|
2020-11-15 20:36:43 +07:00 |
|
Vsevolod Kremianskii
|
7cc49a7a6e
|
feat: Implement CreateItemOnObject
|
2020-11-15 20:28:29 +07:00 |
|
Vsevolod Kremianskii
|
9a24364115
|
refactor: Do not explicitly use player tag in GetObjectByTag
|
2020-11-15 20:05:41 +07:00 |
|
Vsevolod Kremianskii
|
7537960c03
|
build: Link against libatomic on Unix systems
|
2020-11-15 07:58:05 -05:00 |
|
Vsevolod Kremianskii
|
414a805f46
|
feat: Implement more script routines
ShipBuild, IsNPCPartyMember, SetPartyLeader, ClearAllActions.
|
2020-11-15 19:50:44 +07:00 |
|
Vsevolod Kremianskii
|
6498128b00
|
chore: Reorder routine declarations
|
2020-11-15 19:11:53 +07:00 |
|
Vsevolod Kremianskii
|
c7752b2e87
|
perf: Do not unbind textures
It is redundant and reduces performance.
|
2020-11-15 18:56:47 +07:00 |
|
Vsevolod Kremianskii
|
aa128580ab
|
refactor: Split script routine implementations into multiple files
|
2020-11-15 18:17:21 +07:00 |
|
Vsevolod Kremianskii
|
2b89855ed6
|
feat: Implement math and dice rolling script routines
|
2020-11-15 17:57:41 +07:00 |
|
Vsevolod Kremianskii
|
28168f9a23
|
reactor: Make CreatureAttributes a class
|
2020-11-15 17:08:52 +07:00 |
|
Vsevolod Kremianskii
|
20dcb93eae
|
feat: Implement four more script routines
GetHitDice, GetClassByPosition, GetHasSkill and GetPCSpeaker.
|
2020-11-15 16:43:45 +07:00 |
|
Vsevolod Kremianskii
|
7f31d47359
|
fix: Character faces doors when unlocking them
|
2020-11-15 14:20:48 +07:00 |
|
Vsevolod Kremianskii
|
b3a363edbf
|
feat: Play character animation when unlocking doors
|
2020-11-15 14:17:42 +07:00 |
|
Vsevolod Kremianskii
|
fad3f9054e
|
feat: Implement contextual actions
Currently, only door unlocking is supported.
|
2020-11-15 13:58:39 +07:00 |
|
Vsevolod Kremianskii
|
e51b219d7f
|
feat: Load contextual actions from the environment
|
2020-11-15 12:49:07 +07:00 |
|
Vsevolod Kremianskii
|
ac57c7f8ed
|
feat: Add empty contextual action bar
|
2020-11-15 12:08:15 +07:00 |
|
Vsevolod Kremianskii
|
ad209bcb7a
|
fix: Stop player and camera movement when opening party selection
|
2020-11-15 11:18:28 +07:00 |
|
Vsevolod Kremianskii
|
40651d368f
|
refactor: Resources are always loaded from the main thread
Not a fan of mutexes in Resources and AudioFiles.
|
2020-11-15 10:52:35 +07:00 |
|
Vsevolod Kremianskii
|
c0e5abec4a
|
fix: Stop player movement when switching camera type
|
2020-11-15 10:41:23 +07:00 |
|
Vsevolod Kremianskii
|
52e837d843
|
fix: Stop player movement when switching to conversation
|
2020-11-15 10:34:41 +07:00 |
|
Vsevolod Kremianskii
|
9b6533b21d
|
feat: Load whether sound is positional from sound blueprint
|
2020-11-15 10:27:25 +07:00 |
|
Vsevolod Kremianskii
|
595648e024
|
feat: Sound can be explicitly set as positional or not
|
2020-11-15 10:20:02 +07:00 |
|
Vsevolod Kremianskii
|
a557e31bad
|
refactor: Accept sound position in a constructor
|
2020-11-15 10:08:34 +07:00 |
|
Vsevolod Kremianskii
|
5052957434
|
refactor: Move listener position setting to the Game class
|
2020-11-15 10:01:02 +07:00 |
|
Vsevolod Kremianskii
|
fac35895e0
|
feat: Implement 3D sounds
|
2020-11-15 00:43:05 +07:00 |
|
Vsevolod Kremianskii
|
cfa652575e
|
refactor: Confine all OpenAL calls to the audio thread
To make sure, return SoundHandle, not SoundInstance from the
AudioPlayer.
|
2020-11-14 23:42:18 +07:00 |
|
Vsevolod Kremianskii
|
62477aeb02
|
perf: Load music files in the audio thread
This fixes stuttering when switching between menus and areas.
|
2020-11-14 18:20:47 +07:00 |
|
Vsevolod Kremianskii
|
3ebd70f5db
|
refactor: Combine features and general local uniforms
|
2020-11-14 17:18:22 +07:00 |
|
Vsevolod Kremianskii
|
92f6cab491
|
refactor: Set general local uniforms through a UBO
|
2020-11-14 17:01:56 +07:00 |
|
Vsevolod Kremianskii
|
4a06af4689
|
refactor: Store lighting and skeletal uniforms as smart pointers
This is to avoid passing large structs on the stack.
|
2020-11-14 16:15:40 +07:00 |
|
Vsevolod Kremianskii
|
4841f3b280
|
perf: Set skeletal animation uniforms through a UBO
|
2020-11-14 15:56:54 +07:00 |
|
Vsevolod Kremianskii
|
8c86674dfe
|
chore: Add this_thread::yield to the end of the audio and main loops
|
2020-11-14 12:51:47 +07:00 |
|
Vsevolod Kremianskii
|
e70170a531
|
perf: Cache feature uniforms per shader program
This reduces the overhead of binding UBO.
|
2020-11-14 12:42:26 +07:00 |
|
Vsevolod Kremianskii
|
ee4f558f96
|
perf: Set lighting uniforms through a uniform block object
|
2020-11-14 12:32:36 +07:00 |
|
Vsevolod Kremianskii
|
60b85c7da3
|
fix: Fix sound and transparent mesh comparators
|
2020-11-14 11:28:30 +07:00 |
|
Ziemas
|
dc5a7f19df
|
fix: typo in gl code
|
2020-11-14 11:06:43 +07:00 |
|
Vsevolod Kremianskii
|
5a75ceed9e
|
perf: Use UBO to set feature uniforms
This yields a small performance improvement.
|
2020-11-14 08:57:25 +07:00 |
|
Vsevolod Kremianskii
|
969b9fa8c0
|
perf: Set sampler uniforms once at program initialization
|
2020-11-14 07:40:02 +07:00 |
|
Ziemas
|
49ca2e139e
|
Always assign texture sampler uniforms
Ensures that different sampler types don't end up pointing at the same
texture unit.
Fixes rendering on the intel mesa driver.
|
2020-11-13 23:49:51 +01:00 |
|
Ziemas
|
f5174886d8
|
Fix invalid enum error for texture wrap setting
|
2020-11-13 23:20:39 +01:00 |
|
Vsevolod Kremianskii
|
989151adf7
|
refactor: Area::updateTriggers is redundant
|
2020-11-13 08:39:16 +07:00 |
|
Brian Allred
|
a70264c394
|
fix: Fix building on Windows (broken by previous fix)
|
2020-11-13 08:29:19 +07:00 |
|
Brian Allred
|
0c74db9a6d
|
fix: Fix building on certain Linux distros
|
2020-11-13 08:29:19 +07:00 |
|
Vsevolod Kremianskii
|
b9c9fae714
|
fix: Fix setLocal*/getLocal* routines when called on self
|
2020-11-12 16:10:07 +07:00 |
|
Vsevolod Kremianskii
|
fce3fcd98e
|
refactor: Refactor actions and conversation
This allows the party to get past the first door on the Endar Spire, as
scripted by the game designers.
|
2020-11-12 15:41:15 +07:00 |
|
Vsevolod Kremianskii
|
243c1d985c
|
feat: Implement SetLocked/GetLocked routines
|
2020-11-12 13:52:00 +07:00 |
|
Vsevolod Kremianskii
|
675914f5c8
|
feat: Implement conversation with doors
|
2020-11-12 13:37:54 +07:00 |
|
Vsevolod Kremianskii
|
e38d8a80cc
|
feat: Implement globals/locals routines for TSL
|
2020-11-12 13:12:53 +07:00 |
|
Vsevolod Kremianskii
|
3ae146aaa3
|
feat: Implement GetPartyMemberByIndex routine
|
2020-11-12 13:11:37 +07:00 |
|
Vsevolod Kremianskii
|
8b8871e641
|
chore: Log unimplemented script routines
|
2020-11-12 13:00:47 +07:00 |
|