Commit Graph

230 Commits

Author SHA1 Message Date
Collin Smith
7ed4f059d5 Added waypoints panel
Added waypoints panel
Created IconTextButton which acts like a Button with a LabelButton next to it
Waypoint entity will open waypoints panel when selected
Fixed issue in Files where Levels was not flagged as having the Expansion row
2019-03-30 01:00:09 -07:00
Collin Smith
882286b3ea Added support for set bonus property list (See #24)
Added support for set bonus property list
Made Set.Instance comparable with itself
Added size method to PropertyList
Fixed partial set bonus fields (int to String)
2019-03-29 19:07:42 -07:00
Collin Smith
e818baaf61 Implemented SetItems and UniqueItems priority for item images/sounds, resolves #27 2019-03-29 16:51:25 -07:00
Collin Smith
90c992899f Fixed item Type class adding incorrect bits
Fixed item Type class adding incorrect bits
Removed support for Type adding it's own children in favor of a static method that can recurse better
2019-03-29 16:23:56 -07:00
Collin Smith
e203ccc6ca Deleted old mpq utils 2019-03-29 04:32:09 -07:00
Collin Smith
fc5786aa77 Deleted gdx.diablo 2019-03-29 04:00:50 -07:00
Collin Smith
2981e52e38 Added set item bonuses to item details (see #21, #24) 2019-03-29 02:50:22 -07:00
Collin Smith
a0a09d1a1a Added set detection on item loading (See #21, #24)
Added set detection on item loading
Added Player owner reference to Item
Added Player owner to format methods for stats
2019-03-29 01:53:08 -07:00
Collin Smith
150494b45e Implemented half of #21
Added Sets excel
Moved set items list from SetItems to Set
Added reference to Set.Entry in SetItems.Entry
Added reference to list of SetItems.Entry in Set.Entry
2019-03-28 20:59:33 -07:00
Collin Smith
22a1498d64 Changed item type lookup to use custom Bits implementation
Changed item type lookup to use custom Bits implementation
Item type lookup should now be O(1) -- I'll look into further optimizations
2019-03-28 20:10:21 -07:00
Collin Smith
c9c5ee346b Added note on possible use of SQ mode 2019-03-28 16:43:28 -07:00
Collin Smith
5adc3e84e4 Improved property list support (see #24)
Improved property list support
Added Stat.encodeValue and Stat.encodeParam to pack the values into single ints
Rewrote adding properties to property list to be closer to game code
2019-03-28 15:57:35 -07:00
Collin Smith
754f4be60d Switched to correct gem mode by using gemapplytype column (See #24) 2019-03-28 03:27:13 -07:00
Collin Smith
20b84c80b9 Added support for aggregating socket item properties with parent item properties 2019-03-28 02:33:40 -07:00
Collin Smith
207fe4fe97 Implemented https://github.com/collinsmith/diablo/issues/24#issuecomment-477507256 2019-03-28 02:27:15 -07:00
Collin Smith
7f6befd4d0 Added references to Gems and Properties excels 2019-03-28 01:45:02 -07:00
Collin Smith
b1cd95e481 Added support for gem/rune descriptions (see #24)
Added support for gen/rune descriptions (unsocketed only)
Rune names display as Riiablo.colors.orange
Expanded PropertyList API to support some package methods
Added Stat.Instance constructor including param field
Inherent item details are printed for all items now when present
Added Stat.Instance.format() and preparing to remove Stat.Instance.format(boolean)
Added description specific to socketables ("Can be Inserted into Socketed Items")
2019-03-28 01:28:20 -07:00
Collin Smith
71a00195ea Second iteration improvement for #24
Added support for stat aggregation
Added support for stat value adding
Organized property lists more appropriately with well-defined indexes
Disabled set item stats until support is added for only using the appropriate property list
2019-03-27 20:48:05 -07:00
Collin Smith
0d1fe7905c See https://github.com/collinsmith/diablo/issues/25#issue-426280304
Hack to disable first strModEnhancedDamage key in patchstring.tbl
2019-03-27 20:30:46 -07:00
Collin Smith
25ab0a7d4c Whoops, changed it to 0 on accident, should be 1 since this is parameterized now (see #19) 2019-03-27 19:43:46 -07:00
Collin Smith
2d132fd774 See https://github.com/collinsmith/diablo/issues/19#issuecomment-477423382 2019-03-27 19:42:24 -07:00
Collin Smith
2a362cf64a First iteration improvement for #24 2019-03-26 15:29:21 -07:00
Collin Smith
0ae8cddf60 Relaxed requirements on method added documentation for purpose 2019-03-25 22:42:40 -07:00
Collin Smith
96eff08efd Optimization to pixmap wrapper to upload pixels faster 2019-03-24 01:06:33 -07:00
Collin Smith
076adfe9b4 Committing toFloat method and minor cleanup 2019-03-23 04:44:40 -07:00
Collin Smith
376c574dd8 Added class only string to item label 2019-03-23 04:01:37 -07:00
Collin Smith
43e6eae12a Improved item drop labels
Improved item drop labels
Created Item Details header table
Changed Entity label to be an Actor
Changed ItemHolder label to the item details header
Added copy constructor to Label
2019-03-23 03:26:15 -07:00
Collin Smith
174c1cbb53 Added per-component alpha support
Added per-component alpha support
Added support for drawing equipped ethereal items as partly transparent
Cleaned up Animation.Layer API a bit
2019-03-23 02:35:29 -07:00
Collin Smith
747b877980 Added additional fields to item excel files 2019-03-23 02:19:46 -07:00
Collin Smith
d78d36f840 Added support for some item properties 2019-03-23 02:18:58 -07:00
Collin Smith
685c999425 Fixed class skill levels format string 2019-03-23 01:35:32 -07:00
Collin Smith
0393745c88 Added charm descriptor 2019-03-22 23:38:39 -07:00
Collin Smith
73ad05635a Added quantity stat and book stat
Added quantity stat and book stat
Moved wand to staff category
2019-03-22 23:36:01 -07:00
Collin Smith
e643ad5cae Rewrote stat format strings
Rewrote stat format strings (should be correct)
Rewrote item details builder
Changed stat impl to use a map for item inherent stats
Added inherent stats header
Added ethereal/socket footer
Added potion right click description
Added placeholders for many item inherent stats
2019-03-22 23:27:39 -07:00
Collin Smith
5af8068452 Updated ENCODED_COUNT to be more accurate (see #19) 2019-03-22 18:03:44 -07:00
Collin Smith
c547c36286 Tapping button to close quick spells panel will not longer cast spell 2019-03-22 15:25:59 -07:00
Collin Smith
d388d23acd Improved in-game input auto-focus and keyboard handling 2019-03-22 15:23:18 -07:00
Collin Smith
b3ef6de98b Added runes row to item details for socketed runes 2019-03-22 03:41:46 -07:00
Collin Smith
2567b4cf4f Improved set items impl (see #21) 2019-03-22 03:11:47 -07:00
Collin Smith
cdfc592a7d Added support for set item set list 2019-03-22 02:17:40 -07:00
Collin Smith
703571c989 Added item stat grouping (needs optimization) 2019-03-22 02:03:01 -07:00
Collin Smith
852dc8c889 Added support for descfunc 15 and 16 2019-03-22 01:19:12 -07:00
Collin Smith
29677d6269 Added item stat name format support for most stats
Added item stat name format support for most stats
Added CharStats excel
Added CharStats.Entry retrieval from CharacterClass
Fixed bug when retrieving class id from skill without a class
Added classId and CharacterClass lookups from Skills excel
2019-03-22 00:16:16 -07:00
Collin Smith
e239372540 Added item stat encoding support
Added item stat encoding support
Changed item stats to use array (items can have multiple copies of same stats, e.g., add 2 different skills)
Adjusted some item encoding count values (see issue #19)
2019-03-21 22:48:20 -07:00
Collin Smith
a649639e3a Minor fixes
ControlPanel left/right skills will change to aura color if aura
Moved yoffset down a bit for weapon alternates
2019-03-21 15:57:47 -07:00
Collin Smith
0aa620d79b Added item stat list to item details 2019-03-21 15:48:05 -07:00
Collin Smith
0429e456d8 Implemented item attr lists 2019-03-21 15:36:43 -07:00
Collin Smith
c31f4a969c Added support for extended item data (no magical data yet) 2019-03-21 05:21:11 -07:00
Collin Smith
46a0d81b23 Moved details init to Item.load() 2019-03-21 04:07:10 -07:00
Collin Smith
18f4325dff Added player actions array (left/right skills)
Added player actions array (left/right skills)
Temporary fix for non-existing complex casting modes
2019-03-21 01:56:11 -07:00