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 the roguelike.h renderer #128

Open
Journeyman1337 opened this issue Sep 8, 2022 · 3 comments
Open

Add the roguelike.h renderer #128

Journeyman1337 opened this issue Sep 8, 2022 · 3 comments

Comments

@Journeyman1337
Copy link

I suggest adding a rendering mode that uses my system:
https://github.com/Journeyman-dev/roguelike.h

It uses Opengl 3.3. I could make changes to it if you feel like it needs more features or whatnot. Please let me know and I will add them.

@HexDecimal
Copy link
Collaborator

The libtcod renderers have specific limitations. Converting your renderer to fit with libtcod's contexts will remove many of the features that make your renderer worth using over libtcod's strict single-layer cell-based API. Because of this, I'd rather not treat your library like a libtcod context (rendering mode.)

I'd rather suggest your library as something which can be used as an alternative to libtcod's context. Especially now that libtcod can be compiled without SDL/GL dependencies.

Maybe you can add a new header which can render a libtcod console with the extra features of your renderer. A new header would make the libtcod integration optional instead of making your library dependent on libtcod or vice versa. This header can be held and maintained in libtcod's repo or your own.

@Journeyman1337
Copy link
Author

Journeyman1337 commented Sep 9, 2022

I see what you mean. How about I create a renderer like this within libtcod and make a pull request?

@HexDecimal
Copy link
Collaborator

You could, but I'm so busy trying to clean up libtcod. For me the best thing you can do is handle any integration yourself and add ports of your libraries to Vcpkg to make them more accessible.

I'm mostly hoping your library would be something like BearLibTerminal. A good alternative that I can suggest to anyone frustrated with libtcod's simplistic rendering, but independent of libtcod itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants