Skip to content

Commit

Permalink
[Map-Export] [UI]
Browse files Browse the repository at this point in the history
[Map-Export]
- Fixed some texture scale issues
- Exporter now writes brush contents
- Some brushside generation fixes
- Selection feature [Export only certain parts of the map by defining a bounding box]

- mapexport_selectionMode  [Enables selection mode]
- mapexport_selectionAdd     [Adds a point to the bounding box (needs 2 in total)]
- mapexport_selectionClear   [Reset bounding box]

- mapexport_brushMinSize   [Only export complex brushes if their diagonal length is greater then this]
- mapexport_brushEpsilon1  [Brushside generation epsilon 1 (adv. only)]
- mapexport_brushEpsilon2  [Brushside generation epsilon 2 (adv. only)]

[UI]
- added changelog to the main menu
  • Loading branch information
xoxor4d committed Apr 12, 2020
1 parent 2e3d2a4 commit 1fc5970
Show file tree
Hide file tree
Showing 19 changed files with 1,306 additions and 527 deletions.
5 changes: 4 additions & 1 deletion src/Components/Modules/QuickPatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ namespace Components
if (FF_ADDON_REQ_NAME && Game::DB_FileExists(FF_ADDON_REQ_NAME, Game::DB_FILE_EXISTS_PATH::DB_PATH_ZONE))
{
XZoneInfoStack[i].name = FF_ADDON_REQ_NAME;
XZoneInfoStack[i].allocFlags = Game::XZONE_FLAGS::XZONE_MOD; // free when loading mods?
XZoneInfoStack[i].allocFlags = Game::XZONE_FLAGS::XZONE_COMMON; //Game::XZONE_FLAGS::XZONE_MOD; // free when loading mods?
XZoneInfoStack[i].freeFlags = Game::XZONE_FLAGS::XZONE_ZERO; // do not free any other fastfiles?
++i;
}
Expand Down Expand Up @@ -385,8 +385,11 @@ namespace Components
}
}

// register string dvars
void R_RegisterStringDvars()
{
_UI::MainMenu_Changelog();

Dvars::ui_main_title = Game::Dvar_RegisterString(
/* name */ "ui_changelog_title",
/* desc */ "menu helper",
Expand Down
Loading

0 comments on commit 1fc5970

Please sign in to comment.