Should I split Roodylib into more files?

This is a discussion / support forum for the Hugo programming language by Kent Tessman. Hugo is a powerful programming language for making text games / interactive fiction with multimedia support.

Hugo download links: https://www.generalcoffee.com/hugo
Roody Yogurt's Hugo Blog: https://notdeadhugo.blogspot.com
The Hugor interpreter by RealNC: http://ifwiki.org/index.php/Hugor

Moderators: Ice Cream Jonsey, joltcountry

Should Roodylib be split up into multiple files?

You may select 1 option

 
 
View results

Roody_Yogurt
Posts: 2179
Joined: Mon Apr 29, 2002 6:23 pm
Location: Milwaukee

Should I split Roodylib into more files?

Post by Roody_Yogurt »

So, one of the things I want to do for Roodylib before I put out the next official release is incorporate more optional extensions into it- things like automatic exit listing and possibly newmenu.

The thing is, roodylib.h is getting pretty big. Now, I try to make it easier to browse by giving decent headings to the various sections, but I can imagine it's still a bit daunting to anyone looking at it for the first time.

I could break it up into several files. It'd do all of the file inclusion itself, but the downside is that it'd be another handful of files cluttering up your game directory if you don't keep your library files in a separate folder.

I also would probably have to split up RlibMessages into several message routines (depending what file the applicable routine or object is in), resulting in more message routines to replace when fine-tuning messages for your game.