Commit graph

927 commits

Author SHA1 Message Date
James Lambert bd55854bbc cull animated geometry using rotated bounding boxes 2023-12-02 14:52:40 -07:00
James Lambert 00cb4d0018 Prevent merging non flat meshes together 2023-12-02 13:58:08 -07:00
James Lambert 051328d597 Fix up lastAnchorToVelocity usage 2023-12-01 20:39:09 -07:00
James Lambert 7214c7c845 Add wide ledge for vertical portals to be able to stand hanging out of portal 2023-12-01 20:27:54 -07:00
James Lambert 0626a02920 Adjust gravity constant 2023-12-01 19:56:06 -07:00
James Lambert 051450fd1b Tweak some air movment values 2023-12-01 19:53:32 -07:00
James Lambert 888dd96190 Include memory used when rendering performance 2023-12-01 19:53:32 -07:00
hackgrid df979f958f whitespaces and remove comments 2023-12-01 00:41:40 +01:00
hackgrid 4a7e95a1ba refactoring. remove unused function chapterFindForChamber. 2023-12-01 00:32:51 +01:00
hackgrid cd268b9bce fix 2023-12-01 00:19:38 +01:00
hackgrid 6ee86df06a refactor some stuff 2023-12-01 00:06:52 +01:00
hackgrid d98f371aee fix typo 2023-11-30 18:41:59 +01:00
hackgrid d238a0f7a5 rename level/chapters functions 2023-11-30 18:41:21 +01:00
James Lambert 32f6972c80 filter out contacts when collision flags change to allow player to pass through door 2023-11-28 20:54:06 -07:00
James Lambert f117026287 fix portal gun flicker between levels 2023-11-28 20:50:23 -07:00
James Lambert dcce417b12 Make portal clear threshold bigger 2023-11-28 18:41:44 -07:00
James Lambert 93bdb4efba Make better use of z buffer when portals are small on the screen 2023-11-28 18:41:44 -07:00
James Lambert 3d6db71f92 Have capsule minkowski sum work with non normalized vector #501 2023-11-27 22:34:51 -07:00
James Lambert c4a6ef375c Rewrite collision capsule 2023-11-27 21:57:22 -07:00
James Lambert 00cc732bd9 Save sign on state
Add cheat code for unlocking all levels
2023-11-27 20:09:02 -07:00
James Lambert 516b30b0b4 Only offset portal surface when trying decals are on the same surface 2023-11-26 21:20:11 -07:00
James Lambert 0698853e29 Use a better method for getting a random integer in a range 2023-11-25 20:01:40 -07:00
James Lambert 6da0f30719 Implement signage power on cutscene triggers 2023-11-25 15:34:48 -07:00
James Lambert 20e9beaa0f Implement triple sign state 2023-11-24 21:54:27 -07:00
James Lambert dcfa895857 Prevent putting portals on the back of surfaces 2023-11-24 20:31:31 -07:00
James Lambert e0ee75e34c Fix sudden camera jump from looking down to looking up 2023-11-24 19:41:20 -07:00
James Lambert f43de9167b Remove unused sound flag 2023-11-24 19:10:50 -07:00
James Lambert 4d88e3d9bb Make radio quieter and dampen non voice sounds when glados is speaking 2023-11-24 19:09:35 -07:00
James Lambert 911c54e5fd Allow for more buttons to reload after death 2023-11-24 18:40:39 -07:00
lambertjamesd 3bd73383d5
Merge pull request #492 from Tiptup300/patch-1
code cleanup fixed typo decorObjectClenaup to decorObjectCleanup
2023-11-24 12:44:57 -07:00
Matthew Deweese dae52907a5
code cleanup - renamed decorObjectClenaup to decorObjectCleanup as declared in decor_object.c 2023-11-24 14:02:38 -05:00
James Lambert 189133c1fe Finish up credits screen 2023-11-22 15:38:02 -07:00
James Lambert 4844ee54ed Adjust credits menu 2023-11-22 10:14:18 -07:00
James Lambert b275813dcd Use liberation mono for credits font 2023-11-22 09:48:09 -07:00
James Lambert 4e0d2c5a87 Fix crash when loading credits screen 2023-11-22 09:23:39 -07:00
James Lambert 456efb37fa Start work on credits menu 2023-11-21 21:09:48 -07:00
James Lambert c4e1af45ba Add reflection movements back in 2023-11-21 19:36:52 -07:00
James Lambert 2aeb85c3aa Rotate portal gun when passing through portals 2023-11-21 19:17:05 -07:00
James Lambert 403e0d1bb9 Some more portal gun polish 2023-11-21 18:29:47 -07:00
James Lambert 3a1ddebb26 Add more portal gun animations 2023-11-21 18:12:54 -07:00
James Lambert 6ee43840d2 Add portal gun firing animation 2023-11-20 21:55:09 -07:00
James Lambert 0f5d6b29f6 Fix model export 2023-11-20 21:55:09 -07:00
James Lambert 67d99e1bd3 Start work for animating portal gun 2023-11-20 21:55:09 -07:00
James Lambert b1e606ce3a Add portal indicators to portal gun 2023-11-17 22:35:47 -07:00
westonCoder 9caceae408 Add in Invincibility Cheat Code
- added a toggleable invincibility cheat code
- video showcasing toggling attached!
2023-11-17 10:54:36 -06:00
westonCoder e3db2fce08 made the cheat code make a generic menu sound when activated 2023-11-17 10:22:52 -06:00
westonCoder 0834f58831 made the high jump toggle-able 2023-11-17 10:17:40 -06:00
westonCoder 5b1f04f988 Added Player Cheat High Jump
added a `playerSetJumpImpulse` function that now allows the players jump amount to be altered.
on init the players jump is set to the global variable
but when you do the high jump cheat code it makes your jump a fun amount :)
tested and working.

cheat code: udududrr
2023-11-17 01:00:37 -06:00
James Lambert 4e06800cff Make some visual improvments on the portal gun 2023-11-15 21:39:20 -07:00
James Lambert 8fa6ab87b3 Dont persist interlaced setting
This is becuase I had an issue where turing the setting off just made the game stop working with my
capture card. I had to turn it on by navigating blindly it the menus. I figure interlaced on
is compatible with more displays and should always be on as you never know when changing the
setting will be incompatible with a display
2023-11-15 19:42:51 -07:00
James Lambert ab4cbfb2eb Prevent surfaces from being put on sides of moving objects 2023-11-14 18:52:32 -07:00
James Lambert 0c2881e53e Fix saving when exiting options menu 2023-11-13 08:06:29 -07:00
hackgrid 90697bc63e
oops 2023-11-13 11:13:42 +01:00
hackgrid 3991559e0f
change joystick string in options 2023-11-13 11:05:18 +01:00
James Lambert 803d30baba Rebuild font to include missing characters 2023-11-12 21:58:13 -07:00
James Lambert 5d77f1e4aa Wrap control mapping options if they get too long 2023-11-12 20:49:46 -07:00
James Lambert 2b42c902b4 Fix rounding issues with continuous sliders 2023-11-12 20:21:23 -07:00
hackgrid b1a03c4512
Merge branch 'master' into translate-hints 2023-11-13 00:18:19 +01:00
hackgrid 619108ae6f
use new font renderer for prompts 2023-11-13 00:12:11 +01:00
James Lambert 0c678d15c0 Fix issue where menu changes when binding controls 2023-11-12 15:12:13 -07:00
hackgrid c4046a2d1a
fixup 2023-11-12 19:07:08 +01:00
hackgrid dd20478191
use hints translations 2023-11-12 18:50:17 +01:00
hackgrid 5d94cee11c
fix audio language position 2023-11-12 18:09:32 +01:00
hackgrid 3c2f6fe4e8
fix menu slider sounds 2023-11-12 17:44:26 +01:00
hackgrid 47ac5c663f
fix typo 2023-11-12 17:27:49 +01:00
James Lambert 5d29af1321 Get gamepad menu ready for translations 2023-11-11 15:35:13 -07:00
James Lambert 8c1e7d535c Remove duplicate settings
relayout audio options
add translations support for gameplay options
2023-11-11 14:42:53 -07:00
James Lambert dd05a3897e build out video options tab 2023-11-11 14:08:19 -07:00
lambertjamesd 438e45895a
Merge pull request #414 from hackgrid/fix-sound-mapping
translation mapping for all sounds (fix #405)
2023-11-11 11:38:36 -07:00
James Lambert 335bde9482 Translate use defaults button 2023-11-11 10:12:27 -07:00
hackgrid 92ef7a74dc
translation mapping for all sounds (fix #405) 2023-11-11 11:29:52 +01:00
James Lambert 950006fdce Add back msic label 2023-11-10 13:33:43 -07:00
James Lambert 9d07965582 translate controls menu 2023-11-09 21:42:50 -07:00
James Lambert 44ab1ddfcd Actually fix shooting portal after unpausing bug 2023-11-08 22:10:47 -07:00
James Lambert 7a37be91c9 Translate load and save game menu 2023-11-08 21:49:27 -07:00
James Lambert 60a0e39d1d Add translations for new game menu 2023-11-07 22:10:41 -07:00
James Lambert bd1df01ef9 Prevent firing portal gun when exiting pause menu 2023-11-07 20:30:48 -07:00
James Lambert 820e2e274d Allow sliders to be controller with A button and d pad 2023-11-07 20:18:32 -07:00
James Lambert 7e42aa1746 Dont check culling recursively if node is entirely inside view 2023-11-07 19:56:25 -07:00
James Lambert 1b3c1c9aa4 Translate most of the option tabs 2023-11-06 22:02:38 -07:00
James Lambert b3674c6845 Allow tabs to grow wider than the screen 2023-11-06 21:37:03 -07:00
James Lambert eeb0bf572d Fix some audio settings text problems 2023-11-05 20:46:28 -07:00
James Lambert 00bdc90861 Finish up audio options using the menu builder 2023-11-05 08:48:58 -07:00
James Lambert 9ec21b9c1a Start migrating audio options to use a menu builder 2023-11-04 22:52:25 -06:00
lambertjamesd 12a236de5c
Merge pull request #403 from hackgrid/skip-intro
allow to skip the valve intro with start button
2023-11-04 09:21:50 -06:00
James Lambert e5a43889cf Fix crash on intro 2023-11-04 09:20:33 -06:00
hackgrid 81ae9a5608
allow to skip intro with start button 2023-11-04 11:26:18 +01:00
James Lambert bab60422bf Add some translations to the audio menu 2023-11-03 22:15:01 -06:00
James Lambert 7e66019aa7 Fix language switching 2023-11-03 20:37:25 -06:00
James Lambert 94f9622861 Add main menu translations 2023-11-02 21:56:36 -06:00
James Lambert 3ee77ffc71 Added cheat to unlock portal gun 2023-11-02 19:03:51 -06:00
James Lambert 6367c299ab Simplify look forward and look backward logic and allow their use when looking straight up or down 2023-11-02 18:35:03 -06:00
James Lambert c1e47eda0e jump animation 2023-11-02 18:13:55 -06:00
James Lambert eaf12bbad9 Switch over to rendering from bvh index 2023-11-01 20:28:26 -06:00
James Lambert 1d7f990db8 Get bvh building kinda working 2023-11-01 20:28:26 -06:00
James Lambert fdc52abbdf work on static BVH 2023-11-01 20:28:26 -06:00
westonCoder 963d0fee09 made numPortalsPassed part of raycast struct 2023-10-31 15:17:32 -05:00
westonCoder 4bacaa9607 Player can hold objects through portals recursively
- fixed a bug where security camera was not updating its PLAYER_STANDING flag
- added a new parameter numPortalsPassed to collisionSceneRaycast to indicate how many portals the raycast went through, if any
- altered all player code involving the grabbingThroughPortal variable
- grabbingThroughPortal is now: 0 if not grabbing through portal, >0 if grabbing through portal 0, <0 if grabbing through portal 1.
- objects are dropped when they are being held through a portal and the player no longer has line of sight to them.
2023-10-31 13:21:49 -05:00
westonCoder 1b1b564c03 Fixes getting stuck infinitly falling
- if you put your self in an infinite fall and had portal funneling enabled you would be stuck there
- this change allows the player to get out of that if they are moving in x or y dir.
2023-10-30 19:08:28 -05:00
lambertjamesd 2de7b2cdb3
Merge pull request #389 from hackgrid/hide-empty-subtitles
don't render empty subtitles
2023-10-30 08:37:05 -06:00
hackgrid 85fe99db91
fix condition 2023-10-30 12:22:24 +01:00
hackgrid ec80a3b315
don't render empty subtitles 2023-10-29 14:28:49 +01:00
hackgrid 0e644e66eb
make languages sliders bigger and fix last value selection 2023-10-29 13:57:32 +01:00
lambertjamesd f09944e43b
Merge pull request #386 from westonCoder/fix-door-clipping
Fixes Player Clipping Issues
2023-10-28 20:13:57 -06:00
James Lambert a1dce2040f Make font renderer big enough for the largest string
remove commentary from captions
2023-10-28 19:43:47 -06:00
James Lambert f2f94ed7af Finish up non english fonts 2023-10-28 19:24:21 -06:00
James Lambert 3bfe6f4a76 Add support for fonts with more than 256 chracters 2023-10-28 12:31:30 -06:00
westonCoder 9b7ffeb9e4 made air acceleration a bit smaller 2023-10-28 12:52:37 -05:00
westonCoder b04efece5e applied fixes 2023-10-28 12:22:07 -05:00
westonCoder 3a4e4b8924 Fixes Player Clipping Issues
Fixes #139

- this fixes player clipping through doors, and out of elevator.
- I made the x and y normalized so that the player doesnt go faster while holding down forward x and forward y
- this made movement a bit slower so I increased PLAYER_SPEED a bit
- also removed a is_fast if statment. this seems to be the primary code that was allowing for the clipping.
2023-10-27 13:45:28 -05:00
lambertjamesd 92056d5e4f
Merge pull request #384 from westonCoder/add-ambient-sound
Fix Save Load Current Sound Problem
2023-10-27 08:25:59 -06:00
James Lambert e9a72bc967 Get translation loading mostly working 2023-10-26 22:32:18 -06:00
James Lambert 93d99d6cb5 Build translations into separate files 2023-10-26 22:00:02 -06:00
westonCoder 282a4befce Fix Save Load Current Sound Problem
Fixes #382

- to alleviate the above issue I saved the current sound from each channel in the cutscene runner and serialize r/w appropriately.
- also made a new channel for Ambient Sounds called CH_AMBIENT. there are now 3 total channels CH_GLADOS, CH_MUSIC, and CH_AMBIENT

the only issue that is remaining is because we are relying on cutscene runner to que up the ambient sounds, the ambient sounds dont start until a cutscene starts on a level. this could be alleviated by making a trigger in the starting elevator of each level that simply triggers the ambient sound to play.
2023-10-26 21:47:31 -05:00
James Lambert bd45d91445 Adjust fall rumble thresholds 2023-10-26 19:26:25 -06:00
James Lambert 2f911fe58f do not triangulate when exporting 2023-10-26 19:06:42 -06:00
James Lambert b38c920525 Work on intro cutscene 2023-10-26 18:56:49 -06:00
westonCoder 4c5c23315b Added Ambient Sound to Game
- simply added the ambient_base sound to the game. its actually a very small sound file, so we could layer on other ambient sounds on top that are queued by different parts of the level in the future if we wanted.
- because this is an activeSound it is also effected by the bug where if you save and reload it is no longer playing (just like the current glados voice line activeSound)
- tested in entire game seems to work well.
2023-10-26 12:40:14 -05:00
James Lambert 996de635b6 Fix weird portal surface glitch when portal is moved 2023-10-25 21:56:32 -06:00
westonCoder ef1ea9f04c Added music to appropriate levels
- added 3 new songs and triggered them at appropriate moments according to the wiki
- made a new CH_MUSIC channel for music
- adjusted music volume to be initialized at 50% which seems like the right volume to match the original game.
- tested the entire game to make sure its all working properly.
2023-10-25 14:17:53 -05:00
James Lambert f075892f33 Triangulate meshes in blender when exporting to fbx 2023-10-24 22:30:37 -06:00
James Lambert 5a32c2faec Fix bug where dying while touching a portal can lead to a crash 2023-10-24 21:29:25 -06:00
James Lambert 288407ca02 fix countdown clocks
implement cutscene rumble support
2023-10-23 21:50:23 -06:00
James Lambert 714505f9c0 Take portal gun away from player 2023-10-23 21:14:57 -06:00
James Lambert a6d9924e59 Add cutscene rumble support 2023-10-23 21:12:47 -06:00
James Lambert 15644b5e4d Fix inconsistent player landing rumble 2023-10-23 20:51:51 -06:00
James Lambert 7089c29ecb Pause rumble pak when game is paused 2023-10-21 21:43:14 -06:00
James Lambert 7a5267195d animate ball from pedestal
add camera shake and rumble when auto portals open
2023-10-21 21:35:50 -06:00
James Lambert 3d3c012fea Add portal fizzle rumble 2023-10-20 22:00:59 -06:00
James Lambert e1a5a2c852 Get metal reflection effect working 2023-10-20 21:38:11 -06:00
lambertjamesd c01f5051f6
Merge pull request #342 from westonCoder/save-load-crash-fix
Fixes a save load crash and audio bug
2023-10-20 11:05:00 -06:00
James Lambert e0d0b7d0ea Add valve intro 2023-10-19 22:52:58 -06:00
westonCoder ccc1ec431f removed needless include 2023-10-19 23:20:42 -05:00
westonCoder b28bd19f6d fixed the root cause instead of ignoring it 2023-10-19 23:19:16 -05:00
James Lambert f127736008 Add rumble when player lands 2023-10-19 21:04:04 -06:00
westonCoder 6be32e3068 Fixes a save load crash and audio bug
- if the game was saved while the cutscene runner had queued audio lines, when that save was loaded it would crash the game.
- to alleviate I simply deny the player to save while a cutscene audio is playing with the "deny" sound.
- also relieved a bug where audio volume would not be correct after loading a save, by simply updating the volume when a queued level is loaded.

we could probably find the true solution to this crash and allow players to save during a cutscene, however I think this workaround is good for now to avoid crashes.
2023-10-19 19:44:50 -05:00
hackgrid f1f9918017
Merge branch 'lambertjamesd:master' into non-interlaced 2023-10-19 13:09:28 +02:00
hackgrid 3c47cf537f reset VI special features 2023-10-19 12:12:23 +02:00
James Lambert 743679ddd3 Remove rumble when player passes through portal 2023-10-18 21:02:52 -06:00
James Lambert 8b0dd06f74 Fix bug where restarting a level while dead crashes the game
Also made rumble pack communication thread safe
2023-10-18 20:59:55 -06:00
James Lambert 721dc3b44d Fix problem where it is hard for player to walk onto button 2023-10-18 20:36:44 -06:00
lambertjamesd 38114d3ff1
Merge pull request #335 from westonCoder/standing-object-grab-fix
Standing Object Grab FIx and Slider Fix
2023-10-18 16:48:53 -06:00
westonCoder dc9a5c0633 Fixes Grabbing Stood On Object
Fixes #255

video attached, you cant hear but when im standing on the object I'm spamming the grab button.
2023-10-18 16:56:50 -05:00
hackgrid f23a6c3721
oops 2023-10-18 23:49:14 +02:00
hackgrid 782c2b04ae include missing main.h 2023-10-18 23:18:03 +02:00
hackgrid cd6c598302 Add sound effect to sliders in options menu 2023-10-18 23:17:02 +02:00
westonCoder d96c5ce81e Fixes Sound Slider Issue
Fixes #321
2023-10-18 16:15:36 -05:00
hackgrid 2b3dda58e4 Implement config option for interlaced video. 2023-10-18 22:41:23 +02:00
lambertjamesd 99a1303d87
Merge pull request #323 from hackgrid/menu-improvements
Various little menu improvements
2023-10-18 14:25:28 -06:00
hackgrid 2227af6a9e
prepare for config option 2023-10-18 21:16:12 +02:00
hackgrid fc99d4b5d9
oops 2023-10-18 20:33:06 +02:00
hackgrid 9bf9aaa63a
support non-interlaced VI mode 2023-10-18 20:25:04 +02:00
hackgrid 97314a625a
add interlaced def 2023-10-18 20:19:16 +02:00
reknohT eb2ae7ac57 Fix Grammar
- Fixes grammar in strings "TO PICKUP AND OBJECT" and "TO DROP AND OBJECT"
2023-10-18 12:33:54 -05:00
hackgrid 831370efeb Add sound to indicate switching option items and tabs. Enable main and game menu to cycle through menu items. 2023-10-18 17:36:34 +02:00
James Lambert 9f7e15e3fd fix exit elevator rumble 2023-10-18 08:15:24 -06:00
James Lambert 9325512ca4 Add elevator rumbling 2023-10-17 20:39:10 -06:00
James Lambert e717d6f7e2 Add more rumble pak clips 2023-10-17 20:32:44 -06:00
lambertjamesd 0da90ce622
Merge pull request #317 from westonCoder/moving-platform-movement-matching
Made Player Movement Match Moving Platforms
2023-10-17 19:15:26 -06:00
lambertjamesd 58c8601d2e
Merge pull request #312 from westonCoder/audio-slider-fix
Fixes All Slider Issues
2023-10-17 19:14:13 -06:00
James Lambert 8b66b5b8fb Fix controller input when rumble pak is attatched 2023-10-17 19:13:29 -06:00
westonCoder 058a8043ff Made Player Movement Match Moving Platforms
- store the velocity of a moving object that player is anchored to and apply that to player movement
- player now keeps up with horizontal movement while jumping on moving platform

Fixes #300
2023-10-17 19:02:21 -05:00
westonCoder 99d971580a Fixes All Slider Issues
- issue was present when you started a new game after changing options in the main menu
- now the sliders all return to original locations when the audio options menu is initialized

Fixes #301
2023-10-17 11:31:39 -05:00
James Lambert 50d169e9f4 Refactor controller code into its own thread 2023-10-16 22:17:19 -06:00
James Lambert 74e02269e8 Fix a build problem around subtitles 2023-10-16 21:45:01 -06:00
westonCoder fc8d1a30db 65535->65536 2023-10-16 16:43:21 -05:00
westonCoder b6fd669eaa Fix Slider Interval Problem
- slider interval problem in #301 was caused by dividing 65536 by a number that it is not evenly divisible by.
- adjusting number of slider ticks did the trick

other old data problem in #301 still remains, but havent reproduced
2023-10-16 16:34:27 -05:00
lambertjamesd 47c74b59e3
Merge pull request #309 from westonCoder/soundplay-fix
fixed a soundplayer function call that broke build
2023-10-16 14:56:21 -06:00
lambertjamesd 8ecb60dadc
Merge pull request #303 from westonCoder/portal-cover-height-fix
Fixes Portal Height
2023-10-16 14:54:07 -06:00
westonCoder 590b33b8ea fixed a soundplayer function call that broke build 2023-10-16 13:50:56 -05:00
westonCoder 2e5626b794 made all requested changes 2023-10-16 13:23:45 -05:00
lambertjamesd 0e51a71b8b
Merge pull request #308 from westonCoder/energy-ball-timer-reset
Ball Resets Lifetime Through Portal
2023-10-16 11:45:59 -06:00
lambertjamesd d5919e9347
Merge pull request #307 from westonCoder/fizzler-fix
Fizzler is Anti-Portal
2023-10-16 11:45:35 -06:00
lambertjamesd f46c9920ff
Merge pull request #304 from westonCoder/elevator-voiceline-wait
Made Elevator to Wait for Voicelines to Move
2023-10-16 11:43:58 -06:00
westonCoder 2684637e2d Ball Resets Lifetime Through Portal
Fixes #305
2023-10-16 12:06:14 -05:00
westonCoder b3101c2de1 Fizzler is Anti-Portal
- simply added a check to see if an object has a COLLISION_LAYER_FIZZLER, if so it cant shoot a portal past.
2023-10-16 11:44:28 -05:00
westonCoder d5c8eee04d changed both variable names, and adjusted surrounding code 2023-10-16 11:20:50 -05:00
westonCoder 5effd3359a only wait for voicelines on elevators that leave the level. 2023-10-16 10:46:36 -05:00
lambertjamesd 0d90a3726f
Merge pull request #299 from westonCoder/audio-through-portals
Audio Now Travels Through Portals
2023-10-16 07:59:45 -06:00
lambertjamesd 945855ca24
Merge pull request #295 from westonCoder/portal-funneling
Added Portal Funneling
2023-10-16 07:58:53 -06:00
westonCoder c128c84ed1 Made Elevator to Wait for Voicelines to Finish
- made elevator wait for voicelines to finish
- I made this the case on all levels because I watched the elevator sequences on all levels of a playthrough and it always seemed to wait.
2023-10-15 22:12:42 -05:00
westonCoder 08e51a44d9 Fixes Portal Height
- I am not really sure if this is the exact value you were going for with this, but 1.6 seems to match the collision to the top and bottom of the portal cutout.
- larger items like boxes seem to pass through much easier now.
- have not seen any negative side effect from this.
2023-10-15 17:18:31 -05:00
hackgrid 3a20dd284a Fix audio options sliders. 2023-10-15 13:44:41 +02:00
hackgrid 293854183d increase savefile header 2023-10-15 13:05:00 +02:00
hackgrid 5995ef30a0 cut english->english lookup entries to save a bit RAM 2023-10-15 12:06:38 +02:00
hackgrid 178f73ff85
Adjust audio options margins a bit to fit everything 2023-10-15 11:54:33 +02:00
hackgrid 340837b931
Merge branch 'master' into multi-audio-2 2023-10-15 11:03:14 +02:00
James Lambert 4698987fd6 Add some details to test chamber 05 2023-10-14 19:38:05 -06:00
Weston 125197508e
Merge branch 'master' into audio-through-portals 2023-10-14 20:34:20 -05:00
lambertjamesd 219650dcd9
Merge pull request #287 from westonCoder/add-volume-sliders
Added in Volume Sliders And All Captions
2023-10-14 19:29:53 -06:00
westonCoder 64f1c52f71 removed sqrt and cleaned up useless comments 2023-10-14 20:19:10 -05:00
James Lambert d7842f9697 Add test chamber 05 observation room details 2023-10-14 18:38:35 -06:00
westonCoder 3b43017b03 Audio Now Travels Through Portals
- audio travels through portals now by updating the soundPlayerDetermine3DSound function
- basically instead of just checking distance to the sound producer, we also check sound->portal0+portal1->listener and sound->portal1+portal0->listener to see if any of them are a smaller distance.
- works pretty seamlessly

Fixes #115
2023-10-14 17:34:10 -05:00
westonCoder a8e1afbb20 Added Portal Funneling
- added a function in player that implements portal funneling (video attached)
- added a new menu option in the gameplay tab that allows you to toggle it on or off
- the toggle defaults to on, just like in original portal
- portal funneling is only done on portals facing up
2023-10-14 12:28:10 -05:00
hackgrid 44217fb546 Implement modular multi-audio-language support. 2023-10-14 15:13:13 +02:00
James Lambert 4e79c243b9 Add observation room decor to test chamber 01 2023-10-13 16:37:59 -06:00
James Lambert 4445cca8c1 Add desk and chair decor 2023-10-12 18:46:46 -06:00
westonCoder eb5668f485 hides hud while on pause screen like in original game 2023-10-12 18:57:48 -05:00
westonCoder ad0577dc45 added all captions option, implemented all current sfx captions 2023-10-12 13:17:46 -05:00
James Lambert c61a8a802b Add monitor decor object 2023-10-11 21:47:26 -06:00