Skip to content

Commit

Permalink
Release: M2TWEOP-3.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnTW committed Apr 1, 2024
1 parent b9d9a20 commit 8ca3f36
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions M2TWEOP-luaPlugin/luaPlugin/imgui/sol_ImGui.h
Original file line number Diff line number Diff line change
Expand Up @@ -1716,9 +1716,9 @@ namespace sol_ImGui
inline int GetMouseCursor() { return ImGui::GetMouseCursor(); }
inline void SetMouseCursor(int cursor_type) { ImGui::SetMouseCursor(static_cast<ImGuiMouseCursor>(cursor_type)); }
inline void SetNextFrameWantCaptureMouse(bool want_capture_mouse_value) { ImGui::SetNextFrameWantCaptureMouse(want_capture_mouse_value); }
inline void AddFontFromFileTTF(ImFontAtlas* fontAtlas, const char* filename, float size_pixels)
inline ImFont* AddFontFromFileTTF(ImFontAtlas* fontAtlas, const char* filename, float size_pixels)
{
fontAtlas->AddFontFromFileTTF(filename, size_pixels);
return fontAtlas->AddFontFromFileTTF(filename, size_pixels);
}

// Clipboard Utilities
Expand Down
12 changes: 7 additions & 5 deletions documentationGenerator/releaseInfo/releaseDescription.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@

<!--### **Library** -->

### **Lua Plugin**
- Add setCharacterNameFaction to factionStruct, allowing you to change which faction a faction draws it's names from for a specific agent type.
- Added getTileCharacterCount and getTileCharacterAtIndex, as there are instances where there is no other way to get every character on a tile (for example in postBattle event auxiliary characters that are part of a settlement's garrison army)
<!--### **Lua Plugin** -->

### **ImGUI**
- Fixes FontAtlas extra parameters not being optional
- Fixed beginChild() parameters
- Fixed the number keys binding
- Fixed fontAtlas not returning the font

<!-- ### **Documentation** -->
### **Documentation**
- Major fixes to the documentation in many places, some fixes enabled some fields that were broken due to typos (siegeStruct besiegedSettlement for example)
- Added the enums to the online documentation too.

### **Links**
- [Known Bugs](https://github.com/youneuoy/M2TWEOP-library/issues/71)
Expand Down

0 comments on commit 8ca3f36

Please sign in to comment.