Commit graph

1299 commits

Author SHA1 Message Date
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
lambertjamesd bdf4393845
Merge pull request #402 from hackgrid/fix-make-4
require gameui/closecaption files for Makefile, fix typo, update Readme
2023-11-04 09:21:28 -06:00
James Lambert e5a43889cf Fix crash on intro 2023-11-04 09:20:33 -06:00
hackgrid b08cec4547
further clarify for languages vpk files 2023-11-04 11:38:17 +01:00
hackgrid 81ae9a5608
allow to skip intro with start button 2023-11-04 11:26:18 +01:00
hackgrid 550373c03b
Update README.md with correct paths 2023-11-04 11:00:27 +01:00
hackgrid 202ee5cb3d
oops 2023-11-04 10:12:03 +01:00
hackgrid fb0cd333c2
Update Makefile to require at least one closecaption and gameui language file 2023-11-04 10:08:45 +01:00
hackgrid ddc66bb733
Update README.md for required gameui_* files 2023-11-04 10:05:44 +01:00
hackgrid cc38baffbc
fix language typo 2023-11-04 10:03:12 +01:00
hackgrid 32bd9a62af
fix typo 2023-11-04 10:02:07 +01:00
hackgrid fd35a587b5
require at least english gameui texts to build subtitles 2023-11-04 10:01:09 +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 33b07871a3 Fix type #397 2023-11-02 18:22:41 -06:00
James Lambert c1e47eda0e jump animation 2023-11-02 18:13:55 -06:00
James Lambert a1c70bbeb1 Fix bvh problems in test chamber 11 #394 2023-11-02 17:34:44 -06:00
James Lambert 349b5843a9 Have bvh be a binary tree instead of whatever I was trying to do before 2023-11-01 21:59:51 -06:00
James Lambert eaf12bbad9 Switch over to rendering from bvh index 2023-11-01 20:28:26 -06:00
James Lambert 0a65dd3fb2 Fix some problems with bvh creation 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
lambertjamesd 61c9f2a0ba
Merge pull request #393 from westonCoder/grabbing-through-multiple-portals
Player can hold objects through portals recursively
2023-10-31 14:25:47 -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
lambertjamesd 02237dcfb3
Merge pull request #392 from westonCoder/falling-funnel-fix
Fixes getting stuck infinitly falling
2023-10-30 20:23:59 -06: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
lambertjamesd a6735203f2
Merge pull request #388 from hackgrid/fix-sliders
make languages sliders bigger and fix last value selection
2023-10-29 19:54:04 -06: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
James Lambert a9f71892ad Align translations to 16 byte boundary 2023-10-27 20:11:07 -06:00
lambertjamesd 5d695170e4
Merge pull request #385 from westonCoder/fix-door-collision
Fix Door Object Collision Issue
2023-10-27 16:13:32 -06: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
westonCoder 7a1c9986a5 correct and move logic to world.lua script 2023-10-27 13:01:57 -05:00
westonCoder 6d4c41d379 Fix Door Object Collision Issue
- simply extended the door quad while checking for rigidbody doorway passing

Fixes #344
2023-10-27 09:55:48 -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