shpuld / sui-qc Goto Github PK
View Code? Open in Web Editor NEWSimple QuakeC (MenuQC) UI system for FTEQW
License: MIT License
Simple QuakeC (MenuQC) UI system for FTEQW
License: MIT License
Most of the SUI lib is engine and compiler agnostic (bar a few extensions), but the heavy use of __inout
makes your library difficult to port to other setups.
While it certainly can be worked around on the user side, I'd like to suggest changing them to something more compatible, thanks!
CSQC_UpdateView
has commented-out references to sui_pre_draw
and sui_draw
but these functions do not exist. It's unclear to be if the user is supposed to create them.
sui_action_element
will throw an error if these functions are not called.
It appears sui_pre_draw
was renamed to sui_begin
, which sets the variables the rest of the SUI system is checking.
When using fteqw-sdl2 key press events are sent twice; the first time chary
contains the keycode, the second time scanx
contains the keycode. This means key binding fails because sui-qc only uses the scanx
value.
I worked around this by updating sui_input_event()
with:
case IE_KEYUP:
if (_sui_binding_command != "")
{
local float keycode = (scanx != 0) ? scanx : chary;
_sui_do_keybind(keycode, _sui_binding_command);
return TRUE;
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.