Commit Graph

192 Commits

Author SHA1 Message Date
Collin Smith
24fe7a9583 Implemented HotkeyButton skill ids
Implemented HotkeyButton skill ids
Changed GameScreen to cast active right hand skill on right click
2019-03-19 21:01:26 -07:00
Collin Smith
ef8f298f92 Tapping skill button when SpellsQuickPanel is visible will hide it 2019-03-19 20:40:19 -07:00
Collin Smith
6734c9a614 Implemented SpellsQuickPanel changes to MobileControls buttons 2019-03-19 20:34:44 -07:00
Collin Smith
8965238c22 Added SpellsQuickPanel popup to MobileControls 2019-03-19 20:20:20 -07:00
Collin Smith
82ea6acae0 Added support for spells from other char classes 2019-03-19 18:26:49 -07:00
Collin Smith
1608ae5b3d Fixed assignment bugs within GdxKeyMapper
Fixed assignment bugs within GdxKeyMapper
Added bind and unbind console command to (un)assign keys
Added key and key value suggesters
Fixed issue where controlpanel left/right skill buttons was not getting correct blendmode
2019-03-19 16:47:32 -07:00
Collin Smith
18e10a70dd Fixed bug where D2S was stopping reading items too early (a couple item headers contained the section footer) 2019-03-19 14:45:02 -07:00
Collin Smith
722a179e94 Toned down the BRIGHTEN blend mode a bit 2019-03-19 13:51:18 -07:00
Collin Smith
ad1aeab45e Changed darken color reference to use existing grey color 2019-03-19 13:38:45 -07:00
Collin Smith
85b7602e15 Added aura icon color
Added aura icon color
Added default button state BlendMode
Changed level entry image to use BlendMode.DARKEN
Added darkenGold color
Changed darken colors to be references of existing colors (looks correct)
Clicking a SpellsQuickPanel button will hide the panel
2019-03-19 13:36:52 -07:00
Collin Smith
c3fcfc4f05 Added SpellsQuickPanel
Added SpellsQuickPanel
Added HotkeyButton assigned to MappedKey
Added Skill1-16 Keys
Button now has a customizable disabled and highlight state
Hacked together a couple skills for testing purposes
Added animation overlay support (will expand in future)
Added Entity.cast(int)
ControlPanel left and right skill corresponds and changes based on active skill
Mapped key now allows primary key as NOT_MAPPED
Added Map from string to mode index
Added Animation clamp function to play animation until over or stop at last frame
Added additional fields to excel Skills
Added excel Overlay
2019-03-19 03:03:25 -07:00
Collin Smith
3acd1ab0c5 Added DARKEN blendMode 2019-03-19 02:56:42 -07:00
Collin Smith
e5bd6e55f0 Redesigned UI on mobile
Redesigned UI on mobile
Added skill icons on desktop/mobile
Added mobile controls panel
2019-03-18 21:45:36 -07:00
Collin Smith
621d42f87d Exposed COF keyframes 2019-03-18 15:19:41 -07:00
Collin Smith
db627b0076 Added player entity zone detection
Added player entity zone detection
Player neutral and walk animations will display the correct town version if in town
2019-03-18 14:12:33 -07:00
Collin Smith
aa84393b27 Added support for more calc functions
Added support for more calc functions
Added StringTBLs.format(String, Object...)
Cleaned up SkillDesc and Skills
2019-03-17 03:10:43 -07:00
Collin Smith
960d1878e6 Added skill dsc2 for sorc 2019-03-17 01:15:19 -07:00
Collin Smith
1dcb773983 Added player skill levels to SpellsPanel
Added player skill levels to SpellsPanel
Increased visibility of D2S.SkillData
Added Skills class to Player to retrieve skill levels (without modifiers)
2019-03-16 14:45:11 -07:00
Collin Smith
244fa720f8 Added skill level labels for skills 2019-03-16 00:41:19 -07:00
Collin Smith
2e77266cd0 Added spell details label
Added spell details label
Created static ref to font16 modal background
Added constructor to Label that takes in a Color too
2019-03-16 00:27:03 -07:00
Collin Smith
5e258077cb Added skill choices remaining counter 2019-03-15 23:57:18 -07:00
Collin Smith
3a2a18aaf0 Reduced collision height of health/mana widgets to the control widget height 2019-03-15 23:52:15 -07:00
Collin Smith
58a17c394d Added close buttons to skill panels
Added close buttons to skill panels
Removed text wrapping (pre-wrapped using the i18n)
Improved readability of label creation
2019-03-15 23:48:39 -07:00
Collin Smith
61c94795ee Added spell tree names and fixed label layouts 2019-03-15 22:24:14 -07:00
Collin Smith
45b67e6cb8 Added spells panel with buttons 2019-03-15 21:54:06 -07:00
Collin Smith
e7a0228de4 Changed default clear color to match the in-game logical black -- will require adjustments with contrast/brightness/gamma 2019-03-15 17:14:34 -07:00
Collin Smith
f37960aa42 Tentative fix for #16 2019-03-15 17:10:01 -07:00
Collin Smith
54b502bb83 Fixed warp i18n
Fixed warp i18n
Temp workaround for #15
2019-03-15 16:54:53 -07:00
Collin Smith
8c6a1e073e Fix for OpenGL ES not supporting 2 color channel assignment 2019-03-15 16:28:44 -07:00
Collin Smith
7404a5852d Added level entry label
Added level entry label
Added BlendMode.TINT_ID_RED since I can't subtract RGB components
Fixed EntryFile column in Levels.Entry
Added DCWrapper which wraps a DC in an Image and adds blending functionality
Exposed a Map's act
2019-03-15 16:24:19 -07:00
Collin Smith
598e9887b5 Fixed issue where invisible/out of bounds tiles were rendering 2019-03-15 03:50:48 -07:00
Collin Smith
f76534a051 Adjusted API slightly
Adjusted API slightly
Added support for auto path on exit warp
2019-03-15 03:09:07 -07:00
Collin Smith
f40646fb5a Added bi-directional warping between 1 and 8
Added bi-directional warping between 1 and 8 (see #12)
Warps are set through the build process, I don't know how viable this is for all warps
2019-03-15 02:38:58 -07:00
Collin Smith
e3366849fa Implemented warp interaction
Implemented warp interaction (hard-coded to specific offset)
Added Den of Evil (hard-coded layout)
Increased MapLoader min load to load all Act 1 DT1s (will relax a bit) and up to cave level type
2019-03-14 20:53:33 -07:00
Collin Smith
b7e745a0b8 Partial implementation of #12 2019-03-13 23:57:35 -07:00
Collin Smith
8721ed3a91 Added notes on warp special tiles
Fixed warp label positioning
Fixed bug with player acting when animation was null
2019-03-13 03:27:25 -07:00
Collin Smith
87de881d56 Added level warps
Added level warp detection and entity creation
Moved shadows to own layer in MapRenderer
2019-03-13 02:38:07 -07:00
Collin Smith
abde0c9fdc Added show ground labels for items (not selectable yet)
Added button to show all labels for items on the ground
Fixed issue where dropped items were overwriting existing entities -- going to replace with ashley soon
2019-03-12 01:48:48 -07:00
Collin Smith
053c975fe7 Implemented item pickup from ground 2019-03-11 23:53:25 -07:00
Collin Smith
20aa0e79e3 Added buffer to DS1 loading (buffer size 16K) 2019-03-11 21:09:33 -07:00
Collin Smith
94883beba5 Fixes #10 2019-03-11 20:48:37 -07:00
Collin Smith
395e0274b8 Cleaned up workaround for issue #9
Changed blockIndex back to final
Removed ability to mark blocks as deleted
Moved mpqs to MPQFileHandleResolver
Added public final references to individual mpqs
Forced gem.wav to resolve to d2sfx manually
These changes will have a lower impact when pkexplode eventually gets fixed
2019-03-11 20:00:58 -07:00
Collin Smith
8eb19c2063 Workaround for issue #9 2019-03-11 19:10:01 -07:00
Collin Smith
6b5ab8224e Fixed entities not un-setting selection on mobile
Fixed entities not un-setting selection on mobile
Fixed projection matrix not setting to the correct viewport
Changed auto zoom to apply if default viewport is 360p (for desktop debugging)
2019-03-11 04:00:31 -07:00
Collin Smith
70fc628fba Changed item drop sound to play in the panels and not cursor
Changed item drop sound to play in the panels and not cursor
This resolved an issue where dropping item on the ground was playing the inventory drop sound
2019-03-11 02:14:13 -07:00
Collin Smith
ad931e0e8e Added entity interaction for non-zone entities 2019-03-11 02:07:18 -07:00
Collin Smith
9d2b5e1494 Added transforms to dropped items so color matches 2019-03-11 01:54:21 -07:00
Collin Smith
2615bbcb86 play(String,boolean) will now select a random file from the group (if any) 2019-03-11 01:43:26 -07:00
Collin Smith
d82a3005c2 Added effect to shader to increase contrast/brightness 2019-03-11 01:38:09 -07:00
Collin Smith
23d8c028e1 Added item usable string to item label 2019-03-10 16:34:46 -07:00