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

[WIP] abi2 prototype #468

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

[WIP] abi2 prototype #468

wants to merge 3 commits into from

Commits on Sep 4, 2024

  1. server: use string_t type where it was intended to be used, without b…

    …roken engine headers
    
    * It must be safest commit in this branch, as we only replace int by string_t,
      which is already int by default.
    a1batross committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    db835ff View commit details
    Browse the repository at this point in the history
  2. engine: start breaking engine headers

    * Entity Interface call pfnCreateNamedEntity actually accepts string_t
    * viewmodel and weaponmodel in entvars_t are actually used as string_t
    a1batross committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    6255ffb View commit details
    Browse the repository at this point in the history
  3. server: real ABI2 implementation

    * we define a new class called string_t that's only allowed
      to be converted from and to ptrdiff_t
    * it specifically doesn't allow conversion to int on 64-bit platform
      only to ptrdiff_t. For now it just checks defined XASH_64BIT macro
      but check better be remade with some std::enable_if magic
    * mark ABI2 binaries with _st64 prefix
    a1batross committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    432ee6d View commit details
    Browse the repository at this point in the history