1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-16 03:20:48 +00:00

Revert "remove last remains of DRM-related code and cleanup main() a bit"

This reverts commit 9757cb2fca.

Conflicts:

	Aquaria/Main.cpp
This commit is contained in:
fgenesis 2011-08-11 01:38:25 +02:00
commit f23b69ffc3
6 changed files with 192 additions and 33 deletions

View file

@ -34,6 +34,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "GridRender.h"
#include "AutoMap.h"
#include "PackRead.h"
#include "Protect.h"
#include "RoundedRect.h"
#include "TTFFont.h"
@ -903,6 +904,21 @@ void DSQ::setVersionLabelText() {
os << AQUARIA_CUSTOM_BUILD_ID;
#endif
std::string regName;
#if AQUARIA_NODRM
#elif AQUARIA_FULL
os << " Registered to ";
if (!getRegistrationName(regName))
exit(1);
os << regName;
#elif !defined(AQUARIA_DEMO)
os << " Registered to ";
os << "Review Copy";
#endif
versionLabel->setText(os.str());
}