1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2025-02-03 23:26:41 -05:00
Commit Graph

1042 Commits

Author SHA1 Message Date
gravestench
f2a9fbcebc fixed lint errors in d2core/d2systems 2020-12-07 12:44:11 -08:00
gravestench
e069c3c808 input system now uses InputService interface 2020-12-07 12:44:11 -08:00
gravestench
bafc637265 fix lint errors in d2common/d2input 2020-12-07 12:44:11 -08:00
gravestench
e6d418fdb2 Adding input system, mouse cursor scene, interactive component
* added `d2common/d2input`, copied input vector logic from hellspawner
* added an `InteractiveComponent` which contains input vector, enable
flag, and callback function
* Added an InputSystem which handles input logic and iterates over
entities with interactive components
* added a mouse cursor scene for rendering the mouse cursor
* made the trademark sprite disappear when left mouse is clicked
* various other small bugfixes in scene systems
2020-12-07 12:44:11 -08:00
gravestench
3f5d2c0938 major refactor of akara ecs
* component ID's are dynamically allocated now
* removed `akara.BaseComponent` member from components
* component declarations drastically reduced
2020-12-07 12:44:11 -08:00
gravestench
d4efe67052 more ecs work
* updated alpha component init logic
* added loading screen scene (not yet implemented)
* scene object factory now creates a set of basic components for sprites
2020-12-07 12:44:11 -08:00
gravestench
b0a2cf87dd adding alpha component 2020-12-07 12:44:11 -08:00
gravestench
05dae775e4 scene rendering now works
* scene systems now render their objects to the main viewport
* added SegmentedSprite component
* added SegmentedSprite to sprite factory
2020-12-07 12:44:11 -08:00
gravestench
1c8240d869 fixed remaining lint errors 2020-12-07 12:44:11 -08:00
gravestench
85ac48bff6 removed unused event emmitter 2020-12-07 12:44:11 -08:00
gravestench
e3ffdf859d updated tests 2020-12-07 12:44:11 -08:00
gravestench
b86ac4df84 akara update: BaseComponent and BaseComponentMap
* common component methods have been put into BaseComponent and
BaseComponentMap
* boilerplate code for components has been significantly reduced
* all lint errors fixed in d2components
2020-12-07 12:44:11 -08:00
gravestench
caafe7592c more work on ecs impl
* added command line arg for launching ecs impl
* removed render system tests, was causing gl context issues in tests
* fixed all lint errors in d2systems
2020-12-07 12:44:11 -08:00
gravestench
069201a980 update akara, fix race condition in render system init
* reduced boilerplate init code for systems with an update to akara
* fixed a race condition in the render system, added a 1-frame delay
* updated all subscriber systems (due to akara update)
* adding render system test (temporary)
2020-12-07 12:44:11 -08:00
gravestench
8b1b6b9adc more work on ecs implementation
* removed d2common/d2scene, was not the right way to go.
* added components for animation, scale, main viewport, viewport filter
* added interface for scenes, which are extensions of akara.System
* BootStrap is now AppBootstrap, common to game clients and headless
server
* added generic BasicScene struct for common scene functionality
* added game object factory as a system, with single sprite factory
* added update counter system, shows how many times the world updates
per second
* integration test is now the game client test
2020-12-07 12:44:11 -08:00
gravestench
bdf3a2e75d adding d2util.Loggers instances to existing systems 2020-12-07 12:44:11 -08:00
gravestench
e2bd1d8c71 adding LogLevel to game config component 2020-12-07 12:44:11 -08:00
gravestench
5727aa2f58 adding Path method to abstract source interface 2020-12-07 12:44:11 -08:00
gravestench
474a03e5dc more work on ecs impl 2020-12-07 12:44:11 -08:00
dknuth
b447d3b942 file handle caching, asset caching, font tables
- adding components to handle font tables
- handle loading font tables in asset loader
- handle file type for font tables
- file handle resolver system now caches file handles
- asset loader system now caches loaded assets
2020-12-07 12:44:11 -08:00
dknuth
1eb86334e2 added game config loader system 2020-12-07 12:44:11 -08:00
dknuth
b1bf6993d2 eminary ECS Implementation work
Added a implementation of an Entity Component System (ECS) architecture
2020-12-07 12:44:11 -08:00
Tim Sarbin
3f8dcf2232
Merge pull request #964 from OpenDiablo2/dependabot/github_actions/actions/checkout-v2.3.4
Bump actions/checkout from v1 to v2.3.4
2020-12-07 14:38:58 -05:00
Tim Sarbin
dbcc619454
Merge pull request #963 from OpenDiablo2/dependabot/github_actions/actions/setup-go-v2.1.3
Bump actions/setup-go from v1 to v2.1.3
2020-12-07 14:38:42 -05:00
dependabot[bot]
4d876fb922
Bump actions/checkout from v1 to v2.3.4
Bumps [actions/checkout](https://github.com/actions/checkout) from v1 to v2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v1...5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-07 19:36:03 +00:00
dependabot[bot]
627a9488ce
Bump actions/setup-go from v1 to v2.1.3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from v1 to v2.1.3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v1...37335c7bb261b353407cff977110895fa0b4f7d8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-07 19:36:03 +00:00
Tim Sarbin
fb4a5be1d4
Merge pull request #961 from jlosito/dependabot-config
Check github actions weekly with dependabot
2020-12-07 14:35:40 -05:00
Tim Sarbin
cf069de879
Merge pull request #960 from gucio321/quest-log-part2
Quest log part2
2020-12-07 14:35:23 -05:00
M. Sz
e9878fae0c removed unused button types 2020-12-07 19:57:04 +01:00
M. Sz
cbe4466fea added max player act support in quest log 2020-12-07 19:17:46 +01:00
M. Sz
1d5516c374 code clean up 2020-12-07 19:07:20 +01:00
M. Sz
5c9d4a80e2 Optymalized tab placing 2020-12-07 15:29:52 +01:00
John Losito
27531de923 Check github actions weekly with dependabot 2020-12-06 11:37:38 -05:00
M. Sz
dffa8ff865 moved max quests acts to d2enum 2020-12-04 10:43:33 +01:00
M. Sz
ed89d91ae4 code cleanup 2020-12-04 09:20:38 +01:00
M. Sz
708ee12182 removed unused table 2020-12-03 12:53:27 +01:00
M. Sz
9f112f6c12 code optimalisation 2020-12-03 11:56:54 +01:00
M. Sz
2c303d74f2 quest status init 2020-12-03 10:40:01 +01:00
M. Sz
b40627ad3e some useful functions for quest log 2020-12-02 17:16:16 +01:00
Tim Sarbin
e6d5c8b9fd
Merge pull request #957 from gucio321/hotfix
Hotfix: minor bugs in quest log
2020-12-02 08:12:13 -05:00
Tim Sarbin
b6518af6b3
Merge pull request #958 from juander-ux/ui_manager_reset
Properly reset uiManager
2020-12-02 08:11:21 -05:00
M. Sz
013264cb8e socket highlight init 2020-12-02 13:42:40 +01:00
juander
7ca113eed3 d2player/game_controls: Fix skilltree event opening inventory 2020-12-02 12:32:16 +01:00
juander
0d2a40a093 d2core/ui_manager: Properly reset widgetsGroups/tooltips 2020-12-02 12:30:45 +01:00
M. Sz
5804cd2c23 quest description init 2020-12-02 11:47:46 +01:00
M. Sz
7462a6c0a3 KeyAlt in help_overlay 2020-12-02 11:08:36 +01:00
M. Sz
c7a841fe5a Merge branch 'hotfix' of https://github.com/gucio321/OpenDiablo2 into hotfix 2020-12-02 09:41:52 +01:00
M. Sz
f02ccd86c4 hotfix: fixed errors in quest log & code cleanup 2020-12-02 09:24:14 +01:00
M. Sz
104177279e hotfix: fixed errors in quest log & code cleanup 2020-12-02 09:23:25 +01:00
gucio321
96916863ff
Quest log initial (#956)
* Adding character quest panel
2020-12-01 23:19:15 -08:00