diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e69c363c3..b0cb280ff 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -4,6 +4,7 @@ D1X-Rebirth Changelog -------- main/kconfig.c, main/kconfig.h, main/menu.c, main/playsave.c, main/playsave.h: Introduced sensitivity sliders for keyboard which cause movement increase the longer the designated key is pressed main/gauges.c, main/menu.c, main/net_udp.c, main/songs.c, misc/physfsx.c: use size of output buffer for snprintf; on the way changed rebirth-specific song file to dxx-r.sng to respect hog 8+3 file convention +editor/med.c, misc/physfsx.c: changed extension for archive (addon) content from zip to dxa - still a zip-file but renamed to not accidentially add user generated backups and possibly mess things up 20120527 diff --git a/editor/med.c b/editor/med.c index ce9687419..853be01f3 100644 --- a/editor/med.c +++ b/editor/med.c @@ -377,6 +377,7 @@ void init_editor() PHYSFSX_addRelToSearchPath("editor/data", 1); // look in source directory first (for work in progress) PHYSFSX_addRelToSearchPath("editor", 1); // then in editor directory PHYSFSX_addRelToSearchPath("editor.zip", 1); // then in a zip file + PHYSFSX_addRelToSearchPath("editor.dxa", 1); // or addon pack ui_init(); @@ -973,6 +974,7 @@ void close_editor() { PHYSFSX_removeRelFromSearchPath("editor/data"); PHYSFSX_removeRelFromSearchPath("editor"); PHYSFSX_removeRelFromSearchPath("editor.zip"); + PHYSFSX_removeRelFromSearchPath("editor.dxa"); switch (ModeFlag) { diff --git a/misc/physfsx.c b/misc/physfsx.c index 65baf1343..32b88b02d 100644 --- a/misc/physfsx.c +++ b/misc/physfsx.c @@ -457,7 +457,7 @@ PHYSFS_file *PHYSFSX_openWriteBuffered(char *filename) void PHYSFSX_addArchiveContent() { char **list = NULL; - char *archive_exts[] = { ".zip", ".7z", NULL }, *file[2]; + char *archive_exts[] = { ".dxa", NULL }, *file[2]; int i = 0, content_updated = 0; con_printf(CON_DEBUG, "PHYSFS: Adding archives to the game.\n"); @@ -515,7 +515,7 @@ void PHYSFSX_addArchiveContent() void PHYSFSX_removeArchiveContent() { char **list = NULL; - char *archive_exts[] = { ".zip", ".7z", NULL }, *file[2]; + char *archive_exts[] = { ".dxa", NULL }, *file[2]; int i = 0; // find files in Searchpath ...