Skip to content

Commit

Permalink
Revisited xored-globals and related logic
Browse files Browse the repository at this point in the history
Added separate bit for "hasmove", which means we don't need to check
the move id, and allows us to add more sync-related global states in
the future, as long as they never happen simultaneously (such as
orphans and moves).

Also refactored some of the logic and removed the union in the global
structure, which didn't really add anything of value.
  • Loading branch information
geky committed Oct 18, 2018
1 parent cf87ba5 commit 29b8810
Show file tree
Hide file tree
Showing 2 changed files with 295 additions and 306 deletions.
Loading

0 comments on commit 29b8810

Please sign in to comment.