Skip to content

Commit

Permalink
0.3.0 (#52)
Browse files Browse the repository at this point in the history
* add item pickup

* add basic equipment ui

* refactor ViewID to ItemID

* display currently equipped item on altq

* inventory layout

* tweak equipment window

* add extensions

* add basic inventory listing

* add tooltip

* handle inventory tabs

* #25 Hook Item related packets

* #26 avoid walking when cursor is over UI elements

* change walking algorithm

* fix stop walking

* add item drop animation

* fix walk

* remove custom shadow shader

* #28 FIX NOTIFY_MOVEENTRY9

* add todo comments

* add speed to mock scene char

* remove X axis from billboard

* add death animation

* hook some more packets

* add small basic info window

* big refactor

* fix a head issue

* add shadows again

* Hook ITEM_ENTRY

* add sounds

* stop looping death animation

* add stats window

* start trying to fix animation delay

* change formula for attack animations

* hook exp packet

* add draggable items and use active items

* fix inventory listing

* Fix use item packet

* Equip items

* invert item references

* take off equip

* add support to custom grf

* read skillinfo files from custom data

* add methods to get entire skill tree

* add skill tree view

* fix sprite stretching on billboard

* Fix billboard

* Simply direction calc

* cleanup

* add tabs to skill window

* add lua interface class

* start ui controllers refactor

* clean up and debug

* migrate enter to stream

* Change from BinaryWriter to Streams to send packets

* remove compute size method

* refactor read method

* fix packet sizes

* fix move entry

* fix entity id

* add enum for request act

* change GID to AID

* fix inventory packets

* fix item pickup

* add item detail window

* set default alfa of ui to 0

* reload ui texture if they get nulled

* start loading effects

* delete layers when animation is complete

* add chroma key shader

* change effect material

* change effect positioning

* checkpoint

* effects!

* remove commented code

* small cleanup

* revert unwanted changes

* Hook create character and change some effects and sprite animations formulas

* Small QOL Changes to UI (#42)

Made it possible to navigate login/server select with tab.
Buttons now properly display when "selected".
Clicking on the server you want to select actually selects it now.

* Move IO to another project (#43)

* Create first version of the lib

* Remove some core tables from DBManager

* add io project as submodule and unity assembly

* remove old dll from plugins

* Move network to separate project (#44)

* move net scripts to project

* move models and netcode to project

* move classes and refactor some properties

* integrate submodules as project folders

* finish adapting classes

* remove git submodule

* Change animation index formula

* Fix some issues regarding animation state and path finding

* Hook ZC_RESURRECTION and fix some mistakes on EntityManager

* Do a small cleanup on EntityViewer

* Revert property initialization

* wait for animation delay before starting nextMotion

* Add average attack speed to calculate attack delay

* fix invalid guid in splash screen and UnityRO asmdef (#45)

* fix: always poll current event before using it (#46)

* Update config.txt

* fix use ThreadManager instead of EntityManager (#47)

* update git cache

* add metas for UnityRO.net¨

* Fix issue with assemblies meta

* Create config.txt

* put json tables for WeaponActions

* Fix inventory regarding ammo and equip positions and change delay formula to use fallback value

* Add more JSON tables

* Update README.md

* Improve entity spawning and weapon swapping

* Render headgear

* Fix equipment window not updating

* Simplify methods

* Hook more packets

* Send ping and fix issue with Vanish

* Fix ITEM_ENTRY issue and apply sorting order to sprites

* Display entity names

* Render Entity at Character Selection screen

* Character Camera (#49)

* quick draft for character camera

* add pitch control and refactor

* add yaw lerp

* add zoom and refactor lerp code

* update toy for sample

* plug camera in map scene and adjust settings

* plug to entityviewer with use of statics :(

* adjust billboard angle and scale using new cam

* set camera pitch constraint 30 > 45

* Use configuration class (#51)

* add configuration class

* Change GRF to be handled as array and cleanup camera changes

* Fix random errors

Co-authored-by: Jason L <[email protected]>
Co-authored-by: Salepate <[email protected]>
Co-authored-by: Danilo Menezes <[email protected]>
  • Loading branch information
4 people authored Jul 18, 2021
1 parent da6694a commit 1815355
Show file tree
Hide file tree
Showing 720 changed files with 39,630 additions and 14,529 deletions.
217 changes: 217 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,217 @@
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true

# C# files
[*.cs]

#### Core EditorConfig Options ####

# Indentation and spacing
indent_size = 4
indent_style = space
tab_width = 4

# New line preferences
end_of_line = crlf
insert_final_newline = false

#### .NET Coding Conventions ####

# Organize usings
dotnet_separate_import_directive_groups = false
dotnet_sort_system_directives_first = false
file_header_template = unset

# this. and Me. preferences
dotnet_style_qualification_for_event = false
dotnet_style_qualification_for_field = false
dotnet_style_qualification_for_method = false
dotnet_style_qualification_for_property = false

# Language keywords vs BCL types preferences
dotnet_style_predefined_type_for_locals_parameters_members = true
dotnet_style_predefined_type_for_member_access = true

# Parentheses preferences
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity
dotnet_style_parentheses_in_other_operators = never_if_unnecessary
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity

# Modifier preferences
dotnet_style_require_accessibility_modifiers = for_non_interface_members

# Expression-level preferences
dotnet_style_coalesce_expression = true
dotnet_style_collection_initializer = true
dotnet_style_explicit_tuple_names = true
dotnet_style_namespace_match_folder = true
dotnet_style_null_propagation = true
dotnet_style_object_initializer = true
dotnet_style_operator_placement_when_wrapping = beginning_of_line
dotnet_style_prefer_auto_properties = true
dotnet_style_prefer_compound_assignment = true
dotnet_style_prefer_conditional_expression_over_assignment = true
dotnet_style_prefer_conditional_expression_over_return = true
dotnet_style_prefer_inferred_anonymous_type_member_names = true
dotnet_style_prefer_inferred_tuple_names = true
dotnet_style_prefer_is_null_check_over_reference_equality_method = true
dotnet_style_prefer_simplified_boolean_expressions = true
dotnet_style_prefer_simplified_interpolation = true

# Field preferences
dotnet_style_readonly_field = true

# Parameter preferences
dotnet_code_quality_unused_parameters = all

# Suppression preferences
dotnet_remove_unnecessary_suppression_exclusions = none

# New line preferences
dotnet_style_allow_multiple_blank_lines_experimental = true
dotnet_style_allow_statement_immediately_after_block_experimental = true

#### C# Coding Conventions ####

# var preferences
csharp_style_var_elsewhere = false
csharp_style_var_for_built_in_types = false
csharp_style_var_when_type_is_apparent = false

# Expression-bodied members
csharp_style_expression_bodied_accessors = true
csharp_style_expression_bodied_constructors = false
csharp_style_expression_bodied_indexers = true
csharp_style_expression_bodied_lambdas = true
csharp_style_expression_bodied_local_functions = false
csharp_style_expression_bodied_methods = false
csharp_style_expression_bodied_operators = false
csharp_style_expression_bodied_properties = true

# Pattern matching preferences
csharp_style_pattern_matching_over_as_with_null_check = true
csharp_style_pattern_matching_over_is_with_cast_check = true
csharp_style_prefer_not_pattern = true
csharp_style_prefer_pattern_matching = true
csharp_style_prefer_switch_expression = true

# Null-checking preferences
csharp_style_conditional_delegate_call = true

# Modifier preferences
csharp_prefer_static_local_function = true
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async

# Code-block preferences
csharp_prefer_braces = true
csharp_prefer_simple_using_statement = true

# Expression-level preferences
csharp_prefer_simple_default_expression = true
csharp_style_deconstructed_variable_declaration = true
csharp_style_implicit_object_creation_when_type_is_apparent = true
csharp_style_inlined_variable_declaration = true
csharp_style_pattern_local_over_anonymous_function = true
csharp_style_prefer_index_operator = true
csharp_style_prefer_range_operator = true
csharp_style_throw_expression = true
csharp_style_unused_value_assignment_preference = discard_variable
csharp_style_unused_value_expression_statement_preference = discard_variable

# 'using' directive preferences
csharp_using_directive_placement = outside_namespace

# New line preferences
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true
csharp_style_allow_embedded_statements_on_same_line_experimental = true

#### C# Formatting Rules ####

# New line preferences
csharp_new_line_before_catch = false
csharp_new_line_before_else = false
csharp_new_line_before_finally = false
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_open_brace = none
csharp_new_line_between_query_expression_clauses = true

# Indentation preferences
csharp_indent_block_contents = true
csharp_indent_braces = false
csharp_indent_case_contents = true
csharp_indent_case_contents_when_block = true
csharp_indent_labels = one_less_than_current
csharp_indent_switch_labels = true

# Space preferences
csharp_space_after_cast = true
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_after_comma = true
csharp_space_after_dot = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_after_semicolon_in_for_statement = true
csharp_space_around_binary_operators = before_and_after
csharp_space_around_declaration_statements = false
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_before_comma = false
csharp_space_before_dot = false
csharp_space_before_open_square_brackets = false
csharp_space_before_semicolon_in_for_statement = false
csharp_space_between_empty_square_brackets = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_declaration_name_and_open_parenthesis = false
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_between_square_brackets = false

# Wrapping preferences
csharp_preserve_single_line_blocks = true
csharp_preserve_single_line_statements = false

#### Naming styles ####

# Naming rules

dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i

dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case

dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case

# Symbol specifications

dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.interface.required_modifiers =

dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.types.required_modifiers =

dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.non_field_members.required_modifiers =

# Naming styles

dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case

dotnet_naming_style.begins_with_i.required_prefix = I
dotnet_naming_style.begins_with_i.required_suffix =
dotnet_naming_style.begins_with_i.word_separator =
dotnet_naming_style.begins_with_i.capitalization = pascal_case
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,6 @@ crashlytics-build.properties

/[Aa]ssets/[Rr]esources/[Mm]ock
/Packages
/[Aa]ssets/config.txt
/[Aa]ssets/config.txt
/[Aa]ssets/config.json
/[Aa]ssets/config.json.meta
6 changes: 6 additions & 0 deletions .vsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"version": "1.0",
"components": [
"Microsoft.VisualStudio.Workload.ManagedGame"
]
}
129 changes: 129 additions & 0 deletions Assets/ClassTable.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
{
"0": "Ãʺ¸ÀÚ",
"1": "°Ë»ç",
"2": "¸¶¹ý»ç",
"3": "±Ã¼ö",
"4": "¼ºÁ÷ÀÚ",
"5": "»óÀÎ",
"6": "µµµÏ",
"7": "񃯇",
"8": "ÇÁ¸®½ºÆ®",
"9": "À§Àúµå",
"10": "Á¦Ã¶°ø",
"11": "ÇåÅÍ",
"12": "¾î¼¼½Å",
"13": "ÆäÄÚÆäÄÚ_±â»ç",
"14": "Å©·ç¼¼ÀÌ´õ",
"15": "¸ùÅ©",
"16": "¼¼ÀÌÁö",
"17": "·Î±×",
"18": "¿¬±Ý¼ú»ç",
"19": "¹Ùµå",
"20": "¹«Èñ",
"21": "½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ",
"22": "°áÈ¥",
"23": "½´ÆÛ³ëºñ½º",
"24": "°Ç³Ê",
"25": "´ÑÀÚ",
"26": "»êŸ",
"27": "¿©¸§",
"4001": "Ãʺ¸ÀÚ",
"4002": "°Ë»ç",
"4003": "¸¶¹ý»ç",
"4004": "±Ã¼ö",
"4005": "¼ºÁ÷ÀÚ",
"4006": "»óÀÎ",
"4007": "µµµÏ",
"4008": "·Îµå³ªÀÌÆ®",
"4009": "ÇÏÀÌÇÁ¸®",
"4010": "ÇÏÀÌÀ§Àúµå",
"4011": "È­ÀÌÆ®½º¹Ì½º",
"4012": "½º³ªÀÌÆÛ",
"4013": "¾î½Ø½ÅÅ©·Î½º",
"4014": "·ÎµåÆäÄÚ",
"4015": "Æȶóµò",
"4016": "èÇÇ¿Â",
"4017": "ÇÁ·ÎÆä¼­",
"4018": "½ºÅäÄ¿",
"4019": "Å©¸®¿¡ÀÌÅÍ",
"4020": "Ŭ¶ó¿î",
"4021": "Áý½Ã",
"4022": "ÆäÄÚÆȶóµò",
"4023": "Ãʺ¸ÀÚ",
"4024": "°Ë»ç",
"4025": "¸¶¹ý»ç",
"4026": "±Ã¼ö",
"4027": "¼ºÁ÷ÀÚ",
"4028": "»óÀÎ",
"4029": "µµµÏ",
"4030": "񃯇",
"4031": "ÇÁ¸®½ºÆ®",
"4032": "À§Àúµå",
"4033": "Á¦Ã¶°ø",
"4034": "ÇåÅÍ",
"4035": "¾î¼¼½Å",
"4036": "ÆäÄÚÆäÄÚ_±â»ç",
"4037": "Å©·ç¼¼ÀÌ´õ",
"4038": "¸ùÅ©",
"4039": "¼¼ÀÌÁö",
"4040": "·Î±×",
"4041": "¿¬±Ý¼ú»ç",
"4042": "¹Ùµå",
"4043": "¹«Èñ",
"4044": "½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ",
"4046": "űǼҳâ",
"4047": "񀬧",
"4048": "±Ç¼ºÀ¶ÇÕ",
"4049": "¼Ò¿ï¸µÄ¿",
"4054": "·é³ªÀÌÆ®",
"4055": "¿ö·Ï",
"4056": "·¹ÀÎÁ®",
"4057": "¾ÆÅ©ºñ¼ó",
"4058": "¹ÌÄÉ´Ð",
"4059": "±æ·Îƾũ·Î½º",
"4060": "·é³ªÀÌÆ®",
"4061": "¿ö·Ï",
"4062": "·¹ÀÎÁ®",
"4063": "¾ÆÅ©ºñ¼ó",
"4064": "¹ÌÄÉ´Ð",
"4065": "±æ·Îƾũ·Î½º",
"4066": "°¡µå",
"4067": "¼Ò¼­·¯",
"4068": "¹Î½ºÆ®·²",
"4069": "¿ø´õ·¯",
"4070": "½´¶ó",
"4071": "Á¦³×¸¯",
"4072": "½¦µµ¿ìüÀ̼­",
"4073": "°¡µå",
"4074": "¼Ò¼­·¯",
"4075": "¹Î½ºÆ®·²",
"4076": "¿ø´õ·¯",
"4077": "½´¶ó",
"4078": "Á¦³×¸¯",
"4079": "½¦µµ¿ìüÀ̼­",
"4080": "·é³ªÀÌÆ®»Ú¶ì",
"4081": "·é³ªÀÌÆ®»Ú¶ì",
"4082": "±×¸®Æù°¡µå",
"4083": "±×¸®Æù°¡µå",
"4084": "·¹ÀÎÁ®´Á´ë",
"4085": "·¹ÀÎÁ®´Á´ë",
"4086": "¸¶µµ±â¾î",
"4087": "¸¶µµ±â¾î",
"4096": "·é³ªÀÌÆ®",
"4097": "¿ö·Ï",
"4098": "·¹ÀÎÁ®",
"4099": "¾ÆÅ©ºñ¼ó",
"4100": "¹ÌÄÉ´Ð",
"4101": "±æ·Îƾũ·Î½º",
"4102": "°¡µå",
"4103": "¼Ò¼­·¯",
"4104": "¹Î½ºÆ®·²",
"4105": "¿ø´õ·¯",
"4106": "½´¶ó",
"4107": "Á¦³×¸¯",
"4108": "½¦µµ¿ìüÀ̼­",
"4109": "·é³ªÀÌÆ®»Ú¶ì",
"4110": "±×¸®Æù°¡µå",
"4111": "·¹ÀÎÁ®´Á´ë",
"4112": "¸¶µµ±â¾î"
}
4 changes: 1 addition & 3 deletions Assets/config.txt.meta → Assets/ClassTable.json.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Assets/Scripts/Loaders/Files.meta → Assets/Logs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Assets/Plugins/I18N.CJK.dll
Binary file not shown.
Loading

0 comments on commit 1815355

Please sign in to comment.