mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
AMD64 building fixes and such
This commit is contained in:
parent
557958b408
commit
ed5395a54a
@ -627,7 +627,7 @@ void Debugger::FmtGenericMsg(AMX *amx, int error, char buffer[], size_t maxLengt
|
|||||||
{
|
{
|
||||||
_snprintf(buffer, maxLength, "Run time error %d (plugin \"%s\") - %s", error, filename, GenericError(AMX_ERR_EXIT));
|
_snprintf(buffer, maxLength, "Run time error %d (plugin \"%s\") - %s", error, filename, GenericError(AMX_ERR_EXIT));
|
||||||
} else if (error == AMX_ERR_NATIVE) {
|
} else if (error == AMX_ERR_NATIVE) {
|
||||||
amx_GetNative(amx, (int)amx->usertags[UT_NATIVE], native);
|
amx_GetNative(amx, reinterpret_cast<long>(amx->usertags[UT_NATIVE]), native);
|
||||||
_snprintf(buffer, maxLength, "Run time error %d (plugin \"%s\") (native \"%s\") - debug not enabled!", error, filename, native);
|
_snprintf(buffer, maxLength, "Run time error %d (plugin \"%s\") (native \"%s\") - debug not enabled!", error, filename, native);
|
||||||
} else {
|
} else {
|
||||||
_snprintf(buffer, maxLength, "Run time error %d (plugin \"%s\") - debug not enabled!", error, filename);
|
_snprintf(buffer, maxLength, "Run time error %d (plugin \"%s\") - debug not enabled!", error, filename);
|
||||||
|
Binary file not shown.
@ -8,26 +8,33 @@ namespace AMXXRelease
|
|||||||
public class Build
|
public class Build
|
||||||
{
|
{
|
||||||
protected ArrayList m_Mods;
|
protected ArrayList m_Mods;
|
||||||
|
protected Config m_Cfg;
|
||||||
|
|
||||||
public Build()
|
public Build(Config cfg)
|
||||||
{
|
{
|
||||||
m_Mods = new ArrayList();
|
m_Mods = new ArrayList();
|
||||||
|
m_Cfg = cfg;
|
||||||
|
|
||||||
CoreMod core = new CoreMod();
|
CoreMod core = new CoreMod();
|
||||||
ModCstrike cstrike = new ModCstrike();
|
ModCstrike cstrike = new ModCstrike();
|
||||||
ModDoD dod = new ModDoD();
|
|
||||||
ModEsf esf = new ModEsf();
|
|
||||||
ModNs ns = new ModNs();
|
|
||||||
ModTFC tfc = new ModTFC();
|
|
||||||
ModTs ts = new ModTs();
|
|
||||||
|
|
||||||
m_Mods.Add(core);
|
m_Mods.Add(core);
|
||||||
m_Mods.Add(cstrike);
|
m_Mods.Add(cstrike);
|
||||||
m_Mods.Add(dod);
|
|
||||||
m_Mods.Add(esf);
|
if (m_Cfg.MakeOpts().IndexOf("amd64") == -1)
|
||||||
m_Mods.Add(ns);
|
{
|
||||||
m_Mods.Add(tfc);
|
ModDoD dod = new ModDoD();
|
||||||
m_Mods.Add(ts);
|
ModEsf esf = new ModEsf();
|
||||||
|
ModNs ns = new ModNs();
|
||||||
|
ModTFC tfc = new ModTFC();
|
||||||
|
ModTs ts = new ModTs();
|
||||||
|
|
||||||
|
m_Mods.Add(dod);
|
||||||
|
m_Mods.Add(esf);
|
||||||
|
m_Mods.Add(ns);
|
||||||
|
m_Mods.Add(tfc);
|
||||||
|
m_Mods.Add(ts);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual int GetMods()
|
public virtual int GetMods()
|
||||||
|
@ -52,7 +52,7 @@ public void Release(string file)
|
|||||||
Releaser.IsWindows = true;
|
Releaser.IsWindows = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
Build build = new Build();
|
Build build = new Build(m_Cfg);
|
||||||
|
|
||||||
builder.Build(m_Cfg, build);
|
builder.Build(m_Cfg, build);
|
||||||
}
|
}
|
||||||
|
@ -3,4 +3,4 @@ source = /home/dvander/code/amxx
|
|||||||
makeopts = amd64
|
makeopts = amd64
|
||||||
output = /home/dvander/done
|
output = /home/dvander/done
|
||||||
devenv = /usr/bin/make
|
devenv = /usr/bin/make
|
||||||
release = amxmodx-1.75
|
release = amxmodx-1.76
|
||||||
|
Loading…
Reference in New Issue
Block a user