Skip to content

Commit

Permalink
Tweak connection button textures & make them bigger
Browse files Browse the repository at this point in the history
  • Loading branch information
rollerozxa committed Feb 26, 2024
1 parent 2b3ea88 commit 1d98409
Show file tree
Hide file tree
Showing 7 changed files with 102 additions and 111 deletions.
Binary file modified data-shared/textures/symbols/attach.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 modified data-shared/textures/symbols/attach_rigid.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 modified data-shared/textures/symbols/attach_rotary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 30 additions & 33 deletions data-src/ui/hammer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 31 additions & 34 deletions data-src/ui/rigid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 37 additions & 40 deletions data-src/ui/rotary.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/src/game.cc
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@

#define MAX_COPY_ENTITIES 10

#define CSCONN_OFFSX .5f
#define CSCONN_OFFSX .55f
#define CSCONN_OFFSY .0f

#define MAX_BTN 5
Expand Down Expand Up @@ -4047,9 +4047,9 @@ game::render_conn_types()
float mv[16];
float p[16];

if (this->cs_timer < 1.f) {
this->cs_timer += _tms.dt*10.f;
if (this->cs_timer > 1.f) this->cs_timer = 1.f;
if (this->cs_timer < 1.5f) {
this->cs_timer += _tms.dt*15.f;
if (this->cs_timer > 1.5f) this->cs_timer = 1.5f;
}

tmat4_copy(p, this->cam->projection);
Expand Down

0 comments on commit 1d98409

Please sign in to comment.