mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-04 11:10:15 +00:00
This way, we only include that code if its commands are called upon. In order to do this, some other areas had to be changed as well: - There is now a libqb.h file, which declares some routines in libqb.cpp, in order to allow them to be called from a separately compiled unit, i.e, the user mods part. - common.cpp now has an #include guard, just to be on the safe side. - The library purge routines know about the new part. - qb64.bas is modified to handle the new part; this area is just modeled off the code for the other parts. - Appropriate flags were set in the hash table entires for the commands. - The user mods, now being a separate compilation unit, #include common.cpp and libqb.h. The former is required for important type declarations and access to glut commmands, the latter for access to libqb routines. - qbx.cpp #includes the src.cpp file in the user mods part, which declares the routines. Something to ponder: libqb does not include or rely on any of the user mod routines, so it's probably not necessary to rebuild it like with the other parts. That exploration is for another day, however. |
||
---|---|---|
.. | ||
extensions | ||
subs_functions.bas |