Comments (5)
Implementing as a slight variation on version by @tumetuoppi from this commit:
tumetuoppi@109183e
from gbdk-2020.
that <name>_tile_pals[]
array only makes sense when -use-structs
is passed. that kind of array is used by ZGB and i think is obsolete as well.
from gbdk-2020.
from gbdk-2020.
Bump as I encountered this issue as well when developing a DMG game.
- The includes are a bit weird. <gbdk/metasprites.h> does not seem to be necessary, neither is <gbdk/platform.h>, but <gb/cgb.h> is needed by const palette_color_t whatever_palettes[4] and it's not added automatically
- Visual Studio Code seems to also have an issue with the BANKREF being in there. It gives out an error "a declaration here must declare a parameterC/C++(99)" for the palette, tile and map declarations. Seems to compile fine though so this could be just a configuration issue on my end.
In general it would be nice to have a "DMG only" option flag.
from gbdk-2020.
Agree that an option to suppress the palette data would be useful. I will add it to my list of things to look into.
With regard to gb/cgb.h
, the use of platform.h
will automatically include it when the current target is the Game Boy (or AP or Mega Duck).
https://github.com/gbdk-2020/gbdk-2020/blob/develop/gbdk-lib/include/gbdk/platform.h#L4
from gbdk-2020.
Related Issues (20)
- Bug: f_min font has capital 'U' remapped to 'K' on Z80 targets
- Change naming HOT 2
- Clarify various licenses used by GBDK-2020 HOT 30
- Makefile fails looking for GLIBC_2.29, gives "Error 2" HOT 1
- Broken links in documentation HOT 1
- Let png2asset accept list of files HOT 2
- lcc -E not working HOT 4
- Why background tiles displays randomly in the screen? HOT 1
- Include nixpkg derivation HOT 9
- lcc fails on casting anonymous function pointer HOT 3
- Test current sdcc (before 4.3.0 release) HOT 6
- Install on mac? HOT 3
- lcc unknown developer HOT 9
- 4.2 Release
- Unable To Compile HOT 3
- Pointer Error HOT 1
- Errors compiling on Windows with non-C:\ folder names that have spaces HOT 16
- mac installing
- Strip -p arg from mkdir in generated compile.bat files
- Cannot be opened because developer cannot be verified. How to start? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gbdk-2020.