jugeeya
762cfaaf7d
add hold/infinite shield; shield damage is still wrongly applied
2019-06-02 18:41:40 -07:00
jugeeya
97c889345d
grabbox visualization; reduce saturation effects
2019-06-01 13:03:53 -07:00
Shivam Dutt
dd6237132b
Slightly increased the minimum intensity of the visualization effect colors
2019-05-28 15:57:40 -05:00
Shivam Dutt
216bcbc0c2
Moved Hash40 and Vector3f structs from l2c.cpp to useful.h
...
Moved LOAD64 macro from l2c_imports.hpp to useful.h
Moved round_to and the various linear interpolation functions from useful.h to useful_visual.h
More formatting fixes
2019-05-28 15:36:33 -05:00
Shivam Dutt
0b9857c8d2
Hitbox effect color intensity now scales with KB instead of damage
2019-05-28 14:53:40 -05:00
Shivam Dutt
080667ae62
Renamed many variables and functions to use snake_case instead of camelCase
...
useful.h -> color_lerp():
- added documentation in comments
- changed default value for gamma from 2.2 to 2.0
hitbox_visualizer.hpp -> ATTACK_replace():
- slightly modified formula for changing effect color based on damage
2019-05-28 13:38:20 -05:00
Shivam Dutt
32ea23682a
Lowered the maximum distance between hitbox effects
2019-05-28 12:39:25 -05:00
Shivam Dutt
d6471d5961
Changed generate_hitbox_effects to take a color as an argument instead of calculating the color based off of other arguments
...
- Refactored ATTACK_replace accordingly
- This will make it easier to add grab box and detect box visualizations later
Removed generate_hitbox_effect_color, effect color is now calculated in ATTACK_replace directly
2019-05-28 12:38:13 -05:00
Shivam Dutt
69d35361bb
Changed hitbox effect colors to be more distinct and have a more logical sequence
...
The intensity of the hitbox effect colors now scales with damage
- Added functions to useful.h to assist with this
2019-05-27 21:48:19 -05:00
Shivam Dutt
1247452ac9
Fixes to logic of calculating hitbox visualization effects for extended hitboxes
2019-05-27 17:49:18 -05:00
Shivam Dutt
1f9d492626
Updated to latest version of code-mod-framework
...
Fixed formatting and indentation
2019-05-27 17:08:56 -05:00
Shivam Dutt
ca67804338
Rewrote generate_hitbox_effects to calculate how many effects are needed to show the whole hitbox, instead of always showing 4
2019-05-27 14:17:18 -05:00
jugeeya
09a50060ba
random DI; mash jump; cleanup on aisle EVERYWHERE
2019-05-20 16:07:01 -07:00
jugeeya
b7c26e7c12
clean up warnings, remove shine replace
2019-05-19 15:21:05 -07:00
jugeeya
ddd53cd0fb
release 0.7: DI toggles
2019-05-19 14:46:19 -07:00
jugeeya
1b5165d211
finish migration to C++
2019-05-18 21:16:48 -07:00