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

Add basic support without steam_api + NDEBUG small fix #2042

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

Conversation

q4a
Copy link

@q4a q4a commented Dec 16, 2023

Add basic support without steam_api - fixes #1990
Also small fix for NDEBUG in last commit

code from
https://github.com/miki151/keeperrl/blob/f0d2a78a6ad7c2632be6d8554e4d947f980648ae/fx_base.h#L30

  #define PARANOID_CHECKS
  //...
  #if defined(PARANOID_CHECKS) && !defined(NDEBUG)
  #define PASSERT CHECK
  #else
  #define PASSERT(...)
  #endif

When NDEBUG defined game will just ignoring all PASSERT(...), and
  PASSERT(size.x >= 0 && size.y >= 0) << size.x << " " << size.y;
will become just :
   << size.x << " " << size.y;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

linux : cannot build without steam support
1 participant