Matt Penny
9401198969
Use water hazard wall material in relevant chambers
2024-04-11 20:55:38 -04:00
Matt Penny
685f818114
Add material for water hazard wall
2024-04-11 19:55:34 -04:00
Matt Penny
73e81b3308
Merge pull request #56 from Deconimus/issue41_fizzler_frame_collision
...
Add collision for fizzler frames
2024-04-11 19:54:38 -04:00
Matt Penny
a551de9890
Minor fizzler frame collision cleanup
2024-04-11 19:44:42 -04:00
Matt Penny
f2eaa9483d
Merge pull request #57 from Deconimus/issue52_grab_y_offset
...
Tweak y offset minimum limit to match original game (and due to issue #52 )
2024-04-06 18:30:41 -04:00
Deconimus
8676845cd7
tweak y offset minimum limit to match original game (and due to issue #52 )
2024-04-06 23:10:56 +02:00
Matt Penny
4d621b69cc
Merge pull request #54 from Deconimus/issue52_grab_y_offset
...
Constrain y-offset of grab to match PC version and circumvent buggy behavior
2024-04-05 21:10:22 -04:00
Matt Penny
8abbcb0407
Slightly tweak max grab height
...
Original game allows a height of ~1 wall panel
2024-04-05 21:09:06 -04:00
Matt Penny
7129deec4a
Merge branch 'master' into issue52_grab_y_offset
2024-04-05 20:31:11 -04:00
Matt Penny
d5fea9a796
Merge pull request #50 from Deconimus/grab_rotation_snap_cubenormals
...
Snap grab rotations to cube normals
2024-04-05 20:21:10 -04:00
Matt Penny
62c49ddcdf
Remove collisionSceneGetPortalRotation()
2024-04-05 20:18:25 -04:00
Deconimus
97b31b4579
grab_rotation: simplifying playerInitGrabRotationBase()
2024-04-05 13:00:23 +02:00
Deconimus
4ca1c484f1
player grab rotation cleanup
2024-04-04 12:12:58 +02:00
GiacomoGarbin
0e240507e7
Math functions are part of libultra and not libnustd.
2024-04-03 00:02:43 +02:00
GiacomoGarbin
8bed9b6238
Address GH-47 issues raised in the comments.
...
Specifically:
* append all include search paths to LCINCS
* add LDDIRS to group all library search paths
* avoid link libm as math funtions are actually inside libultra
* use the shorthand -lc instead of -l:libc.a to link libc
2024-04-02 23:02:25 +02:00
Deconimus
83e94af894
add collision for fizzler frames
2024-04-02 22:52:10 +02:00
Deconimus
3c8c0d3234
Merge branch 'master' into grab_rotation_snap_cubenormals
2024-04-02 13:27:27 +02:00
Deconimus
70019f281a
Merge branch 'master' into issue52_grab_y_offset
2024-04-02 13:26:52 +02:00
Matt Penny
618f147da6
Halve ball catcher sound volume ( #51 )
2024-04-01 18:17:09 -04:00
Matt Penny
e81fa6f28a
Extend, do not repeat plastic/plasticwall003a material
...
Reflect what the material actually looks like in-game
2024-04-01 17:31:15 -04:00
Matt Penny
3d5ede0e2e
Revert "Add plastic/plasticwall003a material to materials.blend"
...
This reverts commit 0ddb70f8e6
.
2024-04-01 16:58:15 -04:00
Deconimus
01a7a67536
constrain y-offset of grabbed object to match Portal-PC, circumventing buggy behavior documented in issue #52
2024-03-31 17:04:06 +02:00
Deconimus
7e3db77731
fix cube normal snapping (has been broken in cases where object's upwards direction wasn't equal to gUp)
2024-03-30 23:12:18 +01:00
Deconimus
bce6a41fcb
fix playerGetMoveBasis call in scene.c
2024-03-29 15:01:38 +01:00
Deconimus
847c5e3d2e
Merge branch 'master' into grab_rotation_snap_cubenormals
2024-03-29 14:35:08 +01:00
Matt Penny
e6447819fa
Add some missing collision to chamber 14
2024-03-29 02:44:17 -04:00
Matt Penny
900d63db6e
Merge pull request #49 from GiacomoGarbin/valve_intro_video_mov
...
Valve intro video: try to load a MOV file if the BIK file doesn't exist.
2024-03-29 02:13:26 -04:00
Matt Penny
08db90d929
Chamber 14 lighting
2024-03-29 00:55:11 -04:00
Matt Penny
0ddb70f8e6
Add plastic/plasticwall003a material to materials.blend
2024-03-29 00:55:03 -04:00
Deconimus
56672ff562
grabRotation: snap all grabbed object rotation to cube normals
...
+ some related code refactoring
2024-03-29 00:35:51 +01:00
GiacomoGarbin
f15aa17f42
Valve intro video: try to load a MOV file if the BIK file doesn't exist.
...
The macOS Portal version uses a .mov file, so if the .bik file doesn't exist, let's try that.
2024-03-28 18:43:00 +01:00
Matt Penny
8b69564561
Merge pull request #48 from mwpenny/chamber-14
...
Chamber 14 stair pit
2024-03-28 01:10:12 -04:00
Matt Penny
32f430fcab
Fix chamber 14 room boundaries
2024-03-28 01:08:31 -04:00
Matt Penny
65120989ed
Debounce chamber 14 stair raise signal
...
When loading a save file, the cube_retrieved signal is not immediately
set, which causes the stairs to raise.
Require the signal to be set for a few frames to avoid this.
2024-03-28 01:08:29 -04:00
Matt Penny
7dcd6432ec
Show pit beneath chamber 14 stairs
...
A transparent portal surface allows portalability when the stairs are
lowered while not blocking visibility when they are raised.
During the descent, animated collisionless floor geometry is used as
cover so the real stairs can be moved out of the way.
2024-03-28 01:08:25 -04:00
Matt Penny
5603a1a23f
Add material for transparent portal surfaces
2024-03-27 23:37:22 -04:00
Giacomo Garbin
22f017722d
Remove libnustd from setup files.
2024-03-28 02:35:32 +01:00
Giacomo Garbin
c605fd18d3
Updates the usage status of proprietary libraries.
2024-03-27 23:53:02 +01:00
Giacomo Garbin
70193f33c4
Also link libm for the C Standard Library math functions.
...
Remove isnan as it conflicts with the one defined in <math.h>.
TODO: Replace math functions defined in Mathf.c with those from the standard library.
2024-03-27 23:45:12 +01:00
Giacomo Garbin
62be2a497a
Use glibc instead of libnustd.
...
TODO: Remove libnustd from setups as well.
2024-03-27 03:16:02 +01:00
Matt Penny
43f07a1766
Merge pull request #46 from GiacomoGarbin/replace_floor_function
...
Use floorf defined in mathf.c instead of the C standard library floor function.
2024-03-26 12:52:51 -04:00
Matt Penny
1fb2390a57
Merge pull request #43 from Deconimus/issue38_fizzler_width
...
Apply blender object scale to fizzlers
2024-03-26 12:47:36 -04:00
Giacomo Garbin
4449ccf723
Use floorf defined in mathf.c instead of the C standard library floor function.
2024-03-26 01:07:41 +01:00
Deconimus
72c0220a3e
tools/level_scripts/entities.lua: take fizzlers' mesh bounding box width into account, instead of only scale factor
2024-03-25 22:39:09 +01:00
Matt Penny
72b4607ac4
Merge pull request #44 from GiacomoGarbin/master
...
Fix typo in header file name.
2024-03-24 21:07:42 -04:00
Matt Penny
7a45772600
Merge pull request #45 from mwpenny/confirm-leave
...
Confirm with player before leaving current game
2024-03-24 21:02:11 -04:00
Matt Penny
bba7d9add1
Confirm when loading game while in a level
2024-03-24 20:50:03 -04:00
Matt Penny
f3ab06c9dc
Confirm when starting new game while in a level
2024-03-24 20:50:01 -04:00
Matt Penny
a3cde0c690
Confirm before quitting
2024-03-24 20:49:47 -04:00
Giacomo Garbin
243682f1bf
Fix typo in header file name.
2024-03-25 00:40:33 +01:00