field: More field_event functions - #147
Merged
Merged
Conversation
Zaarbs
commented
Sep 7, 2026
| @@ -134,8 +134,10 @@ extern int (*GPU_printf)(); /* printf() object */ | |||
| ((tge) ? setcode(p, getcode(p) | 0x01) : setcode(p, getcode(p) & ~0x01)) | |||
|
|
|||
| #define getTPage(tp, abr, x, y) \ | |||
Contributor
Author
There was a problem hiding this comment.
I replaced the getTPage definition from Psy-Q 4.x with the definition from 3.3-3.6 as ResetPositionCursorPrimitives requires it to match. Didn't find any conflicting usages of it.
Zaarbs
commented
Sep 7, 2026
| extern DRAWENV* SetDefDrawEnv(DRAWENV* env, int x, int y, int w, int h); | ||
| extern TIM_IMAGE* ReadTIM(TIM_IMAGE* timimg); | ||
|
|
||
| extern int GetGraphType(void); |
Contributor
Author
There was a problem hiding this comment.
https://psx.arthus.net/sdk/Psy-Q/DOCS/BBS/webmsg.pdf - Page 31 says to add the declaration like this since it wasn't included in LIBGPU.H by default.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The last 3 functions of field_event.c are for drawing the position cursor above Cloud's head, not the exit arrows. I've updated the relevant names to reflect that. Also added macro for getting entity name and animation state enum.