- Fixed the bug that prevented launching from the Finder

- Wrote almost all the code for saving and loading a new-format party file, plus code to recognize the format of a file.
(Windows saves should also be supported now)

git-svn-id: http://openexile.googlecode.com/svn/trunk@50 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-05-04 20:10:12 +00:00
parent 1cbb12e1b8
commit 388cb04602
36 changed files with 1251 additions and 145 deletions

View File

@@ -1056,7 +1056,7 @@ void get_ter_name(char *str,unsigned char num)
if ((num == 90) && ((is_out()) || (is_town()) || ((is_combat()) && (which_combat_type == 1))))
sprintf((char *) store_name,"Pit");
else {
strcpy((char *) store_name,(char *) scenario.ter_names[num]);
strcpy((char *) store_name,(char *) scenario.ter_types[num].name.c_str());
}
strcpy((char *) str,(char *) store_name);
}