User:Qaisjp: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
m (pre)
Line 48: Line 48:
Log windows use the developer log api. (Log windows just utilise the log api to show it to ht euser)
Log windows use the developer log api. (Log windows just utilise the log api to show it to ht euser)


== oop ==
== macOS ==
* finish oop documentation
 
* do some tables
<pre>
* do colour class
ncurses is keg-only, which means it was not symlinked into /usr/local,
* learn LuaVM
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
 
If you need to have ncurses first in your PATH run:
  echo 'export PATH="/usr/local/opt/ncurses/bin:$PATH"' >> ~/.zshrc
 
For compilers to find ncurses you may need to set:
  export LDFLAGS="-L/usr/local/opt/ncurses/lib"
  export CPPFLAGS="-I/usr/local/opt/ncurses/include"
 
For pkg-config to find ncurses you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig"
</pre>

Revision as of 06:02, 29 August 2018


You can find me in quite a few places...

  • Skype, Twitter, IRC, pretty much everything: qaisjp
  • GitHub

I maintain hedit, contribute to Blue, and have been a contributor to many servers.

You'll find me on #mta on GTANet.

mtasa-blue

issue 8714 Vehicle door/component desync on vehicle stream-in/out

reference for network stuff

issue 0008985 setCameraFOV aiming

reference for aiming

other stuff

hedit 3.0

The resource has an internal API and the GUI works independently of it. The log syncing and response sending is handled by the the internal API on the client side and the gui core uses this API to apply this to the UI.

The gui core does not handle the showing/hiding of the GUI, it works through a public API

Folders

client/*

  • sync/: Has an internal API that handles the sync, access locks and log streaming
  • gui/: Has a public API that manages the rendering and the application to access lock.
  • play/: This uses the public API to provide the default capabilities expected of hedit. It injects several things for usability into the GUI.

server/*

stuff

resources -> container
  • many instances of containers can be created
  • containers are managed by the resource "plug-in and play" code

Containers

Containers have:

  • x button (injected by plugin and play)
  • titlebar
  • pane selector
  • pane

Log windows

Log windows are managed by the plug-in and play code, many can exist at once due to the modular code but this feature will never be used. Log windows use the developer log api. (Log windows just utilise the log api to show it to ht euser)

macOS

ncurses is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have ncurses first in your PATH run:
  echo 'export PATH="/usr/local/opt/ncurses/bin:$PATH"' >> ~/.zshrc

For compilers to find ncurses you may need to set:
  export LDFLAGS="-L/usr/local/opt/ncurses/lib"
  export CPPFLAGS="-I/usr/local/opt/ncurses/include"

For pkg-config to find ncurses you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig"