User:Talidan: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{MTA Developer}}
{{MTA Developer}}


=Talidan's private eye=
=L10n=
* http://bugs.mtasa.com/view.php?id=6077 - Crash while changing GUI skin in Settings
=== To do ===
* <strike>http://bugs.mtasa.com/view.php?id=6078 - The Latest News box disappears from main menu after changing the GUI skin</strike> [[User:Cazomino05]]
* Make Settings window L10n compatible:
* http://bugs.mtasa.com/view.php?id=5979 - Options: Video, audio, and chatbox have no default button
** <s>Multiplayer</s>
* http://bugs.mtasa.com/view.php?id=5642 - Server commands give no explanation or parameters when used
** <s>Video</s>
* http://bugs.mtasa.com/view.php?id=5630 - Help command for ingame console is outdated
** <s>Audio</s>
* <strike>http://bugs.mtasa.com/view.php?id=5832 - Improve the functionality of the loadFont - acknowledged.</strike> [[User:Ccw]]
** <s>Controls</s>
* http://bugs.mtasa.com/view.php?id=6069 - Server queue doesn't connect when a slot opens - confirmed.
** <s>Interface</s>
* http://bugs.mtasa.com/view.php?id=5835 - Not possible to simulate satchel detonation
** Advanced
* <strike>http://bugs.mtasa.com/view.php?id=5985 - redirectPlayer() saves password </strike> [[User:Cazomino05]]
* <s>Allow L10n to be loaded from Loader, somehow.</s>
* <s>Upgrade pootle</s>
* <s>Fix misc build server issues</s>
** <s>nightly.nsi vs nightly_localized.nsi</s>
* <s>Make Transfer box L10n Compatible. The window size should be adjusted to anticipate the maximum text length of the frame and info label</s>


=== New Lua API ===
<syntaxhighlight lang="lua">
onClientMouseEnter [ int absoluteX, int absoluteY, element leftGUI ]  -- New 3rd param
onClientMouseLeave [ int absoluteX, int absoluteY, element enteredGUI ] -- New 3rd param


* http://bugs.mtasa.com/view.php?id=5798
x,y = guiStaticImageGetNativeSize ( guiImage ) --Returns the native pixel size of the image file.
</syntaxhighlight>


==Nag the shit out of==
===lil_Toady===
* http://bugs.mtasa.com/view.php?id=6049 - GUI tab panel tabs won't get added if GUI not visible (lil_Toady)
* http://bugs.mtasa.com/view.php?id=6072 - Ensure labels cannot overlap buttons throughout the GUI (lil_Toady)


===Gamesnert===
* <strike>http://bugs.mtasa.com/view.php?id=5751 - Fix or revert r2146</strike> [[User:Gamesnert]]
* <strike>http://bugs.mtasa.com/view.php?id=5752 - Fix or revert r2145</strike> [[User:Gamesnert]]


===x86===
=Voice=
* <strike>http://bugs.mtasa.com/view.php?id=4571 - Add support for custom animations</strike> [[User:Cazomino05]] / [[User:x86dev]]
Stuff that's planned for voice. If anyone can do this stuff, please feel free to pick it up and do it if you have time. This is mostly a reminder for myself incase it never gets done.


===eAi===
===Cleaning up===
* <strike>http://bugs.mtasa.com/view.php?id=5961 - Main menu leaves large black sides on widescreen resolutions</strike> [[User:Talidan]]
* <s>Fix stop event not firing</s>
* <s>Implement mute functions for the voice resource, via command and a GUI interface</s>
* Increase the '100%' value of Voice to something higher. Voice does not have a loud enough Max volume
* Provide some automated ability to nicely reduce MTA/GTA volume while voice sound is being played
* Provide some sort of mic test/diagnostic in the settings menu
* Provide the ability to switch microphone input device


===The Road to 3D===
* <s>Convert voice PortAudio streams into Bass streams.  Agent [[User:Cazomino05|Cazomino05]] has already had successful tests for this.</s>
* Implement setSound3D or equivalent function
* Implement serverside sound functions
* Convert voice streams into sound elements


=Unicode=
===Echo cancellation===
===Comboboxes===
* Provide full echo cancellation support for Vista and 7
http://code.google.com/p/mtasa-blue/source/detail?r=1815
** Setup a loopback recording stream
http://code.google.com/p/mtasa-blue/source/detail?r=1846
** Feed loopback to Speex to cancel out echo from all sound.
* Provide partial echo cancellation support for XP
** Find a way to combine multiple voice input streams into a single buffer
** Feed the combined voice buffer to Speex to cancel out voice echo.


===Implemented unicode functions===
= Stuff for me =
<syntaxhighlight lang="lua">
=== Number of bits to write per state ===
int    utfLen  ( string theString )                    --Real length of a string, in characters
http://www.wolframalpha.com/input/?i=ceil%28log2%2812%29%29 for 12 states
int    utfSeek ( string theString, int position )      --Returns the byte position at specified character position
string utfSub  ( string theString, int Start, int End ) --Sub string, from the specified positions on a chracter
string utfChar ( int characterCode )                    --Return the string of the specified UTF code
int    utfCode ( string theString  )                    --Return the UTF codes from the given string
</syntaxhighlight>


===General stuff to fix===
= Client OOP =
* <strike>Above Lua functions</strike>
This section documents MTA OOP functions.  These are just like the standard [[Client Scripting Functions]], but you can execute and access them on the objects themselves.  More on that [[somepage|here]].
* <strike>Dynamic glyph loading</strike>
* <strike>Fix CEGUI invalid unicode string crash</strike>
* <strike>Glyph substitution support</strike>


=General GUI=
== Vehicle ==
* <strike>Fix copy/cut/paste on memos</strike>
=== Constructor ===
* <strike>Add custom fonts support, will be useful for Unicode.</strike>
* [[createVehicle|Vehicle(...)]]


=Voice=
=== Methods ===
See [[User:Fenix]]
** [[setVehicleDamageProof|:setDamageProof]]
** [[setElementHealth|:setHealth]]
** [[setElementFrozen|:setFrozen]]
** [[setElementVelocity|:setVelocity]]


=Custom Handling=
=== Members ===
Agent Cazomino is assigned to the task
(THESE COULD BE TREES THAT EXPAND INTO 'GETTER AND SETTER' AND LEAD TO APPROPRIATE FUNCTION INSTEAD)
** .damageProof [ [[isVehicleDamageProof|Getter]] | [[setVehicleDamageProof|Setter]] ]
** .health [ [[getElementHealth|Getter]] | [[setElementHealth|Setter]] ]
** .frozen [ [[isElementFrozen|Getter]] | [[setElementFrozen|Setter]] ]
** .velocity [ [[getElementVelocity|Getter]] | [[setElementVelocity|Setter]] ]


= Stuff for me =
=== Static functions ===
== Number of bits to write per state ==
** [[getVehicleLalaBoo|Vehicle.GetLalaBoo]]
http://www.wolframalpha.com/input/?i=ceil%28log2%2812%29%29 for 12 states

Latest revision as of 13:42, 26 September 2016

Coder.gif This user is an MTA developer

L10n

To do

  • Make Settings window L10n compatible:
    • Multiplayer
    • Video
    • Audio
    • Controls
    • Interface
    • Advanced
  • Allow L10n to be loaded from Loader, somehow.
  • Upgrade pootle
  • Fix misc build server issues
    • nightly.nsi vs nightly_localized.nsi
  • Make Transfer box L10n Compatible. The window size should be adjusted to anticipate the maximum text length of the frame and info label

New Lua API

onClientMouseEnter [ int absoluteX, int absoluteY, element leftGUI ]  -- New 3rd param
onClientMouseLeave [ int absoluteX, int absoluteY, element enteredGUI ] -- New 3rd param

x,y = guiStaticImageGetNativeSize ( guiImage ) --Returns the native pixel size of the image file.


Voice

Stuff that's planned for voice. If anyone can do this stuff, please feel free to pick it up and do it if you have time. This is mostly a reminder for myself incase it never gets done.

Cleaning up

  • Fix stop event not firing
  • Implement mute functions for the voice resource, via command and a GUI interface
  • Increase the '100%' value of Voice to something higher. Voice does not have a loud enough Max volume
  • Provide some automated ability to nicely reduce MTA/GTA volume while voice sound is being played
  • Provide some sort of mic test/diagnostic in the settings menu
  • Provide the ability to switch microphone input device

The Road to 3D

  • Convert voice PortAudio streams into Bass streams. Agent Cazomino05 has already had successful tests for this.
  • Implement setSound3D or equivalent function
  • Implement serverside sound functions
  • Convert voice streams into sound elements

Echo cancellation

  • Provide full echo cancellation support for Vista and 7
    • Setup a loopback recording stream
    • Feed loopback to Speex to cancel out echo from all sound.
  • Provide partial echo cancellation support for XP
    • Find a way to combine multiple voice input streams into a single buffer
    • Feed the combined voice buffer to Speex to cancel out voice echo.

Stuff for me

Number of bits to write per state

http://www.wolframalpha.com/input/?i=ceil%28log2%2812%29%29 for 12 states

Client OOP

This section documents MTA OOP functions. These are just like the standard Client Scripting Functions, but you can execute and access them on the objects themselves. More on that here.

Vehicle

Constructor

Methods

Members

(THESE COULD BE TREES THAT EXPAND INTO 'GETTER AND SETTER' AND LEAD TO APPROPRIATE FUNCTION INSTEAD)

Static functions