News:

SMF - Just Installed!

Slash Command Request ReDraw

Started by Joshex, Oct 12, 2024, 04:52 PM

Previous topic - Next topic

Joshex

/ReDraw

/ReDraw should take One optional argument ("Window", "3DWorld", "Both") default being "3DWorld", all it does is redraw the window and 3D environment.

This is to handle issues on some graphics cards where switching resolutions or switching between windowed and fullscreen, or switching between windows causes an Undrawn black screen in the 3D world (Mouse icons, sounds and the game itself are unaffected (you could literally play blind with a black screen), but this is to fix that.

affixing this to a macro/hotkey would be great.

Does such a slashcommand already exist?
Ye cannie be dividin by zero! However, ye can be dividing 0.0 by a non-zero! that'd be a float.
always Decimal(str(your float)) before you int( your float).

Redlynne

/reloadgfx

Probably the closest thing to what you're talking about.


Verbogeny is one of many pleasurettes afforded a creatific thinkerizer.

Joshex

Quote from: Redlynne on Oct 12, 2024, 05:38 PM/reloadgfx

Probably the closest thing to what you're talking about.

thanks for the info, just tried during a blackscreen event, it seemed to reload the scene because the sounds suddenly stopped and their directions (stereo sound) changed but it did not redraw the graphics.

I think all graphics languages have a redraw command for window content, I know C and GL does.
Ye cannie be dividin by zero! However, ye can be dividing 0.0 by a non-zero! that'd be a float.
always Decimal(str(your float)) before you int( your float).