Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganizing server-side source code: entities, monsters and weapons #197

Merged
merged 61 commits into from
Mar 10, 2024

Conversation

SNMetamorph
Copy link
Owner

Originally, in HLSDK bunch of code was clumped in single .cpp files with thousands lines of code in them. That isn't easy to maintain and understand, especially for beginner developers. Also less clumped structure of source code will lead to better compiling time, since different translation units may being compiled simultaneously. In final, every generic entity and weapon will be located in separate pair of source files: modifying existing and adding new objects will be relatively easy.

@SNMetamorph SNMetamorph force-pushed the restruct-server-sources branch from 7539557 to ecf9922 Compare November 12, 2023 16:41
@SNMetamorph SNMetamorph mentioned this pull request Nov 23, 2023
@SNMetamorph SNMetamorph changed the title Reorganizing server-side source code: entities and weapons Reorganizing server-side source code: entities, monsters and weapons Nov 23, 2023
SNMetamorph pushed a commit that referenced this pull request Nov 23, 2023
@SNMetamorph SNMetamorph force-pushed the restruct-server-sources branch from ab0c0a1 to 06a55cb Compare November 23, 2023 19:32
SNMetamorph pushed a commit that referenced this pull request Nov 23, 2023
@SNMetamorph SNMetamorph force-pushed the restruct-server-sources branch from 06a55cb to e264daa Compare November 23, 2023 19:34
@SNMetamorph SNMetamorph force-pushed the restruct-server-sources branch from e73a0f8 to 5d54c73 Compare December 5, 2023 14:01
@SNMetamorph SNMetamorph marked this pull request as ready for review December 23, 2023 01:03
SNMetamorph pushed a commit that referenced this pull request Jan 17, 2024
@SNMetamorph SNMetamorph force-pushed the restruct-server-sources branch from 5d54c73 to 41011f2 Compare January 17, 2024 14:52
SNMetamorph pushed a commit that referenced this pull request Feb 1, 2024
@SNMetamorph SNMetamorph force-pushed the restruct-server-sources branch from f86e60e to 97cff66 Compare February 1, 2024 18:10
@SNMetamorph SNMetamorph force-pushed the restruct-server-sources branch from 97cff66 to 915ef2d Compare February 10, 2024 22:52
SNMetamorph pushed a commit that referenced this pull request Feb 10, 2024
@SNMetamorph SNMetamorph force-pushed the restruct-server-sources branch from 915ef2d to 6cc6504 Compare February 18, 2024 22:14
SNMetamorph pushed a commit that referenced this pull request Feb 18, 2024
SNMetamorph pushed a commit that referenced this pull request Feb 29, 2024
@SNMetamorph SNMetamorph force-pushed the restruct-server-sources branch from 6cc6504 to 2ba3831 Compare February 29, 2024 12:03
@SNMetamorph
Copy link
Owner Author

SNMetamorph commented Mar 1, 2024

Rest of the files that need to be splitted:

  • effects.cpp
  • maprules.cpp
  • physents.cpp
  • plats.cpp
  • player.cpp
  • triggers.cpp
  • scripted.cpp
  • subs.cpp

@SNMetamorph SNMetamorph force-pushed the restruct-server-sources branch from 77c0561 to 1686786 Compare March 4, 2024 14:03
APAmk2 and others added 26 commits March 10, 2024 20:32
@SNMetamorph SNMetamorph force-pushed the restruct-server-sources branch from 7833cb8 to d50366a Compare March 10, 2024 16:47
@SNMetamorph SNMetamorph merged commit 0822e93 into master Mar 10, 2024
11 checks passed
SNMetamorph pushed a commit that referenced this pull request Mar 10, 2024
@SNMetamorph SNMetamorph deleted the restruct-server-sources branch March 10, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants