Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module development #342

Merged
merged 48 commits into from
Jun 10, 2016
Merged
Show file tree
Hide file tree
Changes from 38 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
844af26
Modules added
Wired-Tiger May 2, 2016
b759dc5
Update development
Wired-Tiger May 2, 2016
d3eda74
Update development
Wired-Tiger May 5, 2016
099e2fa
Update development
Wired-Tiger May 7, 2016
666c4ec
Update working development
Wired-Tiger May 13, 2016
b8597eb
Update development
Wired-Tiger May 20, 2016
8daa4fd
Remove modules folder/use development only
Wired-Tiger May 20, 2016
0a82a3a
Update development
Wired-Tiger May 20, 2016
b71f2ed
Update fnc_spawnAttack
Wired-Tiger May 21, 2016
c2a7153
Update development
Wired-Tiger May 21, 2016
a8046f2
Update development
Wired-Tiger May 24, 2016
1e8ee81
Update development
Wired-Tiger May 24, 2016
335896d
Update development
Wired-Tiger May 25, 2016
411240a
Update development
Wired-Tiger May 26, 2016
d33c5ba
Update development
Wired-Tiger May 27, 2016
44e1515
Update development
Wired-Tiger May 29, 2016
cf38ab2
Update development
Wired-Tiger May 29, 2016
00075e1
Update CfgFunctions.hpp
Wired-Tiger May 29, 2016
bec5a71
Update all
Wired-Tiger May 29, 2016
075f345
Fix whitespace issues
Wired-Tiger May 29, 2016
d090bae
Add function, update attack/defense func, update variables
Wired-Tiger May 29, 2016
3393d08
Add patrol module and function
Wired-Tiger May 30, 2016
05e595a
Change 'development' name to 'modules', add stringtable.xml, comment …
Wired-Tiger May 30, 2016
eafe205
Prepare stringtable change
Wired-Tiger May 30, 2016
b7074fe
Bring code up to guideline standards, fix fnc_modulePatrol header, up…
Wired-Tiger May 31, 2016
1e20684
Fix func headers, update fnc_getStringPos code
Wired-Tiger May 31, 2016
f506368
add bracket in example
Wired-Tiger May 31, 2016
a47261a
Fix author[], add script_component.hpp to funcs
Wired-Tiger Jun 2, 2016
b688a89
Improve readablity/performance in code
Wired-Tiger Jun 2, 2016
3217e0c
Add default values to functions
Wired-Tiger Jun 2, 2016
9d3d408
Create stringtable and replace values in CfgVehicles.hpp
Wired-Tiger Jun 3, 2016
20a7eb5
Fix func headers, tweak modulePatrol code
Wired-Tiger Jun 4, 2016
b57e7bf
Scan through all files and fix any errors found
Wired-Tiger Jun 4, 2016
5704490
Merge remote-tracking branch 'origin/master' into moduleDevelopment
Wired-Tiger Jun 4, 2016
c855647
Keep up to date with master
Wired-Tiger Jun 5, 2016
02fb205
Update CfgPatches and Stringtable
Wired-Tiger Jun 6, 2016
1c6192f
Catch up with CBA master
Wired-Tiger Jun 6, 2016
3625c72
Add override functionality to attack module, update stringtable and C…
Wired-Tiger Jun 6, 2016
80746cd
Update CfgVehicles.hpp
Wired-Tiger Jun 8, 2016
18a524b
Update stringtable.xml
Wired-Tiger Jun 8, 2016
b5cdc57
Update CfgVehicles.hpp
Wired-Tiger Jun 8, 2016
4835573
Update
Jun 8, 2016
07482e2
Catch up with online changes
Jun 8, 2016
85bbd4a
Catch up with CBA master
Jun 8, 2016
8d31783
Change fnc_getStringPos to fnc_getPosFromString, update header
Jun 8, 2016
b333887
Catch up with CBA master
Wired-Tiger Jun 8, 2016
b7b056f
Seperate descriptive sentence from actually description
Wired-Tiger Jun 9, 2016
a7df980
Update
Wired-Tiger Jun 9, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions addons/modules/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
x\cba\addons\modules
6 changes: 6 additions & 0 deletions addons/modules/CfgFactionClasses.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class CfgFactionClasses {
class NO_CATEGORY;
class CBA_Modules: NO_CATEGORY {
displayName = CSTRING(Category_DisplayName);
};
};
37 changes: 37 additions & 0 deletions addons/modules/CfgFunctions.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

class CfgFunctions
{
class CBA
{
class Modules
{
// CBA_fnc_getStringPos
class getStringPos
{
description = "A function to get the position of a string.";
file = "\x\cba\addons\modules\fnc_getStringPos.sqf";
};

// CBA_fnc_moduleAttack
class moduleAttack
{
description = "A function used to set a group to attack a position through a module.";
file = "\x\cba\addons\modules\fnc_moduleAttack.sqf";
};

// CBA_fnc_moduleDefend
class moduleDefend
{
description = "A function used to set a group to defend a position through a module.";
file = "\x\cba\addons\modules\fnc_moduleDefend.sqf";
};

// CBA_fnc_modulePatrol
class modulePatrol
{
description = "A function used to set a group to patrol a position through a module.";
file = "\x\cba\addons\modules\fnc_modulePatrol.sqf";
};
};
};
};
Loading