Skip to content

Instantly share code, notes, and snippets.

{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+"],
"working_dir": "${file_path}",
"file_regex": "^([^\\.]+\\.pwn)\\((\\d+)\\)() : (.*)$",
"variants": [
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+", "-l"],
"working_dir": "${file_path}",
"name": "Preprocessed output"
},
#if !defined RUN_TESTS
#endinput
#endif
#undef _inc_ut_mock_players
#include <a_samp>
#include <YSI\y_testing>
#include <YSI\y_utils>
diff --git a/openfl/display/BitmapData.hx b/openfl/display/BitmapData.hx
index 55a2209..01eeff2 100644
--- a/openfl/display/BitmapData.hx
+++ b/openfl/display/BitmapData.hx
@@ -484,6 +484,14 @@ class BitmapData implements IBitmapDrawable {
renderSession.maskManager.pushRect (clipRect, new Matrix ());
}
+
+ var blendModeCache = renderSession.blendModeManager.currentBlendMode;
Entering 'project/lib/cairo'
diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c
index e0843ae..2e598f0 100644
--- a/src/cairo-ft-font.c
+++ b/src/cairo-ft-font.c
@@ -69,7 +69,9 @@
#if HAVE_UNISTD_H
#include <unistd.h>
#else
-#define access(p, m) 0
- Compiling group 'lime' with flags -Iinclude -Ilib/cairo/include -Ilib/cairo/include/configs/linux/ -DLIME_CAIRO -DHAVE_CONFIG_H -DCAIRO_HAS_FT_FONT -Ilib/curl/include/ -DLIME_CURL -DCURL_STATICLIB -Ilib/jpeg/ -DLIME_JPEG -Ilib/freetype/include -DLIME_FREETYPE -Ilib/harfbuzz/src -DLIME_HARFBUZZ -Ilib/lzma/src -DLIME_LZMA -Ilib/ogg/include/ -Ilib/vorbis/include/ -DLIME_OGG -Ilib/openal/include/ -DLIME_OPENAL -DAL_LIBTYPE_STATIC=1 -DLIME_OPENGL -Ilib/png/ -Ilib/zlib/ -DLIME_PNG -Ilib/sdl/include/ -Ilib/sdl/include/configs/linux/ -DHAVE_LIBC -DLIME_SDL -DLIME_ZLIB -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=0(haxe) -m32 -I/usr/lib/haxe/lib/hxcpp/3,3,49/include tags=[haxe,static]
- Compile: src/ExternalInterface.cpp
- Compile: src/graphics/cairo/CairoBindings.cpp
- Compile: src/net/curl/CURLBindings.cpp
- Compile: src/graphics/format/JPEG.cpp
- Compile: src/text/Font.cpp
- Compile: src/text/TextLayout.cpp
- Compile: src/utils/compress/LZMA.cpp
- Compile
- Compiling group 'lime' with flags -Iinclude -Ilib/cairo/include -Ilib/cairo/include/configs/windows/ -DLIME_CAIRO -DHAVE_CONFIG_H -DCAIRO_WIN32_STATIC_BUILD -DCAIRO_HAS_FT_FONT -Ilib/curl/include/ -DLIME_CURL -DCURL_STATICLIB -Ilib/jpeg/ -DLIME_JPEG -Ilib/freetype/include -DLIME_FREETYPE -Ilib/harfbuzz/src -DLIME_HARFBUZZ -Ilib/lzma/src -DLIME_LZMA -Ilib/nfd/src/include/ -DLIME_NFD -Ilib/ogg/include/ -Ilib/vorbis/include/ -DLIME_OGG -Ilib/openal/include/ -DLIME_OPENAL -DAL_LIBTYPE_STATIC=1 -DLIME_OPENGL -Ilib/png/ -Ilib/zlib/ -DLIME_PNG -Ilib/sdl/include/ -Ilib/sdl/include/configs/windows/ -DHAVE_LIBC -DLIME_SDL -DLIME_ZLIB -nologo /WX- /fp:precise -DHX_WINDOWS -D_USING_V140_SDK71_ -GR -O2(optim-std) -Zi(debug) -FdD:\Dev\lime\project\obj/msvc19xp/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -FS -Oy- -c -EHs -GS- -arch:SSE -ID:/Programs/Haxe/haxe/lib/hxcpp/3,3,49/include -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=0(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG
package;
import nape.util.BitmapDebug;
import nape.util.Debug;
import nape.phys.Body;
import nape.phys.BodyType;
import nape.shape.Circle;
import nape.shape.Polygon;
import nape.geom.Vec2;
import nape.space.Space;
diff --git a/src/edge/core/macro/BuildSystem.hx b/src/edge/core/macro/BuildSystem.hx
index 1cf3887..a5ab3eb 100644
--- a/src/edge/core/macro/BuildSystem.hx
+++ b/src/edge/core/macro/BuildSystem.hx
@@ -14,6 +14,9 @@ class BuildSystem {
macro public static function complete() : Array<Field> {
var fields = Context.getBuildFields(),
type = Context.getLocalClass().get();
+ #if openfl
+ if (type.name == "DocumentClass") return fields;
@Misiur
Misiur / PawnALS
Last active January 4, 2016 17:09
Sublime snippet for PAWN ALS functions
<snippet>
<content><![CDATA[
stock ${1:Prefix}_${2:Function}(${3:Tag:}${4:arg_1}${5:[optional]}${6:, }${7:Tag:}${8:arg_2}${9:[optional]}${10:, }${11:Tag:}${12:arg_3}${13:[optional]})
{
${2}(${4}${6}${8}${10}${12});
return 1;
}
#if defined _ALS_${2}
#undef ${2}
#else
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[22:59:04]