Giter Site home page Giter Site logo

sui-qc's People

Contributors

shpuld avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sui-qc's Issues

[Suggestion] Avoid FTE-specific __inout functionality

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!

sui_pre_draw() and sui_draw() undocumented

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.

Key binding fails when using FTEQW-SDL2

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;
		}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.