Commit Graph

394 Commits

Author SHA1 Message Date
Collin Smith
dfbf132063 Fixed translation issue for mouse movement caused by not applying offset 2019-10-17 16:52:43 -07:00
Collin Smith
04ebeb1a61 Added wrld field to track cursor tile position
Added wrld field to track cursor tile position
Added 0.5f offset to world tile position to account for camera offset
2019-10-17 16:23:24 -07:00
Collin Smith
7ca9e73941 Added private default constructor to enforce non-instantiation 2019-10-17 16:17:18 -07:00
Collin Smith
d2eb8bca07 Fixed variable name 2019-10-17 02:02:25 -07:00
Collin Smith
cb1b53d390 Started rewriting engine using ECS
Added COF/animation related components and systems for streaming assets
Added additional factory method to Animation for empty constructor
2019-10-17 02:01:09 -07:00
Collin Smith
ef0b641fae Added some controls to disable debug rendering 2019-10-06 05:54:13 -07:00
Collin Smith
d2b48b8119 Implemented slightly improved parser for TXTs (see #26) 2019-09-29 03:47:15 -07:00
Collin Smith
0416c93abf Updated ClassUtils and fixed some minor warnings with Excel 2019-09-28 03:45:38 -07:00
Collin Smith
761c6f8447 Implemented support for binary excel loading (see #26) 2019-09-28 03:35:07 -07:00
Collin Smith
3fe5d9bc58 Fixed issue with Components column within MonStats2 2019-09-25 01:46:21 -07:00
Collin Smith
814925d76c Added annotation field to allow bin generator to ignore certain columns 2019-09-23 17:42:40 -07:00
Collin Smith
d9b701901d Added var to force using txt instead of bin for benchmarking later on 2019-09-23 17:20:16 -07:00
Collin Smith
ec4b8e5d2e Removed unused method 2019-09-23 04:05:33 -07:00
Collin Smith
6bb974e711 Added support for binary excel loading (see #26)
Refactored Excel parse factory methods to load methods
Added tentative serialization code to MonStats
2019-09-23 03:51:55 -07:00
Collin Smith
d7f2a42e9c Removed AssetManager reference usage (no plans on using)
Removed AssetManager reference usage (no plans on using)
Leaving original constructor intact for now (added TODO to remove later on)
Added default constructor which creates Files with null AssetManager
2019-09-23 03:23:15 -07:00
Collin Smith
7e3a17cd33 Added debug logging for time it takes to load excel tables 2019-09-23 03:08:06 -07:00
Collin Smith
807d67292f Corrected some columns (El2Mode, El2Type, El3Mode, El3Type) 2019-09-19 01:24:25 -07:00
Collin Smith
7495aff11d Added support for multiple client connections to BNLS
Added support for multiple client connections to BNLS
Added support for ConnectionClosed packet to politely close connection
2019-09-12 02:23:53 -07:00
Collin Smith
3b24c3a58b Created BNLS (login service) skeleton 2019-08-27 22:37:16 -07:00
Collin Smith
cc2ea8ba00 Removed eclipse stuff from gradle (was giving warnings and completely unused) 2019-06-24 03:25:43 -07:00
Collin Smith
b8660a5458 Removed cache field 2019-05-28 01:33:42 -07:00
Collin Smith
f7bdf363dc Simplified implementation 2019-05-10 02:00:32 -07:00
Collin Smith
2ae55d9eb8 Changed translation amount
Changed translation amount
Added support for toTile50 for position coords because of centering
Display iso position and tile position
Changed access of offset and position
2019-05-10 00:20:58 -07:00
Collin Smith
a7682d8743 Added support for isometric offsets 2019-05-09 23:46:44 -07:00
Collin Smith
eaf97baf6e Added translation support
Added translation support
Changed IsometricCamera to use tile coordinates for position coords
2019-05-09 16:00:07 -07:00
Collin Smith
7b4b58ee2d Algebraic simplifications 2019-05-08 23:43:14 -07:00
Collin Smith
a5ff6233c9 Removed unneeded qualification 2019-05-08 23:37:38 -07:00
Collin Smith
fe1e15d1fc Committing new camera classes 2019-05-08 23:34:44 -07:00
Collin Smith
06b91341bf int pixel coords to float 2019-05-07 02:52:23 -07:00
Collin Smith
c10af745b9 Small optimization for mobile to limit updates to entities about 1-2 screen away 2019-05-04 03:20:22 -07:00
Collin Smith
60ecc72fca Fixed quillrat missile
Fixed quillrat missile initial direction
Exposed Entity.screen vector
Integrated EngineUtils into Missile updates
2019-05-04 02:07:28 -07:00
Collin Smith
b9b74768ee Added entity debug size support to monsters 2019-05-03 18:11:00 -07:00
Collin Smith
274e756cce Bugfix for NPE thrown by layers -- creating issue #51 2019-05-03 17:54:24 -07:00
Collin Smith
e672466200 Added support for draw debug entity sizes
Added support for draw debug entity sizes
Fixed bug with debug shape type in draw walkable tiles
Assigned Player entities to size 2
2019-05-03 17:50:10 -07:00
Collin Smith
1b7b7ed350 Added drawDiamond functionality to DebugUtils
Added drawDiamond functionality to DebugUtils
Propagated change to classes
Added drawDiamond2 variation to interpret x,y as bottom left corner
2019-05-03 17:37:32 -07:00
Collin Smith
00c7a6c31a Fixed issue where engine entities weren't cleared after exiting GameScreen 2019-05-02 22:02:55 -07:00
Collin Smith
801df645a3 Added check for param equality (will result in invalid value if same reference for both params) 2019-05-02 21:25:20 -07:00
Collin Smith
058d7e9944 Integrated EngineUtils into MapRenderer 2019-05-02 21:23:38 -07:00
Collin Smith
f2941cc9ca Deprecated DirectionUtils and removed it from repo
Deprecated DirectionUtils and removed it from repo
Propagated changes back into DirectionTool
Fixed bug regarding direction4 math
2019-05-02 20:59:38 -07:00
Collin Smith
b15f76b2bf Formatting fix 2019-05-02 20:41:26 -07:00
Collin Smith
4947d8a8a9 Replaced pixel location calculations with single reference calculated during act(float) 2019-05-02 19:05:29 -07:00
Collin Smith
69da1eef24 Inlined array declarations with pre-generated values 2019-05-02 05:38:15 -07:00
Collin Smith
4c2b8f8d1c Replaced initial branch statement with code similar to existing branchless code 2019-05-02 05:06:05 -07:00
Collin Smith
2a0ed7d40a Created direction tools to provide interactive testing tool for new directions 2019-05-02 02:51:35 -07:00
Collin Smith
86317ebf66 Added COF animations support
Added COF animations support
Added accessor for Animation.Layer DC
2019-04-29 05:02:27 -07:00
Collin Smith
95944f7bcd Fix for bytime encoding bit counts (see #20) 2019-04-28 00:53:09 -07:00
Collin Smith
413b2a0e02 Removed Poolable dependency to be added again in the future if necessary 2019-04-27 00:50:32 -07:00
Collin Smith
acdf053a76 Fixes stat mismatch between current and max -- will likely require more modifications to apply all current mods to max stat 2019-04-24 22:18:38 -07:00
Collin Smith
a019755a96 Integrated Stat label
Integrated Stat label
Improved resistances colorizer (requires additional refinement)
2019-04-24 22:07:55 -07:00
Collin Smith
6e3ba33a9d Improved stat label font layout
Improved stat label font layout
Stat label style updates properly
Added more accurate metrics to font8
Fixed position and size of armorclass stat label
2019-04-24 15:49:09 -07:00