feat: enhance physics and map modules with Box2D integration and documentation updates
- Updated the physics module to include Box2D support, enabling management of physics bodies and collision events. - Enhanced the map module to support tile layers and improved hot-reload functionality for tilemaps. - Updated documentation to reflect the new features in the physics and map systems, including usage examples and API references. - Modified CMakeLists.txt to include new modules for physics and font management, ensuring proper build configurations. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
6ae6a778db
commit
c19b8fda41
38 files changed
+3063
-40
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
namespace eve::graphics {
|
||||
class Graphics;
|
||||
}
|
||||
|
||||
namespace eve::map {
|
||||
|
||||
/** Draws all visible TileLayer entities via Graphics batch path (UV atlas quads). */
|
||||
class TileRenderSystem {
|
||||
public:
|
||||
static void render(graphics::Graphics *gfx);
|
||||
};
|
||||
|
||||
/**
|
||||
* Polls bound config files (Resource.path) and hot-reloads when modtime changes.
|
||||
* Returns number of layers reloaded.
|
||||
*/
|
||||
class TileConfigSystem {
|
||||
public:
|
||||
static int poll();
|
||||
};
|
||||
|
||||
} // namespace eve::map
|
||||
Reference in new issue
Block a user