Commit Graph

1626 Commits

Author SHA1 Message Date
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
Collin Smith
b8c4633597 Quest items will now show up as unique color 2019-03-10 15:37:34 -07:00
Collin Smith
d85c3e99e7 Improved animation listener system
Improved animation listener system
Listeners now support passing desired frame (-1 for final frame)
Listeners are lazily initialized
2019-03-10 15:17:51 -07:00
Collin Smith
78d59793e9 Added BRIGHTEN blend mode
Added BRIGHTEN blend mode which adds some contrast and lightens image
BRIGHTEN more closely matches the in-game effect than TINT_ID
Playing around with new blend modes -- will experiment with actual HSL method as well
2019-03-10 05:05:28 -07:00
Collin Smith
22251f560a Improved entity over detection
Improved entity over detection
Added entity highlighting, however my technique is washing out the image too much
2019-03-10 03:35:25 -07:00
Collin Smith
0d56f2456e Added ability to drop items
Added ability to drop items (no support for pickup yet)
Added ITM entity type
Added debug and bounds checking for non-zone entities
2019-03-10 03:14:13 -07:00
Collin Smith
77c851a5ce Added support for invisible entities
Added support for invisible entities, e.g., placeholders for actual entities
Added some logging for unknown DS1 objects (when no backing id can be found)
2019-03-09 17:12:27 -08:00
Collin Smith
d818d97900 Removed virtual MPQ file support
Removed virtual MPQ file support -- was for previous version where I was making fake assets
Other minor changes
See #8 on some MPQ read issues I've noticed
2019-03-09 16:14:30 -08:00
Collin Smith
1090bdc42d Changed readme header 2019-03-09 00:21:52 -08:00
Collin Smith
06804443fc Refactored naming to Riiablo
Copied over code and fixed some core design issues (much more to come)
Leaving in old code still for now in case some bugs were introduced
Re-designed most of the UI to be far more dynamic in its scaling
Added detection for the android soft keyboard and some UI elements will now actively display above it
Cleanup of old files (not including the old code-base)
Fixed item code 0x53 which was mislabeled
Rewrote Entity class to remove Vector3 dependency and add support for indexed fields
Console cvar completion no longer cares about character case
Added TINT_ID blend mode to add the current color to the image (will use later to highlight entities)
Added very basic controller support (namely splash and main menu)
Redesigned CharacterPreview to be a watered-down player entity instead of a completely separate code-base
Added AnimationWrapper and EntityWrapper classes to assist with adding game elements to Stage
Lots more undocumented changes
2019-03-09 00:16:44 -08:00
Collin Smith
fa15a81bf6 Minor changes 2019-03-05 21:22:26 -08:00
Collin Smith
c52d4aa4b6 Hacked together footstep sounds 2019-03-05 17:31:34 -08:00
Collin Smith
87e95ad1aa Added support for entity animation chaining 2019-03-05 14:57:25 -08:00
Collin Smith
5540c6436c Centered NPC dialog text as good as I can without rewriting TextArea 2019-03-05 13:36:56 -08:00
Collin Smith
e5418464fa Fixed issue with font glyph sizes
Fixed issue with font glyph sizes being slightly too short
I think this was a fix for when there was no padding between glyphs -- no adverse changes apparent yet
2019-03-05 13:14:45 -08:00
Collin Smith
64bf1723aa Documenting bug with coordinate projection 2019-03-05 13:09:42 -08:00
Collin Smith
cb977678ea Fixed issue with viewbuffer algorithm rendering more than we need to 2019-03-05 02:12:57 -08:00