<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Shipwright/soh/include/z64math.h, branch develop</title>
<subtitle>Ship of Harkinian: Ocarina of Time PC port</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/Shipwright/'/>
<entry>
<title>Move Game Saving to Separate Thread (#2820)</title>
<updated>2023-05-05T21:20:34+00:00</updated>
<author>
<name>Malkierian</name>
<email>malkierian@live.com</email>
</author>
<published>2023-05-05T21:20:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/Shipwright/commit/?id=778f548b0139d86889b5c6e2455adf30ca849e64'/>
<id>778f548b0139d86889b5c6e2455adf30ca849e64</id>
<content type='text'>
* Refactor `Vec2f`, `Vec3f`, `Vec3s` in `z64math` to avoid reserved identifiers.

* Include `z64save` in SaveManager, which requires encapsulating `#include gameplaystats.h` and `InitStatTracker` in the cpp to fix compile issues.

Adds SaveContext reference parameters to SaveFunc and existing implementations in preparation for threaded saves.

* Threaded saves fully implemented.

Platform-specific save code removed.

Thread safety added. Will wait for thread pool tasks to finish before resetting or closing.

* Converted gSaveContext copy for save threads to the heap with `new`, deleted at the end of the threaded function to prevent possible issues with the stack.

* Turns out leaving the call to `ThreadPoolWait` in a `GameInteractor::OnExitGame` hook seems to be just fine.

* Removed unnecessary references to `SaveManager::ThreadPoolWait()`, game hooks are the only places it's called now.

* Re-added WiiU/Switch performance save code.

* Added call to `SaveManager::ThreadPoolWait` in `Sram_InitSave` to prevent trying to load a newly "created" save before the save file was actually written.

---------

Co-authored-by: Christopher Leggett &lt;chris@leggett.dev&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Refactor `Vec2f`, `Vec3f`, `Vec3s` in `z64math` to avoid reserved identifiers.

* Include `z64save` in SaveManager, which requires encapsulating `#include gameplaystats.h` and `InitStatTracker` in the cpp to fix compile issues.

Adds SaveContext reference parameters to SaveFunc and existing implementations in preparation for threaded saves.

* Threaded saves fully implemented.

Platform-specific save code removed.

Thread safety added. Will wait for thread pool tasks to finish before resetting or closing.

* Converted gSaveContext copy for save threads to the heap with `new`, deleted at the end of the threaded function to prevent possible issues with the stack.

* Turns out leaving the call to `ThreadPoolWait` in a `GameInteractor::OnExitGame` hook seems to be just fine.

* Removed unnecessary references to `SaveManager::ThreadPoolWait()`, game hooks are the only places it's called now.

* Re-added WiiU/Switch performance save code.

* Added call to `SaveManager::ThreadPoolWait` in `Sram_InitSave` to prevent trying to load a newly "created" save before the save file was actually written.

---------

Co-authored-by: Christopher Leggett &lt;chris@leggett.dev&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: use LUS 1.0 RC</title>
<updated>2023-01-17T05:33:56+00:00</updated>
<author>
<name>briaguya</name>
<email>70942617+briaguya-ai@users.noreply.github.com</email>
</author>
<published>2023-01-17T05:17:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/Shipwright/commit/?id=ba13e6b2c40d17adef064c2022ceeef260622981'/>
<id>ba13e6b2c40d17adef064c2022ceeef260622981</id>
<content type='text'>
Co-authored-by: kenix3 &lt;kenixwhisperwind@gmail.com&gt;
Co-authored-by: David Chavez &lt;david@dcvz.io&gt;
Co-authored-by: KiritoDv &lt;kiritodev01@gmail.com&gt;
Co-authored-by: Christopher Leggett &lt;chris@leggett.dev&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: kenix3 &lt;kenixwhisperwind@gmail.com&gt;
Co-authored-by: David Chavez &lt;david@dcvz.io&gt;
Co-authored-by: KiritoDv &lt;kiritodev01@gmail.com&gt;
Co-authored-by: Christopher Leggett &lt;chris@leggett.dev&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git subrepo clone https://github.com/HarbourMasters/soh.git</title>
<updated>2022-03-22T01:51:23+00:00</updated>
<author>
<name>M4xw</name>
<email>m4x@m4xw.net</email>
</author>
<published>2022-03-22T01:51:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/Shipwright/commit/?id=39cc86c2608e2f75ace33fc7f43bc4f2ad743f1a'/>
<id>39cc86c2608e2f75ace33fc7f43bc4f2ad743f1a</id>
<content type='text'>
subrepo:
  subdir:   "soh"
  merged:   "ba904bbd0"
upstream:
  origin:   "https://github.com/HarbourMasters/soh.git"
  branch:   "master"
  commit:   "ba904bbd0"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
subrepo:
  subdir:   "soh"
  merged:   "ba904bbd0"
upstream:
  origin:   "https://github.com/HarbourMasters/soh.git"
  branch:   "master"
  commit:   "ba904bbd0"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
</pre>
</div>
</content>
</entry>
</feed>
