(Angel/Java)Script dump

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: Angelscript dump

Post by learn_more » Thu May 03, 2012 6:29 pm

Code: Select all

Changes from a174 to a177.

VM playercontrol {
  - GlobalProperty: uint8 _ANM_FLIP_FACING
  AttackScriptGetter {
    - Function: int GetFlipFacing()
  };
};
VM shared {
  + GlobalFunction: void DebugText(string, string, float)
  + GlobalFunction: string FloatString(float, int)
  + GlobalFunction: bool DoesItemFitInItem(int, int)
  + GlobalProperty: const int _misc
  + GlobalProperty: const int _weapon
  + GlobalProperty: const int _item_no_type
  MovementObject {
    + Function: void UnStickItem(int id)
    + Function: int GetArrayIntVar(string, int)
    + Function: void SetPrimaryWeaponID(int)
    + Function: void SetLayerItemID(int, int,int)
    + Function: void SetAnimatedItemID(int,int)
    + Function: void AttachItem(int, bool)
    + Function: void SheatheItem(int, bool)
    + Function: void UnSheatheItem(int, bool)
    - Function: int GetAttachedWeaponID(int)
    - Function: int GetNumAttachedWeapons()
    - Function: void AttachItem(int)
    - Function: void SheatheItem(int)
    - Function: void UnSheatheItem(int)
  };
  ItemObject {
    + Function: int GetNumHands()
    + Function: int GetType()
  };
};
looks like i missed a few again ^^
Attachments
a177.zip
(66.38 KiB) Downloaded 144 times

User avatar
last
Posts: 2154
Joined: Fri Jan 07, 2011 7:02 am
Location: Estonia

Re: Angelscript dump

Post by last » Sat May 05, 2012 2:22 am

Thanks for update as always.

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: Angelscript dump

Post by learn_more » Mon May 07, 2012 2:40 pm

Code: Select all

 * Angelscript Dumper v2.1 by learn_more
 * Generated: 07-May-2012 21:29:02
 * Overgrowth version a178
 * If you use this (dumper or output), please credit me (learn_more)


> See the directory 'script' for the preloaded data in the VM's.
  (Please note that the 'shared' file is not a VM, it's just the objects that always get preloaded).
> See 'a178_as_graph.png' for the AS includes.
> The VM 'playercontrol' and the VM 'enemycontrol' have the same data preloaded, only included the VM 'playercontrol'.
> See 'a178_classes.xml' for all the preloaded objects / functions.
> There are no Angelscript changes from version a177 to a178.

i did however update the dumper tool, since the newer version of AS used in overgrowth did have some breaking changes..

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: Angelscript dump

Post by learn_more » Mon May 21, 2012 12:05 pm

Code: Select all

Changes from a178 to a179.

VM shared {
  Camera {
    + Function: void CalcUp()
  };
};
Attachments
a179.zip
(66.57 KiB) Downloaded 139 times

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: Angelscript dump

Post by learn_more » Mon May 28, 2012 7:18 am

Code: Select all

Changes from a179 to a180.

VM cam {
  CameraAnimationReader {
    + Function: vec4 GetRotationVec4()
    - Function: quaternion GetRotation()
  };
};
VM shared {
  MovementObject {
    + Function: vec4 GetAvgRotationVec4()
    - Function: quaternion GetAvgRotation()
  };
};
Attachments
a180.zip
(66.65 KiB) Downloaded 145 times

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: (Angel/Java)Script dump

Post by learn_more » Wed May 30, 2012 6:51 pm

now it's not only an angelscript dump anymore :+)

Code: Select all

 * OG Script Dumper v2.5 by learn_more
 * Generated: 31-May-2012 01:47:49
 * Overgrowth version a180
 * If you use this (dumper or output), please credit me (learn_more)


> See the directory 'script' for the preloaded data in the VM's.
  (Please note that the 'shared' file is not a VM, it's just the objects that always get preloaded).
> See 'a180_as_graph.png' for the AS includes.
> The VM 'playercontrol' and the VM 'enemycontrol' have the same data preloaded, only included the VM 'playercontrol'.
> See 'a180_classes.xml' for all the preloaded objects / functions.
> See 'a180_changes.txt' for the changes from a179 to a180.
> See the directory 'js' for the javascript available in the different UI files.
example JS file:

Code: Select all

/***********************************************
 *
 * OG Script Dumper v2.5 by learn_more
 * File: out\a180\js\tooltip.js
 * Generated: 31-May-2012 01:49:06
 * Objects / functions available in: tooltip.html
 *
 ***********************************************/

class Client
{
//Callbacks: 
	hide;
	show;
	log;
	setOpacity;
	setMask;
	setMinDimensions;
	move;
	resize;
	drag;
	ResetPosition;
	resizeTooltip;
//Properties: 
	__p000 = Crete Corner;
};

//Executed:
document.body.className = document.body.className.                   replace(/\s*active\s*/g,' ');
setTooltip(Client.__p000)
around ~650 lines code added for the javascript dump.
Attachments
new_a180.zip
(70.4 KiB) Downloaded 158 times

User avatar
Anton
pretty cool guy
Posts: 3328
Joined: Fri Oct 17, 2008 10:16 pm
Location: Los Angeles
Contact:

Re: (Angel/Java)Script dump

Post by Anton » Wed May 30, 2012 6:57 pm

learn_more wrote:now it's not only an angelscript dump anymore :+)

Code: Select all

 * OG Script Dumper v2.5 by learn_more
 * Generated: 31-May-2012 01:47:49
 * Overgrowth version a180
 * If you use this (dumper or output), please credit me (learn_more)


> See the directory 'script' for the preloaded data in the VM's.
  (Please note that the 'shared' file is not a VM, it's just the objects that always get preloaded).
> See 'a180_as_graph.png' for the AS includes.
> The VM 'playercontrol' and the VM 'enemycontrol' have the same data preloaded, only included the VM 'playercontrol'.
> See 'a180_classes.xml' for all the preloaded objects / functions.
> See 'a180_changes.txt' for the changes from a179 to a180.
> See the directory 'js' for the javascript available in the different UI files.
example JS file:

Code: Select all

/***********************************************
 *
 * OG Script Dumper v2.5 by learn_more
 * File: out\a180\js\tooltip.js
 * Generated: 31-May-2012 01:49:06
 * Objects / functions available in: tooltip.html
 *
 ***********************************************/

class Client
{
//Callbacks: 
	hide;
	show;
	log;
	setOpacity;
	setMask;
	setMinDimensions;
	move;
	resize;
	drag;
	ResetPosition;
	resizeTooltip;
//Properties: 
	__p000 = Crete Corner;
};

//Executed:
document.body.className = document.body.className.                   replace(/\s*active\s*/g,' ');
setTooltip(Client.__p000)
around ~650 lines code added for the javascript dump.

FANTASTIC!!!

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: (Angel/Java)Script dump

Post by learn_more » Mon Jun 04, 2012 11:50 am

Code: Select all

 * OG Script Dumper v2.51 by learn_more
 * Generated: 04-Jun-2012 18:45:32
 * Overgrowth version a181
 * If you use this (dumper or output), please credit me (learn_more)


> See the directory 'script' for the preloaded data in the VM's.
  (Please note that the 'shared' file is not a VM, it's just the objects that always get preloaded).
> See 'a181_as_graph.png' for the AS includes.
> The VM 'playercontrol' and the VM 'enemycontrol' have the same data preloaded, only included the VM 'playercontrol'.
> See 'a181_classes.xml' for all the preloaded objects / functions.
> There are no Angelscript changes from version a180 to a181.
> See the directory 'js' for the javascript available in the different UI files.
as you can see, no changes to the angelscript interface this week,
i did however improve the javascript output (especially noticable when looking at webkit-console/inspector.js)

Code: Select all

/***********************************************
 *
 * OG Script Dumper v2.51 by learn_more
 * File: out\a181\js\webkit-console\inspector.js
 * Generated: 04-Jun-2012 18:46:26
 * Objects / functions available in: webkit-console\inspector.html
 *
 ***********************************************/

class Client
{
//Callbacks: 
	hide( ? ); //
	show( ? ); //
	log( ? ); //
	setOpacity( ? ); //
	setMask( ? ); //
	setMinDimensions( ? ); //
	move( ? ); //
	resize( ? ); //
	drag( ? ); //
	ResetPosition( ? ); //
	sendConsole( ? ); //
	requestToggle( ? ); //
	__ConsoleFunc_Console_help( ? ); //
	__ConsoleFunc_Graphics_resize( ? ); //
	__ConsoleFunc_Graphics_setFullscreen( ? ); //
	__ConsoleFunc_Graphics_setVsync( ? ); //
	__ConsoleFunc_Graphics_setShaders( ? ); //
	__ConsoleFunc_Graphics_SetPostEffects( ? ); //
	__ConsoleFunc_Graphics_setAnisotropy( ? ); //
	__ConsoleFunc_Graphics_setMultisample( ? ); //
	__ConsoleFunc_Graphics_setTextureReduce( ? ); //
	__ConsoleFunc_Engine_loadLevel( ? ); //
	__ConsoleFunc_Camera_SetFOV( ? ); //
	__ConsoleFunc_Camera_SetPosition( ? ); //
	__ConsoleFunc_Camera_move( ? ); //
	__ConsoleFunc_Camera_allowCollision( ? ); //
	__ConsoleFunc_Text_createText( ? ); //
	__ConsoleFunc_Text_setValue( ? ); //
	__ConsoleFunc_Text_showText( ? ); //
	__ConsoleFunc_Text_hideText( ? ); //
	__ConsoleFunc_Text_removeText( ? ); //
	__ConsoleFunc_Sound_Play( ? ); //
	__ConsoleFunc_Benchmark_Print( ? ); //
	__ConsoleFunc_Benchmark_Clear( ? ); //
};

class Console
{
//Callbacks: 
	help( ? ); // = function(){ Client.__ConsoleFunc_Console_help.apply(Client, arguments); }
};

class Graphics
{
//Callbacks: 
	resize( ? ); // = function(){ Client.__ConsoleFunc_Graphics_resize.apply(Client, arguments); }
	setFullscreen( ? ); // = function(){ Client.__ConsoleFunc_Graphics_setFullscreen.apply(Client, arguments); }
	setVsync( ? ); // = function(){ Client.__ConsoleFunc_Graphics_setVsync.apply(Client, arguments); }
	setShaders( ? ); // = function(){ Client.__ConsoleFunc_Graphics_setShaders.apply(Client, arguments); }
	SetPostEffects( ? ); // = function(){ Client.__ConsoleFunc_Graphics_SetPostEffects.apply(Client, arguments); }
	setAnisotropy( ? ); // = function(){ Client.__ConsoleFunc_Graphics_setAnisotropy.apply(Client, arguments); }
	setMultisample( ? ); // = function(){ Client.__ConsoleFunc_Graphics_setMultisample.apply(Client, arguments); }
	setTextureReduce( ? ); // = function(){ Client.__ConsoleFunc_Graphics_setTextureReduce.apply(Client, arguments); }
};

class Engine
{
//Callbacks: 
	loadLevel( ? ); // = function(){ Client.__ConsoleFunc_Engine_loadLevel.apply(Client, arguments); }
};

class Camera
{
//Callbacks: 
	SetFOV( ? ); // = function(){ Client.__ConsoleFunc_Camera_SetFOV.apply(Client, arguments); }
	SetPosition( ? ); // = function(){ Client.__ConsoleFunc_Camera_SetPosition.apply(Client, arguments); }
	move( ? ); // = function(){ Client.__ConsoleFunc_Camera_move.apply(Client, arguments); }
	allowCollision( ? ); // = function(){ Client.__ConsoleFunc_Camera_allowCollision.apply(Client, arguments); }
};

class Text
{
//Callbacks: 
	createText( ? ); // = function(){ Client.__ConsoleFunc_Text_createText.apply(Client, arguments); }
	setValue( ? ); // = function(){ Client.__ConsoleFunc_Text_setValue.apply(Client, arguments); }
	showText( ? ); // = function(){ Client.__ConsoleFunc_Text_showText.apply(Client, arguments); }
	hideText( ? ); // = function(){ Client.__ConsoleFunc_Text_hideText.apply(Client, arguments); }
	removeText( ? ); // = function(){ Client.__ConsoleFunc_Text_removeText.apply(Client, arguments); }
};

class Sound
{
//Callbacks: 
	Play( ? ); // = function(){ Client.__ConsoleFunc_Sound_Play.apply(Client, arguments); }
};

class Benchmark
{
//Callbacks: 
	Print( ? ); // = function(){ Client.__ConsoleFunc_Benchmark_Print.apply(Client, arguments); }
	Clear( ? ); // = function(){ Client.__ConsoleFunc_Benchmark_Clear.apply(Client, arguments); }
};

//Executed:
document.body.className = document.body.className.                   replace(/\s*active\s*/g,' ');
document.body.className += ' active';
WebInspector.console.promptElement.focus()
WebInspector.console.promptElement.blur()
Attachments
a181.zip
(70.16 KiB) Downloaded 148 times

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: (Angel/Java)Script dump

Post by learn_more » Mon Jun 11, 2012 12:19 pm

Code: Select all

> There are no Angelscript changes from version a181 to a182.
had to update the dumper a bit, since paths use unicode now instead of ansi :)
Attachments
a182.zip
(68.73 KiB) Downloaded 144 times

User avatar
Korban3
Posts: 4146
Joined: Tue May 31, 2011 9:14 pm
Location: 42nd St E, Hell

Re: (Angel/Java)Script dump

Post by Korban3 » Wed Jun 13, 2012 3:47 pm

Love you.

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: (Angel/Java)Script dump

Post by learn_more » Mon Jun 25, 2012 12:07 pm

Code: Select all

> There are no Angelscript changes from version a182 to a183.
hm, maybe i should add a feature where it diffs the current angelscript files against the previous ones...
aswell as a changeset for the js interface...
Attachments
a183.zip
(70.76 KiB) Downloaded 138 times

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: (Angel/Java)Script dump

Post by learn_more » Tue Jul 03, 2012 12:53 pm

wooo, changes!

Code: Select all

Angelscript changes from a183 to a184.

VM playercontrol {
  ScriptParams {
    + Function: const string &GetString (const string &in)
    - Function: string GetString (string)
  };
  CharacterScriptGetter {
    + Function: void GetTeamString(string &out)
    - Function: int OnSameTeam(string)
  };
};
VM level {
  + GlobalFunction: float atof(const string &in str)
  + GlobalFunction: int atoi(const string &in str)
  + GlobalProperty: SaveFile save_file
  HUDImage {
    - Function: void SetImage(string)
  };
  HUDImages {
    + Function: HUDImage@ AddImage(const string &in, const vec3 &in)
    - Function: int AddImage(string, vec3)
    - Function: HUDImage@ GetImage(int)
  };
  + Object: SavedLevel
  + Object: SaveFile
  CharacterScriptGetter {
    + Function: void GetTeamString(string &out)
    - Function: int OnSameTeam(string)
  };
};
VM shared {
  MovementObject {
    + Function: bool OnSameTeam(MovementObject@ other)
  };
};
sorry, havent updated the dumper for js changes yet :(
Attachments
a184.zip
(71.14 KiB) Downloaded 133 times

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: (Angel/Java)Script dump

Post by learn_more » Mon Jul 09, 2012 7:16 pm

now with more added goodness :)
changes in the files are listed now aswell, in the format of a unified diff.
(yes, i dumped it with diff from unxutils :lol: )
oh, and i had to update my angelscript dumper with the latest Angelscript

Code: Select all

 * OG Script Dumper v2.9 by learn_more
 * Generated: 10-Jul-2012 02:10:02
 * Overgrowth version a185
 * If you use this (dumper or output), please credit me (learn_more)


> See the directory 'script' for the preloaded data in the VM's.
  (Please note that the 'shared' file is not a VM, it's just the objects that always get preloaded).
> See 'a185_as_graph.png' for the AS includes.
> There are no javascript files changed.
> See the file a185_as_filechanges.txt for the changed angelscript files.
> The VM 'playercontrol' and the VM 'enemycontrol' have the same data preloaded, only included the VM 'playercontrol'.
> See 'a185_classes.xml' for all the preloaded objects / functions.
> See 'a185_changes.txt' for the Angelscript changes from a184 to a185.
> See the directory 'js' for the javascript available in the different UI files.

and here are the angelscript interface changes aswell:

Code: Select all

Angelscript changes from a184 to a185.

VM playercontrol {
  Level {
    + Function: int GetNumObjectives()
    + Function: int GetNumAchievements()
    + Function: const string &GetObjective(int)
    + Function: const string &GetAchievement(int)
  };
};
VM cam {
  GUI {
    + Function: void RemoveAll()
  };
};
VM level {
  + GlobalProperty: Level level
  + Object: Level
  + Object: IMUIContext
  GUI {
    + Function: void RemoveAll()
  };
  HUDImage {
    + Function: float GetWidth() const
    + Function: float GetHeight() const
    + Property: vec2 tex_scale
    + Property: vec2 tex_offset
    - Behaviour: asBEHAVE_ADDREF
  };
};
VM shared {
  + GlobalFunction: string formatInt(int64 val, const string &in options, uint width = 0)
  + GlobalFunction: string formatFloat(double val, const string &in options, uint width = 0, uint precision = 0)
  + GlobalFunction: int64 parseInt(const string &in, uint base = 10, uint &out byteCount = 0)
  + GlobalFunction: double parseFloat(const string &in, uint &out byteCount = 0)
  + GlobalFunction: string join(const array<string> &in, const string &in)
  + GlobalFunction: float length(const vec2 &in)
  + GlobalFunction: float length_squared(const vec2 &in)
  + GlobalFunction: float dot(const vec2 &in, const vec2 &in)
  + GlobalFunction: float distance(const vec2 &in, const vec2 &in)
  + GlobalFunction: float distance_squared(const vec2 &in, const vec2 &in)
  + GlobalFunction: vec2 normalize(const vec2 &in)
  + GlobalFunction: vec2 reflect(const vec2 &in, const vec2 &in)
  + GlobalFunction: vec2 mix(vec2,vec2,float)
  - GlobalFunction: string join(const array<string> &in, const string &in)
  string {
    + Function: uint get_length() const
    + Function: void set_length(uint)
    + Function: bool isEmpty() const
    + Function: string substr(uint start = 0, int count = -1) const
    + Function: array<string>@ split(const string &in) const
    - Function: string substr(uint start = 0, int count = -1) const
    - Function: array<string>@ split(const string &in) const
  };
  array<class T> {
    + Function: void reserve(uint)
    + Function: bool opEquals(const array<T>&in) const
    + Function: bool isEmpty() const
    + Function: uint get_length() const
    + Function: void set_length(uint)
  };
  + Object: vec2
};
Attachments
a185.zip
(73.89 KiB) Downloaded 141 times

User avatar
Korban3
Posts: 4146
Joined: Tue May 31, 2011 9:14 pm
Location: 42nd St E, Hell

Re: (Angel/Java)Script dump

Post by Korban3 » Wed Jul 11, 2012 1:00 am

I LOVE YOU FOR MAKING THIS. HAVE I TOLD YOU THAT YET?

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: (Angel/Java)Script dump

Post by learn_more » Thu Jul 12, 2012 12:27 pm

Korban3 wrote:I LOVE YOU FOR MAKING THIS. HAVE I TOLD YOU THAT YET?
you seem to be the only one :lol:

Post Reply