Commit graph

173 commits

Author SHA1 Message Date
Matt Penny bf5b8e0d28
Merge pull request #47 from GiacomoGarbin/replace_libnustd_with_glibc
Use newlib instead of libnustd.
2024-04-12 19:01:12 -04:00
Matt Penny 685f818114 Add material for water hazard wall 2024-04-11 19:55:34 -04: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 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
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
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 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
Deconimus 5e6425075d make fizzler width scale with blender scale & fix rendering bug which used to cause fizzlers from disappearing at some viewing angles 2024-03-21 22:54:42 +01:00
Matt Penny 020b181499 Animate chamber 14 stairs
Added ascend/descend animation, triggers, and dynamic collision.

Next steps:
* Simplify collision (currently quite expensive)
* Destroy portals during ascend animation
2024-03-11 19:38:53 -04:00
Matt Penny 35e9d433a4 Read level animation sound from first specifying bone, and play from armature center
Removes multi-bone animation dependency on bone order for audio, and
allows the sound to play as long as one bone is still moving. The center
is also a more natural sound position.

This is needed for the chamber 14 stairs.
2024-03-13 01:03:41 -04:00
Matt Penny 6a1a7994b9 Avoid unnecessary signal definition
* Don't generate button cube signal if -1 or omitted
* Require button press, door, and box dropper signals to be specified
2024-03-02 22:03:13 -05:00
Deconimus 984dd65d2c fix fizzler optional signals generating unnecessary signals.
in test_chamber blender files, renamed @fizzler objects to not cause generation of unused signals.
removed "parse_trigger_signal" in trigger.lua, added "optional_signal_index_for_name", which is used for both trigger signals and fizzler signals.
added check in fizzler.c if signal is -1
2024-03-02 03:19:44 +01:00
Deconimus 3d37c2504c enabled fizzler objects to send signals on cube contact, the "@fizzler" objects in blender files now can have an argument for the signal name to send.
test_chamber_00: added level logic to trigger voice lines whenever the cube in the first room is fizzled.
added missing voice lines
box_dropper.c: fixed typo "DROPPER_.." instead of "DROOPER_.."

(Issue #13)
2024-02-28 13:32:44 +01:00
Matt Penny 79e77030c1 Fail explicitly when level armatures nest bones
Level animations use global coordinates, but sk_animation uses relative
offsets for child bones. Updating sk_animation to use global coordinates
works, but would break support for model animations (which use relative
offsets).

Although model animation export logic is currently implemented on the
C++ side and would not be immediately affected, eventually it'd be worth
it to move it over to Lua for simplicity and consistency.

So to avoid a future breaking change, and since complex armatures for
level animations are not likely to be needed, I'm leaving the current
behavior as-is until it is proven to be useful/necessary. Levels which
break this rule will now fail to export, to avoid surprises for anyone
who tries.
2024-02-11 18:41:14 -05:00
Matt Penny 725afb48c8 Do not use platform default encoding when generating subtitles
Windows uses cp1252, but we need UTF8. Specify it explicitly.
2024-01-08 22:42:05 -05:00
James Lambert ee42238411 Work on test chamber 08 2023-12-29 21:48:16 -07:00
lambertjamesd 61ed827764
Merge pull request #573 from mwpenny/save-deletion
Support save file deletion (#412)
2023-12-26 09:42:27 -07:00
Matt Penny 4f1a322c46 Confirm before deleting or overwriting save 2023-12-24 13:35:39 -05:00
Matt Penny 4e4a5e6ed0 Add menu icons and text for save/load/delete 2023-12-24 11:40:59 -05:00
James Lambert 0c141a9cff more profile work 2023-12-23 18:15:51 -07:00
James Lambert 7c2c1a62d5 Fix profiler 2023-12-23 13:46:00 -07:00
Joseph 77903a9395 reorganized the readme and move files.
I move contributing.md to the documentation folder.
I moved setup.sh to the tools folder.
I renamed contributing.md from all caps to lowercase to match other files.
I moved docker setup to it's own file.
I moved some instructions to the  add_vpk_here.md file.
2023-12-21 18:22:06 -05:00
Joseph a8f5ff8abc
Delete tools/romfix64.exe
I deleted romfix64.exe as it should no longer be needed.
2023-12-18 22:09:20 -05:00
carsongoodwin32 95b49f6ae0 relocate romfix.sh 2023-12-17 17:57:38 -06:00
James Lambert dcf5190ae9 Attempt to calculate expensive pixel heat map 2023-12-16 20:21:50 -07:00
James Lambert f41a919452 work on profile visualiziation 2023-12-16 19:19:24 -07:00
James Lambert d775df6b22 Have profiler label nested display lists 2023-12-12 18:00:47 -07:00
James Lambert af2240298f work on rsp profiler 2023-12-10 21:34:46 -07:00
James Lambert 7e10fc5d2f Get profiler working 2023-12-10 20:19:01 -07:00
James Lambert e32c299941 fix animated objects after small refactor 2023-12-02 15:53:04 -07:00
James Lambert 00cb4d0018 Prevent merging non flat meshes together 2023-12-02 13:58:08 -07:00
lambertjamesd 897abb9e4e
Merge pull request #508 from hackgrid/fix-make-6
allow dynamic generation of subtitles
2023-11-29 19:44:52 -07:00
hackgrid 4d851c314f
fix audio language sorting 2023-11-29 21:49:22 +01:00
hackgrid 9655bd29a7
fix text language sorting 2023-11-29 21:48:13 +01:00
James Lambert 68c1eb4f5f Prefer win32 translations over x360 2023-11-28 21:33:30 -07:00
hackgrid 1997d612c2
allow dynamic generation of subtitles 2023-11-28 21:27:52 +01: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 6da0f30719 Implement signage power on cutscene triggers 2023-11-25 15:34:48 -07:00
James Lambert 7ea13d6c2b Have subtitle generation script fail loudly when it fails 2023-11-23 20:31:26 -07:00
lambertjamesd d17d393447
Merge pull request #423 from hackgrid/extra-joystick
extra translation for "joystick" option menu tab
2023-11-13 07:47:18 -07:00
hackgrid 53619715a5
remove unused from import 2023-11-13 11:06:09 +01:00
hackgrid 1e003b8f9d
display audio languages in their own language 2023-11-13 10:37:36 +01:00
James Lambert 58f851d3d4 Add bad google translate placeholder translations 2023-11-12 21:35:02 -07:00
hackgrid b1a03c4512
Merge branch 'master' into translate-hints 2023-11-13 00:18:19 +01:00
James Lambert c60b29c23d Encode extra subtitles as utf-8 2023-11-12 15:46:04 -07:00
James Lambert 0c678d15c0 Fix issue where menu changes when binding controls 2023-11-12 15:12:13 -07:00
hackgrid ba1f73363c
fix capitalization for audio languages 2023-11-12 19:34:42 +01:00