This file contains hidden or 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
| # Dependencies | |
| # - *NIX or Mac operating system | |
| # - gettext installed | |
| # | |
| # Instructions | |
| # - Run this script in the root directory of your theme or plugin | |
| # | |
| # About WordPress L10N functions: | |
| # @see https://codex.wordpress.org/L10n | |
| # |
This file contains hidden or 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
| void (*VBLANKListener)(); | |
| void noop() { /* Do nothing */ } | |
| void MainVBLANK() { | |
| disable_interrupts(); | |
| (*VBLANKListener)(); | |
| enable_interrupts(); | |
| } | |
| void main() { |
This file contains hidden or 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
| #include <gb/gb.h> | |
| #include "fade.h" | |
| UWORD FadePalette[32] = { | |
| RGB(30,0,0), RGB(0,30,0), RGB(0,0,30), RGB(0,0,0) | |
| }; | |
| void Fade(UWORD *org_p, FadeDirection direction, FadeColor color, UWORD speed) | |
| { | |
| UBYTE i,x; |
This file contains hidden or 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
| # encoding: utf-8 | |
| xml.instruct! | |
| # Drop this file in your source/ directory | |
| # | |
| # Uses the builder gem. | |
| # Add this to the Gemfile: | |
| # gem 'builder', '~> 2.0' | |
| # Then run: | |
| # builder install |