Commit Graph

474 Commits

Author SHA1 Message Date
Collin Smith
59fb2c21c4 Adjusted math to use logical coords instead of inverting map y coordinates 2019-05-06 19:50:42 -07:00
Collin Smith
7e2b2679ba Aggregation of horizontal walls 2019-05-06 10:29:09 -07:00
Collin Smith
c36313304b Improved direction math to use backing MapRenderer to result in correct angle 2019-05-05 20:52:20 -07:00
Collin Smith
a0817b26a7 Disabled shadows and removed unneeded pos calculation 2019-05-05 18:13:36 -07:00
Collin Smith
b5c1c0933c Integrated MapRenderer to draw world 2019-05-05 17:44:18 -07:00
Collin Smith
fbbaee714d Fixed initial starting position 2019-05-05 17:13:13 -07:00
Collin Smith
794dd8cff7 Disabled camera movement when path generated 2019-05-05 15:14:53 -07:00
Collin Smith
c079787cac Moved MapViewer to tools module -- deleted mapbuilder module 2019-05-05 15:09:43 -07:00
Collin Smith
1c2a299045 Added support for box2d lights 2019-05-05 03:39:25 -07:00
Collin Smith
4fc44bb8cd Increased base velocity to 1 m/s 2019-05-05 01:26:04 -07:00
Collin Smith
f79baf0c4c Changed player to circle shape
Changed player to circle shape
Player will now face direction of linear velocity
2019-05-05 01:20:55 -07:00
Collin Smith
1aae833301 Improved movement behavior 2019-05-05 01:14:08 -07:00
Collin Smith
4b01a73460 Integrated mouse for entity movement
Integrated mouse for entity movement
Bound camera to player entity position
2019-05-05 01:10:00 -07:00
Collin Smith
7f192ebea6 Added test player body 2019-05-04 23:25:51 -07:00
Collin Smith
40b864c400 Created WallAggregatorTool to assist with developing box2d integration 2019-05-04 22:51:47 -07:00
Collin Smith
3b9311b11e Bugfix for some null layers for barb cofs 2019-05-04 17:05:32 -07:00
Collin Smith
8fa660f175 Added support for direction actor to COFs -- need to add support for other animation controls 2019-05-04 16:55:40 -07:00
Collin Smith
32a73e31f6 Added DirectionActor to make choosing directions more logical 2019-05-04 16:52:12 -07:00
Collin Smith
421519eba0 Added remaining DC6 data infos 2019-05-04 16:00:30 -07:00
Collin Smith
b4f8b12ced Added remaining DCC data infos
Added remaining DCC data infos
Adjusted default split amount slightly to fit content better
2019-05-04 15:47:01 -07:00
Collin Smith
b5483606d3 Added support for direction and bbox info 2019-05-04 15:04:56 -07:00
Collin Smith
0946cf4ddb Added support for DC info headers 2019-05-04 14:19:46 -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
e853f68d9d Fixed compilation error 2019-05-02 01:58:39 -07:00
Collin Smith
74cc7b82e2 Improved time steps so animation speeds look consistent across varying fps 2019-05-01 20:34:37 -07:00
Collin Smith
b4ad257503 Created AnimationTool to test smoothed vs original animation deltas 2019-05-01 01:45:05 -07:00
Collin Smith
73b46a6e0d Fixes COF initial state and adds support for "NONE" layer to clear COF layer 2019-04-29 21:13:12 -07:00
Collin Smith
dee5965864 Added tool to calculate fcr breakpoints to test math and generate tables 2019-04-29 19:03:15 -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
c2cce1d853 Added UI elements for COF layers 2019-04-28 19:23:08 -07:00
Collin Smith
3b2c43287b Added support for COF triggers 2019-04-28 18:53:43 -07:00
Collin Smith
e9910c7bda Repaired functionality
Repaired functionality
Replaced single MPQ loading with loading all MPQs in folder
Removed option to use MPQ local listfile for above reason
Added preferences to save state
Added auto-load of home directory
2019-04-28 18:20:54 -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