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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user