-
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Opacity effect and missile in options (#676)
* feat: Opacity effect and missile in options issue of "roriscrave" in otland * OTC naming convention OTC naming convention * test review conde2 - with bug (opacity in tile) * fix: capital letter * line * Update modules/client_options/general.otui Co-authored-by: Caio Santoro dos Santos <61211407+csantbr@users.noreply.github.com> * Fix: Opacity tile --------- Co-authored-by: Caio Santoro dos Santos <61211407+csantbr@users.noreply.github.com>
- Loading branch information
Showing
6 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ | |
#include <framework/platform/platform.h> | ||
#include <framework/stdext/net.h> | ||
#include <framework/util/crypt.h> | ||
#include <client/client.h> | ||
|
||
#ifdef FRAMEWORK_GRAPHICS | ||
#include "framework/graphics/particleeffect.h" | ||
|
@@ -322,6 +323,11 @@ void Application::registerLuaFunctions() | |
g_lua.bindSingletonFunction("g_app", "setCreatureInformationScale", &GraphicalApplication::setCreatureInformationScale, &g_app); | ||
g_lua.bindSingletonFunction("g_app", "setAnimatedTextScale", &GraphicalApplication::setAnimatedTextScale, &g_app); | ||
g_lua.bindSingletonFunction("g_app", "setStaticTextScale", &GraphicalApplication::setStaticTextScale, &g_app); | ||
|
||
// Client | ||
g_lua.registerSingletonClass("g_client"); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
kokekanon
Author
Collaborator
|
||
g_lua.bindSingletonFunction("g_client", "setEffectAlpha", &Client::setEffectAlpha, &g_client); | ||
g_lua.bindSingletonFunction("g_client", "setMissileAlpha", &Client::setMissileAlpha, &g_client); | ||
|
||
// PlatformWindow | ||
g_lua.registerSingletonClass("g_window"); | ||
|
These should be registered in the client
luafunctions.h
rather than framework