-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
butano: green_swap_mode added (thanks sono!)
- Loading branch information
Showing
29 changed files
with
829 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* Copyright (c) 2020-2024 Gustavo Valiente [email protected] | ||
* zlib License, see LICENSE file. | ||
*/ | ||
|
||
#ifndef BN_GREEN_SWAP_MODE_H | ||
#define BN_GREEN_SWAP_MODE_H | ||
|
||
/** | ||
* @file | ||
* bn::green_swap_mode header file. | ||
* | ||
* @ingroup green_swap | ||
*/ | ||
|
||
#include "bn_common.h" | ||
|
||
namespace bn | ||
{ | ||
|
||
/** | ||
* @brief Specifies how a layer must be displayed when green swap is enabled. | ||
* | ||
* @ingroup green_swap | ||
*/ | ||
enum class green_swap_mode : uint8_t | ||
{ | ||
DEFAULT, //!< The default green swap dirt effect. | ||
HALF_TRANSPARENT_A, //!< Half of the columns are hidden. | ||
HALF_TRANSPARENT_B, //!< The other half of the columns are hidden. | ||
DUPLICATED //!< Pixels are duplicated | ||
}; | ||
|
||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.