nosoop
d01c72f79b
Update CGameConfig members to use std::string instead of fixed-size char arrays ( #1495 )
2021-06-03 11:27:16 -05:00
Corey D
65043baf5d
gamedata: Add support for hexadecimal offsets ( #1426 )
...
* Allow hexadecimal and octal offsets
* Fix typo
* Allow hexadecimal input in Addresses "read" and "offset" values
Co-authored-by: Peace-Maker <peace-maker@wcfan.de>
2021-03-15 12:46:04 -07:00
Scags
6fd9d1ce11
gamedata: automate reparsing on load ( #1348 )
...
* Add sm_reload_gamedata
* Remove redundant cast
* Automate gamedata reparsing
* Update GameConfigs.cpp
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-10-02 16:25:27 -07:00
David Anderson
b725196a26
Replace AString with std::string.
2020-05-20 17:57:18 -07:00
David Anderson
301bafa3f5
Replace more Move/Forward with STL variants.
2020-05-19 12:56:28 -07:00
peace-maker
f9faf9e48c
Allow different values per platform in "Keys" gamedata section ( #765 )
...
This adds support for platform specific custom key values in the `Keys` section in game config files. Now you can have different values for the same key per platform.
Previously you could only add general key values in gamedata files that were the same on all platforms like
```
"Keys"
{
"key" "value"
}
```
This patch allows you to set the value per platform in a subsection like
```
"Keys"
{
"key"
{
"windows" "value1"
"linux" "value2"
"mac" "value3"
}
}
```
Looking up the `key` will return the value matching the host platform.
2018-02-06 14:40:51 +00:00
Scott Ehlert
ce1a4dcac0
64-bit support for CSGO on Linux and macOS ( #705 )
2017-12-20 01:56:23 -06:00
FlaminSarge
c3b25e54f8
Add convenience logic for "offset" to Address definitions in GameConf ( #580 )
...
Allows for the last "read" offset for an Address to instead be "offset", which doesn't deref the addr pointer after applying the offset
Shortens the necessary coding to get a particular Address inside a function (old: store offset in a separate GameConf Offsets entry, apply the offset to the Address in SP)
2017-10-28 12:11:32 +01:00
Peace-Maker
edb820eae8
Add info message when loading custom gamedata
...
Print a message to console when there is a gamedata file loaded from the
|custom| folder.
2016-01-03 22:28:24 +01:00
David Anderson
4e275eea97
Split intercom.h into separate headers and reduce shared header inclusion.
2015-08-31 10:00:49 -07:00
David Anderson
3d5c9f0e21
Rename smcore to bridge, and use it as a pointer.
2015-08-30 23:27:53 -07:00
David Anderson
9ba1363d86
Remove Format/FormatArgs from the core/logic bridge.
2015-08-30 18:03:31 -07:00
David Anderson
9267d0c803
Eliminate Newborn/NoAddRef (bug 5907, r=ds).
2014-08-22 22:50:25 -07:00
Nicholas Hastings
17d5af0e2f
Move Logger and Core natives to Logic
2014-08-13 14:24:35 -07:00
Ondrej Hošek
c3e9d7de41
Add support for single-file gamedata custom overrides (bug 5386, r=psychonic).
2014-04-07 12:14:26 -04:00
Nicholas Hastings
2f6b64e92e
Make IGameConfig::GetMemSig return value clearer (bug 6081, r=asherkin).
2014-03-29 14:22:53 -04:00
Scott Ehlert
ce6b993954
Use Linux game data for offsets and signatures/symbols on OS X if Mac-specific data is not available (bug 6056, r=dvander).
...
Although unlikely, OS X game data can also be used on Linux if Linux-specfic data is missing.
2014-02-15 23:23:53 -06:00
Nicholas Hastings
5abd9edf62
Remove over-aggressive error handling of Addresses gamedata (bug 6044, r=asherkin).
...
--HG--
extra : rebase_source : 704dcfdf285286814411f3dd5be2dd6e02872085
2014-02-10 09:43:10 -05:00
Ruben Gonzalez
925d514224
Increase max sig length (irc, r=psychonic)
...
--HG--
extra : amend_source : 24f20bd01d0277e255f47e0c4392396ec1871104
2014-02-08 20:00:52 -05:00
David Anderson
b917c540aa
Remove memtables from GameConfigs (bug 5899 part 4, r=fyren).
2013-08-31 19:50:26 -07:00
David Anderson
0144062126
Introduce NameHashSet (bug 5884 part 1, r=ds).
2013-08-25 11:59:44 -07:00
David Anderson
d14b5fe00b
Switch GameConfigs to hash tables (bug 5878 part 3, r=ds).
2013-08-25 01:42:16 -07:00
David Anderson
f7991185ba
Add reference counting and use it for CGameConfig (bug 5876 part 1, r=ds).
...
--HG--
extra : rebase_source : 42b033d005ae3118b6505c530227c84e0e8a7553
2013-08-23 00:18:11 -07:00
Nicholas Hastings
00b1f33725
Fixed typo in Nuclear Dawn gamedata backcompat fix.
2013-08-14 13:14:59 -04:00
Nicholas Hastings
f3ac8f6649
Added gamedata and extension loading compat shims for Nuclear Dawn (bug 5813, r=asherkin).
2013-08-14 11:56:34 -04:00
Nicholas Hastings
a36c266e7d
Split TF2, DoD:S, HL2:DM, and ND to separate binaries (bug 5813, r=asherkin).
2013-07-21 11:53:56 -04:00
GoD-Tony
749b9dd1bb
Added symbol lookup support to gamedata on Windows (bug 5511, r=ds).
2012-10-14 18:10:46 -04:00
Nicholas Hastings
5c40e02ee6
Added support for gamedata lookups from matchmaking_ds lib (bug 4158, r=Fyren).
2011-06-27 09:30:52 -04:00
Scott Ehlert
e518605d69
Fixed various areas where code was being compiled for Linux only, but should actually be used on OS X too (bug 4392, r=dvander).
2010-05-29 18:11:47 -04:00
Scott Ehlert
e5126b4c65
Added support for "mac" in game data files (bug 4393, r=dvander).
2010-05-16 02:27:53 -04:00
David Anderson
60226d9195
Fixed windows build.
2010-05-15 13:01:23 -07:00
David Anderson
64455b9852
Moved gameconf code from core to logic (bug 4406 part 11, r=ds).
...
--HG--
rename : core/GameConfigs.cpp => core/logic/GameConfigs.cpp
rename : core/GameConfigs.h => core/logic/GameConfigs.h
rename : core/smn_gameconfigs.cpp => core/logic/smn_gameconfigs.cpp
2010-05-14 23:35:42 -07:00