Agent X
594ff262bc
a bunch of fixes ( #216 )
...
Nice job targeting the main branch Isaac
Co-Authored-By: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
2024-07-17 08:37:42 -04:00
Agent X
c99e6426d7
Improve first person camera
2024-07-03 22:00:05 -04:00
Radek Krzyśków
4713219388
Moved mouse-state code to a separate file, enabled mouse-look camera-mode for DXGI ( #86 )
2024-06-30 15:44:40 -04:00
Agent X
8525a9a2ee
DynOS fixes
2024-06-26 18:51:11 -04:00
Agent X
2b2dceb333
Add a mod menu where mods can put DJUI elements ( #56 )
...
* Add a menu where mods can put their options at
* Document mod menu hook functions
* Add HOOK_ON_LANGUAGE_CHANGED
* Add new Cheats mod
* Make player menu disable singleplayer pause
* fix some git merge conflicts that weren't resolved (#55 )
and added -latomic to build flags to fix compile warnings while compiling miniaudio
* Remove legacy 'deluxe' field from built-in mods
* Lots of improvements to memory safety
* Abbreviated hex color parsing
Co-Authored-By: Mechstreme <84944335+mechstreme@users.noreply.github.com>
---------
Co-authored-by: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
Co-authored-by: Mechstreme <84944335+mechstreme@users.noreply.github.com>
2024-06-01 20:52:43 -04:00
Agent X
fa8d8c9b0f
Fixes and overhaul mouse locking
2024-06-01 13:30:41 -04:00
Agent X
54de3b689a
Remove Forced 4:3
2024-06-01 13:12:01 -04:00
Agent X
ceb7aa4649
Palette system overhaul and preset rewrite
2024-05-21 17:09:59 -04:00
Cooliokid956
3c73d12bb4
fixed two interp functions not saving their resolution
2024-02-24 21:35:04 -06:00
Agent X
bf9c9d5e75
Remove FONT_TINY and introduce legacy compatibility for it
2024-01-07 20:23:24 -05:00
Agent X
236231ded1
Fix djui_hud_get_color()
2024-01-04 15:10:32 -05:00
Agent X
4e96b49182
Revert "Rework First Person FOV"
...
This reverts commit 2a0af8e216 .
2023-12-18 14:27:48 -05:00
Agent X
2a0af8e216
Rework First Person FOV
2023-12-17 23:29:31 -05:00
Agent X
802affd839
ENHANCE_LEVEL_TEXTURES and make all DynOS textures overridable in Lua
2023-11-11 12:15:32 -05:00
MysterD
081a7fd9dc
Added HOOK_ON_RENDER_BEHIND, deprecated djui_hud_set_render_behind_hud()
2023-11-08 19:53:27 -05:00
Agent X
e8b6a8cffa
Build first person player camera into the game
2023-11-04 21:32:03 -04:00
Agent X
49bca1cc01
sm64coopdx
...
Co-Authored-By: Yuyake <140215214+AngelicMiracles@users.noreply.github.com>
Co-Authored-By: FluffaMario <50761036+FluffaMario@users.noreply.github.com>
Co-Authored-By: Gregory Heskett <gheskett@gmail.com>
Co-Authored-By: iZePlayzYT <69536095+iZePlayzYT@users.noreply.github.com>
Co-Authored-By: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
Co-Authored-By: eros71 <16540103+eros71-dev@users.noreply.github.com>
2023-10-30 01:03:36 -04:00
MysterD
5598ac95e7
Merge branch 'dev' of github.com:sm64ex-coop-dev/sm64ex-coop into dev
2023-05-14 12:12:30 -07:00
Isaac0-dev
fad7984cd4
add djui_open_pause_menu() ( #391 )
2023-05-11 06:10:25 -04:00
MysterD
039be71266
Prevent even more possible crashes from the mod api
2023-05-11 01:46:27 -07:00
MysterD
8eefbccc81
Make djui_hud_get_screen_width() more readable
2023-05-06 00:16:37 -07:00
Agent X
9901c89a33
Fixed forced 4:3 ( #384 )
...
Just reverting a 'fix' to my code someone else made.
2023-05-06 00:13:54 -07:00
Marioiscool246
7b4b873d39
Add fov adjustment to djui_hud_world_pos_to_screen_pos ( #374 )
...
* Add fov adjustment to djui_hud_world_pos_to_screen_pos
sFOVState is now a global (gFOVState)
djui_hud_world_pos_to_screen_pos now returns false if the position is behind the camera
* Fix aspect ratio parentheses
* Rerun autogen
---------
Co-authored-by: Marioiscool246 <marioiscool101@gmail.com>
2023-04-30 22:54:55 -04:00
MysterD
f2a8df7728
Made nametags mod interpolate names and health
2023-04-24 16:45:25 -07:00
MysterD
d57646ab5f
Reset hud color if it was altered
2023-04-24 13:12:12 -07:00
PeachyPeach
fe934ffe82
djui_hud_set_rotation ( #356 )
...
* djui_hud_set_rotation
* some goddard textures
2023-04-24 06:34:21 -04:00
Agent X
bef63c3cd1
Forced 4:3 ( #346 )
...
Turn on forced 4:3 in Options -> Display
Forced 4:3 activates in-game and doesn't affect the pause menu but does apply to the game's viewport and mods using DJUI
I've made complete sure this is mod compatible with both RESOLUTION_N64 as well as RESOLUTION_DJUI
Also fixed a small discrepancy with how object count text was rendered on the crash screen.
2023-04-16 23:10:09 -04:00
MysterD
3b0e650dda
Use the correct resolution for djui hud interpolation
2023-04-11 14:26:42 -07:00
MysterD
213af9b2dc
Remove djui panels from main djui header
2023-04-01 00:30:35 -07:00
MysterD
8029400e48
Use UTF-8 for djui text
2023-03-30 23:12:32 -07:00
Agent X
751dfe61c7
Move everything over ( #280 )
2023-03-20 22:36:25 -04:00
Agent X
8046d19db1
Add ' and " to gTextures ( #273 )
2023-02-15 19:45:11 -05:00
PeachyPeach
55ed83ddb8
djui_hud_render_texture_tile[_interpolated]; increased GFX pool and main memory pool ( #211 )
...
djui_hud_render_texture_tile: allows user to draw a part of a texture instead of the whole texture (tilesets)
increased GFX pool size from 512kB to 4MB
increased main memory pool size from ~11MB to 32MB
2022-11-02 19:45:20 -07:00
Agent X
215a8402bf
Add character head glyphs to gTextures ( #167 )
2022-08-25 17:38:34 -07:00
Agent X
68d46cdefe
Mouse lock & freeze cam fixes and warp constants ( #103 )
2022-05-19 17:06:51 -07:00
Agent X
4bc13ef275
djui_hud_get_raw_mouse_x/y, djui_hud_set_mouse_locked ( #91 )
2022-05-13 19:55:47 -07:00
MysterD
933914d984
Add djui_hud_world_pos_to_screen_pos, and render interpolated rect/texture
2022-05-13 19:54:49 -07:00
MysterD
ad6642a4bd
Add support for custom HUD textures and faster texture packs w/o EXTERNAL_DATA
2022-05-06 22:03:12 -07:00
Isaac
7d82923aa4
Fix headless server compile (3) ( #78 )
2022-05-02 19:45:32 -07:00
Agent X
6466fbe457
camera_freeze, camera_unfreeze, djui_hud_get_mouse_x, djui_hud_get_mouse_y, set_override_fov, set_override_near, set_override_far ( #74 )
2022-04-30 17:36:38 -07:00
PeachyPeach
8812fbac8b
HOOK_ALLOW_INTERACT; new HUD functions ( #73 )
...
Added new hook: HOOK_ALLOW_INTERACT:
Called before Mario interacts with an object. Return true to allow the interaction.
The hook signature is bool function(MarioState, Object, InteractionType)
Added new HUD constants:
enum HudDisplayValue:
HUD_DISPLAY_LIVES
HUD_DISPLAY_COINS
HUD_DISPLAY_STARS
HUD_DISPLAY_WEDGES
HUD_DISPLAY_KEYS
HUD_DISPLAY_FLAGS
HUD_DISPLAY_TIMER
enum HudDisplayFlags:
HUD_DISPLAY_FLAGS_NONE
HUD_DISPLAY_FLAGS_LIVES
HUD_DISPLAY_FLAGS_COIN_COUNT
HUD_DISPLAY_FLAGS_STAR_COUNT
HUD_DISPLAY_FLAGS_CAMERA_AND_POWER
HUD_DISPLAY_FLAGS_KEYS
HUD_DISPLAY_FLAGS_UNKNOWN_0020
HUD_DISPLAY_FLAGS_TIMER
HUD_DISPLAY_FLAGS_EMPHASIZE_POWER
Added new HUD functions:
s32 hud_get_value(enum HudDisplayValue type)
void hud_set_value(enum HudDisplayValue type, s32 value)
void hud_render_power_meter(s32 health, f32 x, f32 y, f32 width, f32 height)
2022-04-30 17:33:38 -07:00
MysterD
a44acd51f2
Added HUD rendering to hide-and-seek
2022-02-16 18:10:06 -08:00
MysterD
da5f9263fd
Fix compile error that emerged in the merge
2022-02-15 22:29:22 -08:00
MysterD
1ea28b9c5a
Added rect rendering to Lua API
2022-02-15 22:15:49 -08:00
MysterD
669e17bc18
Added global textures
2022-02-15 22:14:55 -08:00
MysterD
29599a82ec
Created TextureInfo struct
2022-02-15 22:13:10 -08:00
MysterD
ded74e7fb5
Added image drawing to Lua API
2022-02-15 22:12:20 -08:00