Skip to content

Commit

Permalink
Cleanup old code
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanlangston committed Jan 3, 2024
1 parent 21c5cba commit 5fa1b8a
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 55 deletions.
1 change: 0 additions & 1 deletion src/Localelizer.zig
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ pub const Locale = struct {
Dylan_Splash_Text: [:0]const u8,
Title: [:0]const u8,
Menu_StartGame: [:0]const u8,
Menu_Settings: [:0]const u8,
Menu_Quit: [:0]const u8,
Paused: [:0]const u8,
Continue: [:0]const u8,
Expand Down
1 change: 0 additions & 1 deletion src/Locales/english.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ pub const english = Locale{
.Dylan_Splash_Text = "DylanLangston Games",
.Title = "Asteroid Arena",
.Menu_StartGame = "Press Fire to Start",
.Menu_Settings = "Settings",
.Menu_Quit = "Exit",
.Paused = "Paused",
.Continue = "Continue",
Expand Down
1 change: 0 additions & 1 deletion src/Locales/french.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ pub const french = Locale{
.Dylan_Splash_Text = "Jeux DylanLangston",
.Title = "Arene d'asteroides",
.Menu_StartGame = "Appuyez sur le feu pour demarrer",
.Menu_Settings = "Parametres",
.Menu_Quit = "Quitter",
.Paused = "En pause",
.Continue = "Continuer",
Expand Down
1 change: 0 additions & 1 deletion src/Locales/spanish.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ pub const spanish = Locale{
.Dylan_Splash_Text = "DylanLangston Juegos",
.Title = "Arena de asteroides",
.Menu_StartGame = "Presione Disparar para comenzar",
.Menu_Settings = "Configuracion",
.Menu_Quit = "Salir",
.Paused = "Pausado",
.Continue = "Continuar",
Expand Down
1 change: 0 additions & 1 deletion src/Shared.zig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const Inputs = @import("Inputs.zig").Inputs;
const Logger = @import("Logger.zig").Logger;
const PausedViewModel = @import("./ViewModels/PausedViewModel.zig").PausedViewModel;
const GameOverViewModel = @import("./ViewModels/GameOverViewModel.zig").GameOverViewModel;
const GameplayIntroViewModel = @import("./ViewModels/GameplayIntroViewModel.zig").GameplayIntroViewModel;
const vl = @import("ViewLocator.zig");
const Views = @import("ViewLocator.zig").Views;
const V = @import("./Views/View.zig").View;
Expand Down
1 change: 0 additions & 1 deletion src/ViewLocator.zig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ pub const ViewLocator = struct {
@import("./Views/PausedView.zig").PausedView,
@import("./Views/AsteroidsView.zig").AsteroidsView,
@import("./Views/MenuView.zig").MenuView,
@import("./Views/SettingsView.zig").SettingsView,
@import("./Views/GameOverView.zig").GameOverView,
};

Expand Down
23 changes: 0 additions & 23 deletions src/ViewModels/GameplayIntroViewModel.zig

This file was deleted.

4 changes: 0 additions & 4 deletions src/ViewModels/MenuViewModel.zig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const Shoot = @import("../Models/Shoot.zig").Shoot;

pub const Selection = enum {
Start,
Settings,
Quit,
None,
};
Expand Down Expand Up @@ -76,9 +75,6 @@ pub const MenuViewModel = Shared.View.ViewModel.Create(
Selection.Start => {
return locale.Menu_StartGame;
},
Selection.Settings => {
return locale.Menu_Settings;
},
Selection.Quit => {
return locale.Menu_Quit;
},
Expand Down
3 changes: 0 additions & 3 deletions src/Views/MenuView.zig
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,6 @@ inline fn GetSelection() Shared.View.Views {
Selection.Start => {
return .AsteroidsView;
},
Selection.Settings => {
return .SettingsView;
},
Selection.Quit => {
return .Unknown;
},
Expand Down
19 changes: 0 additions & 19 deletions src/Views/SettingsView.zig

This file was deleted.

0 comments on commit 5fa1b8a

Please sign in to comment.