Requesting scores

Sheepsquatch
Posts: 19
Joined: Wed Apr 03, 2013 7:23 pm

Re: Requesting scores

Post by Sheepsquatch »

OK I think this is my final question. Before Uglyfoot's help I also had the CG_PrintMiniScoreboard(); function print at intermission just under CG_DrawIntermission(); in the CG_Draw2D function in cg_draw.c file.

Works just fine. Until last night there was a strange anomaly. I was testing in Windowed mode, 'cause if something crashes in full screen Q3 freezes.

So during intermission there were no crashes and I wanted to test in full screen.

Well this time around while in intermission and now in full screen the CG_MiniScoreboard(); didn't print. Toggling between full and windowed mode nothing.

I understand the code you gave will only print once so it makes sense that switching between modes it wouldn't print again.

Adding cg.snap->ps.pm_type == PM_INTERMISSION or cg.predictedPlayerState.pm_type == PM_INTERMISSION didn't help print again.

Hope there's a way to solve, I believe there is but I'm not seeing right now. Overworked / overstressed.

I appreciate all your help, big thanx.
Sheepsquatch
Posts: 19
Joined: Wed Apr 03, 2013 7:23 pm

Re: Requesting scores

Post by Sheepsquatch »

OK I solved it by replacing CG_PrintMiniScoreboard(); with trap_SendConsoleCommand( "miniscores" );
Locked