Commit graph

313 commits

Author SHA1 Message Date
Peter0x44
70bec7322b NX: Fix -Wmisleading-indentation warning
/__w/quakespasm/quakespasm/source/gl_rpart.c: In function 'QMB_InitParticles':
/__w/quakespasm/quakespasm/source/gl_rpart.c:509:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  509 |         for (i = 0 ; i < 5 ; i++)
      |         ^~~
/__w/quakespasm/quakespasm/source/gl_rpart.c:219:1: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  219 | do {                                                                                                                                    \
      | ^~
2024-06-17 18:27:36 +01:00
Peter0x44
f47080d347 VITA/NX: Fix a -Wmisleading-identation warning
source/view.c:1174:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
 1174 | else
      | ^~~~
source/view.c:1181:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
 1181 |  view2->origin[0] = view->origin[0];
      |  ^~~~~
2024-06-17 18:20:26 +01:00
Peter0x44
8ada86168c VITA: Fix -Wuninititalized warning
The Vita doesn't use FSAA so it is safe to set this to zero.

source/gl_vidsdl.c: In function 'VID_SetMode':
source/gl_vidsdl.c:823:2: warning: 'fsaa_obtained' is used uninitialized in this function [-Wuninitialized]
  823 |  Con_SafePrintf ("Video mode %dx%dx%d %dHz (%d-bit z-buffer, %dx FSAA) initialized\n",
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  824 |     VID_GetCurrentWidth(),
      |     ~~~~~~~~~~~~~~~~~~~~~~
  825 |     VID_GetCurrentHeight(),
      |     ~~~~~~~~~~~~~~~~~~~~~~~
  826 |     VID_GetCurrentBPP(),
      |     ~~~~~~~~~~~~~~~~~~~~
  827 |     VID_GetCurrentRefreshRate(),
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  828 |     depthbits,
      |     ~~~~~~~~~~
  829 |     fsaa_obtained);
      |     ~~~~~~~~~~~~~~
2024-06-17 18:08:35 +01:00
Peter0x44
6a256fe327 VITA: Fix "conflicting types for LoadAchievements" warning
source/menu.c: At top level:
source/menu.c:1300:6: warning: conflicting types for 'Load_Achivements'
 1300 | void Load_Achivements (void)
      |      ^~~~~~~~~~~~~~~~
source/menu.c:604:2: note: previous implicit declaration of 'Load_Achivements' was here
  604 |  Load_Achivements();
      |  ^~~~~~~~~~~~~~~~
2024-06-17 17:18:31 +01:00
Peter0x44
b425d04291 VITA: Fix -Wpointer-sign warning
source/net_udp.c: In function 'UDP_Init':
source/net_udp.c:102:25: warning: pointer targets in passing argument 2 of 'Cvar_Set' differ in signedness [-Wpointer-sign]
  102 |   Cvar_Set ("hostname", nick);
      |                         ^~~~
      |                         |
      |                         SceChar8 * {aka signed char *}
In file included from source/quakedef.h:282,
                 from source/net_udp.c:26:
source/cvar.h:98:50: note: expected 'const char *' but argument is of type 'SceChar8 *' {aka 'signed char *'}
   98 | void Cvar_Set (const char *var_name, const char *value);
      |                                      ~~~~~~~~~~~~^~~~~
2024-06-17 17:18:31 +01:00
Peter0x44
b709396d40 VITA: Fix -Wpointer-sign warning
source/net_udp.c:101:64: warning: pointer targets in passing argument 2 of 'sceAppUtilSystemParamGetString' differ in signedness [-Wpointer-sign]
  101 |   sceAppUtilSystemParamGetString(SCE_SYSTEM_PARAM_ID_USERNAME, nick, SCE_SYSTEM_PARAM_USERNAME_MAXSIZE);
      |                                                                ^~~~
      |                                                                |
      |                                                                char *
In file included from /usr/local/vitasdk/arm-vita-eabi/include/psp2/appmgr.h:12,
                 from /usr/local/vitasdk/arm-vita-eabi/include/vitasdk.h:8,
                 from source/net_udp.c:30:
/usr/local/vitasdk/arm-vita-eabi/include/psp2/apputil.h:244:12: note: expected 'SceChar8 *' {aka 'signed char *'} but argument is of type 'char *'
  244 |  SceChar8 *buf, SceSize bufSize);
2024-06-17 17:18:31 +01:00
Peter0x44
fa99d2b563 VITA/NX: Fix -Wincompatible-pointer-types warning
COM_LoadStackFile already returns a "byte*" so this cast is totally
unneeded. I'm not sure why it was there to begin with

source/gl_model.c: In function 'Mod_LoadModel':
source/gl_model.c:337:7: warning: assignment to 'byte *' {aka 'unsigned char *'} from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types]
  337 |   buf = (unsigned*)COM_LoadStackFile ("models/missing_model.mdl", stackbuf, sizeof(stackbuf), NULL);
      |       ^
2024-06-17 17:18:31 +01:00
Peter0x44
a40c8e34d4 VITA: Fix -Wimplicit-function-declaration warning
GCC 14 promotes this to an error.

source/gl_hud.c:1697:2: warning: implicit declaration of function 'Save_Achivements' [-Wimplicit-function-declaration]
 1697 |  Save_Achivements();
      |  ^~~~~~~~~~~~~~~~
2024-06-17 17:18:31 +01:00
Peter0x44
251c34708c VITA: Fix -Wmisleading-identation warning
source/gl_hud.c: In function 'HUD_Parse_Achievement':
source/gl_hud.c:1689:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1689 |     if (achievement_list[ach].unlocked)
      |     ^~
source/gl_hud.c:1692:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1692 |  achievement_unlocked = 1;
      |  ^~~~~~~~~~~~~~~~~~~~
2024-06-17 17:18:31 +01:00
Peter0x44
c850e72b53 VITA/NX: Fix -Wformat-extra-args warnings
source/gl_screen.c:375:17: warning: too many arguments for format [-Wformat-extra-args]
  375 |    strcpy(s, va("Hold %s to buy %s\n", GetUseButtonL(), GetPerkName(weapon), cost));
      |                 ^~~~~~~~~~~~~~~~~~~~~
source/gl_screen.c:385:17: warning: too many arguments for format [-Wformat-extra-args]
  385 |    strcpy(s, va("Hold %s to Activate the Trap\n", GetUseButtonL(), cost));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/gl_screen.c:390:17: warning: too many arguments for format [-Wformat-extra-args]
  390 |    strcpy(s, va("Hold %s to Pack-a-Punch\n", GetUseButtonL(), cost));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
source/gl_screen.c:405:17: warning: too many arguments for format [-Wformat-extra-args]
  405 |    strcpy(s, va("Hold %s to use Teleporter\n", GetUseButtonL(), cost));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/gl_screen.c:430:17: warning: too many arguments for format [-Wformat-extra-args]
  430 |    strcpy(s, va("Hold %s to End the Game\n", GetUseButtonL(), cost));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-06-17 17:18:31 +01:00
Peter0x44
befc85915d VITA/NX: Fix implicit function declaration warning
GCC 14 makes this an error.

source/gl_rmisc.c: In function 'R_Init':
source/gl_rmisc.c:256:2: warning: implicit declaration of function 'R_InitOtherTextures'; did you mean 'R_InitTextures'? [-Wimplicit-function-declaration]
  256 |  R_InitOtherTextures ();
      |  ^~~~~~~~~~~~~~~~~~~
      |  R_InitTextures
source/gl_rmisc.c: At top level:
source/gl_rmisc.c:671:6: warning: conflicting types for 'R_InitOtherTextures'
  671 | void R_InitOtherTextures (void)
      |      ^~~~~~~~~~~~~~~~~~~
source/gl_rmisc.c:256:2: note: previous implicit declaration of 'R_InitOtherTextures' was here
  256 |  R_InitOtherTextures ();
      |  ^~~~~~~~~~~~~~~~~~~
2024-06-17 17:18:31 +01:00
cypress
d1200a3956 VITA/NX: Consistent AI size for builtin and pathing 2024-06-16 21:21:06 -07:00
cypress
c59ac1ae96 VITA/NX: Remove legacy sprint toggle hack 2024-05-18 14:29:34 -07:00
cypress
ce20fd0893
NX/VITA: Remove Maximum SDL compatibility version 2024-05-06 18:14:22 -07:00
cypress
3f55696e09
NX/VITA: Replace standard EF_ROTATE with one that mimicks Power-Up behavior 2024-04-07 20:09:12 -07:00
cypress
637bc87005
VITA/NX: Force Update 2024-03-16 19:52:27 -07:00
cypress
736380b098
NX/VITA: Fix nzp_screenflash build error 2024-01-22 23:13:19 -05:00
cypress
f2c392f235
NX/VITA: Prevent Sniper Sway with Deadshot Daiquiri 2024-01-22 23:06:54 -05:00
cypress
c34deca69f
NX/VITA: Fix SCREENFLASH_FADE_INANDOUT updating too slow 2024-01-14 21:21:38 -05:00
MotoLegacy
24c89e197a NX/VITA: Add nzp_screenflash builtin 2024-01-14 20:43:33 -05:00
MotoLegacy
1b622cf24f NX/VITA: Bump intensity of idle viewmodel bobbing 2024-01-13 15:34:25 -05:00
cypress
d93ecf2b1d
NX/VITA: Idle View Model Bobbing Integration from CSQC 2024-01-13 14:55:23 -05:00
cypress
b5150a81e6 NX/VITA: Add support for loading NZ:P Beta Waypoints 2024-01-07 18:01:12 -05:00
cypress
73781d4e13 NX/VITA: Fix building menu.c object 2024-01-07 10:45:42 -05:00
cypress
9b804c4017 NX/VITA: Add crc16 builtin 2024-01-07 10:41:52 -05:00
cypress
2545fffde3
VITA/NX: Always reset to item 0 when flipping page 2023-12-29 17:40:50 -05:00
cypress
3c15d7d6e9 NX/VITA: Add entity scalefactor 2023-12-29 17:10:12 -05:00
cypress
9127ae4759 YML: ..don't make it at root though 2023-12-27 17:27:27 -05:00
cypress
6c66210919 YML: ..don't make it at root though 2023-12-27 17:21:59 -05:00
cypress
8a1a51e0d3 YML: ..don't make it at root though 2023-12-27 17:15:41 -05:00
cypress
606fb0921a YML: ..don't make it at root though 2023-12-27 17:09:45 -05:00
cypress
0e4dd883eb YML: ..don't make it at root though 2023-12-27 17:02:38 -05:00
cypress
729f5c25fb YML: Explicitly set Artifact path 2023-12-27 16:59:40 -05:00
cypress
82473b34da YML: shorten artificial delay 2023-12-27 16:53:46 -05:00
cypress
956074fd66 YML: Artificial delay.. 2023-12-27 16:50:34 -05:00
cypress
c429c40714 YML: Update upload-artifacts to v4 2023-12-27 16:46:44 -05:00
cypress
1a1da8a796 YML: Download Artifacts in single-step 2023-12-27 16:39:35 -05:00
cypress
0f4f868377 YML: Fix dispatching of Artifacts 2023-12-27 16:22:47 -05:00
cypress
2d2bb6ca11 YML: Remove working-directory 2023-12-27 16:17:08 -05:00
cypress
43f76c3a76 YML: Fix syntax errors 2023-12-27 16:16:10 -05:00
cypress
af905f1dbb YML: Attempt to migrate to Artifacts for temporary storage 2023-12-27 16:05:28 -05:00
cypress
f5ed62245c
NX/VITA: Fix downward velocity on monster MOVETYPE_WALK being constant 2023-12-27 15:40:27 -05:00
cypress
d49f680b17
NX/VITA: Remove hardcoded Quake difficulty spawnflags 2023-12-16 12:33:03 -05:00
cypress
e7458c4824 NX/VITA: Considerable protocol bandwidth optimizations 2023-12-05 13:00:57 -05:00
cypress
bace222fce NX/VITA: Process Aim Assist Snapping without Server Assistance (coop) 2023-12-04 17:51:18 -05:00
cypress
e5a45a1b93 VITA: Prohibit exeuction of ParseClientCommand 2023-12-03 14:45:10 -05:00
cypress
c8f0ac928a NX/VITA: Properly display points in Co-Op 2023-12-02 16:58:57 -05:00
cypress
e3624a44c7
Merge pull request #43 from tyleryoung88/main
VITA: Add option to check for updates.
2023-12-01 02:39:18 -05:00
cypress
00585ad599 NX/VITA: Add Warehouse and Warehouse (Classic) to menus 2023-12-01 01:42:19 -05:00
Tyler Young
c9d2fde128 VITA: Add option to check for updates. 2023-11-30 21:28:03 -05:00