FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
bwapi/bwapi/BWScriptEmulator/Eval_Harass.cpp at main · bwapi/bwapi · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
bwapi
/
bwapi
Public
Notifications
You must be signed in to change notification settings
Fork
290
Star
1.7k
Code
Issues
127
Pull requests
2
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
bwapi
/
bwapi
/
BWScriptEmulator
/
Eval_Harass.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
20 lines (15 loc) · 458 Bytes
Breadcrumbs
bwapi
/
bwapi
/
BWScriptEmulator
/
Eval_Harass.cpp
Copy path
File metadata and controls
executable file
·
20 lines (15 loc) · 458 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
include
"
Eval_Harass.h
"
#
include
<
tuple
>
using
namespace
AISCRIPT
;
IMPLEMENT
(Eval_Harass);
bool
Eval_Harass::execute
(aithread &thread)
const
{
//
Retrieve parameters
WORD
wOffset;
thread.
readTuple
(
std::tie
(wOffset) );
//
if ( !EvalHarass(this->location.center()) )
//
thread.setScriptOffset( wOffset );
//
Save debug info and return
thread.
saveDebug
(Text::Red,
this
->
getOpcode
(),
"
p_%04X
"
, wOffset);
return
true
;
}
Back
|
FazBrowse Home
|
New Git URL