You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AOE CD comes with some fonts in the /system/fonts path. Unfortunately, it's not in the game data directory (I'm guessing the installer would add it to the system if necessary).
We'll need to be able to render these fonts to screen for upcoming debug/UI features. As a good first step, we should just integrate with rust-sdl2_ttf in the media crate, and add a simple render_text(&mut self, &str, &Point) function to the Renderer object. For now, it can just be hardcoded to use the arial font from the game disc. We'll want a proper font manager later.
The text was updated successfully, but these errors were encountered:
@angered-ghandi thanks!
It isn't very clean at all currently (I have no idea where I can hook into the Renderer from an ECS).
Since you seem to be gone mostly I'll probably spend time working solely on my fork, possibly breaking the GitHub fork relationship if I can get this somewhat stable again (just need to figure out native debugging in vscode [ref: #70]).
The AOE CD comes with some fonts in the /system/fonts path. Unfortunately, it's not in the game data directory (I'm guessing the installer would add it to the system if necessary).
We'll need to be able to render these fonts to screen for upcoming debug/UI features. As a good first step, we should just integrate with rust-sdl2_ttf in the media crate, and add a simple render_text(&mut self, &str, &Point) function to the Renderer object. For now, it can just be hardcoded to use the arial font from the game disc. We'll want a proper font manager later.
The text was updated successfully, but these errors were encountered: