Skip to content

Commit

Permalink
Reorder puzzle level files and move out unused ones, remove some more…
Browse files Browse the repository at this point in the history
… unused data files
  • Loading branch information
rollerozxa committed Sep 3, 2023
1 parent 9125275 commit 1ddc8f0
Show file tree
Hide file tree
Showing 46 changed files with 1 addition and 21 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file modified data-shared/pkg/main/7.ppkg
100644 → 100755
Binary file not shown.
Binary file removed data-shared/pkg/main/8.ppkg
Binary file not shown.
Binary file removed data-shared/pkg/main/9.ppkg
Binary file not shown.
Binary file removed data-shared/textures/ui/btn_sandbox.png
Binary file not shown.
Binary file modified data-shared/textures/ui/icon_overlay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed data-shared/textures/ui/menupkgsep.png
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 0 additions & 16 deletions src/src/game-gui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2653,14 +2653,6 @@ game::create_sandbox_menu()
}
glActiveTexture(GL_TEXTURE0);

#if 0
glBindTexture(GL_TEXTURE_2D, gui_spritesheet::atlas->texture.gl_texture);
/* background */
tms_ddraw_set_matrices(this->get_surface()->ddraw, cam->view, cam->projection);
tms_ddraw_sprite(this->get_surface()->ddraw,
gui_spritesheet::s_sandbox,
0, 0, cam->width, cam->height);
#endif
glBindTexture(GL_TEXTURE_2D, 0);

ix = x%5;
Expand Down Expand Up @@ -2817,14 +2809,6 @@ game::create_sandbox_menu()
}
glActiveTexture(GL_TEXTURE0);

#if 0
glBindTexture(GL_TEXTURE_2D, gui_spritesheet::atlas->texture.gl_texture);
/* background */
tms_ddraw_set_matrices(this->get_surface()->ddraw, cam->view, cam->projection);
tms_ddraw_sprite(this->get_surface()->ddraw,
gui_spritesheet::s_sandbox,
0, 0, cam->width, cam->height);
#endif
glBindTexture(GL_TEXTURE_2D, 0);

/* object */
Expand Down
2 changes: 0 additions & 2 deletions src/src/gui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ struct sprite_load_data gui_spritesheet::sprites[NUM_SPRITES] = {
{ "data-shared/textures/symbols/attach.png", &atlas },
{ "data-shared/textures/symbols/attach_rigid.png", &atlas },
{ "data-shared/textures/symbols/attach_rotary.png", &atlas },
{ "data-shared/textures/ui/menupkgsep.png", &atlas },
{ "data-shared/textures/ui/btn_sandbox.png", &atlas },
{ "data-shared/textures/ui/sep.png", &atlas },
{ "data-shared/textures/symbols/rotate.png", &atlas },
{ "data-shared/textures/ui/btn_empty.png", &atlas },
Expand Down
2 changes: 0 additions & 2 deletions src/src/gui.hh
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ enum {
S_ATTACH_RIGID,
S_ATTACH_ROTARY,

S_PKG_SEP,
S_SANDBOX,
S_SEP,
S_ROT,
S_EMPTY,
Expand Down
2 changes: 1 addition & 1 deletion src/src/menu_pkg.cc
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ menu_pkg::render()
float sy = base_y - (x%9)/3*icon_outer;

struct tms_sprite overlay;
overlay.bl = (tvec2){0.1f, 0.1f};
overlay.bl = (tvec2){0.f, 0.f};
overlay.tr = (tvec2){1.f, 1.f};

if (UNLOCK_ALL_LVLS || this->pkg.unlock_count == 0 || x < unlock_count || cache[x].progress->completed)
Expand Down

0 comments on commit 1ddc8f0

Please sign in to comment.