Commit Graph

67 Commits

Author SHA1 Message Date
Scott Ehlert
423eb0499b Align stack on 16 byte boundary in hamsandwich trampolines. 2014-05-31 06:34:52 -05:00
Scott Ehlert
3987085572 Combine prologue and epilogue code for void and non-void functions in hamsandwich trampolines. 2014-05-31 04:00:25 -05:00
Scott Ehlert
fe52f1eeac Don't bother saving and restoring eax in hamsandwich trampolines. 2014-05-31 03:09:17 -05:00
Arkshine
d3f22d2089 Add support for bot without "player" classname in Hamsandwich (bug 6111, r=ds) 2014-05-01 10:21:46 +02:00
Arkshine
d6d4badbda Fix crash in Hamsandwich with hooked function without return (hopefully last time) 2014-04-14 13:37:09 +02:00
Arkshine
0f890ce7f1 Fix crash in Hamsandwich with hooked function without return. 2014-04-14 11:39:08 +02:00
Arkshine
1a7daad657 Update globally Hamsandwich module (bug 5611, r=sawce) 2014-04-09 16:44:02 +02:00
David Anderson
1f15fdd6cb Update versioning for AMBuild and git.
Former-commit-id: ea473061ef1f3b52716decfb4dafcfd66167730d
2014-02-08 20:37:33 -08:00
David Anderson
59c3e271db Remove all files related to SVN versioning.
Former-commit-id: 57a320bfe97fcf87cf2adc6a5ee3ae07814f798d
2014-02-08 16:26:40 -08:00
David Anderson
c4e90ce865 Initial import of AMBuild infrastructure for C++ projects.
Former-commit-id: 53baa4f8c25525674f5e71f8f6ff2663928500ab
2014-02-08 01:14:15 -08:00
Scott Ehlert
568bec17fc Fixed building with newly updated SDK.
Former-commit-id: bf0455aea7c54493b2b921a2fef52120163e0959
2013-09-05 19:51:52 -05:00
Vincent Herbet
da30315556 Fix Wno-delete-non-virtual-dtor flag to be passed only for .cpp files.
Former-commit-id: 4f8b31483ddf784589bc2bd53f736772147c631d
2013-08-10 19:29:28 +02:00
Vincent Herbet
3e1c70a887 Allow [g|s]et_pdata_cbase usage at map end whereas player's private datas are still valid (following fakemeta behavior) (bug 5787, r=me)
Former-commit-id: 30394243ff3f1cf08e1a8ebfcbf05dbea3a215b2
2013-07-31 17:54:46 +02:00
Scott Ehlert
ce4b23b41a Fixed metamod paths in MSVC projects.
Former-commit-id: c99a90817fb726ee28783d9b1139e4d540daa9fa
2013-02-13 03:22:59 -06:00
Reuben Morais
82ad133d91 Add hamsandwich support for Adrenaile Gamer (bug 4445, r=dvander).
Former-commit-id: e08f1dfccf3b5bfb65687aee06c5d8fdbff94540
2013-02-13 00:25:48 -08:00
Scott Ehlert
250cb89479 Really fixed HLSDK paths in MSVC project files.
Former-commit-id: e04d44c85196034f5deebbf3c46ecc9fc710aeed
2013-02-13 02:08:29 -06:00
Scott Ehlert
f01357aa7a Fixed HLSDK paths in VS 2010 projects files.
Former-commit-id: 32516f18ee3b87c2030ba5fad91f0b3e7a1ec741
2013-02-13 01:22:50 -06:00
Scott Ehlert
40c1fee55a Added support for Mac OS X and building with clang (bug 5601, r=dvander). 2013-02-13 01:14:37 -06:00
Scott Ehlert
6c22cb171d Synced hamdata.ini. 2013-02-04 18:40:04 -06:00
Scott Ehlert
77e900585a Backed out changeset 41ca53ad9bff 2013-02-04 18:37:37 -06:00
Scott Ehlert
86bfeec554 Synced hamdata.ini 2013-02-04 18:36:18 -06:00
Scott Ehlert
45343e6e27 Updated hamsandwich offsets for HL1 and CS 1.6 beta. 2013-02-04 07:31:33 -06:00
Scott Ehlert
944f608f09 Fixed hamsandwich vtable patching on Linux for newer GCC binaries. 2013-02-04 07:31:32 -06:00
Scott Ehlert
9d65198786 Upgraded MSVC project files for VS 2010 and modified build tool to use them. 2011-06-29 00:50:14 -05:00
David Anderson
330fd1c2ae Fixed Makefile paths for Metamod. 2010-04-04 17:55:37 -07:00
David Anderson
73e3e52057 Updated version files for HG. 2010-04-04 17:22:45 -07:00
David Anderson
cdf3807955 Bumped version numbers. 2008-08-17 00:50:57 +00:00
David Anderson
73ea754640 Fixed not building because sdk stuff was moved around. 2008-08-16 23:24:25 +00:00
David Anderson
6486c56a15 Bumped versions. 2008-08-16 22:47:59 +00:00
Scott Ehlert
0dc6a4a5dd Whoa, amb1941: All of AMX Mod X is now officially moved over to Visual Studio 2005 (MSVC 8)
Also did the following:
* Removed -fPIC from all Linux makefiles
* AMXX build tool now also moved over to VS 2005
* AMXX build tool binary renamed from "AMXXRelease" to "builder"
* MSVC project files now can use environment variables to point to the paths of the Metamod headers and HL SDK: $(METAMOD) and $(HLSDK) respectively
2008-08-16 09:48:39 +00:00
Steve Dudenhoeffer
240c92e20f Updated all module SDKs to stop the most annoying issue ever: amxxmodule.h required size_t but did not include stddef.h
Also stopped dodfun, dodx, tfcx and tsx from loading on games other than the ones they are designed for.
2008-04-29 06:53:55 +00:00
David Anderson
44e078c7c0 added support for building 32-bit on 64-bit machines 2008-04-15 23:26:54 +00:00
David Anderson
cc99d6d1fb finalized build numbers and all that other release crap 2007-10-26 02:23:21 +00:00
David Anderson
212697b950 whoops, that was one terrible commit. the bug is really fixed now. 2007-10-26 01:09:08 +00:00
David Anderson
6a567f3c77 fixed a memory corruption bug in CVector 2007-10-26 01:03:23 +00:00
David Anderson
36241e2905 updated revision numbers 2007-10-26 00:28:17 +00:00
David Anderson
605bef0482 ham sammich is now versioned properly 2007-08-03 17:01:31 +00:00
David Anderson
2379aa3108 fixed msvc7 project files 2007-08-03 16:36:04 +00:00
Steve Dudenhoeffer
2cbf7fca08 Forgot to update SVN with TS3.0 and RegisterHamFromEntity changes 2007-07-19 18:43:27 +00:00
Steve Dudenhoeffer
6865b984e0 Fixed accidental reversal of think and touch virtual index under Day of Defeat. 2007-06-22 05:06:49 +00:00
Steve Dudenhoeffer
7690f1a099 Fixed the mirror system not working. 2007-06-12 15:59:10 +00:00
Steve Dudenhoeffer
4504875df9 Fixed Makefile
Fixed a few forwards not having FP_DONE at the end (doh!)
2007-05-16 15:24:14 +00:00
Steve Dudenhoeffer
cd023c30d9 Added GPL header to all files.
Item_CanDrop -> {CS,DOD}_Item_CanDrop

Added Ham_CS_Item_GetMaxSpeed

Reversed classname and callback parameters for RegisterHam.

Finished commenting ham_const.inc.
2007-05-16 03:57:18 +00:00
Steve Dudenhoeffer
b660df8df6 Added {get,set}_pdata_cbase{_safe} - compliments Fakemeta's get_pdata functions, but this will set/get an offset that is a CBaseEntity.
Split constants from hamsandwich.inc into ham_const.inc.

Finished commenting native calls, need to finish the constant comments.
2007-05-13 14:01:13 +00:00
Steve Dudenhoeffer
b1a086ee93 Added {get,set}_pdata_cbase{_safe} - compliments Fakemeta's get_pdata functions, but this will set/get an offset that is a CBaseEntity.
Split constants from hamsandwich.inc into ham_const.inc.

Finished commenting native calls, need to finish the constant comments.
2007-05-13 13:59:54 +00:00
Steve Dudenhoeffer
504ddb4c2f Expanded ESF entries (they had the Linux binary in a retarded location).
Added vanilla HLDM support.

Fixed a weird crash when compiled in release build for Linux.

Expanded HamFilter error messages a tad.
2007-05-12 17:33:58 +00:00
Steve Dudenhoeffer
d38d2f56e1 Fixed large return values (Vectors) in MSVC. 2007-05-12 13:16:05 +00:00
Steve Dudenhoeffer
9b0ed67c9c Fixed vtable for TFC and NS 2007-05-11 16:54:26 +00:00
Steve Dudenhoeffer
1081e84981 Disassembled the rest of the mods, all but cs are untested currently. 2007-05-11 15:02:25 +00:00
Steve Dudenhoeffer
ee64440fef Removed TFC_DBGetItemName because I can't figure out the return value syntax (it doesn't sound like a useful function anyway).
Disassembled DoD for the new virtual functions.

Fixed cs weapon virtual functions.  Oops :o
2007-05-10 17:17:33 +00:00