polserver/pol-core/bscript
Kevin Eady 1b879bc59f
Add script helpers to implement stealing skill (#493)
* add item.character_owner

* Address review comments
- Cleanup chr_from_wornitems
- Return BError if no character owner

* Add Target option TGTOPT_ALLOW_NONLOCAL

* Address review comments
- Remove `Core::chr_from_wornitems`

* Add pol tests for snooping

* Add tests for TGTOPT_ALLOW_NONLOCAL

* target_nonlocal_checklos pol test debugging

* target_nonlocal_checklos pol test debugging
- Remove destroy of obstacle
- Add a CheckLosAt call to error return

* target_nonlocal_checklos pol test debugging
- Enable USAN build

* undo test debugging changes

* use mobile for los when targetting snoopable items

* Update core-changes

* Persist SnoopScript for items on save

* Add snoop_script_ to Item::estimatedSize

* document SnoopScript script type
2023-01-08 16:59:28 +01:00
..
compiler Add -Wnonportable-include-path for ANTLR warnings (#419) 2021-09-06 13:44:39 +02:00
berror.cpp Include and buildsystem cleanup (#45) 2018-01-29 21:55:48 +01:00
berror.h Changed classes to be final if possible, removed override macro 2018-10-09 09:47:27 +02:00
blong.cpp Enable building on OSX (clion) (#318) 2020-09-26 06:57:10 -07:00
bobject.h Testsuite reorganization, new feature to call exported functions (#237) 2020-12-16 18:56:10 +01:00
bstruct.cpp Added cmake option to run clang-tidy 2018-10-09 16:36:35 +02:00
bstruct.h Changed classes to be final if possible, removed override macro 2018-10-09 09:47:27 +02:00
CMakeLists.txt Fewer compile warnings (#413) 2021-08-28 22:26:15 +02:00
CMakeSources.cmake Fewer compile warnings (#413) 2021-08-28 22:26:15 +02:00
compctx.cpp moved unicode sanitize functions to clib as a preparation to sanitize 2019-01-12 11:46:30 +01:00
compctx.h ecompile now writes errors and warnings to stderr. 2019-10-05 13:19:38 +02:00
compilercfg.cpp use std::filesystem to iterate over directories (#448) 2021-12-30 07:21:20 +01:00
compilercfg.h Remove OGC from EcompileMain, testsuites (#383) 2021-03-04 17:39:14 +01:00
compmodl.h Cleanup of header includes. 2018-01-01 21:52:14 +01:00
config.h Formating everything 2016-02-19 19:26:35 +01:00
contiter.h Formating everything 2016-02-19 19:26:35 +01:00
dbl.cpp Enable building on OSX (clion) (#318) 2020-09-26 06:57:10 -07:00
dict.cpp Added cmake option to run clang-tidy 2018-10-09 16:36:35 +02:00
dict.h Changed classes to be final if possible, removed override macro 2018-10-09 09:47:27 +02:00
eprog.cpp removed Clib::decint and used Clib::tostring, changed Clib::hexint to 2018-10-28 09:31:58 +01:00
eprog.h New compiler: write debug info (.dbg and .dbg.txt) (#302) 2020-09-12 14:26:58 -07:00
eprog2.cpp Add elvis operator: 2020-04-29 02:50:11 -07:00
eprog3.cpp switch tests where never executed :( 2018-06-03 21:54:16 +02:00
eprog_read.cpp Add elvis operator: 2020-04-29 02:50:11 -07:00
escript.h Whitespaces: fixing 4 space indentation 2018-04-03 04:45:11 +02:00
escript_config.cpp Formating everything 2016-02-19 19:26:35 +01:00
escriptv.cpp Include and buildsystem cleanup (#45) 2018-01-29 21:55:48 +01:00
escriptv.h Formating everything 2016-02-19 19:26:35 +01:00
escrutil.cpp Added cmake option to run clang-tidy 2018-10-09 16:36:35 +02:00
escrutil.h Formating everything 2016-02-19 19:26:35 +01:00
execmodl.cpp Merge remote-tracking branch 'origin/master' into utf8 2019-08-16 19:02:53 +02:00
execmodl.h Script option enhancements (#118) 2020-02-08 09:21:35 +01:00
exectype.h Formating everything 2016-02-19 19:26:35 +01:00
executor.cpp Method function crash (#477) 2022-10-16 19:39:25 +02:00
executor.h removed ufacing move_delta, added getPos*Param (#424) 2021-09-12 14:39:06 +02:00
executortype.h Formating everything 2016-02-19 19:26:35 +01:00
expression.cpp fix optimizer bug: can stop optimizing prematurely if pre- or post-decrement operators are present 2020-07-29 20:42:07 -07:00
expression.h Add elvis operator: 2020-04-29 02:50:11 -07:00
filefmt.h Add support for interpolated strings ("interstrings") (#369) 2021-03-11 22:48:16 +01:00
fmodule.cpp moved default deconstructors into header to let them count as trivial. 2018-11-03 15:00:44 +01:00
fmodule.h moved default deconstructors into header to let them count as trivial. 2018-11-03 15:00:44 +01:00
impstr.h Get environment variable/Extended Testsuite (#359) 2021-02-27 08:36:22 +01:00
modules.h Include and buildsystem cleanup (#45) 2018-01-29 21:55:48 +01:00
objaccess.cpp Add script helpers to implement stealing skill (#493) 2023-01-08 16:59:28 +01:00
object.cpp first version of ++i and --i unary operator 2019-09-21 14:56:06 +02:00
object.h Formating everything 2016-02-19 19:26:35 +01:00
objmembers.h Add script helpers to implement stealing skill (#493) 2023-01-08 16:59:28 +01:00
objmethods.h Fix SetString packet hook method writing UTF-8 instead of CP-1252 (#442) 2021-11-02 22:00:36 +01:00
objstrm.cpp Whitespace fixes 2018-04-03 04:13:03 +02:00
operator.h Add elvis operator: 2020-04-29 02:50:11 -07:00
options.h Formating everything 2016-02-19 19:26:35 +01:00
StdAfx.cpp normalized lineendings 2016-02-11 22:54:43 +01:00
StdAfx.h Updated cotire, updated pch 2018-12-30 18:49:57 +01:00
StoredToken.cpp Move StoredToken to its own cpp/h 2020-07-31 16:19:38 -07:00
StoredToken.h Move StoredToken to its own cpp/h 2020-07-31 16:19:38 -07:00
str.cpp Fewer compile warnings (#413) 2021-08-28 22:26:15 +02:00
str.h Add support for interpolated strings ("interstrings") (#369) 2021-03-11 22:48:16 +01:00
symcont.cpp Move StoredToken to its own cpp/h 2020-07-31 16:19:38 -07:00
symcont.h Move StoredToken to its own cpp/h 2020-07-31 16:19:38 -07:00
tkn_strm.cpp Add more details to "Return without GOSUB" error. Also fix printing of INS_CALL_METHOD_ID in the .lst (#395) 2021-08-31 08:06:20 +02:00
token.cpp Add exit_code to uo::Shutdown() (#176) 2020-08-03 20:30:27 +02:00
token.h removed Clib::decint and used Clib::tostring, changed Clib::hexint to 2018-10-28 09:31:58 +01:00
tokens.cpp Formating everything 2016-02-19 19:26:35 +01:00
tokens.h Add support for interpolated strings ("interstrings") (#369) 2021-03-11 22:48:16 +01:00
userfunc.cpp moved default deconstructors into header to let them count as trivial. 2018-11-03 15:00:44 +01:00
userfunc.h moved default deconstructors into header to let them count as trivial. 2018-11-03 15:00:44 +01:00
verbtbl.h Formating everything 2016-02-19 19:26:35 +01:00