Steve Grenier
|
bcf4fd0242
Added public methods on ScriptController for registering and unregistering global script callback functions (i.e. initiailze, finalize, update, render, touchEvent, keyEvent, etc). Multiple registered functions per callback are now supported and scripts can register themselves.
|
před 13 roky |
sgrenier
|
9a0d34dde2
Renamed Game::resized to Game::resizeEvent to be more consistent with other game events.
|
před 13 roky |
Darryl Gough
|
77addbf0fb
Added a lua function "convert" to convert a userdata value to another gameplay class type.
|
před 13 roky |
Ken Whatmough
|
1c01268333
Update description of contactIndex now that all platforms return indices, not hashes. Undoes a385f9c723.
|
před 13 roky |
Ken Whatmough
|
e81ff02f1c
Rework description of contactIndex to better suit all platforms.
|
před 13 roky |
Darryl Gough
|
501334387d
Fixed spelling mistakes
|
před 13 roky |
setaylor
|
1185a57bbb
Minor changes to move #include <queue> to Base.h
|
před 13 roky |
Darryl Gough
|
c5ee684b9f
Removed ScriptController methods for querying types and setNil().
|
před 13 roky |
Darryl Gough
|
019713776b
Added methods to ScriptController to query global variables.
|
před 13 roky |
Steve Grenier
|
9c19d44567
Fixed issue where Lua bindings for overloaded functions with the same number of parameters could be forwarded to the incorrect function.
|
před 13 roky |
Darryl Gough
|
73ad70d735
Fixed spelling mistakes in source code comments.
|
před 13 roky |
Darryl Gough
|
1c7a3c6fbf
Converted tabs to spaces.
|
před 13 roky |
Darryl Gough
|
4e31ded1d5
Changed methods in ScriptController to pass vectors by reference instead of by value.
|
před 13 roky |
setaylor
|
2193c8bee8
Updated the api-docs and regenerated the lua bindings for gesture support.
|
před 13 roky |
Steve Grenier
|
348b3d89db
Fixes a couple issues from previous check-in in ScriptController:
|
před 13 roky |
Steve Grenier
|
31ae00ce14
Fixed a number of memory leaks in the Lua scripting system where memory for objects or arrays passed from Lua to C was not being cleaned up properly.
|
před 13 roky |
Darryl Gough
|
356ab9e809
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
|
před 13 roky |
Darryl Gough
|
69fc8b07c0
Added some @script{create} tags.
|
před 13 roky |
Darryl Gough
|
c6dce31cfe
Fixed the print function in Lua.
|
před 13 roky |
Darryl Gough
|
9e2309ced5
Fixed spelling mistakes in the gameplay header files.
|
před 13 roky |
Chris Culy
|
20afed09b8
Added support for users to generate Lua script bindings for their own classes (with integration into gameplay).
|
před 13 roky |
Chris Culy
|
00e82485f6
Added the ScriptTarget class, which any class can derive from in order to allow Lua scripts to interact with it (see the class for more information).
|
před 13 roky |
Chris Culy
|
648dd5474d
Refactored all gameplay begin() member functions to start() (to match with the API change of end() to finish()).
|
před 13 roky |
Chris Culy
|
39280b9f59
Refactored ScriptController's interface to be more clean (moved utility functions that are only used by the generated bindings outside ScriptController into the ScriptUtil namespace).
|
před 13 roky |
Chris Culy
|
bb658af28e
Updated BB10 projects to work with Lua script support.
|
před 13 roky |
Chris Culy
|
c4ce16d97f
Fixed doxygen warnings.
|
před 13 roky |
Chris Culy
|
c8e7975bd9
Fixed a bug in generating bindings for overloaded inherited functions.
|
před 13 roky |
Chris Culy
|
29099b6987
Fix for enumerations in Lua scripts so that passing enums from C++ to Lua works properly.
|
před 13 roky |
Chris Culy
|
ea822b6aa3
Adds support for setting up material parameter bindings to Node methods from Lua scripts.
|
před 13 roky |
Chris Culy
|
7e9c449ffc
Fixed another bug with boolean Lua stack values.
|
před 13 roky |