A Cross-Platform Danmaku Game Engine.
Working in progress
See documentation for more details.
A Cross-Platform Danmaku Game Engine.
License: Other
A Cross-Platform Danmaku Game Engine.
Working in progress
See documentation for more details.
LuaSTGPlus/LuaSTGPlus/LuaWrapper.cpp
Line 243 in ab549a0
::max
is not needed here:
lua_pushinteger(L, a + static_cast<fInt>(p->GetRandUInt(static_cast<fuInt>(b - a))));
But I think this is clearer:
lua_pushinteger(L, ::min(a, b) + p->GetRandUInt(::abs(b - a)));
Severity Code Description Project File Line Suppression State
Error C1083 Cannot open include file: 'fcyIO/fcyStream.h': No such file or directory LuaSTGPlus c:\users\ch3coohlink\desktop\luastgplus\luastgplus\global.h 30
win10,64位, clone最新仓库. 使用VS2019 打开文件夹方式打开项目. cmake解决package安装后遇到了如下报错.
1> [CMake] [2/7] Performing patch step for 'mojoal-populate'
1> [CMake] FAILED: mojoal-populate-prefix/src/mojoal-populate-stamp/mojoal-populate-patch
1> [CMake] error: corrupt patch at line 11
1> [CMake] ninja: build stopped: subcommand failed.
我要修改patch吗? 该怎么改?
我的mojoal.c:
` #include <math.h> //11行
#include <float.h>
/* Unless compiling statically into another app, we want the public API
to export on Windows. Define these before including al.h, so we override
its attempt to mark these as dllimport
. */
#if defined(_WIN32) && !defined(AL_LIBTYPE_STATIC)
#define AL_API __declspec(dllexport)
#define ALC_API __declspec(dllexport)
#endif
#ifndef M_PI`
您好,@9chu 先生,恕我直言,legacy分支使用的是BSD Lisence,但是它没有说明是哪个BSD许可证,git存储库的legacy分支也没有附带许可协议。虽然所有的BSD许可证都是开源许可证,但是我觉得既然2.0使用的是MIT许可证的话,那是不是应该给所有的分支更换成同样的许可协议不是更好吗?希望能得到您的回复。
LuaSTGPlus/LuaSTGPlus/CollisionDetect.cpp
Lines 158 to 172 in ab549a0
// 检查边碰撞
if (fabs(tCircleCenterProjValue[0] - tProjValue[0]) < tAxisLen[0] / 2.f)
{
return fabs(tCircleCenterProjValue[1] - tProjValue[1]) < tAxisLen[1] / 2.f + R;
}
else if (fabs(tCircleCenterProjValue[1] - tProjValue[1]) < tAxisLen[1] / 2.f)
{
return fabs(tCircleCenterProjValue[0] - tProjValue[0]) < tAxisLen[0] / 2.f + R;
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.