id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
748,412 | ypatank.cpp | Marisa-Chan_UA_source/src/ypatank.cpp | #include <inttypes.h>
#include <stdio.h>
#include <stddef.h>
#include <string.h>
#include <math.h>
#include "yw.h"
#include "ypatank.h"
#include "yparobo.h"
#include "log.h"
#include "yw_net.h"
NC_STACK_ypatank::NC_STACK_ypatank()
{
_tankFlags = 0;
_tankWaitCount = 0;
_tankCollisionAngle = 0.;
_tankCo... | 64,165 | C++ | .cpp | 1,769 | 20.792538 | 144 | 0.403104 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,413 | ypaflyer.cpp | Marisa-Chan_UA_source/src/ypaflyer.cpp | #include <inttypes.h>
#include <stdio.h>
#include <stddef.h>
#include <string.h>
#include "yw.h"
#include "ypaflyer.h"
#include "log.h"
#include <math.h>
size_t NC_STACK_ypaflyer::Init(IDVList &stak)
{
if ( !NC_STACK_ypabact::Init(stak) )
return 0;
for( auto& it : stak )
{
IDVPair &val = i... | 28,854 | C++ | .cpp | 873 | 20.36197 | 141 | 0.4282 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,414 | button.cpp | Marisa-Chan_UA_source/src/button.cpp | #include <inttypes.h>
#include "includes.h"
#include "nucleas.h"
#include "button.h"
#include "utils.h"
#include "system/gfx.h"
#include "system/inpt.h"
#include "font.h"
size_t NC_STACK_button::Init(IDVList &stak)
{
if ( !NC_STACK_nucleus::Init(stak) )
return 0;
field_19F = 97;
field_1A0 = 115;... | 22,116 | C++ | .cpp | 741 | 20.468286 | 149 | 0.48595 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,415 | bmpAnm.cpp | Marisa-Chan_UA_source/src/bmpAnm.cpp | #include "includes.h"
#include "nucleas.h"
#include "rsrc.h"
#include "bitmap.h"
#include "bmpAnm.h"
#include "utils.h"
size_t NC_STACK_bmpanim::Init(IDVList &stak)
{
// if (stak)
// {
// IDVList::iterator it = stak->find(BANM_ATT_NAME);
// if ( it != stak.end() )
// (*it).id = RSRC_AT... | 14,837 | C++ | .cpp | 525 | 20.327619 | 168 | 0.530392 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,416 | nucleas.cpp | Marisa-Chan_UA_source/src/nucleas.cpp | #include "includes.h"
#include "nucleas.h"
#include "utils.h"
namespace Nucleus
{
TClassList TClassList::Instance;
TClassList::iterator TClassList::find(const std::string &clsname)
{
for(iterator it = begin(); it != end(); it++)
{
if (!StriCmp(clsname, it->_classname) )
return it;
}
... | 4,407 | C++ | .cpp | 182 | 16.620879 | 78 | 0.517904 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,417 | loaders.cpp | Marisa-Chan_UA_source/src/loaders.cpp |
#include "loaders.h"
#include "utils.h"
#include "image.h"
#include "ilbm.h"
#include "3ds.h"
#include "obj3d.h"
namespace Utils
{
NC_STACK_bitmap *ProxyLoadImage(IDVList &stak)
{
std::string name = stak.Get<std::string>(NC_STACK_rsrc::RSRC_ATT_NAME, "");
size_t pos = name.rfind('.');
if (pos != std:... | 1,333 | C++ | .cpp | 44 | 25 | 79 | 0.603639 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,418 | iwimp.cpp | Marisa-Chan_UA_source/src/iwimp.cpp | #include <inttypes.h>
#include "includes.h"
#include "nucleas.h"
#include "system/inpt.h"
#include "iwimp.h"
#include "utils.h"
| 132 | C++ | .cpp | 6 | 20.333333 | 24 | 0.745902 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,419 | utils.cpp | Marisa-Chan_UA_source/src/utils.cpp | #include <algorithm>
#include "includes.h"
#include "utils.h"
#include "inttypes.h"
#include "crc32.h"
#include "env.h"
#include <SDL2/SDL_timer.h>
int read_yes_no_status(const std::string &file, int result)
{
FSMgr::FileHandle *fil = uaOpenFileAlloc(file, "r");
if ( fil )
{
std::string line;
... | 4,550 | C++ | .cpp | 163 | 23.717791 | 95 | 0.624105 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,420 | server_session.cpp | Marisa-Chan_UA_source/src/netlib/server_session.cpp | #include "zndNet.h"
namespace ZNDNet
{
NetSession *ZNDServer::SessionFind(uint64_t _ID)
{
if (_ID == 0)
return NULL;
if (_ID == sLobby.ID)
return &sLobby;
NetSessionMap::iterator fnd = sessions.find(_ID);
if (fnd != sessions.end())
return fnd->second;
return NULL;
}
Net... | 4,954 | C++ | .cpp | 165 | 21.242424 | 116 | 0.536323 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,421 | single_threads.cpp | Marisa-Chan_UA_source/src/netlib/single_threads.cpp | #include "zndNet.h"
namespace ZNDNet
{
int ZNDSingle::_RecvThread(void *data)
{
ZNDSingle *_this = (ZNDSingle *)data;
UDPpacket *inpkt[ZNDNET_TUNE_MAXPKTS + 1];
if (_this)
{
for (int i = 0; i < ZNDNET_TUNE_MAXPKTS; i++)
{
inpkt[i] = new UDPpacket;
inpkt[i]->da... | 8,821 | C++ | .cpp | 221 | 21.140271 | 128 | 0.390332 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,422 | client.cpp | Marisa-Chan_UA_source/src/netlib/client.cpp | #include "zndNet.h"
namespace ZNDNet
{
ZNDClient::ZNDClient(const std::string &servstring)
: ZNDNet(servstring)
{
cSessionsReqTimeNext = 0;
cME.status = NetUser::STATUS_DISCONNECTED;
eStatus = 0;
}
Pkt *ZNDClient::Recv_PreparePacket(InRawPkt *pkt)
{
if (!pkt->Parse())
{
// Incorrect packe... | 17,386 | C++ | .cpp | 527 | 22.73814 | 111 | 0.521536 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,423 | single.cpp | Marisa-Chan_UA_source/src/netlib/single.cpp | #include "zndNet.h"
namespace ZNDNet
{
ZNDSingle::ZNDSingle(const std::string &servstring)
: ZNDNet(servstring), users(ZNDNET_SES_USERS_MAX)
{
eStatus = 0;
}
void ZNDSingle::Start(const std::string &name, uint16_t port, const std::string &sname, uint32_t max_players)
{
mode = MODE_SINGLE;
sock = SDLNet_U... | 16,765 | C++ | .cpp | 510 | 20.923529 | 147 | 0.465051 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,424 | server.cpp | Marisa-Chan_UA_source/src/netlib/server.cpp | #include "zndNet.h"
#include "errcode.h"
namespace ZNDNet
{
ZNDServer::ZNDServer(const std::string &servstring)
: ZNDNet(servstring), users(ZNDNET_USERS_MAX)
{
}
Pkt *ZNDServer::Recv_PreparePacket(InRawPkt *pkt)
{
if (!pkt->Parse())
{
// Incorrect packet
delete pkt;
return NULL;
}... | 17,315 | C++ | .cpp | 494 | 19.805668 | 143 | 0.408609 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,425 | server_threads.cpp | Marisa-Chan_UA_source/src/netlib/server_threads.cpp | #include "zndNet.h"
namespace ZNDNet
{
int ZNDServer::_RecvThread(void *data)
{
ZNDServer *_this = (ZNDServer *)data;
UDPpacket *inpkt[ZNDNET_TUNE_MAXPKTS + 1];
if (_this)
{
for (int i = 0; i < ZNDNET_TUNE_MAXPKTS; i++)
{
inpkt[i] = new UDPpacket;
inpkt[i]->da... | 8,580 | C++ | .cpp | 215 | 20.781395 | 128 | 0.383245 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,426 | client_threads.cpp | Marisa-Chan_UA_source/src/netlib/client_threads.cpp | #include "zndNet.h"
namespace ZNDNet
{
int ZNDClient::_RecvThread(void *data)
{
ZNDClient *_this = (ZNDClient *)data;
UDPpacket *inpkt[ZNDNET_TUNE_MAXPKTS + 1];
if (_this)
{
for (int i = 0; i < ZNDNET_TUNE_MAXPKTS; i++)
{
inpkt[i] = new UDPpacket;
inpkt[i]->da... | 8,796 | C++ | .cpp | 219 | 20.990868 | 128 | 0.383875 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,427 | zndNet.cpp | Marisa-Chan_UA_source/src/netlib/zndNet.cpp | #include "zndNet.h"
#include <regex>
namespace ZNDNet
{
ZNDNet::ZNDNet(const std::string &servstring)
{
mode = MODE_UNKNOWN;
servString = servstring;
threadsEnd = true;
updateThread = NULL;
recvThread = NULL;
recvPktListMutex = SDL_CreateMutex();
sendThread = NULL;
sendPktListMute... | 19,447 | C++ | .cpp | 657 | 21.649924 | 114 | 0.557882 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,428 | analyzer.cpp | Marisa-Chan_UA_source/src/world/analyzer.cpp | #include "analyzer.h"
#include "../yw.h"
#include "../yparobo.h"
#include "../yw_internal.h"
#include "locale/locale.h"
extern bzd bzda;
namespace World
{
std::string GameAnalyzer::Analyze(NC_STACK_ypaworld *world)
{
if (IsHSAttacked(world))
{
if (IsHSLowHP(world))
{
if (IsHasBa... | 9,433 | C++ | .cpp | 312 | 22.589744 | 95 | 0.572378 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,429 | saveparsers.cpp | Marisa-Chan_UA_source/src/world/saveparsers.cpp | #include "saveparsers.h"
#include "../fmtlib/core.h"
#include "../fmtlib/printf.h"
#include "../yw.h"
#include "../yparobo.h"
#include "../log.h"
#include "history.h"
extern uint32_t dword_5A7A80;
extern uint32_t bact_id;
namespace World
{
namespace Parsers
{
NC_STACK_yparobo *SaveBact::_lastRobo = NULL;
NC_STACK_yp... | 23,060 | C++ | .cpp | 766 | 21.395561 | 126 | 0.506932 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,430 | luaevents.cpp | Marisa-Chan_UA_source/src/world/luaevents.cpp | #include "luaevents.h"
#include "../yw.h"
#include "../yw_internal.h"
extern int dword_5C8B78;
extern GuiList exit_menu;
extern tehMap robo_map;
namespace World
{
LuaEvents:: UnitIter::UnitIter(RefBactList &lst)
: Lst(lst)
{
It = Lst.begin();
}
bool LuaEvents:: UnitIter::IsEnd() const
{
return It == Lst... | 11,984 | C++ | .cpp | 397 | 24.458438 | 89 | 0.625258 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,431 | protos.cpp | Marisa-Chan_UA_source/src/world/protos.cpp | #include "protos.h"
#include "../env.h"
#include "../utils.h"
#include "../log.h"
#include "../wav.h"
#include "../ypabact.h"
namespace World
{
uint8_t DestFX::ParseTypeName(const std::string &in)
{
if ( !StriCmp(in, "death") )
return FX_DEATH;
if ( !StriCmp(in, "megadeth") )
return FX_MEG... | 3,067 | C++ | .cpp | 102 | 21.098039 | 130 | 0.525207 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,432 | parsers.cpp | Marisa-Chan_UA_source/src/world/parsers.cpp | #include "parsers.h"
#include "../fmtlib/core.h"
#include "../fmtlib/printf.h"
#include "../yw.h"
#include "../yparobo.h"
#include "../ypaflyer.h"
#include "../ypacar.h"
#include "../log.h"
namespace World
{
namespace Parsers
{
bool UserParser::ReadUserNameFile(const std::string &filename)
{
if ( !_o._GameShell... | 103,545 | C++ | .cpp | 3,291 | 23.397448 | 147 | 0.525071 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,433 | nparticle.cpp | Marisa-Chan_UA_source/src/world/nparticle.cpp | #include "nparticle.h"
#include "../system/inivals.h"
#include "../skeleton.h"
#include "../ade.h"
#include "../particle.h"
#include "../base.h"
namespace World
{
ParticleSystem::ParticleSystem()
{
}
void ParticleSystem::AddParticle(NC_STACK_particle *base, const vec3d& pos, const vec3d& vec, int32_t age)
{
... | 4,522 | C++ | .cpp | 113 | 29.725664 | 106 | 0.566465 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,434 | tools.cpp | Marisa-Chan_UA_source/src/world/tools.cpp | #include "tools.h"
#include "../loaders.h"
namespace World {
static bool bAllowMods = false;
static bool bAllowModsWarning = true;
Common::PlaneBytes GetPlaneBytesFromBitmap(NC_STACK_bitmap *bitmap)
{
Common::PlaneBytes plane;
if (!bitmap)
return plane;
ResBitmap * ibitm = bitm... | 1,837 | C++ | .cpp | 57 | 25.947368 | 180 | 0.646954 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,435 | default.cpp | Marisa-Chan_UA_source/src/locale/default.cpp | #include "default.h"
#include "common/common.h"
namespace Locale {
// 600
std::string DefaultStrings::YouPlay = "YOU PLAY";
// 651
std::string DefaultStrings::WaitingForPlayers = "WAITING FOR PLAYERS: ";
std::array<std::string, CMN_MAX> DefaultStrings::Commons = Common::ArrayInit<std::string, CMN_MAX>(
{ ... | 26,245 | C++ | .cpp | 632 | 36.746835 | 111 | 0.63456 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,436 | locale.cpp | Marisa-Chan_UA_source/src/locale/locale.cpp | #include "locale.h"
#include "world/consts.h"
#include "system/fsmgr.h"
#include "utils.h"
namespace Locale {
std::string Text::_localeName;
std::vector<std::string> Text::_localeStrings(World::CVLocaleStringsNumber);
void Text::SetLangDefault()
{
for( std::string &s : _localeStrings )
s.clear();
_... | 2,790 | C++ | .cpp | 79 | 21.835443 | 78 | 0.439388 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,437 | gfx.cpp | Marisa-Chan_UA_source/src/system/gfx.cpp | #include "../fmtlib/printf.h"
#include <SDL2/SDL_opengl.h>
#if defined(__APPLE__) && defined(__MACH__)
#include <OpenGL/glext.h>
#else
#include <GL/glext.h>
#include <queue>
#endif
#include "gfx.h"
#include "../utils.h"
#include "common/common.h"
#include "../ini.h"
#include "../gui/root.h"
#include "../bitmap.h"
#in... | 113,046 | C++ | .cpp | 3,471 | 22.785364 | 233 | 0.523567 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,438 | movie.cpp | Marisa-Chan_UA_source/src/system/movie.cpp | extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavutil/imgutils.h>
#include <libswscale/swscale.h>
#include <libswresample/swresample.h>
}
#include "movie.h"
#include "fsmgr.h"
#if defined(__APPLE__) && defined(__MACH__)
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#end... | 20,883 | C++ | .cpp | 543 | 27.267035 | 175 | 0.536637 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,439 | glfuncs.cpp | Marisa-Chan_UA_source/src/system/glfuncs.cpp | #include "glfuncs.h"
#include <stdexcept>
namespace GFX
{
PFNGLGENFRAMEBUFFERSPROC Glext::GLGenFramebuffers = NULL;
PFNGLBINDFRAMEBUFFERPROC Glext::GLBindFramebuffer = NULL;
PFNGLGENRENDERBUFFERSPROC Glext::GLGenRenderbuffers = NULL;
PFNGLBINDRENDERBUFFERPROC Glext::GLBindRenderbuffer = NULL;
PFNGLFRAMEBUFFERTEXTUR... | 6,753 | C++ | .cpp | 137 | 45.671533 | 105 | 0.816725 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,440 | fsmgr.cpp | Marisa-Chan_UA_source/src/system/fsmgr.cpp | #include <string.h>
#include <stdarg.h>
#include <inttypes.h>
#if defined(WIN32) && !defined(__WINE__)
#include <windows.h>
#else
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <unistd.h>
#endif
#include "fsmgr.h"
#include "../utils.h"
namespace FSMgr
{
#if defined(WIN32) && !defined(_... | 25,498 | C++ | .cpp | 1,007 | 19.336643 | 116 | 0.537297 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,441 | inivals.cpp | Marisa-Chan_UA_source/src/system/inivals.cpp | #include "inivals.h"
namespace System
{
Common::Ini::PKeyList IniConf::_varList;
// Win3d Class
Common::Ini::Key IniConf::GfxDither("gfx.dither", Common::Ini::KT_BOOL);
Common::Ini::Key IniConf::GfxFilter("gfx.filter", Common::Ini::KT_BOOL);
Common::Ini::Key IniConf::GfxAntialias("gfx.antialias", Common::Ini::KT_BOO... | 19,460 | C++ | .cpp | 372 | 47.295699 | 105 | 0.690189 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,442 | stdshdr.cpp | Marisa-Chan_UA_source/src/system/stdshdr.cpp |
#include "gfx.h"
namespace GFX
{
const std::string GFXEngine:: _stdPShaderText =
"\
#version 140\n\
layout(std140) uniform Parameters\
{\
mat4 MProj;\
mat4 MView;\
vec3 Fog;\
vec3 AlphaFog;\
bool Textured;\
bool Flat;\
bool ATest;\
};\
uniform sampler2D texture;\
in vec4 smoothColor;\
fla... | 1,547 | C++ | .cpp | 76 | 16.697368 | 79 | 0.605461 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,443 | inpt.cpp | Marisa-Chan_UA_source/src/system/inpt.cpp | #include "common/common.h"
#include "../ini.h"
#include "../log.h"
#include "inpt.h"
#include "inivals.h"
#include "winp.h"
namespace Input{
INPEngine INPEngine::Instance;
int INPEngine::Init()
{
NC_STACK_winp::InitFirst();
RegisterInterface( NC_STACK_winp::GetQueryInterface() );
System::IniCo... | 31,194 | C++ | .cpp | 957 | 24 | 102 | 0.507043 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,444 | tform.cpp | Marisa-Chan_UA_source/src/system/tform.cpp | #include "tform.h"
#include "../nucleas.h"
#include "inivals.h"
namespace TF
{
TFEngine TFEngine::Instance;
int TFEngine::Init()
{
System::IniConf::ReadFromNucleusIni();
for (size_t i = 0; i < SinCos_table.size(); i++)
{
double rad = i * 0.01745329251994329577; // to rad
SinCos_table.at... | 6,265 | C++ | .cpp | 201 | 25.159204 | 92 | 0.561559 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,445 | system.cpp | Marisa-Chan_UA_source/src/system/system.cpp | #include <string>
#include <list>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_net.h>
#include "../fmtlib/printf.h"
#include "system.h"
#include "fsmgr.h"
#include "../utils.h"
namespace System
{
static std::vector<std::string> CommandLine;
struct FontNode
{
std::string Path;
std::string Name;
st... | 9,186 | C++ | .cpp | 349 | 18.77937 | 166 | 0.546842 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,446 | luascript.cpp | Marisa-Chan_UA_source/src/system/luascript.cpp | #include "luascript.h"
#include "../fmtlib/printf.h"
namespace System
{
LuaScript::LuaScript()
{
_lua = luaL_newstate();
luaL_openlibs(_lua);
Register();
}
LuaScript::~LuaScript()
{
lua_close(_lua);
}
void LuaScript::Register()
{
static luaL_Reg Funcs[] =
{ {"RunScript", Expor... | 2,171 | C++ | .cpp | 80 | 22.1875 | 87 | 0.601096 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,447 | sound.cpp | Marisa-Chan_UA_source/src/system/sound.cpp | #include "../fmtlib/printf.h"
#include "common/common.h"
#include "../ini.h"
#include "../log.h"
#include <math.h>
#include "sound.h"
#include "common/common.h"
#include "inivals.h"
SFXEngine SFXEngine::SFXe;
void wrapper_setSampleVRP(void *, walsmpl *hSample, int rate, int volume, int pan)
{
hSample->playback_r... | 25,037 | C++ | .cpp | 887 | 18.708005 | 169 | 0.482356 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,449 | uascroll.cpp | Marisa-Chan_UA_source/src/gui/uascroll.cpp | #include "uascroll.h"
namespace Gui
{
UAScroll::UAScroll(bool vertical)
: Widget()
, _vertical(vertical)
{
_flags |= FLAG_ENABLED;
_rect.SetSize(16, 16);
Check();
UpdateAreas();
}
UAScroll::UAScroll(Widget *parent, bool vertical)
: Widget(parent)
, _vertical(vertical)
{
_flags |= FLAG_ENABL... | 8,566 | C++ | .cpp | 303 | 19.818482 | 114 | 0.516145 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,450 | uabutton.cpp | Marisa-Chan_UA_source/src/gui/uabutton.cpp | #include "uabutton.h"
namespace Gui
{
void UABaseButton::MouseMove(Common::Point pos, Common::Point scrPos, int button)
{
if ( !(_btnFlags & FLAG_LOCKED) )
{
_btnFlags &= ~FLAG_PRESSED;
if ( IsLOn(pos) && button & MICE_LEFT)
_btnFlags |= FLAG_PRESSED;
}
Widget::MouseM... | 8,710 | C++ | .cpp | 288 | 24.621528 | 148 | 0.620505 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,451 | widget.cpp | Marisa-Chan_UA_source/src/gui/widget.cpp | #include "widget.h"
namespace Gui
{
Widget::Widget()
: _id(Root::Instance.GetNextId())
{
}
Widget::Widget(Widget *parent)
: _id(Root::Instance.GetNextId())
{
parent->AddChild(this);
}
Widget::~Widget()
{
Unparent();
if (_hwSurface)
SDL_FreeSurface(_hwSurface);
if (_hwTex)
... | 10,254 | C++ | .cpp | 391 | 19.214834 | 80 | 0.559519 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,452 | uacommon.cpp | Marisa-Chan_UA_source/src/gui/uacommon.cpp | #include "uacommon.h"
#include "../utils.h"
#include "../yw.h"
#include "../system/inivals.h"
namespace Gui
{
std::array<TileMap *, UA::TILESET_MAX> UA::_UATiles;
SDL_Color UA::_UATextColor;
SDL_Color UA::_UAButtonTextColor;
TTF_Font *UA::_UATTF = NULL;
int UA::_UAFontH = 0;
NC_STACK_ypaworld *UA::yw = NULL;
vo... | 3,530 | C++ | .cpp | 141 | 18.886525 | 125 | 0.539635 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,453 | uaempty.cpp | Marisa-Chan_UA_source/src/gui/uaempty.cpp | #include "uaempty.h"
namespace Gui
{
enum {
UAEMPTY_FLAGS = Widget::FLAG_NODRAW | Widget::FLAG_ENABLED | Widget::FLAG_NOBRING,
};
UAEmpty::UAEmpty()
: Widget()
{
_filling = true;
_flags = UAEMPTY_FLAGS;
Update();
}
UAEmpty::UAEmpty(Widget *parent)
: Widget(parent)
{
_filling = true;
... | 993 | C++ | .cpp | 54 | 15.074074 | 86 | 0.657267 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,454 | uamsgbox.cpp | Marisa-Chan_UA_source/src/gui/uamsgbox.cpp | #include "uamsgbox.h"
#include "../system/sound.h"
#include "../yw.h"
namespace Gui
{
UAMessageBox::UAMessageBox(uint8_t type): UAWindow("", Common::PointRect(), 0)
{
Init(type);
}
UAMessageBox::UAMessageBox(Widget *parent, uint8_t type): UAWindow(parent, "", Common::PointRect(), 0)
{
Init(type);
} ... | 7,456 | C++ | .cpp | 220 | 25.595455 | 144 | 0.581372 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,455 | uawindow.cpp | Marisa-Chan_UA_source/src/gui/uawindow.cpp | #include "uawindow.h"
#include "../system/sound.h"
#include "../yw.h"
namespace Gui
{
UAWindow::UAWindow(const std::string &title, Common::PointRect posRect, uint32_t flags)
: Widget()
{
Init(title, posRect, flags);
}
UAWindow::UAWindow(Widget *parent, const std::string &title, Common::PointRect posRect, uint32_... | 7,233 | C++ | .cpp | 193 | 31.129534 | 155 | 0.631122 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,456 | root.cpp | Marisa-Chan_UA_source/src/gui/root.cpp | #include <SDL2/SDL_opengl.h>
#include "root.h"
#include "widget.h"
#include "../system/gfx.h"
namespace Gui
{
Root Root::Instance;
Root::~Root()
{
if (_dirtSurface)
SDL_FreeSurface(_dirtSurface);
}
uint32_t Root::GetNextId()
{
auto tmID = _nextId;
_nextId = (_nextId + 2) & ~(1 << ((sizeof(_nex... | 20,379 | C++ | .cpp | 666 | 21.932432 | 158 | 0.530926 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,459 | yw.h | Marisa-Chan_UA_source/src/yw.h | #ifndef YW_H_INCLUDED
#define YW_H_INCLUDED
#include <string.h>
#include <array>
#include <string>
#include "types.h"
#include "memstream.h"
#include "common/plane.h"
#include "system/gfx.h"
#include "system/inpt.h"
#include "system/sound.h"
#include "bitmap.h"
#include "ilbm.h"
#include "base.h"
#include "sklt.h"
... | 74,385 | C++ | .h | 2,263 | 26.849757 | 154 | 0.653125 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,460 | env.h | Marisa-Chan_UA_source/src/env.h | #ifndef ENV_ENGINE_H_INCLUDED
#define ENV_ENGINE_H_INCLUDED
#include <string>
#include <list>
#include "ini.h"
namespace Common
{
struct TKVPair
{
std::string Name;
std::string Value;
};
class TEnv
{
friend bool Ini::ParseIniFile(std::string iniFile, Ini::KeyList *lst);
friend bool Ini::ParseIniFile(std... | 847 | C++ | .h | 32 | 22.625 | 77 | 0.734293 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,461 | button.h | Marisa-Chan_UA_source/src/button.h | #ifndef BUTTON_H_INCLUDED
#define BUTTON_H_INCLUDED
#include "nucleas.h"
#include "inttypes.h"
#include "utils.h"
#include "system/gfx.h"
#include <vector>
class NC_STACK_button: public NC_STACK_nucleus, public ClickBox
{
//Structures
public:
enum // button types
{
TYPE_BUTTON = 1,
TYPE_C... | 4,822 | C++ | .h | 177 | 20.491525 | 84 | 0.583894 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,462 | utils.h | Marisa-Chan_UA_source/src/utils.h | #ifndef UTILS_H_INCLUDED
#define UTILS_H_INCLUDED
#include <math.h>
#include <string.h>
#include <regex>
#define C_2PI 6.28318530717958647693
#define C_PI 3.14159265358979323846
#define C_PI_2 1.57079632679489661923
#define C_PI_180 0.01745329251994329577
#include "system/fsmgr.h"
#define SWAP32(A) ( (((A) >>... | 7,844 | C++ | .h | 237 | 28.814346 | 120 | 0.56156 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,463 | wintimer.h | Marisa-Chan_UA_source/src/wintimer.h | #ifndef WINTIMER_H_INCLUDED
#define WINTIMER_H_INCLUDED
#include "itimer.h"
class NC_STACK_wintimer: public NC_STACK_itimer
{
public:
virtual int itimer_func64();
NC_STACK_wintimer() {};
virtual ~NC_STACK_wintimer() {};
virtual const std::string ClassName() const {
return __ClassName;
... | 470 | C++ | .h | 18 | 22.277778 | 65 | 0.69161 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,464 | wav.h | Marisa-Chan_UA_source/src/wav.h | #ifndef WAV_H_INCLUDED
#define WAV_H_INCLUDED
#include "sample.h"
class NC_STACK_wav: public NC_STACK_sample
{
public:
virtual rsrc * rsrc_func64(IDVList &stak);
NC_STACK_wav() {
};
virtual ~NC_STACK_wav() {};
virtual const std::string ClassName() const {
return __ClassName;
};
... | 421 | C++ | .h | 17 | 20.823529 | 60 | 0.662437 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,465 | def_parser.h | Marisa-Chan_UA_source/src/def_parser.h | #ifndef DEFPARSER_H_INCLUDED
#define DEFPARSER_H_INCLUDED
#include <vector>
#include <string>
#include "system/fsmgr.h"
#include "types.h"
namespace ScriptParser
{
class Parser;
enum FLAGS
{
FLAG_NO_SCOPE_SKIP = 1,
FLAG_NO_INCLUDE = 2
};
enum RESULTS
{
RESULT_OK,
RESULT_SCOPE_END,
RESULT_... | 2,695 | C++ | .h | 91 | 25.494505 | 108 | 0.66589 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,466 | listnode.h | Marisa-Chan_UA_source/src/listnode.h | #ifndef LISTNODE_H_INCLUDED
#define LISTNODE_H_INCLUDED
#include <list>
#include <vector>
template <typename T> class RefList: protected std::list<T>
{
public:
class Node;
typedef std::vector<T> SafeCopy;
typedef std::list<T> _T_Base;
typedef RefList<T> _T_List;
typedef typename _T_Base::iter... | 3,689 | C++ | .h | 142 | 16.816901 | 134 | 0.502959 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,467 | ilbm.h | Marisa-Chan_UA_source/src/ilbm.h | #ifndef ILBM_H_INCLUDED
#define ILBM_H_INCLUDED
#include "bitmap.h"
struct BMHD_type
{
uint16_t width;
uint16_t height;
uint16_t x;
uint16_t y;
int8_t nPlanes;
int8_t masking;
int8_t compression;
int8_t flags;
uint16_t transparentColor;
int8_t xAspect;
int8_t yAspect;
u... | 1,383 | C++ | .h | 53 | 21.679245 | 72 | 0.674791 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,468 | ade.h | Marisa-Chan_UA_source/src/ade.h | #ifndef ADE_H_INCLUDED
#define ADE_H_INCLUDED
#include "nucleas.h"
#include "system/gfx.h"
class NC_STACK_ade;
struct area_arg_65;
typedef std::list<NC_STACK_ade *> AdeList;
struct ADE_STRC
{
int16_t version;
int8_t _nu1; // Not used
int8_t flags;
int16_t point;
int16_t poly;
int16_t _nu2; /... | 2,229 | C++ | .h | 75 | 24.493333 | 101 | 0.648931 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,469 | itimer.h | Marisa-Chan_UA_source/src/itimer.h | #ifndef ITIMER_H_INCLUDED
#define ITIMER_H_INCLUDED
#include "nucleas.h"
class NC_STACK_itimer: public NC_STACK_nucleus
{
public:
virtual int itimer_func64() {
return 1;
};
NC_STACK_itimer() {};
virtual ~NC_STACK_itimer() {};
virtual const std::string ClassName() const {
ret... | 453 | C++ | .h | 18 | 20.833333 | 63 | 0.664303 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,470 | font.h | Marisa-Chan_UA_source/src/font.h | #ifndef FONT_H_INCLUDED
#define FONT_H_INCLUDED
#include <inttypes.h>
#include "system/gfx.h"
class NC_STACK_ypaworld;
namespace FontUA
{
void store_u32(CmdStream *pos, uint32_t val);
void store_s32(CmdStream *pos, int32_t val);
void store_u16(CmdStream *pos, uint16_t val);
void store_s16(CmdStream *pos, int16_t va... | 3,295 | C++ | .h | 92 | 33.684783 | 105 | 0.735488 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,471 | yw_internal.h | Marisa-Chan_UA_source/src/yw_internal.h | #ifndef YWINT_H_INCLUDED
#define YWINT_H_INCLUDED
struct TSectorCollision
{
NC_STACK_skeleton *sklt = NULL;
vec3d pos;
Common::Point Cell;
int16_t CollisionType = 0;
int16_t Flags = 0;
};
// For rendering
struct TRenderingSector
{
cellArea *p_cell;
int dword4;
int dword8;
};
int yw_... | 9,747 | C++ | .h | 270 | 32.777778 | 257 | 0.717424 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,472 | idev.h | Marisa-Chan_UA_source/src/idev.h | #ifndef IDEV_H_INCLUDED
#define IDEV_H_INCLUDED
#include "nucleas.h"
class NC_STACK_idev: public NC_STACK_nucleus
{
public:
virtual bool GetState() {
return false;
};
virtual float GetSlider() {
return 0.0;
};
virtual void ResetSlider() {};
virtual bool BindKey(const st... | 605 | C++ | .h | 23 | 21.565217 | 69 | 0.647368 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,473 | bitmap.h | Marisa-Chan_UA_source/src/bitmap.h | #ifndef BITMAP_H_INCLUDED
#define BITMAP_H_INCLUDED
#include "rsrc.h"
#include "system/gfx.h"
class NC_STACK_bitmap: public NC_STACK_rsrc
{
public:
virtual size_t Init(IDVList &stak);
virtual size_t Deinit();
virtual rsrc * rsrc_func64(IDVList &stak);
virtual size_t rsrc_func65(rsrc *pres);
... | 1,615 | C++ | .h | 48 | 28.125 | 66 | 0.674312 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,474 | base.h | Marisa-Chan_UA_source/src/base.h | #ifndef BASE_H_INCLUDED
#define BASE_H_INCLUDED
#include <deque>
#include <list>
#include "nucleas.h"
#include "system/tform.h"
#include "system/gfx.h"
#include "system/inpt.h"
#include "skeleton.h"
#include "ade.h"
class NC_STACK_base;
class NC_STACK_skeleton;
class NC_STACK_ade;
typedef std::list<NC_STACK_base *>... | 5,613 | C++ | .h | 182 | 25.142857 | 104 | 0.646125 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,475 | vectors.h | Marisa-Chan_UA_source/src/vectors.h | #ifndef VECTORS_H_INCLUDED
#define VECTORS_H_INCLUDED
#include <math.h>
template <typename T> struct Tvec2d;
template <typename T> struct Tvec3d;
typedef Tvec2d<double> vec2d;
typedef Tvec2d<float> vec2f;
typedef Tvec3d<double> vec3d;
typedef Tvec3d<float> vec3f;
typedef Tvec3d<int32_t> vec3i;
template <typename... | 7,544 | C++ | .h | 384 | 12.723958 | 50 | 0.444587 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,476 | skeleton.h | Marisa-Chan_UA_source/src/skeleton.h | #ifndef SKELETON_H_INCLUDED
#define SKELETON_H_INCLUDED
#include "rsrc.h"
#include "system/gfx.h"
namespace UAskeleton
{
struct Vertex: public vec3d
{
uint8_t flags = 0;
enum CLIP
{
CLIP_NONE = 0,
CLIP_LEFT = (1 << 0),
CLIP_RIGHT = (1 << 1),
CLIP_BOTTOM = (1 << 2),
... | 2,866 | C++ | .h | 106 | 22.04717 | 131 | 0.629915 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,477 | nucleas.h | Marisa-Chan_UA_source/src/nucleas.h | #ifndef NUCLEAS_H_INCLUDED
#define NUCLEAS_H_INCLUDED
#undef max
#undef min
#include <inttypes.h>
#include <list>
#include <string>
#include "idvpair.h"
#include "IFFile.h"
class NC_STACK_nucleus;
namespace Nucleus
{
struct ClassDescr
{
const std::string _classname;
NC_STACK_nucleus *(*_newinstance)()... | 3,801 | C++ | .h | 160 | 19.81875 | 79 | 0.672159 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,478 | 3ds.h | Marisa-Chan_UA_source/src/3ds.h | #ifndef DS3_H_INCLUDED
#define DS3_H_INCLUDED
#include <list>
#include <string>
#include "system/fsmgr.h"
#include "nucleas.h"
#include "base.h"
#include "bitmap.h"
struct d3dsTextureMap
{
std::string name;
unsigned flags = 0;
float percent = 0.0;
float blur = 0.0;
float scale... | 4,275 | C++ | .h | 110 | 34.281818 | 91 | 0.575985 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,479 | lstvw.h | Marisa-Chan_UA_source/src/lstvw.h | #ifndef LSTVW_H_INCLUDED
#define LSTVW_H_INCLUDED
#include <list>
#include "system/gfx.h"
class NC_STACK_ypaworld;
class GuiBase;
typedef std::list<GuiBase *> GuiBaseList;
class GuiBase : public ClickBox
{
public:
int flags = 0;
ClickBox iconBox;
CmdStream iconString;
CmdStream cmdCommands;
... | 4,039 | C++ | .h | 128 | 25.359375 | 150 | 0.628675 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,480 | yparobo.h | Marisa-Chan_UA_source/src/yparobo.h | #ifndef YROBO_H_INCLUDED
#define YROBO_H_INCLUDED
#include "nucleas.h"
#include "ypabact.h"
#include "world/protos.h"
class NC_STACK_yparobo;
struct robo_t1
{
uint32_t field_0 = 0;
uint32_t field_4 = 0;
};
struct robo_arg128
{
int flags;
BactTarget tgt;
uint8_t tgType;
vec3d tgt_pos;
ui... | 12,475 | C++ | .h | 367 | 28.245232 | 84 | 0.688139 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,481 | amesh.h | Marisa-Chan_UA_source/src/amesh.h | #ifndef AMESH_H_INCLUDED
#define AMESH_H_INCLUDED
#include <inttypes.h>
#include "area.h"
class NC_STACK_amesh: public NC_STACK_area
{
public:
struct ATTS
{
int16_t polyID = 0;
uint8_t colorVal = 0;
uint8_t shadeVal = 0;
uint8_t tracyVal = 0;
uint8_t pad = 0;
};
... | 1,515 | C++ | .h | 48 | 25.791667 | 95 | 0.652448 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,482 | memstream.h | Marisa-Chan_UA_source/src/memstream.h | #ifndef MEBLOCK_H_INCLUDED
#define MEBLOCK_H_INCLUDED
#include <stdlib.h>
#include <inttypes.h>
#include <string.h>
#include <deque>
#include <vector>
namespace Common
{
typedef std::vector<uint8_t> ByteArray;
inline void Append(ByteArray* a, const ByteArray& b)
{
if (b.size())
a->insert(a->end(), b.beg... | 9,686 | C++ | .h | 372 | 15.102151 | 88 | 0.430105 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,483 | image.h | Marisa-Chan_UA_source/src/image.h | #ifndef IMAGE_H_INCLUDED
#define IMAGE_H_INCLUDED
#include "bitmap.h"
class NC_STACK_image: public NC_STACK_bitmap
{
public:
virtual size_t Init(IDVList &stak);
virtual rsrc * rsrc_func64(IDVList &stak);
static bool SavePng(ResBitmap *bmp, const std::string &fname);
NC_STACK_image();
virtual... | 544 | C++ | .h | 19 | 24.473684 | 66 | 0.697446 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,484 | IFFile.h | Marisa-Chan_UA_source/src/IFFile.h | #ifndef IFFile_H_INCLUDED
#define IFFile_H_INCLUDED
#include <deque>
#include "system/fsmgr.h"
class IFFile : public FSMgr::iFileHandle
{
public:
struct Context
{
uint32_t TAG = 0;
uint32_t TAG_EXTENSION = 0;
int32_t TAG_SIZE = 0;
int32_t position = 0;
Context(... | 2,530 | C++ | .h | 74 | 26.986486 | 88 | 0.610642 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,485 | inp_ff.h | Marisa-Chan_UA_source/src/inp_ff.h | #ifndef INPUT_FFEEDBACK_H_INCLUDE
#define INPUT_FFEEDBACK_H_INCLUDE
#include <SDL2/SDL_haptic.h>
namespace Input { namespace FF {
class FFEffect
{
public:
FFEffect()
{
effectID = -1;
haptic = NULL;
SDL_memset( &descr, 0, sizeof(descr) );
}
virtual ~FFEffect()
{
... | 9,310 | C++ | .h | 326 | 21.472393 | 72 | 0.604007 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,486 | types.h | Marisa-Chan_UA_source/src/types.h | #ifndef TYPES_H_INCLUDED
#define TYPES_H_INCLUDED
#include <string>
#include <list>
#include "listnode.h"
struct cellArea;
class NC_STACK_ypabact;
class NC_STACK_ypamissile;
namespace Engine
{
typedef std::list< std::string > StringList;
}
namespace World
{
typedef RefList<NC_STACK_ypabact *> RefBactList;
typedef... | 668 | C++ | .h | 29 | 20.793103 | 53 | 0.746434 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,487 | area.h | Marisa-Chan_UA_source/src/area.h | #ifndef AREA_H_INCLUDED
#define AREA_H_INCLUDED
#include <inttypes.h>
#include "ade.h"
#include "bitmap.h"
class NC_STACK_area;
class NC_STACK_area: public NC_STACK_ade
{
public:
virtual size_t Init(IDVList &stak);
virtual size_t Deinit();
virtual size_t LoadingFromIFF(IFFile **file);
virtual size_t... | 3,880 | C++ | .h | 104 | 30.875 | 95 | 0.658197 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,488 | yw_net.h | Marisa-Chan_UA_source/src/yw_net.h | #ifndef YWNET_H_INCLUDED
#define YWNET_H_INCLUDED
#include "yw.h"
enum RECVMSG
{
RECVMSG_NONE = 0,
RECVMSG_NORMAL = 1,
RECVMSG_CREATEPLAYER = 2,
RECVMSG_DESTROYPLAYER = 3,
RECVMSG_HOST = 4,
RECVMSG_SYSUNK = 5,
RECVMSG_SETSESSIONDESC = 6
};
enum UAMSG
{
UAMSG_BASE = 1000,
UAMSG... | 7,873 | C++ | .h | 361 | 18.121884 | 69 | 0.63429 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,489 | matrix.h | Marisa-Chan_UA_source/src/matrix.h | #ifndef MATRIX_H_INCLUDED
#define MATRIX_H_INCLUDED
#include <math.h>
#include "vectors.h"
#define MAT_FLAG_INV_SIN 1
#define MAT_FLAG_INV_COS 2
template <typename T> struct Tmat3x3;
template <typename T> struct Tmat4x4;
typedef Tmat3x3<double> mat3x3;
typedef Tmat4x4<double> mat4x4;
typedef Tmat3x3<float> mat... | 17,342 | C++ | .h | 596 | 21.063758 | 107 | 0.444611 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,490 | bmpAnm.h | Marisa-Chan_UA_source/src/bmpAnm.h | #ifndef BMPANM_H_INCLUDED
#define BMPANM_H_INCLUDED
#include "rsrc.h"
#include "system/gfx.h"
#include "bitmap.h"
struct BAnmFrame
{
int32_t FrameTime = 0;
int16_t FrameID = 0;
int16_t TexCoordsID = 0;
};
struct BAnmFrameCache : BAnmFrame
{
std::vector<tUtV> *pTexCoords = NULL;
NC_STACK_bitma... | 3,356 | C++ | .h | 91 | 31.373626 | 157 | 0.690357 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,491 | windp.h | Marisa-Chan_UA_source/src/windp.h | #ifndef WINDP_H_INCLUDED
#define WINDP_H_INCLUDED
#include <string>
#include "nucleas.h"
#include "network.h"
#include "lstvw.h"
#include "netlib/zndNet.h"
struct ProviderStruct
{
std::string name;
int type;
//guid or other
void clear()
{
name = "";
type = 0;
}
};
struct win... | 5,992 | C++ | .h | 214 | 22.831776 | 95 | 0.671986 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,492 | wrapal.h | Marisa-Chan_UA_source/src/wrapal.h | #ifndef WRAP_AL_H_INCLUDED
#define WRAP_AL_H_INCLUDED
#include <list>
#include <vector>
#include <queue>
#if defined(__APPLE__) && defined(__MACH__)
#include <OpenAL/al.h>
#include <OpenAL/alc.h>
#else
#include <AL/al.h>
#include <AL/alc.h>
#endif
#include <SDL2/SDL_thread.h>
#include <SDL2/SDL_mutex.h>
#define OV_E... | 3,980 | C++ | .h | 160 | 20.11875 | 70 | 0.64926 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,493 | idvpair.h | Marisa-Chan_UA_source/src/idvpair.h | #ifndef IDVPAIR_H_INCLUDED
#define IDVPAIR_H_INCLUDED
#include <inttypes.h>
#include <map>
#include <initializer_list>
#include "any-lite/any.hpp"
struct IDVPair
{
uint32_t ID = 0;
bool Skip = false;
nonstd::any Value = (int32_t)0;
IDVPair()
{
ID = 0;
Skip = false;
Val... | 1,467 | C++ | .h | 62 | 17.112903 | 58 | 0.542624 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,494 | loaders.h | Marisa-Chan_UA_source/src/loaders.h | #ifndef LOADERS_H_INCLUDED
#define LOADERS_H_INCLUDED
#include <string>
#include "bitmap.h"
#include "base.h"
namespace Utils
{
NC_STACK_bitmap *ProxyLoadImage(IDVList &stak);
NC_STACK_bitmap *ProxyLoadImage(IDVList::TInitList lst);
NC_STACK_base *ProxyLoadBase(const std::string &fname);
}
#endif //... | 340 | C++ | .h | 12 | 25.666667 | 60 | 0.765625 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,495 | ypamissile.h | Marisa-Chan_UA_source/src/ypamissile.h | #ifndef YMISSILE_H_INCLUDED
#define YMISSILE_H_INCLUDED
#include "nucleas.h"
#include "ypabact.h"
class NC_STACK_ypamissile: public NC_STACK_ypabact
{
protected:
// Bomb rotation speed
const double BOMB_MIN_ANGLE = 0.001;
public:
enum FLAG_MISL
{
FLAG_MISL_VIEW = (1 << 0... | 4,182 | C++ | .h | 118 | 29.550847 | 67 | 0.67457 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,496 | ypabact.h | Marisa-Chan_UA_source/src/ypabact.h | #ifndef YBACT_H_INCLUDED
#define YBACT_H_INCLUDED
#include "nucleas.h"
#include "system/gfx.h"
#include "base.h"
#include "listnode.h"
#include "types.h"
#include "world/protos.h"
// !!!! if period is small, then this never happen
#define BACT_MIN_ANGLE 0.0002
class NC_STACK_ypabact;
class NC_STACK_yparobo;
class NC... | 17,298 | C++ | .h | 624 | 22.788462 | 103 | 0.659422 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,497 | ypacar.h | Marisa-Chan_UA_source/src/ypacar.h | #ifndef YCAR_H_INCLUDED
#define YCAR_H_INCLUDED
#include "nucleas.h"
#include "ypatank.h"
class NC_STACK_ypacar: public NC_STACK_ypatank
{
public:
virtual size_t Init(IDVList &stak);
virtual size_t Deinit();
virtual size_t SetParameters(IDVList &stak) override;
virtual void User_layer(update_msg *arg)... | 1,116 | C++ | .h | 37 | 25.621622 | 67 | 0.698308 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,498 | winp.h | Marisa-Chan_UA_source/src/winp.h | #ifndef WINP_H_INCLUDED
#define WINP_H_INCLUDED
#include <map>
#include <queue>
#include "idev.h"
#include "utils.h"
#include "system/inpt.h"
class NC_STACK_winp: public NC_STACK_idev
{
public:
enum
{
MAXCHARQUEUE = 8,
MAXJOYMAP = 32,
MAXJOYHAT = 4,
};
public:
static co... | 3,188 | C++ | .h | 88 | 30.761364 | 87 | 0.685087 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,499 | embed.h | Marisa-Chan_UA_source/src/embed.h | #ifndef EMBED_H_INCLUDED
#define EMBED_H_INCLUDED
#include "nucleas.h"
#include <deque>
class NC_STACK_embed: public NC_STACK_nucleus
{
public:
virtual size_t Init(IDVList &);
virtual size_t Deinit();
virtual size_t LoadingFromIFF(IFFile **file);
virtual size_t SavingIntoIFF(IFFile **file);
NC_ST... | 611 | C++ | .h | 21 | 25.095238 | 62 | 0.685665 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,500 | ypaflyer.h | Marisa-Chan_UA_source/src/ypaflyer.h | #ifndef YFLYER_H_INCLUDED
#define YFLYER_H_INCLUDED
#include "nucleas.h"
#include "ypabact.h"
class NC_STACK_ypaflyer: public NC_STACK_ypabact
{
public:
virtual size_t Init(IDVList &stak);
virtual size_t Deinit();
virtual size_t SetParameters(IDVList &stak) override;
virtual void AI_layer3(update_msg ... | 1,158 | C++ | .h | 39 | 24.461538 | 65 | 0.663611 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,501 | iwimp.h | Marisa-Chan_UA_source/src/iwimp.h | #ifndef IWIMP_H_INCLUDED
#define IWIMP_H_INCLUDED
#include <list>
#include "idev.h"
#include "system/inpt.h"
#include "utils.h"
#endif // IWIMP_H_INCLUDED
| 161 | C++ | .h | 7 | 21.142857 | 26 | 0.763514 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,502 | sample.h | Marisa-Chan_UA_source/src/sample.h | #ifndef SAMPLE_H_INCLUDED
#define SAMPLE_H_INCLUDED
#include "rsrc.h"
#include "system/sound.h"
class NC_STACK_sample: public NC_STACK_rsrc
{
public:
virtual size_t Init(IDVList &stak);
virtual rsrc * rsrc_func64(IDVList &stak);
virtual size_t rsrc_func65(rsrc *pres);
NC_STACK_sample() {};
virtua... | 907 | C++ | .h | 32 | 23.5625 | 63 | 0.668213 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,503 | sklt.h | Marisa-Chan_UA_source/src/sklt.h | #ifndef SKLT_H_INCLUDED
#define SKLT_H_INCLUDED
#include "skeleton.h"
class NC_STACK_sklt: public NC_STACK_skeleton
{
public:
virtual size_t LoadingFromIFF(IFFile **file);
virtual size_t func6(IFFile **file);
virtual rsrc * rsrc_func64(IDVList &stak);
virtual size_t rsrc_func66(rsrc_func66_arg *arg);
... | 572 | C++ | .h | 19 | 26.052632 | 61 | 0.686924 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,504 | obj3d.h | Marisa-Chan_UA_source/src/obj3d.h | #ifndef OBJ3D_H_INCLUDED
#define OBJ3D_H_INCLUDED
#include <list>
#include <string>
#include "system/fsmgr.h"
#include "nucleas.h"
#include "base.h"
#include "bitmap.h"
class NC_STACK_Obj3D: public NC_STACK_base
{
protected:
struct FaceVT
{
int32_t V = 0;
int32_t T = 0;
int32_... | 1,912 | C++ | .h | 65 | 22.846154 | 73 | 0.620397 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,505 | ini.h | Marisa-Chan_UA_source/src/ini.h | #ifndef INI_H_INCLUDED
#define INI_H_INCLUDED
#include <string>
#include <vector>
#include "any-lite/any.hpp"
namespace Common {
namespace Ini {
enum KEYTYPE
{
KT_DIGIT = 0x0, // int32_t
KT_WORD = 0x1, // std::string
KT_BOOL = 0x2, // bool
KT_STRING = 0x3, // std::string
};
struct Key
{
const ... | 986 | C++ | .h | 43 | 18.302326 | 56 | 0.60302 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,506 | ypaufo.h | Marisa-Chan_UA_source/src/ypaufo.h | #ifndef YUFO_H_INCLUDED
#define YUFO_H_INCLUDED
#include "nucleas.h"
#include "ypabact.h"
class NC_STACK_ypaufo: public NC_STACK_ypabact
{
public:
virtual size_t Init(IDVList &stak);
virtual size_t Deinit();
virtual size_t SetParameters(IDVList &stak) override;
virtual void AI_layer3(update_msg *arg);... | 1,254 | C++ | .h | 43 | 23.883721 | 63 | 0.621644 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,507 | ypatank.h | Marisa-Chan_UA_source/src/ypatank.h | #ifndef YTANK_H_INCLUDED
#define YTANK_H_INCLUDED
#include "nucleas.h"
#include "ypabact.h"
class NC_STACK_ypatank: public NC_STACK_ypabact
{
public:
enum FLAG_TANK
{
FLAG_TANK_TIP = (1 << 0),
FLAG_TANK_ROTWAIT = (1 << 1)
};
enum ALIGN
{
ALIGN_NONE = 0,
ALI... | 2,079 | C++ | .h | 69 | 24.652174 | 84 | 0.65332 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,508 | includes.h | Marisa-Chan_UA_source/src/includes.h | #ifndef INCLUDES_H_INCLUDED
#define INCLUDES_H_INCLUDED
#undef max
#undef min
#include <stdio.h>
#include <stddef.h>
#include <inttypes.h>
#include <string>
#include "fmtlib/core.h"
#include "fmtlib/printf.h"
#include "types.h"
#include "IFFile.h"
#include "yw.h"
#include "global.h"
#include "log.h"
#en... | 347 | C++ | .h | 16 | 19.6875 | 29 | 0.761905 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,509 | rsrc.h | Marisa-Chan_UA_source/src/rsrc.h | #ifndef RSRC_H_INCLUDED
#define RSRC_H_INCLUDED
#include <string>
#include <list>
#include "nucleas.h"
struct rsrc;
typedef std::list<rsrc *> RSRCList;
struct rsrc
{
const std::string name;
const bool shared;
int32_t ref_cnt;
void *data;
rsrc(const std::string &_name, bool _shared):
na... | 1,971 | C++ | .h | 80 | 19.4875 | 61 | 0.645196 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,510 | global.h | Marisa-Chan_UA_source/src/global.h | #ifndef GLOBAL_H_INCLUDED
#define GLOBAL_H_INCLUDED
// Should be deleted
#ifdef GLOBAL
#define EXTR
#else
#define EXTR extern
#endif // GLOBAL
extern int dword_514EFC;
EXTR int dword_514F24;
EXTR TInputState input_states;
EXTR base_64arg world_update_arg;
EXTR NC_STACK_ypaworld *ypaworld;
#endif // GLOBAL_H... | 331 | C++ | .h | 14 | 21.785714 | 33 | 0.813115 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,511 | particle.h | Marisa-Chan_UA_source/src/particle.h | #ifndef PARTICLE_H_INCLUDED
#define PARTICLE_H_INCLUDED
#include "nucleas.h"
#include "area.h"
#include "ade.h"
class NC_STACK_particle;
class NC_STACK_particle: public NC_STACK_ade
{
public:
class SpawnOpts : public InstanceOpts
{
public:
SpawnOpts(NC_STACK_ade *ade) : InstanceOpts(ade) {};... | 4,062 | C++ | .h | 122 | 27.52459 | 73 | 0.681253 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,512 | network.h | Marisa-Chan_UA_source/src/network.h | #ifndef NETWORK_H_INCLUDED
#define NETWORK_H_INCLUDED
#include "nucleas.h"
class NC_STACK_network: public NC_STACK_nucleus
{
public:
virtual size_t Init(IDVList &stak);
virtual size_t Deinit();
NC_STACK_network() {
};
virtual ~NC_STACK_network() {};
virtual const std::string ClassName... | 475 | C++ | .h | 18 | 22.277778 | 64 | 0.683146 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,513 | ypagun.h | Marisa-Chan_UA_source/src/ypagun.h | #ifndef YGUN_H_INCLUDED
#define YGUN_H_INCLUDED
#include "nucleas.h"
#include "ypabact.h"
class NC_STACK_ypagun: public NC_STACK_ypabact
{
public:
virtual size_t Init(IDVList &stak);
virtual size_t Deinit();
virtual size_t SetParameters(IDVList &stak) override;
virtual void AI_layer3(update_msg *arg);... | 2,728 | C++ | .h | 89 | 24.730337 | 75 | 0.638688 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,514 | log.h | Marisa-Chan_UA_source/src/log.h | #ifndef LOG_H_INCLUDED
#define LOG_H_INCLUDED
void ypa_log__ypa_general_log();
void ypa_log_out(const char *format, ...);
void init_d3dlog();
void log_d3dlog(const char *format, ...);
void init_dinputlog();
void sub_412038(const char *);
void log_d3d_fail(const char *title, const char *msg, unsigned int errID);
... | 513 | C++ | .h | 13 | 37.769231 | 78 | 0.733198 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.