Purge all uses of printf, fprintf, perror and most uses of sprintf

Also:
- Print "Target Spell" before the explanatory prompts, instead of after (when fancy targeting)
- Fix sell costs being drawn on top of the button
- String-insensitive comparing for dialogue keys
This commit is contained in:
2015-01-08 22:26:41 -05:00
parent 8350a22ecb
commit 3ef98712d5
34 changed files with 449 additions and 798 deletions

View File

@@ -8,6 +8,7 @@
#include "oldstructs.h"
#include <fstream>
#include <iostream>
#ifndef _WIN32
#include <unistd.h>
#endif
@@ -27,7 +28,7 @@ void debug_oldstructs() {
#ifndef _WIN32
char cwd[256];
getcwd(cwd, 256);
printf("%s" ,cwd);
std::cout << cwd << std::endl;
#endif
std::ofstream log("oldstructs.txt");
STRUCT_INFO(Rect);