module: rename query -> queryDeprecated

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-05-06 14:17:20 -07:00 committed by Stephen Gutekanst
parent 26b2351d4b
commit 2e8926d6fa
16 changed files with 33 additions and 33 deletions

View file

@ -199,7 +199,7 @@ fn tick(
const delta_time = game.state().timer.lap();
// Rotate entities
var archetypes_iter = core.entities.query(.{ .all = &.{
var archetypes_iter = core.entities.queryDeprecated(.{ .all = &.{
.{ .mach_gfx_text = &.{.transform} },
} });
while (archetypes_iter.next()) |archetype| {
@ -283,7 +283,7 @@ fn endFrame(game: *Mod, text: *gfx.Text.Mod, core: *mach.Core.Mod) !void {
// Gather some text rendering stats
var num_texts: u32 = 0;
var num_glyphs: usize = 0;
var archetypes_iter = text.entities.query(.{ .all = &.{
var archetypes_iter = text.entities.queryDeprecated(.{ .all = &.{
.{ .mach_gfx_text = &.{
.built,
} },