User:Talidan: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{MTA Developer}}
{{MTA Developer}}


<font size="10">On hiatus till 10/09/11</font>
=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


=Talidan's private eye=
=== New Lua API ===
* http://bugs.mtasa.com/view.php?id=6373 - Inability to use ' properly on certain keyboards
<syntaxhighlight lang="lua">
* http://bugs.mtasa.com/view.php?id=6367 - Unicode symbols dont show in "disconnected" window.
onClientMouseEnter [ int absoluteX, int absoluteY, element leftGUI ]  -- New 3rd param
* http://bugs.mtasa.com/view.php?id=6277 - CEGUI Chat unicode bug
onClientMouseLeave [ int absoluteX, int absoluteY, element enteredGUI ] -- New 3rd param
* http://forum.mtasa.com/viewtopic.php?f=123&t=32246 - Tab Panel
* http://bugs.mtasa.com/view.php?id=6376 - Windows (and linux) server console not support special characters (UTF-8)
* http://bugs.mtasa.com/view.php?id=6380 - fileRead has problems reading a UTF-8 file
* http://bugs.mtasa.com/view.php?id=6225 - [1.1 Beta] setControlState problems when controls are disabled
* http://bugs.mtasa.com/view.php?id=6069 - Server queue doesn't connect when a slot opens - confirmed.


 
x,y = guiStaticImageGetNativeSize ( guiImage ) --Returns the native pixel size of the image file.
===Implemented unicode functions===
<syntaxhighlight lang="lua">
int    utfLen  ( string theString )                     --Real length of a string, in characters
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>
</syntaxhighlight>



Revision as of 19:54, 25 March 2013

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

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