Commit Graph
15 Commits
Author SHA1 Message Date
Thierry Crozat 7f6d7f41d4 AGS: use #if instead of #ifdef for log macros
Sprite Cache and Managed Objects produce a lot of entries in the log currently.
They use a macro to set if they should be on or not, but this macro may be set =0, with the intent of disabling.
Let's instead use #if when testing these macros.

Additionally

- only define DEBUG_MANAGED_OBJECTS if AGS_DEBUG_MANAGED_OBJECTS is true
- adds a new command line flag AGS_DEBUG_SPRITECACHE, which will only define DEBUG_SPRITECACHE if true
- guard indefinition through core/platform.h

From upstream e8bd58da2e09d844068dc087f1da153a693b7aa8
2022-10-09 18:11:02 +01:00
Thunderforge fd129ebc0c JANITORIAL: "Mac OS X" and "OS X" to "macOS" in comments
Apple's desktop operating system was formerly called "Mac OS X" and "OS X", but since 2016 it has been called "macOS" (starting with version 10.12).

Changing across all comments and documentation to use this current terminology, except in cases where the historical versions are explicitly referenced. No code changes are made; we should consider changing those in future PRs.
2022-01-29 14:15:05 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert 4cda750621 AGS: Add Emscripten as a core platform
From upstream 269e72f3f3319efe1b87122ee2809936b5eafbc8
2021-06-27 09:39:52 -07:00
Paul Gilbert 45313d50df AGS: Moved platform variable macros to core/platform.h
From upstream ce07581b0b6d3e3ec9f82356dd6422d8691cd473
2021-06-13 21:09:06 -07:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Paul Gilbert cc123913f4 AGS: Change a bunch of int to be explicitly int32_t & uint32_t
This should solve the errors on some systems where int didn't
match int32
2021-02-06 20:13:05 -08:00
Thierry Crozat 05e1af053b AGS: Use ScummVM endian macros 2021-02-06 16:37:31 -08:00
Paul Gilbert 76618e6d38 AGS: Added engine/gfx/ folder 2021-02-06 16:37:31 -08:00
Paul Gilbert 6c8789264d AGS: Added shared/util/ folder 2021-02-06 16:37:31 -08:00
Paul Gilbert 76a2e90366 AGS: Wrapping headers in an AGS3 namespace 2021-02-06 16:37:31 -08:00
dreammaster 8026e4bb30 AGS: Run astyle formatting 2021-02-06 16:37:31 -08:00
Paul Gilbert 90ec822f76 AGS: Cleaning up header file guard defines 2021-02-06 16:37:31 -08:00
Paul Gilbert bd6a58d1a1 AGS: Adding ScummVM comment headers 2021-02-06 16:37:31 -08:00
Paul Gilbert a60d290a08 AGS: Initial addition of engine/ and shared/ folders 2021-02-06 16:37:31 -08:00