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

More client code quality improvements, removing more unused assets #116

Merged
merged 4 commits into from
Aug 17, 2024

Commits on Aug 16, 2024

  1. Client: Rename NOP -> numberOfPlayers

    (R)NOP without any context was confusing. The new solution is a bit
    verbose but at least it's possible to instantly know what it does.
    StenAL committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    91a5c63 View commit details
    Browse the repository at this point in the history
  2. Client: Remove static initializer blocks from classes

    The code is easier to follow if static final fields are initialized in
    the same place they are declared.
    StenAL committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    68cdb2e View commit details
    Browse the repository at this point in the history
  3. Client: Remove more unused resources and assets

    These are mostly related AGolf2, a different game from the classic
    minigolf. Also included are some old server code relics and assets from
    other games.
    StenAL committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    e3b9a34 View commit details
    Browse the repository at this point in the history
  4. Client: More minor code quality improvements

    - Use integers instead of chars in math operations
    - Use more magic constants where possible
    - Remove more unused imports
    - Remove useless JavaDocs that just say "Playforia"
    - Remove some explicit uses of UTF-8 enconding. This is the default
      encoding since Java 18.
    - Remove unused LobbyRef class
    StenAL committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    04db063 View commit details
    Browse the repository at this point in the history