Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
engine_info [2019/04/22 00:26] – [IsOpenGL] korshun | engine_info [2019/04/22 05:57] – [IsOpenGL] korshun |
---|
====== Engine information ====== | ====== Source port and renderer identification ====== |
| |
ACSUtils provides functions to identify the exact source port (ZDoom, GZDoom, Zandronum) and renderer (software, OpenGL). | ACSUtils provides functions to identify the exact source port (ZDoom, GZDoom, Zandronum) and renderer (software, OpenGL). |
<note important>Calling this function serverside is an error, because the server has no renderer at all. Nonetheless, this function will return true in that case, because the OpenGL renderer generally has less restrictions.</note> | <note important>Calling this function serverside is an error, because the server has no renderer at all. Nonetheless, this function will return true in that case, because the OpenGL renderer generally has less restrictions.</note> |
| |
=== Detection method === | ==== Detection method ==== |
| |
This function first calls ''IsGZDoom'' to check if the port is GZDoom or a derivative like Zandronum. If the port is not a GZDoom derivative, it can't have the OpenGL renderer, and this function returns false. This is to prevent detecting the OpenGL renderer when ZDoom is run with a config from GZDoom which has ''vid_renderer=1''. | This function first calls ''IsGZDoom'' to check if the port is GZDoom or a derivative like Zandronum. If the port is not a GZDoom derivative, it can't have the OpenGL renderer, and this function returns false. This is to prevent detecting the OpenGL renderer when ZDoom is run with a config from GZDoom which has ''vid_renderer=1''. |