I would guess core logic and game functions are defined in their respective libraries which are hardcoded inside the executable and dynamic link libraries. Although increasing the level cap might be something as simple as expanding the XP array found in hero.txt. You shouldn't bother though, you'll only reach around lvl30 by the end of the game not to mention that even if you increased the XP gain, the game would become incredibly imbalanced.