Minor change to the Windows Scenario Editor:
Previously, when saving a scenario, it wrote uninitialized variables in lieu of the hashed/encrypted values that the original editor used for password checking. (Stored in flag_a, flag_b, etc.) That made it incompatible with earlier editors (such as Super Editor), which expected a password of "0", which is to say, data hashed using 0 as the argument. This commit just adds the old password code back in, and saving now gives all scenarios a password of "0". Loading behavior is still unchanged. git-svn-id: http://openexile.googlecode.com/svn/trunk@163 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#ifndef _TFILEIO_H
|
||||
#define _TFILEIO_H
|
||||
|
||||
|
||||
void Get_Path(char* path);
|
||||
void file_initialize();
|
||||
void save_scenario();
|
||||
@@ -38,4 +38,7 @@ void flip_rect(RECT16 *s);
|
||||
void alter_rect(RECT16 *r);
|
||||
void object_scenario_data_dump();
|
||||
void start_outdoor_data_dump();
|
||||
|
||||
// relics from the past--for temporary backwards compatibility with older scenario editor.
|
||||
short init_data(short flag);
|
||||
short town_s(short flag);
|
||||
|
Reference in New Issue
Block a user