Commit graph

141 commits

Author SHA1 Message Date
Vsevolod Kremianskii
5677bf29cb refactor: Refactor map
- Extract map logic into a separate class
- Load map properties as part of the area
2020-12-07 08:38:31 +07:00
Vsevolod Kremianskii
249270c2e0 feat: Implement video streaming 2020-12-06 15:00:18 +07:00
Vsevolod Kremianskii
c4dc990bec refactor: Move AABB class into libcommon 2020-11-28 22:26:39 +07:00
Vsevolod Kremianskii
2fb0183bbe refactor: Restructure classes in librender
- Rename format folder into image
- Move MdlFile class into model folder
- Move BwmFile class into the parent folder
2020-11-28 21:32:56 +07:00
Vsevolod Kremianskii
e409d8314f chore: Remove Octree class
It is redundnant and is unlikely to be used.
2020-11-28 15:13:32 +07:00
Vsevolod Kremianskii
26e9473db6 refactor: Move scene node classes into a separate folder 2020-11-28 15:09:02 +07:00
Vsevolod Kremianskii
5d43bc0572 refactor: Move rendering pipelines into libscene 2020-11-28 14:15:40 +07:00
Vsevolod Kremianskii
f66791aaa4 refactor: Refactor combat
Streamline timers, switch from real-time to turn-based combat.
2020-11-21 19:13:05 +07:00
Vsevolod Kremianskii
83c69e1010 chore: Switch to a centralized copyright notice
Contributors are listed in a separate CONTRIBUTORS file.
2020-11-18 13:06:55 +07:00
Vsevolod Kremianskii
4d12a769af refactor: Cleanup combat, split timer classes, fix style issues 2020-11-17 16:52:48 +07:00
Vsevolod Kremianskii
e61c8fdd71 Merge remote-tracking branch 'uwadmin12/combat-basic' into combat-basic 2020-11-17 13:29:20 +07:00
Vsevolod Kremianskii
88571f3840 feat: Implement force move and jump actions 2020-11-16 21:46:40 +07:00
UW Admin
491aadac34 fix: style issues per request 2020-11-16 01:14:10 -05:00
Vsevolod Kremianskii
e5f15f2c4a refactor: Drop custom vector and quaternion classes
They were redundant with no real benefit.
2020-11-16 12:45:36 +07:00
Vsevolod Kremianskii
390b7bde91 feat: Implement location script routines 2020-11-16 11:48:21 +07:00
Vsevolod Kremianskii
7537960c03 build: Link against libatomic on Unix systems 2020-11-15 07:58:05 -05:00
Vsevolod Kremianskii
aa128580ab refactor: Split script routine implementations into multiple files 2020-11-15 18:17:21 +07:00
Vsevolod Kremianskii
28168f9a23 reactor: Make CreatureAttributes a class 2020-11-15 17:08:52 +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
UW Admin
8d7b55e7cf feat: basic combat architecture. 2020-11-14 01:08:25 -05: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
4ec98e768e feat: Implement static cameras
This includes refactoring of the camera handling: camera type is moved
into the Game class.
2020-11-12 11:38:04 +07:00
Vsevolod Kremianskii
ac0ad1b026 refactor: Move PthFile and DlgFile into game namespace 2020-11-10 14:49:01 +07:00
Vsevolod Kremianskii
743d0ebfd5 refactor: Move MdlFile and BwmFile to format folder 2020-11-10 14:27:59 +07:00
Vsevolod Kremianskii
7cf42df34c refactor: Move Mp3File and WavFile into format folder 2020-11-10 14:23:16 +07:00
Vsevolod Kremianskii
c6d381b11b refactor: Do not use glm in libresource and libscript 2020-11-10 14:07:02 +07:00
Vsevolod Kremianskii
f5deeb480e refactor: Rename libsystem to libcommon 2020-11-10 13:44:48 +07:00
Vsevolod Kremianskii
934e57cb3c feat: Add initial Octree implementation 2020-11-09 19:33:36 +07:00
Vsevolod Kremianskii
32c04ad0c7 feat: Implement environmental sounds 2020-11-09 14:20:50 +07:00
Vsevolod Kremianskii
0ebd9f12bb feat: Implement audio playback in movies, refactor BikFile 2020-11-09 08:49:52 +07:00
Vsevolod Kremianskii
bd41a0ee59 build: Build with movie support by default 2020-11-08 22:04:54 +07:00
Vsevolod Kremianskii
1a50e274ff build: Enable libvideo compilation on Unix systems 2020-11-08 10:02:04 -05:00
Vsevolod Kremianskii
8545b1eb33 feat: Implement video playback using FFmpeg 2020-11-08 21:08:52 +07:00
Vsevolod Kremianskii
a182063e2e refactor: Add StreamReader and StreamWriter classes 2020-11-07 23:52:53 +07:00
Vsevolod Kremianskii
304520473b feat: Add bare in-game options and save/load menus 2020-11-07 12:43:30 +07:00
Vsevolod Kremianskii
07d13abbeb refactor: Rename game/gui/menu to game/gui/ingame 2020-11-07 10:47:13 +07:00
Vsevolod Kremianskii
f735bd673d feat: Load character attributes from blueprint and during chargen 2020-11-06 13:08:23 +07:00
Vsevolod Kremianskii
c4d31c6a51 feat: Add bare versions of the remaining in-game menus 2020-11-05 01:25:52 +07:00
Vsevolod Kremianskii
0d59555718 feat: Add bare inventory and character menus, refactor in-game menus 2020-11-03 11:01:59 +07:00
Vsevolod Kremianskii
47bb4f0e7e chore: Add a custom program icon 2020-11-02 22:53:29 +07:00
Vsevolod Kremianskii
39804cb4d2 feat: Change cursor based on the selected object 2020-11-01 14:26:25 +07:00
Vsevolod Kremianskii
bfe467dab0 chore: Replace Unicode copyright symbol with "(c)"
This is to improve code portability.
2020-10-31 16:19:51 +07:00
Vsevolod Kremianskii
1f769e90b1 build: Fix compilation error on Debian 2020-10-29 09:43:35 +07:00
Vsevolod Kremianskii
2542dc13e0 build: Implicitly link against Boost.System
This fixes a compilation error on Debian using GCC.
2020-10-29 09:31:28 +07:00
Vsevolod Kremianskii
bd41f7c9a2 refactor: Extract declarations from game/types.h
- Move MovementType to the Creature class
- Move CameraType and CameraStyle into the camera folder
- Move ObjectType into the object folder
2020-10-28 12:32:39 +07:00
Vsevolod Kremianskii
98e949783d refactor: Refactor HUD
- Remove context classes: HUD and overlays now query the Game object
- Remove debug functionality: I want to redesign it
2020-10-28 10:00:38 +07:00
Vsevolod Kremianskii
8994cfa26b feat: Add scaffolding for the role-playing system 2020-10-28 08:54:52 +07:00
Vsevolod Kremianskii
577c48293d refactor: Move Blueprints class to the blueprint folder 2020-10-28 08:32:16 +07:00
Vsevolod Kremianskii
3283ebd702 refactor: Move video code to a separate library 2020-10-28 08:28:00 +07:00