150 Commits

Author SHA1 Message Date
Dominic Szablewski
e510130d89 Merge pull request #156 from GirianSeed/fix-msys-build
Fix Windows MSYS2 builds
2025-06-14 13:38:18 +02:00
J.Ingram
f0fafe4675 Remove unnecessary MSYS define
'__MSYS__' is pre-defined by the MSYS2 environment's toolchains, and should NOT be defined for MINGW32/64, UCRT64, etc.
2025-06-13 20:42:29 -04:00
J.Ingram
fafc0532eb Correct L_FLAGS_SOKOL for MSYS2
libdl and libasound don't exist on Windows. The Sokol build needs gdi32 and ole32 to successfully link.
2025-06-13 20:06:33 -04:00
J.Ingram
97f9f5e11d Use sdl2-config for L_FLAGS_SDL
Additional flags passed by 'sdl2-config --libs' fix an undefined reference to WinMain that prevents the target from successfully linking.
2025-06-13 20:04:04 -04:00
J.Ingram
88a62c1924 add wipegame.exe to .gitignore 2025-06-13 19:54:58 -04:00
Dominic Szablewski
38159b447c Better analog controls; thanks @mickski56; close #77 2025-04-26 21:33:13 +02:00
Dominic Szablewski
c3a31407b8 Allow A_MENU_START for highscore entry; close #133 2025-04-18 10:08:35 +02:00
Dominic Szablewski
fca01a0900 Add menu option for screen shake 2025-04-18 09:22:56 +02:00
Dominic Szablewski
ec887204b5 Update QOA lib 2025-04-18 09:22:22 +02:00
Dominic Szablewski
c2b7f2cbac Merge pull request #148 from jnm-n64dev/shiptoship-fix
Adjust scaling values in ship to ship collision code
2025-04-17 22:47:00 +02:00
Dominic Szablewski
524a1ad851 Merge pull request #146 from jnm-n64dev/attract-fix
restore original attract mode/demo behavior
2025-04-17 22:45:37 +02:00
Dominic Szablewski
f868be24bb Merge pull request #144 from jnm-n64dev/collision-fix
WIP fix for ship-track collision behavior
2025-04-17 22:44:58 +02:00
jnmartin84
ed77a69991 Adjust scaling values in ship to ship collision code 2025-04-17 15:13:28 -04:00
jnmartin84
f211976f8a restore original attract mode/demo behavior
With a very small reordering, the original PSX demo behavior is restored (countdown at starting line). Gets rid of the need for the "FIXME" part in the ship loop as well.
2025-04-17 11:58:14 -04:00
jnmartin84
aa36e8f8a4 Merge branch 'phoboslab:master' into collision-fix 2025-04-15 09:03:02 -04:00
jnmartin84
3739e6f25a another fixed point scaling issue? 2025-04-15 08:27:52 -04:00
Dominic Szablewski
352ca34245 Merge pull request #145 from jnm-n64dev/shake-fix
reimplement camera shake
2025-04-14 22:21:11 +02:00
jnmartin84
64cadd00cd adjust face->normal scaling constant for collision with floor 2025-04-13 23:02:36 -04:00
jnmartin84
67312c23b1 fix indentation 2025-04-13 22:10:40 -04:00
jnmartin84
f9e031b4eb LONG/SHORT_SHAKE -> CAMERA_SHAKE_LONG/SHORT 2025-04-13 22:10:19 -04:00
Dominic Szablewski
9052cfa763 Merge pull request #143 from jnm-n64dev/input-remap-fix
clear `expected_button` state in `input_bind` (fixes #132)
2025-04-13 21:31:10 +02:00
Dominic Szablewski
54f959e839 Merge pull request #142 from jnm-n64dev/target-fix
clear weapon_target in ship_init (fixes #141)
2025-04-13 21:31:02 +02:00
jnmartin84
473ce451fa mistake, messed up roll 2025-04-13 14:55:04 -04:00
jnmartin84
915f0f1813 reimplement camera shake 2025-04-13 13:51:24 -04:00
jnmartin84
c358068421 scale face normal contribution consistently in floor collision code 2025-04-13 11:39:32 -04:00
jnmartin84
a1722d003a 2 * pi, I also messed up 2025-04-13 11:38:55 -04:00
jnmartin84
ad74d31e6a angular z component computation did not match original source DYNAM.C 2025-04-13 10:39:06 -04:00
jnmartin84
43db7b7321 another place where angle comparison to 30000 was converted differently 2025-04-13 10:11:57 -04:00
jnmartin84
c2efcf41f4 use reciprocal multiply as seen in many other lines of rewrite 2025-04-13 10:09:56 -04:00
jnmartin84
4e4a5c18d0 remove erroneous division by 16 in magnitude calculation (wing collision)
this restores the behavior of ship rolling on wing collision with side of track
there may still be other code to tweak as this seems more sensitive than PSX behavior
2025-04-13 08:47:33 -04:00
jnmartin84
f79ee2392f remove erroneous division by 64 in magnitude calculation for nose collision
this makes ship nose swing back out toward center of track again (noticeably)
2025-04-13 08:45:53 -04:00
jnmartin84
305bc93d35 vec3_is_on_face angle value test updated to match original code. 2025-04-13 08:44:21 -04:00
jnmartin84
6b9132a9de clear expected state in input_bind so remapped controls actually work (fixes #132) 2025-04-13 08:38:41 -04:00
jnmartin84
fb0052c020 clear weapon_target in ship_init (fixes #141) 2025-04-13 08:35:22 -04:00
Dominic Szablewski
05e9c2d3a1 Merge pull request #134 from lordfeck/UseSdl2ConfigIncludePath
Use "sdl.h" include and sdl-config include path in makefile.
2024-11-09 17:45:23 +01:00
lordfeck
76f77f6271 conditionally set cflags 2024-11-09 16:34:46 +00:00
Mark Brown
799d2d6bb1 Use "sdl.h" include and sdl-config include path in build. 2024-11-05 14:06:42 +00:00
Dominic Szablewski
a372b51f59 Merge pull request #127 from BJNFNE/fix-invalid-typo
fix typo for invalid in weapon.c
2024-07-07 01:05:51 -07:00
Benjamin Funke
6453641e25 fix typo for invalid in weapon.c 2024-07-06 12:21:04 +02:00
Dominic Szablewski
a342af737e Fix SHIP_FLYING attribute applied too generously; close #96 2024-05-13 10:54:18 +02:00
Dominic Szablewski
0dae020303 Load music and intro movie from the platform's asset path 2024-05-12 21:52:34 +02:00
Dominic Szablewski
b63b296f11 Merge pull request #121 from spykyvenator/master
More menu keybinds
2024-03-02 23:13:59 +01:00
spykyvenator
5df422e705 remove: unneeded extra keyactions 2024-03-02 14:19:54 +01:00
spykyvenator
e916dfbb0c add: hall of fame nav 2024-03-01 12:03:38 +01:00
spykyvenator
04008d76b9 add: multiple menu keybinds 2024-03-01 12:00:26 +01:00
Dominic Szablewski
90702ce171 Merge pull request #103 from LuKP17/draw-internal-rescue
Ship drawn when rescued in internal view
2023-11-18 08:20:39 +01:00
LuKP17
50f4bb6b0b Ship drawn when rescued in internal view 2023-11-11 12:33:50 +01:00
Dominic Szablewski
a5a3af7269 Merge pull request #102 from LuKP17/highscores-menu-layout
Highscores layout fits lower resolutions
2023-11-05 14:39:03 +01:00
LuKP17
970595c643 Highscores layout fits lower resolutions 2023-11-04 22:30:05 +01:00
Dominic Szablewski
776837edb0 Remove solved 'ideas for improvements' 2023-11-04 20:42:36 +01:00