-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various work for upstream #93
Various work for upstream #93
Conversation
Dimming the rectangles for the HUD is not working, because the renderer needs to write back to the back screen.
@@ -178,6 +178,7 @@ int DRSceneRayPick2D(br_actor* world, br_vector3* pPosition, br_vector3* pDir, d | |||
LOG_TRACE("(%p, %p, %p, %p)", world, pPosition, pDir, callback); | |||
|
|||
BrMatrix34Inverse(&gPick_model_to_view__finteray, &world->t.t.mat); | |||
LOG_WARN_ONCE("Missing material and model pointers to ActorRayPick2D"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whats the purpose of the warning here? These params are used as defaults and are always deliberately set to null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this function is called with a material and model pointer, but I don't know what one and how it is used.
At least, it's not NULL.
@@ -608,6 +610,7 @@ void InitRace() { | |||
InitPlayers(); | |||
if (gNet_mode) { | |||
gProgram_state.credits_earned = gInitial_net_credits[gCurrent_net_game->options.starting_money_index]; | |||
InitNetGameplayStuff(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Amazing work! |
brender changes:
brender.h
, such that dethrace may use it.br_size_t
fromuint32_t
tosize_t
.br_types.h
by value, instead of by name.BR_ASIZE
andCOUNT_OF
in various places instead of hardcoding magic valuesdethrace changes:
WARN_ONCE
macro to avoid spamvarious:
tools/progress.py
, by ordering on name it becomes easy to diff progresstools/decode_datatxt.py
)plus many other changes
The big bump in percentage is due to implementing many little functions in
powerup.c
andpmnull.c
+ others.TBH, this percentage says nothing about real progress.