Phase 7: netfox + godot-jolt stack upgrade

Stack installed:
- netfox v1.35.3 (core + extras + noray + internals)
- godot-jolt v0.16.0-stable

Architecture:
- Server: ENet transport (works headless, no netfox deps)
- Client/Editor: netfox rollback (RollbackSynchronizer, TickInterpolator)

New/modified:
- docs/migration-netfox-plan.md — migration architecture
- scripts/network/network_manager.gd — netfox-aware ENet fallback
- scripts/network/player.gd — clean base player
- client/characters/player_netfox.gd — rollback player w/ WeaponManager
- client/characters/input/player_net_input.gd — BaseNetInput subclass
- client/characters/character/fps_character_controller.gd — netfox input feed
- client/weapons/ — weapon data, registry, TacticalWeaponHitscan, WeaponManager
- client/scripts/round_replicator.gd — client-side round state bridge
- server/scripts/round_manager.gd — improved state machine
- server/scripts/plugin_api/plugin_manager.gd — refined plugin system
- config: enemy_tag, ally_tag for meatball targeting

Removed: old C++ SimulationServer GDExtension (replaced by netfox rollback)
This commit is contained in:
2026-07-02 17:38:50 -04:00
parent e2dc429caa
commit e7299b17e9
3237 changed files with 523530 additions and 18 deletions
@@ -0,0 +1,72 @@
@cython.no_gc_clear
cdef class UVIdle(UVHandle):
cdef _init(self, Loop loop, Handle h):
cdef int err
self._start_init(loop)
self._handle = <uv.uv_handle_t*>PyMem_RawMalloc(sizeof(uv.uv_idle_t))
if self._handle is NULL:
self._abort_init()
raise MemoryError()
err = uv.uv_idle_init(self._loop.uvloop, <uv.uv_idle_t*>self._handle)
if err < 0:
self._abort_init()
raise convert_error(err)
self._finish_init()
self.h = h
self.running = 0
cdef inline stop(self):
cdef int err
if not self._is_alive():
self.running = 0
return
if self.running == 1:
err = uv.uv_idle_stop(<uv.uv_idle_t*>self._handle)
self.running = 0
if err < 0:
exc = convert_error(err)
self._fatal_error(exc, True)
return
cdef inline start(self):
cdef int err
self._ensure_alive()
if self.running == 0:
err = uv.uv_idle_start(<uv.uv_idle_t*>self._handle,
cb_idle_callback)
if err < 0:
exc = convert_error(err)
self._fatal_error(exc, True)
return
self.running = 1
@staticmethod
cdef UVIdle new(Loop loop, Handle h):
cdef UVIdle handle
handle = UVIdle.__new__(UVIdle)
handle._init(loop, h)
return handle
cdef void cb_idle_callback(
uv.uv_idle_t* handle,
) noexcept with gil:
if __ensure_handle_data(<uv.uv_handle_t*>handle, "UVIdle callback") == 0:
return
cdef:
UVIdle idle = <UVIdle> handle.data
Handle h = idle.h
try:
h._run()
except BaseException as ex:
idle._error(ex, False)