This commit is contained in:
commit
034135baeb
12
.editorconfig
Normal file
12
.editorconfig
Normal file
@ -0,0 +1,12 @@
|
||||
# EditorConfig is awesome: https://EditorConfig.org
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
end_of_line = crlf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = false
|
32
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
32
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Report a bug related to the framework.
|
||||
title: "[addon name] - [short description]"
|
||||
labels: bug
|
||||
assignees: JSchmidt92
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Mission file**
|
||||
The mission where the issue occured.
|
||||
|
||||
**Log file**
|
||||
The log file generated by the game.
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: Request - [short description]
|
||||
labels: ''
|
||||
assignees: JSchmidt92
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
**When merged this pull request will:**
|
||||
- Describe what this pull request will do
|
||||
- Each change in a separate line
|
||||
- Follow title standard `Module - Add|Fix|Improve|Change|Remove things`
|
33
.github/release_drafter.yml
vendored
Normal file
33
.github/release_drafter.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
branches:
|
||||
- master
|
||||
|
||||
name-template: "SOFMod_v$NEXT_PATCH_VERSION"
|
||||
tag-template: "$NEXT_PATCH_VERSION"
|
||||
|
||||
categories:
|
||||
- title: "**ADDED:**"
|
||||
labels:
|
||||
- "feature"
|
||||
- title: "**FIXED:**"
|
||||
labels:
|
||||
- "bug fix"
|
||||
- title: "**IMPROVED:**"
|
||||
labels:
|
||||
- "enhancement"
|
||||
- title: "**CHANGED:**"
|
||||
labels:
|
||||
- "cleanup"
|
||||
|
||||
exclude-labels:
|
||||
- "ignore changelog"
|
||||
|
||||
change-template: "- $TITLE (#$NUMBER)"
|
||||
template: |
|
||||
## Change Log Summary
|
||||
|
||||
$CHANGES
|
||||
|
||||
replacers:
|
||||
# Category titles
|
||||
- search: '/\#\# (\*\*(ADDED|FIXED|IMPROVED|CHANGED):\*\*)/g'
|
||||
replace: "$1"
|
49
.github/workflows/build.yml
vendored
Normal file
49
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths-ignore:
|
||||
- ".github/**"
|
||||
- "addons/main/script_version.hpp"
|
||||
- "docs/**"
|
||||
- "tools/**"
|
||||
- "LICENSE"
|
||||
- "README.md"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout Source Code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Bump Version
|
||||
id: bump-version
|
||||
run: python3 tools/version_bumper.py increment_build push_commit
|
||||
|
||||
- name: Setup HEMTT
|
||||
uses: arma-actions/hemtt@v1
|
||||
|
||||
- name: Run HEMTT build
|
||||
run: hemtt release
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 'stable'
|
||||
|
||||
- name: Initialize or Update Go module
|
||||
run: |
|
||||
if [ ! -f go.mod ]; then
|
||||
go mod init gitea.innovativedevsolutions.org/IDSolutions/mod
|
||||
fi
|
||||
go get code.gitea.io/sdk/gitea
|
||||
|
||||
- name: Run Release Action
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
VERSION: ${{ steps.bump-version.outputs.VERSION }}
|
||||
run: go run main.go
|
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
*.7z
|
||||
*.pbo
|
||||
.hemttout
|
||||
hemtt
|
||||
hemtt.exe
|
||||
venv
|
||||
*.biprivatekey
|
||||
releases
|
14
.hemtt/project.toml
Normal file
14
.hemtt/project.toml
Normal file
@ -0,0 +1,14 @@
|
||||
name = "PMC Simulator 3.0 Mod"
|
||||
author = "IDSolutions"
|
||||
prefix = "pmcs"
|
||||
mainprefix = "z"
|
||||
|
||||
[files]
|
||||
include = [
|
||||
"pmcs_mod_version.json",
|
||||
"*.paa",
|
||||
"userconfig/**/*"
|
||||
]
|
||||
|
||||
[version]
|
||||
git_hash = 0 # Disabled
|
119
LICENSE
Normal file
119
LICENSE
Normal file
@ -0,0 +1,119 @@
|
||||
Copyright (c) 2024 Jacob "J.Schmidt92" Schmidt
|
||||
|
||||
Brief summary of this Licence
|
||||
|
||||
PLEASE, NOTE THAT THIS SUMMARY HAS NO LEGAL EFFECT AND IS ONLY OF AN INFORMATORY NATURE DESIGNED FOR YOU TO GET THE BASIC INFORMATION ABOUT THE CONTENT OF THIS LICENCE. THE ONLY LEGALLY BINDING PROVISIONS ARE THOSE IN THE ORIGINAL AND FULL TEXT OF THIS LICENCE.
|
||||
|
||||
With this licence you are free to adapt (i.e. modify, rework or update) and share (i.e. copy, distribute or transmit) the material under the following conditions:
|
||||
|
||||
Attribution - You must attribute the material in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the material).
|
||||
Noncommercial - You may not use this material for any commercial purposes.
|
||||
Arma Only - You may not convert or adapt this material to be used in other games than Arma.
|
||||
Share Alike - If you adapt, or build upon this material, you may distribute the resulting material only under the same license.
|
||||
|
||||
Full version of licence
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Arma Public License - Share Alike ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
|
||||
Section 1 – Definitions
|
||||
|
||||
Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
|
||||
Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
|
||||
ArmaOnly means primarily intended for or directed towards the use in any of existing and future Arma games, including but not limited to Arma: Cold War Assault, Arma, Arma 2 and Arma 3 and its official sequels and expansion packs.
|
||||
Arma Public Share Alike Compatible License means a license listed at https://www.bohemia.net/community/licenses as essentially the equivalent of this Public License.
|
||||
Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
|
||||
Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
|
||||
Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
|
||||
Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
|
||||
Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
|
||||
Licensor means the individual(s) or entity(ies) granting rights under this Public License.
|
||||
NonCommercial means not primarily intended for or directed towards commercial advantage or monetary compensation. For purposes of this Public License, the exchange of the Licensed Material for other material subject to Copyright and Similar Rights by digital file-sharing or similar means is NonCommercial provided there is no payment of monetary compensation in connection with the exchange.
|
||||
Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
|
||||
Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
|
||||
You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
|
||||
|
||||
Section 2 – Scope
|
||||
|
||||
License grant
|
||||
Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
|
||||
reproduce and Share the Licensed Material, in whole or in part, for NonCommercial and ArmaOnly purposes only; and
|
||||
produce, reproduce, and Share Adapted Material for NonCommercial and ArmaOnly purposes only.
|
||||
Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
|
||||
Term. The term of this Public License is specified in Section 6(a).
|
||||
Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
|
||||
Downstream recipients.
|
||||
Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
|
||||
Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply.
|
||||
No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
|
||||
No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(a)(i).
|
||||
Other rights
|
||||
Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
|
||||
Patent and trademark rights are not licensed under this Public License.
|
||||
To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties, including when the Licensed Material is used other than for NonCommercial and ArmaOnly purposes.
|
||||
|
||||
Section 3 – License Conditions
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
|
||||
|
||||
Attribution
|
||||
|
||||
If You Share the Licensed Material (including in modified form), You must:
|
||||
retain the following if it is supplied by the Licensor with the Licensed Material:
|
||||
identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
|
||||
a copyright notice;
|
||||
a notice that refers to this Public License;
|
||||
a notice that refers to the disclaimer of warranties;
|
||||
a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
|
||||
indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
|
||||
indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
|
||||
You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
|
||||
If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(a) to the extent reasonably practicable.
|
||||
ShareAlike
|
||||
|
||||
In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply.
|
||||
The Adapter’s License You apply must be this Public License, or an Arma Public Share Alike Compatible License.
|
||||
You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material.
|
||||
You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply.
|
||||
|
||||
Section 4 – Sui Generis Database Rights
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
|
||||
|
||||
for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database for NonCommercial and ArmaOnly purposes only;
|
||||
if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and
|
||||
You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
|
||||
Section 5 – Disclaimer of Warranties and Limitation of Liability
|
||||
|
||||
Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
|
||||
To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
|
||||
The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
|
||||
|
||||
Section 6 – Term and Termination
|
||||
|
||||
This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
|
||||
|
||||
Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
|
||||
automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
|
||||
upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
|
||||
For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
|
||||
Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
|
||||
|
||||
Section 7 – Other Terms and Conditions
|
||||
|
||||
The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
|
||||
Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
|
||||
|
||||
Section 8 – Interpretation
|
||||
|
||||
For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
|
||||
To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
|
||||
No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
|
||||
Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
|
||||
|
||||
Bohemia Interactive Notices
|
||||
|
||||
Bohemia Interactive a.s. is not a party to this License, and makes no warranty whatsoever in connection with the Licensed Material. Bohemia Interactive a.s. will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, Bohemia Interactive a.s. may elect to apply the Public License to material it publishes and in those instances it becomes the "Licensor".
|
||||
Except for the limited purpose of indicating to the public that the Licensed Material is shared under this Public License, Bohemia Interactive a.s. does not authorize the use by either party of the trademarks "Arma", "Bohemia Interactive" or any related trademark or logo of Arma or Bohemia Interactive without the prior written consent of Bohemia Interactive a.s.
|
24
README.md
Normal file
24
README.md
Normal file
@ -0,0 +1,24 @@
|
||||
<p align="center">
|
||||
<a href="https://gitea.innovativedevsolutions.org/IDSolutions/mod/releases/latest" target="blank">
|
||||
<img src="https://img.shields.io/gitea/v/release/IDSolutions/mod?gitea_url=https%3A%2F%2Fgitea.innovativedevsolutions.org" alt="latest-release" /></a>
|
||||
<a href="https://gitea.innovativedevsolutions.org/IDSolutions/mod/issues" target="blank">
|
||||
<img src="https://img.shields.io/gitea/issues/open/IDSolutions/mod?gitea_url=https%3A%2F%2Fgitea.innovativedevsolutions.org" alt="open-issues" /></a>
|
||||
<a href="https://gitea.innovativedevsolutions.org/IDSolutions/mod/actions?workflow=build.yml" target="blank">
|
||||
<img src="https://gitea.innovativedevsolutions.org/IDSolutions/mod/actions/workflows/build.yml/badge.svg?branch=master" alt="build-status" /></a>
|
||||
</p>
|
||||
|
||||
Welcome to **SOF Mod**.
|
||||
|
||||
This addon was designed for PMC Simulator 3.0.
|
||||
|
||||
If something is broken, contact **jschmidt92** or open a new issue on **[Gitea](https://gitea.innovativedevsolutions.org/IDSolutions/mod/issues)**.
|
||||
|
||||
</br>
|
||||
|
||||
**For more information, [visit the Wiki.](https://innovativedevsolutions.org/knowledgebase)**
|
||||
|
||||
**For additional tools, [visit the Website.](https://innovativedevsolutions.org)**
|
||||
|
||||
## Contributors
|
||||
|
||||
- **_Creedcoder_** for his help and input
|
1
addons/main/$PBOPREFIX$
Normal file
1
addons/main/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\pmcs\addons\main
|
14
addons/main/CfgMods.hpp
Normal file
14
addons/main/CfgMods.hpp
Normal file
@ -0,0 +1,14 @@
|
||||
class CfgMods {
|
||||
class PREFIX {
|
||||
dir = "@pmcs";
|
||||
name = "PMC Simulator 3.0 Mod";
|
||||
author = "IDSolutions";
|
||||
picture = "title_co.paa";
|
||||
hideName = "false";
|
||||
hidePicture = "false";
|
||||
action = "https://innovativedevsolutions.org";
|
||||
actionName = "Website";
|
||||
description = "Issue Tracker: https://gitea.innovativedevsolutions.org/IDSolutions/mod/issues";
|
||||
dlcColor[] = {0.45, 0.47, 0.41, 1};
|
||||
};
|
||||
};
|
16
addons/main/config.cpp
Normal file
16
addons/main/config.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
name = COMPONENT_NAME;
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"cba_main", "ace_main"};
|
||||
authors[] = {"J. Schmidt", "Creedcoder"};
|
||||
author = "IDSolutions";
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgMods.hpp"
|
15
addons/main/script_component.hpp
Normal file
15
addons/main/script_component.hpp
Normal file
@ -0,0 +1,15 @@
|
||||
#define COMPONENT main
|
||||
#define COMPONENT_BEAUTIFIED Main
|
||||
#include "script_mod.hpp"
|
||||
|
||||
// #define DEBUG_MODE_FULL
|
||||
// #define DISABLE_COMPILE_CACHE
|
||||
|
||||
#ifdef DEBUG_ENABLED_MAIN
|
||||
#define DEBUG_MODE_FULL
|
||||
#endif
|
||||
#ifdef DEBUG_SETTINGS_MAIN
|
||||
#define DEBUG_SETTINGS DEBUG_SETTINGS_MAIN
|
||||
#endif
|
||||
|
||||
#include "script_macros.hpp"
|
20
addons/main/script_macros.hpp
Normal file
20
addons/main/script_macros.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
#include "\z\ace\addons\main\script_macros.hpp"
|
||||
|
||||
#include "\a3\ui_f\hpp\defineDIKCodes.inc"
|
||||
#include "\a3\ui_f\hpp\defineCommonGrids.inc"
|
||||
|
||||
#define AFUNC(var1,var2) TRIPLES(DOUBLES(ace,var1),fnc,var2)
|
||||
#define BFUNC(var1) TRIPLES(BIS,fnc,var1)
|
||||
#define CFUNC(var1) TRIPLES(CBA,fnc,var1)
|
||||
#define TFUNC(var1) TRIPLES(TFAR,fnc,var1)
|
||||
|
||||
#ifdef DISABLE_COMPILE_CACHE
|
||||
#undef PREP
|
||||
#define PREP(fncName) DFUNC(fncName) = compile preprocessFileLineNumbers QPATHTOF(functions\DOUBLES(fnc,fncName).sqf)
|
||||
#else
|
||||
#undef PREP
|
||||
#define PREP(fncName) [QPATHTOF(functions\DOUBLES(fnc,fncName).sqf), QFUNC(fncName)] call CBA_fnc_compileFunction
|
||||
#endif
|
||||
|
||||
#define CLASS(var1) DOUBLES(PREFIX,var1)
|
||||
#define QCLASS(var1) QUOTE(DOUBLES(PREFIX,var1))
|
15
addons/main/script_mod.hpp
Normal file
15
addons/main/script_mod.hpp
Normal file
@ -0,0 +1,15 @@
|
||||
#define MAINPREFIX z
|
||||
#define PREFIX sof
|
||||
|
||||
#include "script_version.hpp"
|
||||
|
||||
#define VERSION MAJOR.MINOR
|
||||
#define VERSION_AR MAJOR,MINOR,PATCH,BUILD
|
||||
|
||||
#define REQUIRED_VERSION 2.12
|
||||
|
||||
#ifdef COMPONENT_BEAUTIFIED
|
||||
#define COMPONENT_NAME QUOTE(SOF Mod - COMPONENT_BEAUTIFIED)
|
||||
#else
|
||||
#define COMPONENT_NAME QUOTE(SOF Mod - COMPONENT)
|
||||
#endif
|
4
addons/main/script_version.hpp
Normal file
4
addons/main/script_version.hpp
Normal file
@ -0,0 +1,4 @@
|
||||
#define MAJOR 1
|
||||
#define MINOR 0
|
||||
#define PATCH 0
|
||||
#define BUILD 0
|
1
addons/phone/$PBOPREFIX$
Normal file
1
addons/phone/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\pmcs\addons\phone
|
19
addons/phone/CfgEventHandlers.hpp
Normal file
19
addons/phone/CfgEventHandlers.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
class Extended_PreStart_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preStart));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PreInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
||||
serverInit = QUOTE(call COMPILE_FILE(XEH_preInit_server));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PostInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_postInit));
|
||||
clientInit = QUOTE(call COMPILE_FILE(XEH_postInit_client));
|
||||
};
|
||||
};
|
14
addons/phone/CfgVehicles.hpp
Normal file
14
addons/phone/CfgVehicles.hpp
Normal file
@ -0,0 +1,14 @@
|
||||
class CfgVehicles {
|
||||
class Item_Base_F;
|
||||
class PMCS_Item_Phone: Item_Base_F {
|
||||
scope = 2;
|
||||
scopeCurator = 2;
|
||||
author = "IDSolutions";
|
||||
displayName = "Phone";
|
||||
vehicleClass = "Items";
|
||||
|
||||
class TransportItems {
|
||||
MACRO_ADDITEM(PMCS_Phone,1);
|
||||
};
|
||||
};
|
||||
};
|
20
addons/phone/CfgWeapons.hpp
Normal file
20
addons/phone/CfgWeapons.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
class CfgWeapons {
|
||||
class ACE_ItemCore;
|
||||
class CBA_MiscItem_ItemInfo;
|
||||
class PMCS_Phone: ACE_ItemCore {
|
||||
scope = 2;
|
||||
scopeArsenal = 2;
|
||||
scopeCurator = 2;
|
||||
author = "IDSolutions";
|
||||
displayName = "Phone";
|
||||
picture = QPATHTOF(images\mobile_frame.paa);
|
||||
model = QPATHTOF(data\pmcs_mobile.p3d);
|
||||
descriptionShort = "PMC Simulator 3.0 cell phone for text-messaging and more.";
|
||||
hiddenSelections[] = {};
|
||||
hiddenSelectionsTextures[] = {};
|
||||
|
||||
class ItemInfo: CBA_MiscItem_ItemInfo {
|
||||
mass = 0;
|
||||
};
|
||||
};
|
||||
};
|
0
addons/phone/XEH_PREP.hpp
Normal file
0
addons/phone/XEH_PREP.hpp
Normal file
1
addons/phone/XEH_postInit.sqf
Normal file
1
addons/phone/XEH_postInit.sqf
Normal file
@ -0,0 +1 @@
|
||||
#include "script_component.hpp"
|
1
addons/phone/XEH_postInit_client.sqf
Normal file
1
addons/phone/XEH_postInit_client.sqf
Normal file
@ -0,0 +1 @@
|
||||
#include "script_component.hpp"
|
8
addons/phone/XEH_preInit.sqf
Normal file
8
addons/phone/XEH_preInit.sqf
Normal file
@ -0,0 +1,8 @@
|
||||
#include "script_component.hpp"
|
||||
ADDON = false;
|
||||
|
||||
PREP_RECOMPILE_START;
|
||||
#include "XEH_PREP.hpp"
|
||||
PREP_RECOMPILE_END;
|
||||
|
||||
ADDON = true;
|
1
addons/phone/XEH_preInit_server.sqf
Normal file
1
addons/phone/XEH_preInit_server.sqf
Normal file
@ -0,0 +1 @@
|
||||
#include "script_component.hpp"
|
2
addons/phone/XEH_preStart.sqf
Normal file
2
addons/phone/XEH_preStart.sqf
Normal file
@ -0,0 +1,2 @@
|
||||
#include "script_component.hpp"
|
||||
#include "XEH_PREP.hpp"
|
18
addons/phone/config.cpp
Normal file
18
addons/phone/config.cpp
Normal file
@ -0,0 +1,18 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
name = COMPONENT_NAME;
|
||||
units[] = {"PMCS_Item_Phone"};
|
||||
weapons[] = {"PMCS_Phone"};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"pmcs_main"};
|
||||
authors[] = {"J. Schmidt", "Creedcoder"};
|
||||
author = "IDSolutions";
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgEventHandlers.hpp"
|
||||
#include "CfgVehicles.hpp"
|
||||
#include "CfgWeapons.hpp"
|
2
addons/phone/data/model.cfg.txt
Normal file
2
addons/phone/data/model.cfg.txt
Normal file
@ -0,0 +1,2 @@
|
||||
class CfgModels {};
|
||||
class CfgSkeletons {};
|
BIN
addons/phone/data/sof_mobile.p3d
Normal file
BIN
addons/phone/data/sof_mobile.p3d
Normal file
Binary file not shown.
38
addons/phone/data/sof_mobile.rvmat
Normal file
38
addons/phone/data/sof_mobile.rvmat
Normal file
@ -0,0 +1,38 @@
|
||||
ambient[] = {0.77779216,0.77796757,0.77800035,1};
|
||||
diffuse[] = {0.77779216,0.77796757,0.77800035,1};
|
||||
forcedDiffuse[] = {0,0,0,1};
|
||||
emmisive[] = {0,0,0,1};
|
||||
specular[] = {0,0,0,1};
|
||||
specularPower=0;
|
||||
PixelShaderID = "NormalMapDetailSpecularDIMap";
|
||||
VertexShaderID = "NormalMap";
|
||||
class Stage1 {
|
||||
texture = "z\pmcs\addons\phone\data\pmcs_mobile_nohq.paa";
|
||||
uvSource = "tex";
|
||||
class uvTransform {
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,1};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage2 {
|
||||
texture = "z\pmcs\addons\phone\data\pmcs_mobile_dt.paa";
|
||||
uvSource = "tex";
|
||||
class uvTransform {
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,1};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage3 {
|
||||
texture = "z\pmcs\addons\phone\data\pmcs_mobile_smdi.paa";
|
||||
uvSource = "tex";
|
||||
class uvTransform {
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,1};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
BIN
addons/phone/data/sof_mobile_co.paa
Normal file
BIN
addons/phone/data/sof_mobile_co.paa
Normal file
Binary file not shown.
BIN
addons/phone/data/sof_mobile_dt.paa
Normal file
BIN
addons/phone/data/sof_mobile_dt.paa
Normal file
Binary file not shown.
BIN
addons/phone/data/sof_mobile_nohq.paa
Normal file
BIN
addons/phone/data/sof_mobile_nohq.paa
Normal file
Binary file not shown.
BIN
addons/phone/data/sof_mobile_smdi.paa
Normal file
BIN
addons/phone/data/sof_mobile_smdi.paa
Normal file
Binary file not shown.
BIN
addons/phone/images/iphone.paa
Normal file
BIN
addons/phone/images/iphone.paa
Normal file
Binary file not shown.
BIN
addons/phone/images/mobile_frame.paa
Normal file
BIN
addons/phone/images/mobile_frame.paa
Normal file
Binary file not shown.
15
addons/phone/script_component.hpp
Normal file
15
addons/phone/script_component.hpp
Normal file
@ -0,0 +1,15 @@
|
||||
#define COMPONENT phone
|
||||
#define COMPONENT_BEAUTIFIED Phone
|
||||
#include "..\main\script_mod.hpp"
|
||||
|
||||
// #define DEBUG_MODE_FULL
|
||||
// #define DISABLE_COMPILE_CACHE
|
||||
|
||||
#ifdef DEBUG_ENABLED_PHONE
|
||||
#define DEBUG_MODE_FULL
|
||||
#endif
|
||||
#ifdef DEBUG_SETTINGS_PHONE
|
||||
#define DEBUG_SETTINGS DEBUG_SETTINGS_PHONE
|
||||
#endif
|
||||
|
||||
#include "..\main\script_macros.hpp"
|
BIN
addons/phone/userconfig/backgrounds/bgdark_01.paa
Normal file
BIN
addons/phone/userconfig/backgrounds/bgdark_01.paa
Normal file
Binary file not shown.
BIN
addons/phone/userconfig/backgrounds/bgdark_02.paa
Normal file
BIN
addons/phone/userconfig/backgrounds/bgdark_02.paa
Normal file
Binary file not shown.
BIN
addons/phone/userconfig/backgrounds/bglight_01.paa
Normal file
BIN
addons/phone/userconfig/backgrounds/bglight_01.paa
Normal file
Binary file not shown.
BIN
addons/phone/userconfig/backgrounds/bglight_02.paa
Normal file
BIN
addons/phone/userconfig/backgrounds/bglight_02.paa
Normal file
Binary file not shown.
BIN
addons/phone/userconfig/notifications/newMsg.ogg
Normal file
BIN
addons/phone/userconfig/notifications/newMsg.ogg
Normal file
Binary file not shown.
BIN
addons/phone/userconfig/notifications/woop.ogg
Normal file
BIN
addons/phone/userconfig/notifications/woop.ogg
Normal file
Binary file not shown.
22
addons/phone/userconfig/sof_phone.hpp
Normal file
22
addons/phone/userconfig/sof_phone.hpp
Normal file
@ -0,0 +1,22 @@
|
||||
class PMCS_CfgPhones {
|
||||
class themes {
|
||||
class bg_dark01 {
|
||||
themeName = "Dark"; // Name of theme
|
||||
themeBackground = "\@pmcs\userconfig\backgrounds\bgdark_01.paa"; // Must be file type: PAA and size: 512x1024
|
||||
};
|
||||
class bg_dark02 {
|
||||
themeName = "Alt Dark";
|
||||
themeBackground = "\@pmcs\userconfig\backgrounds\bgdark_02.paa";
|
||||
};
|
||||
class bg_light01 {
|
||||
themeName = "Light";
|
||||
themeBackground = "\@pmcs\userconfig\backgrounds\bglight_01.paa";
|
||||
};
|
||||
class bg_light02 {
|
||||
themeName = "Alt Light";
|
||||
themeBackground = "\@pmcs\userconfig\backgrounds\bglight_02.paa";
|
||||
};
|
||||
};
|
||||
class notifications {};
|
||||
class ringtones {};
|
||||
};
|
1
addons/tablet/$PBOPREFIX$
Normal file
1
addons/tablet/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\pmcs\addons\tablet
|
19
addons/tablet/CfgEventHandlers.hpp
Normal file
19
addons/tablet/CfgEventHandlers.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
class Extended_PreStart_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preStart));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PreInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
||||
serverInit = QUOTE(call COMPILE_FILE(XEH_preInit_server));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PostInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_postInit));
|
||||
clientInit = QUOTE(call COMPILE_FILE(XEH_postInit_client));
|
||||
};
|
||||
};
|
14
addons/tablet/CfgVehicles.hpp
Normal file
14
addons/tablet/CfgVehicles.hpp
Normal file
@ -0,0 +1,14 @@
|
||||
class CfgVehicles {
|
||||
class Item_Base_F;
|
||||
class PMCS_Item_Tablet: Item_Base_F {
|
||||
scope = 2;
|
||||
scopeCurator = 2;
|
||||
author = "IDSolutions";
|
||||
displayName = "Tablet";
|
||||
vehicleClass = "Items";
|
||||
|
||||
class TransportItems {
|
||||
MACRO_ADDITEM(PMCS_Tablet,1);
|
||||
};
|
||||
};
|
||||
};
|
20
addons/tablet/CfgWeapons.hpp
Normal file
20
addons/tablet/CfgWeapons.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
class CfgWeapons {
|
||||
class ACE_ItemCore;
|
||||
class CBA_MiscItem_ItemInfo;
|
||||
class PMCS_Tablet: ACE_ItemCore {
|
||||
scope = 2;
|
||||
scopeArsenal = 2;
|
||||
scopeCurator = 2;
|
||||
author = "IDSolutions";
|
||||
displayName = "Tablet";
|
||||
picture = QPATHTOF(images\getac_f110.paa);
|
||||
model = QPATHTOF(data\pmcs_tablet.p3d);
|
||||
descriptionShort = "PMC Simulator 3.0 tablet for navigation, communication, and more.";
|
||||
hiddenSelections[] = {"camo1"};
|
||||
hiddenSelectionsTextures[] = {QPATHTOF(data\getac_f110_co.paa)};
|
||||
|
||||
class ItemInfo: CBA_MiscItem_ItemInfo {
|
||||
mass = 0;
|
||||
};
|
||||
};
|
||||
};
|
0
addons/tablet/XEH_PREP.hpp
Normal file
0
addons/tablet/XEH_PREP.hpp
Normal file
1
addons/tablet/XEH_postInit.sqf
Normal file
1
addons/tablet/XEH_postInit.sqf
Normal file
@ -0,0 +1 @@
|
||||
#include "script_component.hpp"
|
1
addons/tablet/XEH_postInit_client.sqf
Normal file
1
addons/tablet/XEH_postInit_client.sqf
Normal file
@ -0,0 +1 @@
|
||||
#include "script_component.hpp"
|
8
addons/tablet/XEH_preInit.sqf
Normal file
8
addons/tablet/XEH_preInit.sqf
Normal file
@ -0,0 +1,8 @@
|
||||
#include "script_component.hpp"
|
||||
ADDON = false;
|
||||
|
||||
PREP_RECOMPILE_START;
|
||||
#include "XEH_PREP.hpp"
|
||||
PREP_RECOMPILE_END;
|
||||
|
||||
ADDON = true;
|
1
addons/tablet/XEH_preInit_server.sqf
Normal file
1
addons/tablet/XEH_preInit_server.sqf
Normal file
@ -0,0 +1 @@
|
||||
#include "script_component.hpp"
|
2
addons/tablet/XEH_preStart.sqf
Normal file
2
addons/tablet/XEH_preStart.sqf
Normal file
@ -0,0 +1,2 @@
|
||||
#include "script_component.hpp"
|
||||
#include "XEH_PREP.hpp"
|
18
addons/tablet/config.cpp
Normal file
18
addons/tablet/config.cpp
Normal file
@ -0,0 +1,18 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
name = COMPONENT_NAME;
|
||||
units[] = {"PMCS_Item_Tablet"};
|
||||
weapons[] = {"PMCS_Tablet"};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"pmcs_main"};
|
||||
authors[] = {"J. Schmidt", "Creedcoder"};
|
||||
author = "IDSolutions";
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgEventHandlers.hpp"
|
||||
#include "CfgVehicles.hpp"
|
||||
#include "CfgWeapons.hpp"
|
97
addons/tablet/data/getac_f110.rvmat
Normal file
97
addons/tablet/data/getac_f110.rvmat
Normal file
@ -0,0 +1,97 @@
|
||||
ambient[] = {1,1,1,1};
|
||||
diffuse[] = {1,1,1,1};
|
||||
forcedDiffuse[] = {0,0,0,1};
|
||||
emmisive[] = {0,0,0,0};
|
||||
specular[] = {1,1,1,1};
|
||||
specularPower = 30;
|
||||
PixelShaderID = "Super";
|
||||
VertexShaderID = "Super";
|
||||
class Stage1
|
||||
{
|
||||
texture = "#(argb,8,8,3)color(0.5,0.5,1,1,NOHQ)";
|
||||
uvSource = "tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,1};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage2
|
||||
{
|
||||
texture = "#(argb,8,8,3)color(0.5,0.5,0.5,0.5,DT)";
|
||||
uvSource = "tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,1};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage3
|
||||
{
|
||||
texture = "#(argb,8,8,3)color(0,0,0,0,MC)";
|
||||
uvSource = "tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,1};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage4
|
||||
{
|
||||
texture = "#(argb,8,8,3)color(1,1,1,1,AS)";
|
||||
uvSource = "tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,1};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage5
|
||||
{
|
||||
texture = "#(argb,8,8,3)color(1,0,1,0,SMDI)";
|
||||
uvSource = "tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,1};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage6
|
||||
{
|
||||
texture = "#(ai,64,64,1)fresnel(0.4,0.2)";
|
||||
uvSource = "tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,1};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture = "a3\data_f\env_land_co.paa";
|
||||
useWorldEnvMap = "true";
|
||||
uvSource = "tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,1};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
||||
class StageTI
|
||||
{
|
||||
texture = "a3\data_f\default_vehicle_ti_ca.paa";
|
||||
};
|
BIN
addons/tablet/data/getac_f110_co.paa
Normal file
BIN
addons/tablet/data/getac_f110_co.paa
Normal file
Binary file not shown.
41
addons/tablet/data/model.cfg
Normal file
41
addons/tablet/data/model.cfg
Normal file
@ -0,0 +1,41 @@
|
||||
class CfgSkeletons {
|
||||
class Default {
|
||||
isDiscrete = 1;
|
||||
skeletonInherit = "";
|
||||
skeletonBones[] = {};
|
||||
};
|
||||
class pmcs_tablet_skeleton: Default {
|
||||
isDiscrete = 1;
|
||||
skeletonInherit = "";
|
||||
skeletonBones[] = {
|
||||
"camo1",""
|
||||
};
|
||||
};
|
||||
class land_pmcs_tablet_skeleton: pmcs_tablet_skeleton {
|
||||
isDiscrete = 1;
|
||||
skeletonInherit = "pmcs_tablet_skeleton";
|
||||
skeletonBones[] = {
|
||||
"camo1",""
|
||||
};
|
||||
};
|
||||
};
|
||||
class CfgModels {
|
||||
class Default {
|
||||
sections[] = {};
|
||||
sectionsInherit = "";
|
||||
skeletonName = "";
|
||||
class Animations {};
|
||||
};
|
||||
class pmcs_tablet: Default {
|
||||
skeletonName = "pmcs_tablet_skeleton";
|
||||
sections[] = {
|
||||
"camo1"
|
||||
};
|
||||
};
|
||||
class land_pmcs_tablet: pmcs_tablet {
|
||||
skeletonName = "land_pmcs_tablet_skeleton";
|
||||
sections[] = {
|
||||
"camo1"
|
||||
};
|
||||
};
|
||||
};
|
BIN
addons/tablet/data/sof_tablet.p3d
Normal file
BIN
addons/tablet/data/sof_tablet.p3d
Normal file
Binary file not shown.
BIN
addons/tablet/images/getac_f110.paa
Normal file
BIN
addons/tablet/images/getac_f110.paa
Normal file
Binary file not shown.
15
addons/tablet/script_component.hpp
Normal file
15
addons/tablet/script_component.hpp
Normal file
@ -0,0 +1,15 @@
|
||||
#define COMPONENT tablet
|
||||
#define COMPONENT_BEAUTIFIED Tablet
|
||||
#include "..\main\script_mod.hpp"
|
||||
|
||||
// #define DEBUG_MODE_FULL
|
||||
// #define DISABLE_COMPILE_CACHE
|
||||
|
||||
#ifdef DEBUG_ENABLED_TABLET
|
||||
#define DEBUG_MODE_FULL
|
||||
#endif
|
||||
#ifdef DEBUG_SETTINGS_TABLET
|
||||
#define DEBUG_SETTINGS DEBUG_SETTINGS_TABLET
|
||||
#endif
|
||||
|
||||
#include "..\main\script_macros.hpp"
|
BIN
icon_128_ca.paa
Normal file
BIN
icon_128_ca.paa
Normal file
Binary file not shown.
BIN
icon_128_highlight_ca.paa
Normal file
BIN
icon_128_highlight_ca.paa
Normal file
Binary file not shown.
BIN
icon_64_ca.paa
Normal file
BIN
icon_64_ca.paa
Normal file
Binary file not shown.
1
include/a3/data_f/$PBOPREFIX$
Normal file
1
include/a3/data_f/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
a3\data_f
|
12
include/a3/data_f/default.rvmat
Normal file
12
include/a3/data_f/default.rvmat
Normal file
@ -0,0 +1,12 @@
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={1,1,1,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0,0,0,0};
|
||||
specularPower=0;
|
||||
PixelShaderID="Normal";
|
||||
VertexShaderID="Basic";
|
||||
class StageTI
|
||||
{
|
||||
texture="a3\data_f\default_vehicle_ti_ca.paa";
|
||||
};
|
BIN
include/a3/data_f/default_vehicle_ti_ca.paa
Normal file
BIN
include/a3/data_f/default_vehicle_ti_ca.paa
Normal file
Binary file not shown.
3
include/a3/data_f/penetration/cloth.rvmat
Normal file
3
include/a3/data_f/penetration/cloth.rvmat
Normal file
@ -0,0 +1,3 @@
|
||||
surfaceInfo="A3\data_f\Penetration\cloth.bisurf";
|
||||
diffuse[]={0.75,0.80000001,0.30000001,1};
|
||||
ambient[]={0.75,0.80000001,0.30000001,1};
|
9
include/a3/data_f/penetration/default.rvmat
Normal file
9
include/a3/data_f/penetration/default.rvmat
Normal file
@ -0,0 +1,9 @@
|
||||
surfaceInfo="A3\data_f\Penetration\default.bisurf";
|
||||
ambient[]={0.48699999,0.32800001,0.249,1};
|
||||
diffuse[]={0.48699999,0.32800001,0.249,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0,0,0,1};
|
||||
specularPower=1;
|
||||
PixelShaderID="Normal";
|
||||
VertexShaderID="Basic";
|
9
include/a3/data_f/penetration/metal.rvmat
Normal file
9
include/a3/data_f/penetration/metal.rvmat
Normal file
@ -0,0 +1,9 @@
|
||||
surfaceInfo="A3\data_f\Penetration\metal.bisurf";
|
||||
ambient[]={0.69999999,0.80000001,0.77999997,1};
|
||||
diffuse[]={0.69999999,0.80000001,0.77999997,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0,0,0,1};
|
||||
specularPower=1;
|
||||
PixelShaderID="Normal";
|
||||
VertexShaderID="Basic";
|
9
include/a3/data_f/penetration/metal_plate.rvmat
Normal file
9
include/a3/data_f/penetration/metal_plate.rvmat
Normal file
@ -0,0 +1,9 @@
|
||||
surfaceInfo="A3\data_f\Penetration\metal_plate.bisurf";
|
||||
ambient[]={0.69999999,0.80000001,0.77999997,1};
|
||||
diffuse[]={0.69999999,0.80000001,0.77999997,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0,0,0,1};
|
||||
specularPower=1;
|
||||
PixelShaderID="Normal";
|
||||
VertexShaderID="Basic";
|
9
include/a3/data_f/penetration/metal_plate_thin.rvmat
Normal file
9
include/a3/data_f/penetration/metal_plate_thin.rvmat
Normal file
@ -0,0 +1,9 @@
|
||||
surfaceInfo="A3\data_f\Penetration\metal_plate_thin.bisurf";
|
||||
ambient[]={0.69999999,0.80000001,0.77999997,1};
|
||||
diffuse[]={0.69999999,0.80000001,0.77999997,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0,0,0,1};
|
||||
specularPower=1;
|
||||
PixelShaderID="Normal";
|
||||
VertexShaderID="Basic";
|
3
include/a3/data_f/penetration/plastic.rvmat
Normal file
3
include/a3/data_f/penetration/plastic.rvmat
Normal file
@ -0,0 +1,3 @@
|
||||
surfaceInfo="A3\data_f\Penetration\plastic.bisurf";
|
||||
diffuse[]={0.89999998,0.80000001,0.60000002,1};
|
||||
ambient[]={0.89999998,0.80000001,0.60000002,1};
|
3
include/a3/data_f/penetration/tyre.rvmat
Normal file
3
include/a3/data_f/penetration/tyre.rvmat
Normal file
@ -0,0 +1,3 @@
|
||||
surfaceInfo="A3\data_f\Penetration\tyre.bisurf";
|
||||
diffuse[]={0.1,0.1,0.1,1};
|
||||
ambient[]={0.1,0.1,0.1,1};
|
9
include/a3/data_f/penetration/wood.rvmat
Normal file
9
include/a3/data_f/penetration/wood.rvmat
Normal file
@ -0,0 +1,9 @@
|
||||
surfaceInfo="A3\data_f\Penetration\wood.bisurf";
|
||||
ambient[]={0.5,0.25,0,1};
|
||||
diffuse[]={0.5,0.25,0,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0,0,0,1};
|
||||
specularPower=1;
|
||||
PixelShaderID="Normal";
|
||||
VertexShaderID="Basic";
|
1
include/a3/editor_f/$PBOPREFIX$
Normal file
1
include/a3/editor_f/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
a3\editor_f
|
181
include/a3/editor_f/data/scripts/dikCodes.h
Normal file
181
include/a3/editor_f/data/scripts/dikCodes.h
Normal file
@ -0,0 +1,181 @@
|
||||
#ifndef DIK_ESCAPE
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* DirectInput keyboard scan codes
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#define DIK_ESCAPE 0x01
|
||||
#define DIK_1 0x02
|
||||
#define DIK_2 0x03
|
||||
#define DIK_3 0x04
|
||||
#define DIK_4 0x05
|
||||
#define DIK_5 0x06
|
||||
#define DIK_6 0x07
|
||||
#define DIK_7 0x08
|
||||
#define DIK_8 0x09
|
||||
#define DIK_9 0x0A
|
||||
#define DIK_0 0x0B
|
||||
#define DIK_MINUS 0x0C /* - on main keyboard */
|
||||
#define DIK_EQUALS 0x0D
|
||||
#define DIK_BACK 0x0E /* backspace */
|
||||
#define DIK_TAB 0x0F
|
||||
#define DIK_Q 0x10
|
||||
#define DIK_W 0x11
|
||||
#define DIK_E 0x12
|
||||
#define DIK_R 0x13
|
||||
#define DIK_T 0x14
|
||||
#define DIK_Y 0x15
|
||||
#define DIK_U 0x16
|
||||
#define DIK_I 0x17
|
||||
#define DIK_O 0x18
|
||||
#define DIK_P 0x19
|
||||
#define DIK_LBRACKET 0x1A
|
||||
#define DIK_RBRACKET 0x1B
|
||||
#define DIK_RETURN 0x1C /* Enter on main keyboard */
|
||||
#define DIK_LCONTROL 0x1D
|
||||
#define DIK_A 0x1E
|
||||
#define DIK_S 0x1F
|
||||
#define DIK_D 0x20
|
||||
#define DIK_F 0x21
|
||||
#define DIK_G 0x22
|
||||
#define DIK_H 0x23
|
||||
#define DIK_J 0x24
|
||||
#define DIK_K 0x25
|
||||
#define DIK_L 0x26
|
||||
#define DIK_SEMICOLON 0x27
|
||||
#define DIK_APOSTROPHE 0x28
|
||||
#define DIK_GRAVE 0x29 /* accent grave */
|
||||
#define DIK_LSHIFT 0x2A
|
||||
#define DIK_BACKSLASH 0x2B
|
||||
#define DIK_Z 0x2C
|
||||
#define DIK_X 0x2D
|
||||
#define DIK_C 0x2E
|
||||
#define DIK_V 0x2F
|
||||
#define DIK_B 0x30
|
||||
#define DIK_N 0x31
|
||||
#define DIK_M 0x32
|
||||
#define DIK_COMMA 0x33
|
||||
#define DIK_PERIOD 0x34 /* . on main keyboard */
|
||||
#define DIK_SLASH 0x35 /* / on main keyboard */
|
||||
#define DIK_RSHIFT 0x36
|
||||
#define DIK_MULTIPLY 0x37 /* * on numeric keypad */
|
||||
#define DIK_LMENU 0x38 /* left Alt */
|
||||
#define DIK_SPACE 0x39
|
||||
#define DIK_CAPITAL 0x3A
|
||||
#define DIK_F1 0x3B
|
||||
#define DIK_F2 0x3C
|
||||
#define DIK_F3 0x3D
|
||||
#define DIK_F4 0x3E
|
||||
#define DIK_F5 0x3F
|
||||
#define DIK_F6 0x40
|
||||
#define DIK_F7 0x41
|
||||
#define DIK_F8 0x42
|
||||
#define DIK_F9 0x43
|
||||
#define DIK_F10 0x44
|
||||
#define DIK_NUMLOCK 0x45
|
||||
#define DIK_SCROLL 0x46 /* Scroll Lock */
|
||||
#define DIK_NUMPAD7 0x47
|
||||
#define DIK_NUMPAD8 0x48
|
||||
#define DIK_NUMPAD9 0x49
|
||||
#define DIK_SUBTRACT 0x4A /* - on numeric keypad */
|
||||
#define DIK_NUMPAD4 0x4B
|
||||
#define DIK_NUMPAD5 0x4C
|
||||
#define DIK_NUMPAD6 0x4D
|
||||
#define DIK_ADD 0x4E /* + on numeric keypad */
|
||||
#define DIK_NUMPAD1 0x4F
|
||||
#define DIK_NUMPAD2 0x50
|
||||
#define DIK_NUMPAD3 0x51
|
||||
#define DIK_NUMPAD0 0x52
|
||||
#define DIK_DECIMAL 0x53 /* . on numeric keypad */
|
||||
#define DIK_OEM_102 0x56 /* < > | on UK/Germany keyboards */
|
||||
#define DIK_F11 0x57
|
||||
#define DIK_F12 0x58
|
||||
|
||||
#define DIK_F13 0x64 /* (NEC PC98) */
|
||||
#define DIK_F14 0x65 /* (NEC PC98) */
|
||||
#define DIK_F15 0x66 /* (NEC PC98) */
|
||||
|
||||
#define DIK_KANA 0x70 /* (Japanese keyboard) */
|
||||
#define DIK_ABNT_C1 0x73 /* / ? on Portugese (Brazilian) keyboards */
|
||||
#define DIK_CONVERT 0x79 /* (Japanese keyboard) */
|
||||
#define DIK_NOCONVERT 0x7B /* (Japanese keyboard) */
|
||||
#define DIK_YEN 0x7D /* (Japanese keyboard) */
|
||||
#define DIK_ABNT_C2 0x7E /* Numpad . on Portugese (Brazilian) keyboards */
|
||||
#define DIK_NUMPADEQUALS 0x8D /* = on numeric keypad (NEC PC98) */
|
||||
#define DIK_PREVTRACK 0x90 /* Previous Track (DIK_CIRCUMFLEX on Japanese keyboard) */
|
||||
#define DIK_AT 0x91 /* (NEC PC98) */
|
||||
#define DIK_COLON 0x92 /* (NEC PC98) */
|
||||
#define DIK_UNDERLINE 0x93 /* (NEC PC98) */
|
||||
#define DIK_KANJI 0x94 /* (Japanese keyboard) */
|
||||
#define DIK_STOP 0x95 /* (NEC PC98) */
|
||||
#define DIK_AX 0x96 /* (Japan AX) */
|
||||
#define DIK_UNLABELED 0x97 /* (J3100) */
|
||||
#define DIK_NEXTTRACK 0x99 /* Next Track */
|
||||
#define DIK_NUMPADENTER 0x9C /* Enter on numeric keypad */
|
||||
#define DIK_RCONTROL 0x9D
|
||||
#define DIK_MUTE 0xA0 /* Mute */
|
||||
#define DIK_CALCULATOR 0xA1 /* Calculator */
|
||||
#define DIK_PLAYPAUSE 0xA2 /* Play / Pause */
|
||||
#define DIK_MEDIASTOP 0xA4 /* Media Stop */
|
||||
#define DIK_VOLUMEDOWN 0xAE /* Volume - */
|
||||
#define DIK_VOLUMEUP 0xB0 /* Volume + */
|
||||
#define DIK_WEBHOME 0xB2 /* Web home */
|
||||
#define DIK_NUMPADCOMMA 0xB3 /* , on numeric keypad (NEC PC98) */
|
||||
#define DIK_DIVIDE 0xB5 /* / on numeric keypad */
|
||||
#define DIK_SYSRQ 0xB7
|
||||
#define DIK_RMENU 0xB8 /* right Alt */
|
||||
#define DIK_PAUSE 0xC5 /* Pause */
|
||||
#define DIK_HOME 0xC7 /* Home on arrow keypad */
|
||||
#define DIK_UP 0xC8 /* UpArrow on arrow keypad */
|
||||
#define DIK_PRIOR 0xC9 /* PgUp on arrow keypad */
|
||||
#define DIK_LEFT 0xCB /* LeftArrow on arrow keypad */
|
||||
#define DIK_RIGHT 0xCD /* RightArrow on arrow keypad */
|
||||
#define DIK_END 0xCF /* End on arrow keypad */
|
||||
#define DIK_DOWN 0xD0 /* DownArrow on arrow keypad */
|
||||
#define DIK_NEXT 0xD1 /* PgDn on arrow keypad */
|
||||
#define DIK_INSERT 0xD2 /* Insert on arrow keypad */
|
||||
#define DIK_DELETE 0xD3 /* Delete on arrow keypad */
|
||||
#define DIK_LWIN 0xDB /* Left Windows key */
|
||||
#define DIK_RWIN 0xDC /* Right Windows key */
|
||||
#define DIK_APPS 0xDD /* AppMenu key */
|
||||
#define DIK_POWER 0xDE /* System Power */
|
||||
#define DIK_SLEEP 0xDF /* System Sleep */
|
||||
#define DIK_WAKE 0xE3 /* System Wake */
|
||||
#define DIK_WEBSEARCH 0xE5 /* Web Search */
|
||||
#define DIK_WEBFAVORITES 0xE6 /* Web Favorites */
|
||||
#define DIK_WEBREFRESH 0xE7 /* Web Refresh */
|
||||
#define DIK_WEBSTOP 0xE8 /* Web Stop */
|
||||
#define DIK_WEBFORWARD 0xE9 /* Web Forward */
|
||||
#define DIK_WEBBACK 0xEA /* Web Back */
|
||||
#define DIK_MYCOMPUTER 0xEB /* My Computer */
|
||||
#define DIK_MAIL 0xEC /* Mail */
|
||||
#define DIK_MEDIASELECT 0xED /* Media Select */
|
||||
|
||||
/*
|
||||
* Alternate names for keys, to facilitate transition from DOS.
|
||||
*/
|
||||
#define DIK_BACKSPACE DIK_BACK /* backspace */
|
||||
#define DIK_NUMPADSTAR DIK_MULTIPLY /* * on numeric keypad */
|
||||
#define DIK_LALT DIK_LMENU /* left Alt */
|
||||
#define DIK_CAPSLOCK DIK_CAPITAL /* CapsLock */
|
||||
#define DIK_NUMPADMINUS DIK_SUBTRACT /* - on numeric keypad */
|
||||
#define DIK_NUMPADPLUS DIK_ADD /* + on numeric keypad */
|
||||
#define DIK_NUMPADPERIOD DIK_DECIMAL /* . on numeric keypad */
|
||||
#define DIK_NUMPADSLASH DIK_DIVIDE /* / on numeric keypad */
|
||||
#define DIK_RALT DIK_RMENU /* right Alt */
|
||||
#define DIK_UPARROW DIK_UP /* UpArrow on arrow keypad */
|
||||
#define DIK_PGUP DIK_PRIOR /* PgUp on arrow keypad */
|
||||
#define DIK_LEFTARROW DIK_LEFT /* LeftArrow on arrow keypad */
|
||||
#define DIK_RIGHTARROW DIK_RIGHT /* RightArrow on arrow keypad */
|
||||
#define DIK_DOWNARROW DIK_DOWN /* DownArrow on arrow keypad */
|
||||
#define DIK_PGDN DIK_NEXT /* PgDn on arrow keypad */
|
||||
|
||||
/*
|
||||
* Alternate names for keys originally not used on US keyboards.
|
||||
*/
|
||||
#define DIK_CIRCUMFLEX DIK_PREVTRACK /* Japanese keyboard */
|
||||
|
||||
#endif /* DIK_ESCAPE */
|
||||
|
1
include/a3/soft_f_gamma/$PBOPREFIX$
Normal file
1
include/a3/soft_f_gamma/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
a3\soft_f_gamma
|
BIN
include/a3/soft_f_gamma/suv_01/data/ui/map_suv_01_ca.paa
Normal file
BIN
include/a3/soft_f_gamma/suv_01/data/ui/map_suv_01_ca.paa
Normal file
Binary file not shown.
1
include/a3/ui_f/$PBOPREFIX$
Normal file
1
include/a3/ui_f/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
a3\ui_f
|
316
include/a3/ui_f/hpp/defineCommonColors.inc
Normal file
316
include/a3/ui_f/hpp/defineCommonColors.inc
Normal file
@ -0,0 +1,316 @@
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/// GUI
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//--- Background color with defaults (not multipliable)
|
||||
#define GUI_BCG_RGB_R "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])"
|
||||
#define GUI_BCG_RGB_G "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])"
|
||||
#define GUI_BCG_RGB_B "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])"
|
||||
#define GUI_BCG_ALPHA "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.8])"
|
||||
|
||||
#define GUI_BCG_RGB GUI_BCG_RGB_R, GUI_BCG_RGB_G, GUI_BCG_RGB_B
|
||||
#define GUI_BCG_COLOR {GUI_BCG_RGB,GUI_BCG_ALPHA}
|
||||
#define GUI_BCG_COLOR_SELECTED {GUI_BCG_RGB,0.5}
|
||||
|
||||
//--- TitleBar text color
|
||||
#define GUI_TITLETEXT_RGB_R "(profilenamespace getvariable ['GUI_TITLETEXT_RGB_R',1.0])"
|
||||
#define GUI_TITLETEXT_RGB_G "(profilenamespace getvariable ['GUI_TITLETEXT_RGB_G',1.0])"
|
||||
#define GUI_TITLETEXT_RGB_B "(profilenamespace getvariable ['GUI_TITLETEXT_RGB_B',1.0])"
|
||||
#define GUI_TITLETEXT_ALPHA "(profilenamespace getvariable ['GUI_TITLETEXT_RGB_A',0.6])"
|
||||
#define GUI_TITLETEXT_COLOR {GUI_TITLETEXT_RGB_R, GUI_TITLETEXT_RGB_G, GUI_TITLETEXT_RGB_B, GUI_TITLETEXT_ALPHA}
|
||||
|
||||
//--- Background for wGUI displays
|
||||
#define GUI_BCG_MENU_RGB 0, 0, 0
|
||||
#define GUI_BCG_MENU {GUI_BCG_MENU_RGB, 0.7}
|
||||
|
||||
//--- Background for editor
|
||||
#define GUI_BCG_EDITOR_RGB 0.1, 0.1, 0.1
|
||||
#define GUI_BCG_EDITOR {GUI_BCG_EDITOR_RGB, 1}
|
||||
|
||||
//--- Medium background (obsolete; Dwarden's displays)
|
||||
#define GUI_BCG_MEDIUM_RGB GUI_BCG_RGB
|
||||
#define GUI_BCG_MEDIUM_ALPHA GUI_BCG_ALPHA
|
||||
#define GUI_BCG_MEDIUM_COLOR {GUI_BCG_MEDIUM_RGB,GUI_BCG_MEDIUM_ALPHA}
|
||||
|
||||
//--- Dark background (HUD)
|
||||
#define GUI_BCG_DARK_RGB GUI_BCG_RGB
|
||||
#define GUI_BCG_DARK_ALPHA 0.85
|
||||
#define GUI_BCG_DARK_COLOR {GUI_BCG_DARK_RGB,GUI_BCG_DARK_ALPHA}
|
||||
#define GUI_BCG_DARK_TRANSPARENT {GUI_BCG_DARK_RGB,GUI_BCG_DARK_ALPHA / 2}
|
||||
|
||||
//--- Active color (inversed to selected color)
|
||||
#define GUI_BCG_ACTIVE_RGB 1, 1, 1
|
||||
|
||||
//--- Warning color (exit buttons)
|
||||
#define GUI_BCG_ERROR_RGB 0.7, 0, 0
|
||||
|
||||
//--- Text color
|
||||
#define GUI_TEXT_RGB 1, 1, 1
|
||||
#define GUI_TEXT_ALPHA 1.0
|
||||
#define GUI_TEXT_COLOR {GUI_TEXT_RGB,GUI_TEXT_ALPHA}
|
||||
#define GUI_TEXT_SHADOW {0,0,0,0.5}
|
||||
#define GUI_TEXT_HTML_COLOR "#ffffff"
|
||||
#define GUI_TEXT_HTML_SHADOW "#80000000"
|
||||
|
||||
//--- List: text colors and background highlight
|
||||
#define GUI_LIST_TEXT_COLOR {GUI_TEXT_RGB,0.8}
|
||||
#define GUI_LIST_TEXT_COLOR_SELECTED {GUI_TEXT_RGB,1.0}
|
||||
#define GUI_LIST_BCG_SELECTED {0,0,0,0.2}
|
||||
|
||||
//--- Tooltip colours
|
||||
#define GUI_TOOLTIP_TEXT_COLOR {1, 1, 1, 1}
|
||||
#define GUI_TOOLTIP_BOX_COLOR {1, 1, 1, 1}
|
||||
#define GUI_TOOLTIP_SHADE_COLOR {0, 0, 0, 0.65}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/// iGUI
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
//--- IGUI Background color
|
||||
#define IGUI_BCG_RGB_R "(profilenamespace getvariable ['IGUI_BCG_RGB_R',0])"
|
||||
#define IGUI_BCG_RGB_G "(profilenamespace getvariable ['IGUI_BCG_RGB_G',1])"
|
||||
#define IGUI_BCG_RGB_B "(profilenamespace getvariable ['IGUI_BCG_RGB_B',1])"
|
||||
#define IGUI_BCG_RGB_A "(profilenamespace getvariable ['IGUI_BCG_RGB_A',0.8])"
|
||||
#define IGUI_BCG_RGB IGUI_BCG_RGB_R, IGUI_BCG_RGB_G, IGUI_BCG_RGB_B
|
||||
#define IGUI_BCG_COLOR {IGUI_BCG_RGB,IGUI_BCG_RGB_A}
|
||||
|
||||
//--- IGUI Text color
|
||||
#define IGUI_TEXT_RGB_R "(profilenamespace getvariable ['IGUI_TEXT_RGB_R',0])"
|
||||
#define IGUI_TEXT_RGB_G "(profilenamespace getvariable ['IGUI_TEXT_RGB_G',1])"
|
||||
#define IGUI_TEXT_RGB_B "(profilenamespace getvariable ['IGUI_TEXT_RGB_B',1])"
|
||||
#define IGUI_TEXT_RGB_A "(profilenamespace getvariable ['IGUI_TEXT_RGB_A',0.8])"
|
||||
#define IGUI_TEXT_RGB IGUI_TEXT_RGB_R, IGUI_TEXT_RGB_G, IGUI_TEXT_RGB_B
|
||||
#define IGUI_TEXT_COLOR {IGUI_TEXT_RGB,IGUI_TEXT_RGB_A}
|
||||
|
||||
//--- IGUI Warning color
|
||||
#define IGUI_WARNING_RGB_R "(profilenamespace getvariable ['IGUI_WARNING_RGB_R',0.8])"
|
||||
#define IGUI_WARNING_RGB_G "(profilenamespace getvariable ['IGUI_WARNING_RGB_G',0.5])"
|
||||
#define IGUI_WARNING_RGB_B "(profilenamespace getvariable ['IGUI_WARNING_RGB_B',0.0])"
|
||||
#define IGUI_WARNING_RGB_A "(profilenamespace getvariable ['IGUI_WARNING_RGB_A',0.8])"
|
||||
#define IGUI_WARNING_RGB IGUI_WARNING_RGB_R, IGUI_WARNING_RGB_G, IGUI_WARNING_RGB_B
|
||||
#define IGUI_WARNING_COLOR {IGUI_WARNING_RGB,IGUI_WARNING_RGB_A}
|
||||
|
||||
//--- IGUI Error color
|
||||
#define IGUI_ERROR_RGB_R "(profilenamespace getvariable ['IGUI_ERROR_RGB_R',0.8])"
|
||||
#define IGUI_ERROR_RGB_G "(profilenamespace getvariable ['IGUI_ERROR_RGB_G',0.0])"
|
||||
#define IGUI_ERROR_RGB_B "(profilenamespace getvariable ['IGUI_ERROR_RGB_B',0.0])"
|
||||
#define IGUI_ERROR_RGB_A "(profilenamespace getvariable ['IGUI_ERROR_RGB_A',1.0])"
|
||||
#define IGUI_ERROR_RGB IGUI_ERROR_RGB_R, IGUI_ERROR_RGB_G, IGUI_ERROR_RGB_B
|
||||
#define IGUI_ERROR_COLOR {IGUI_ERROR_RGB,IGUI_ERROR_RGB_A}
|
||||
|
||||
//--- IGUI Tactical ping color
|
||||
#define IGUI_TACTPING_RGB_R "(profilenamespace getvariable ['IGUI_TACTPING_RGB_R',1.0])"
|
||||
#define IGUI_TACTPING_RGB_G "(profilenamespace getvariable ['IGUI_TACTPING_RGB_G',0.8])"
|
||||
#define IGUI_TACTPING_RGB_B "(profilenamespace getvariable ['IGUI_TACTPING_RGB_B',0.2])"
|
||||
#define IGUI_TACTPING_RGB_A "(profilenamespace getvariable ['IGUI_TACTPING_RGB_A',1.0])"
|
||||
#define IGUI_TACTPING_RGB IGUI_TACTPING_RGB_R, IGUI_TACTPING_RGB_G, IGUI_TACTPING_RGB_B
|
||||
#define IGUI_TACTPING_COLOR {IGUI_TACTPING_RGB,IGUI_TACTPING_RGB_A}
|
||||
|
||||
//--- HUD Text color (obsolete defines; ToDo: Replace with IGUI_TEXT_COLOR and IGUI_BCG_COLOR)
|
||||
#define CA_UI_HUD IGUI_TEXT_COLOR
|
||||
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/// Sides
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//--- BLUFOR
|
||||
#define Map_BLUFOR_R "(profilenamespace getvariable ['Map_BLUFOR_R',0])"
|
||||
#define Map_BLUFOR_G "(profilenamespace getvariable ['Map_BLUFOR_G',1])"
|
||||
#define Map_BLUFOR_B "(profilenamespace getvariable ['Map_BLUFOR_B',1])"
|
||||
#define Map_BLUFOR_A "(profilenamespace getvariable ['Map_BLUFOR_A',0.8])"
|
||||
#define Map_BLUFOR_RGB Map_BLUFOR_R, Map_BLUFOR_G, Map_BLUFOR_B
|
||||
#define Map_BLUFOR_RGBA {Map_BLUFOR_RGB,Map_BLUFOR_A}
|
||||
|
||||
//--- OPFOR
|
||||
#define Map_OPFOR_R "(profilenamespace getvariable ['Map_OPFOR_R',0])"
|
||||
#define Map_OPFOR_G "(profilenamespace getvariable ['Map_OPFOR_G',1])"
|
||||
#define Map_OPFOR_B "(profilenamespace getvariable ['Map_OPFOR_B',1])"
|
||||
#define Map_OPFOR_A "(profilenamespace getvariable ['Map_OPFOR_A',0.8])"
|
||||
#define Map_OPFOR_RGB Map_OPFOR_R, Map_OPFOR_G, Map_OPFOR_B
|
||||
#define Map_OPFOR_RGBA {Map_OPFOR_RGB,Map_OPFOR_A}
|
||||
|
||||
//--- Independent
|
||||
#define Map_Independent_R "(profilenamespace getvariable ['Map_Independent_R',0])"
|
||||
#define Map_Independent_G "(profilenamespace getvariable ['Map_Independent_G',1])"
|
||||
#define Map_Independent_B "(profilenamespace getvariable ['Map_Independent_B',1])"
|
||||
#define Map_Independent_A "(profilenamespace getvariable ['Map_Independent_A',0.8])"
|
||||
#define Map_Independent_RGB Map_Independent_R, Map_Independent_G, Map_Independent_B
|
||||
#define Map_Independent_RGBA {Map_Independent_RGB,Map_Independent_A}
|
||||
|
||||
//--- Civilian
|
||||
#define Map_Civilian_R "(profilenamespace getvariable ['Map_Civilian_R',0])"
|
||||
#define Map_Civilian_G "(profilenamespace getvariable ['Map_Civilian_G',1])"
|
||||
#define Map_Civilian_B "(profilenamespace getvariable ['Map_Civilian_B',1])"
|
||||
#define Map_Civilian_A "(profilenamespace getvariable ['Map_Civilian_A',0.8])"
|
||||
#define Map_Civilian_RGB Map_Civilian_R, Map_Civilian_G, Map_Civilian_B
|
||||
#define Map_Civilian_RGBA {Map_Civilian_RGB,Map_Civilian_A}
|
||||
|
||||
//--- Unknown
|
||||
#define Map_Unknown_R "(profilenamespace getvariable ['Map_Unknown_R',0])"
|
||||
#define Map_Unknown_G "(profilenamespace getvariable ['Map_Unknown_G',1])"
|
||||
#define Map_Unknown_B "(profilenamespace getvariable ['Map_Unknown_B',1])"
|
||||
#define Map_Unknown_A "(profilenamespace getvariable ['Map_Unknown_A',0.8])"
|
||||
#define Map_Unknown_RGB Map_Unknown_R, Map_Unknown_G, Map_Unknown_B
|
||||
#define Map_Unknown_RGBA {Map_Unknown_RGB,Map_Unknown_A}
|
||||
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/// Misc
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
//overwritten by Warka
|
||||
#define CA_UI_ACTION {0.9,0.9,0.9,0.4}
|
||||
#define CA_UI_ACTION_AVAILABLE IGUI_TEXT_COLOR
|
||||
#define CA_UI_ACTION_ACTIVE {0.24,0.87,0,0.8}
|
||||
#define CA_IGUI_Green {0.709,0.972,0.384,1}
|
||||
#define CA_IGUI_GreenDark {0.259,0.463,0.149, 1} //MUF-added from A3 //{0.659,0.863,0.549,0.6}
|
||||
#define CA_IGUI_Background IGUI_BCG_COLOR
|
||||
|
||||
#define Color_Orange {GUI_BCG_RGB, 1}
|
||||
#define Color_DarkOrange {GUI_BCG_MEDIUM_RGB, 0.7}
|
||||
|
||||
#define CA_colordark {0, 0, 0, 1}
|
||||
#define CA_UI_element_background Color_White
|
||||
#define CA_UI_background {0.6, 0.6, 0.6, 0.4}
|
||||
#define CA_UI_title_background {0.1961,0.1451,0.0941,1.0}
|
||||
#define CA_UI_green {0.709,0.972,0.384,1}
|
||||
#define CA_UI_red {0.58, 0.1147, 0.1108, 1}
|
||||
|
||||
#define CA_UI_grey {0.4,0.4,0.4,1}
|
||||
#define CA_UI_transparent {1,1,1,0}
|
||||
|
||||
#define CA_IGUI_Red {0.706,0.0745,0.0196,1}
|
||||
#define CA_IGUI_Orange {0.863,0.584,0.0,1}
|
||||
#define CA_IGUI_YellowGreen {0.8275,0.8196,0.1961,1.0}
|
||||
#define CA_IGUI_Blue {0.196,0.592,0.706, 1}
|
||||
#define CA_IGUI_Grey {0.606,0.606,0.606,1}
|
||||
|
||||
#define Color_White {0.95, 0.95, 0.95, 1}
|
||||
//#define Color_Black {0.023529, 0, 0.0313725, 1}
|
||||
#define Color_Black {0, 0, 0, 1}
|
||||
#define Color_Gray {1, 1, 1, 0.5}
|
||||
#define Color_Empty {0, 0, 0, 0}
|
||||
|
||||
#define Color_Back {0.1, 0.1, 0.1, 0.4}
|
||||
#define Color_BackList {0.2, 0.2, 0.2, 0.2}
|
||||
|
||||
#define ProcTextWhite "#(argb,8,8,3)color(1,1,1,1)"
|
||||
#define ProcTextBlack "#(argb,8,8,3)color(0,0,0,1)"
|
||||
#define ProcTextGray "#(argb,8,8,3)color(0.3,0.3,0.3,1)"
|
||||
#define ProcTextRed "#(argb,8,8,3)color(1,0,0,1)"
|
||||
#define ProcTextGreen "#(argb,8,8,3)color(0,1,0,1)"
|
||||
#define ProcTextBlue "#(argb,8,8,3)color(0,0,1,1)"
|
||||
#define ProcTextOrange "#(argb,8,8,3)color(1,0.5,0,1)"
|
||||
#define ProcTextTransparent "#(argb,8,8,3)color(0,0,0,0)"
|
||||
#define ProcTextHUD "#(argb,8,8,3)color(0.600,0.8392,0.4706,1.0)"
|
||||
#define ProcTextPurple "#(argb,8,8,3)color(0.75,0,0.75,1)"
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/// Task colors: 3D task marker
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
#define COLOR_TASK_ICON_UNASSIGNED_RGB 1,1,1
|
||||
#define COLOR_TASK_ICON_UNASSIGNED_A 0.5
|
||||
#define COLOR_TASK_ICON_UNASSIGNED_RGBA COLOR_TASK_ICON_UNASSIGNED_RGB,COLOR_TASK_ICON_UNASSIGNED_A
|
||||
#define COLOR_TASK_ICON_ASSIGNED_RGB 1,0.72,0.3
|
||||
#define COLOR_TASK_ICON_ASSIGNED_A 0.5
|
||||
#define COLOR_TASK_ICON_ASSIGNED_RGBA COLOR_TASK_ICON_ASSIGNED_RGB,COLOR_TASK_ICON_ASSIGNED_A
|
||||
#define COLOR_TASK_ICON_CUSTOM_RGB 0.3,0.72,1
|
||||
#define COLOR_TASK_ICON_CUSTOM_A 0.5
|
||||
#define COLOR_TASK_ICON_CUSTOM_RGBA COLOR_TASK_ICON_CUSTOM_RGB,COLOR_TASK_ICON_CUSTOM_A
|
||||
|
||||
#define COLOR_TASK_BACKGROUND_UNASSIGNED_RGB 1,1,1
|
||||
#define COLOR_TASK_BACKGROUND_UNASSIGNED_A 1
|
||||
#define COLOR_TASK_BACKGROUND_UNASSIGNED_RGBA COLOR_TASK_BACKGROUND_UNASSIGNED_RGB,COLOR_TASK_BACKGROUND_UNASSIGNED_A
|
||||
#define COLOR_TASK_BACKGROUND_ASSIGNED_RGB 1,0.72,0.3
|
||||
#define COLOR_TASK_BACKGROUND_ASSIGNED_A 1
|
||||
#define COLOR_TASK_BACKGROUND_ASSIGNED_RGBA COLOR_TASK_BACKGROUND_ASSIGNED_RGB,COLOR_TASK_BACKGROUND_ASSIGNED_A
|
||||
#define COLOR_TASK_BACKGROUND_CUSTOM_RGB 0.3,0.72,1
|
||||
#define COLOR_TASK_BACKGROUND_CUSTOM_A 1
|
||||
#define COLOR_TASK_BACKGROUND_CUSTOM_RGBA COLOR_TASK_BACKGROUND_CUSTOM_RGB,COLOR_TASK_BACKGROUND_CUSTOM_A
|
||||
|
||||
|
||||
#define COLOR_TASK_TEXT_UNASSIGNED_RGB 0.91,0.91,0.91
|
||||
#define COLOR_TASK_TEXT_UNASSIGNED_A 0.55
|
||||
#define COLOR_TASK_TEXT_UNASSIGNED_RGBA COLOR_TASK_TEXT_UNASSIGNED_RGB,COLOR_TASK_TEXT_UNASSIGNED_A
|
||||
#define COLOR_TASK_TEXT_ASSIGNED_RGB 0.91,0.65,0.27
|
||||
#define COLOR_TASK_TEXT_ASSIGNED_A 0.55
|
||||
#define COLOR_TASK_TEXT_ASSIGNED_RGBA COLOR_TASK_TEXT_ASSIGNED_RGB,COLOR_TASK_TEXT_ASSIGNED_A
|
||||
#define COLOR_TASK_TEXT_CUSTOM_RGB 0.27,0.65,0.91
|
||||
#define COLOR_TASK_TEXT_CUSTOM_A 0.55
|
||||
#define COLOR_TASK_TEXT_CUSTOM_RGBA COLOR_TASK_TEXT_CUSTOM_RGB,COLOR_TASK_TEXT_CUSTOM_A
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/// Task colors: generic
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
#define COLOR_TASK_UNASSIGNED_RGB COLOR_TASK_BACKGROUND_UNASSIGNED_RGB
|
||||
#define COLOR_TASK_UNASSIGNED_RGBA COLOR_TASK_UNASSIGNED_RGB,1
|
||||
|
||||
#define COLOR_TASK_ASSIGNED_RGB COLOR_TASK_BACKGROUND_ASSIGNED_RGB
|
||||
#define COLOR_TASK_ASSIGNED_RGBA COLOR_TASK_ASSIGNED_RGB,1
|
||||
|
||||
#define COLOR_TASK_CUSTOM_RGB COLOR_TASK_BACKGROUND_CUSTOM_RGB
|
||||
#define COLOR_TASK_CUSTOM_RGBA COLOR_TASK_CUSTOM_RGB,1
|
||||
|
||||
//navigation elements
|
||||
#define IGUI_CURSOR_COLOR {COLOR_TASK_TEXT_UNASSIGNED_RGBA}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/// Custom info / Sensors (duplicated in \A3\cfgSensors.hpp !!!)
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define COLOR_SENSORS_RADAR_RGB 0.0,1.0,1.0
|
||||
#define COLOR_SENSORS_RADAR_A 1.0
|
||||
#define COLOR_SENSORS_RADAR_RGBA {COLOR_SENSORS_RADAR_RGB,COLOR_SENSORS_RADAR_A}
|
||||
|
||||
#define COLOR_SENSORS_IR_RGB 1.0,0.0,0.0
|
||||
#define COLOR_SENSORS_IR_A 1.0
|
||||
#define COLOR_SENSORS_IR_RGBA {COLOR_SENSORS_IR_RGB,COLOR_SENSORS_IR_A}
|
||||
|
||||
#define COLOR_SENSORS_RWR_RGB 0.5, 1, 0.5
|
||||
#define COLOR_SENSORS_RWR_A 0.5
|
||||
#define COLOR_SENSORS_RWR_RGBA {COLOR_SENSORS_RWR_RGB,COLOR_SENSORS_RWR_A}
|
||||
|
||||
#define COLOR_SENSORS_NV_RGB 1,1,1
|
||||
#define COLOR_SENSORS_NV_A 0
|
||||
#define COLOR_SENSORS_NV_RGBA {COLOR_SENSORS_NV_RGB,COLOR_SENSORS_NV_A}
|
||||
|
||||
#define COLOR_SENSORS_LAS_RGB 1,1,1
|
||||
#define COLOR_SENSORS_LAS_A 0
|
||||
#define COLOR_SENSORS_LAS_RGBA {COLOR_SENSORS_LAS_RGB,COLOR_SENSORS_LAS_A}
|
||||
|
||||
#define COLOR_SENSORS_VIS_RGB 1.0,1.0,0.5
|
||||
#define COLOR_SENSORS_VIS_A 0.8
|
||||
#define COLOR_SENSORS_VIS_RGBA {COLOR_SENSORS_VIS_RGB,COLOR_SENSORS_VIS_A}
|
||||
|
||||
#define COLOR_SENSORS_MAN_RGB 1.0, 0.5, 1.0
|
||||
#define COLOR_SENSORS_MAN_A 1.0
|
||||
#define COLOR_SENSORS_MAN_RGBA {COLOR_SENSORS_MAN_RGB,COLOR_SENSORS_MAN_A}
|
||||
|
||||
|
||||
#define COLOR_SENSORS_ENEMY_RGB 1.0, 0.0, 0.0
|
||||
#define COLOR_SENSORS_ENEMY_A 1.0
|
||||
#define COLOR_SENSORS_ENEMY_RGBA {COLOR_SENSORS_ENEMY_RGB,COLOR_SENSORS_ENEMY_A}
|
||||
|
||||
#define COLOR_SENSORS_FRIENDLY_RGB 0.0, 1.0, 0.0
|
||||
#define COLOR_SENSORS_FRIENDLY_A 1.0
|
||||
#define COLOR_SENSORS_FRIENDLY_RGBA {COLOR_SENSORS_FRIENDLY_RGB,COLOR_SENSORS_FRIENDLY_A}
|
||||
|
||||
#define COLOR_SENSORS_GROUP_RGB 0.7, 1.0, 0.4
|
||||
#define COLOR_SENSORS_GROUP_A 1.0
|
||||
#define COLOR_SENSORS_GROUP_RGBA {COLOR_SENSORS_GROUP_RGB,COLOR_SENSORS_GROUP_A}
|
||||
|
||||
#define COLOR_SENSORS_WARNING_RGB 1.0, 1.0, 0.0
|
||||
#define COLOR_SENSORS_WARNING_A 1.0
|
||||
#define COLOR_SENSORS_WARNING_RGBA {COLOR_SENSORS_WARNING_RGB,COLOR_SENSORS_WARNING_A}
|
||||
|
||||
#define COLOR_SENSORS_THREAT_RGB 1.0, 0.5, 0.0
|
||||
#define COLOR_SENSORS_THREAT_A 1.0
|
||||
#define COLOR_SENSORS_THREAT_RGBA {COLOR_SENSORS_THREAT_RGB,COLOR_SENSORS_THREAT_A}
|
||||
|
||||
#define COLOR_SENSORS_DEFAULT_RGB 1.0, 1.0, 1.0
|
||||
#define COLOR_SENSORS_DEFAULT_A 1.0
|
||||
#define COLOR_SENSORS_DEFAULT_RGBA {COLOR_SENSORS_DEFAULT_RGB,COLOR_SENSORS_DEFAULT_A}
|
464
include/a3/ui_f/hpp/defineCommonGrids.inc
Normal file
464
include/a3/ui_f/hpp/defineCommonGrids.inc
Normal file
@ -0,0 +1,464 @@
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/// GUI
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//--- Hack to avoid too large display upon first startup (fixed in engine)
|
||||
//#define GUI_GRID_OLD_WAbs ((safezoneW / ((floor (safezoneW / safezoneH)) max 1)) min 1.2)
|
||||
|
||||
//--- New grid for new A3 displays
|
||||
#define GUI_GRID_WAbs ((safezoneW / safezoneH) min 1.2)
|
||||
#define GUI_GRID_HAbs (GUI_GRID_WAbs / 1.2)
|
||||
#define GUI_GRID_W (GUI_GRID_WAbs / 40)
|
||||
#define GUI_GRID_H (GUI_GRID_HAbs / 25)
|
||||
#define GUI_GRID_X (safezoneX)
|
||||
#define GUI_GRID_Y (safezoneY + safezoneH - GUI_GRID_HAbs)
|
||||
|
||||
//--- MUF - Test grid used in MP
|
||||
#define GUI_GRID_MP_WAbs GUI_GRID_WAbs
|
||||
#define GUI_GRID_MP_HAbs GUI_GRID_HAbs
|
||||
#define GUI_GRID_MP_W GUI_GRID_W
|
||||
#define GUI_GRID_MP_H GUI_GRID_H
|
||||
#define GUI_GRID_MP_X (SafezoneX)
|
||||
#define GUI_GRID_MP_Y (safezoneY)
|
||||
|
||||
//--- Screen Center
|
||||
#define GUI_GRID_CENTER_WAbs GUI_GRID_WAbs
|
||||
#define GUI_GRID_CENTER_HAbs GUI_GRID_HAbs
|
||||
#define GUI_GRID_CENTER_W GUI_GRID_W
|
||||
#define GUI_GRID_CENTER_H GUI_GRID_H
|
||||
#define GUI_GRID_CENTER_X (safezoneX + (safezoneW - GUI_GRID_CENTER_WAbs)/2)
|
||||
#define GUI_GRID_CENTER_Y (safezoneY + (safezoneH - GUI_GRID_CENTER_HAbs)/2)
|
||||
|
||||
//--- Bottom center position (used by Revive UI)
|
||||
#define GUI_GRID_CENTER_BOTTOM_WAbs GUI_GRID_WAbs
|
||||
#define GUI_GRID_CENTER_BOTTOM_HAbs GUI_GRID_HAbs
|
||||
#define GUI_GRID_CENTER_BOTTOM_W GUI_GRID_W
|
||||
#define GUI_GRID_CENTER_BOTTOM_H GUI_GRID_H
|
||||
#define GUI_GRID_CENTER_BOTTOM_X (safezoneX + (safezoneW - GUI_GRID_CENTER_WAbs)/2)
|
||||
#define GUI_GRID_CENTER_BOTTOM_Y (safezoneY + safezoneH - GUI_GRID_CENTER_HAbs)
|
||||
|
||||
//--- Screen Top Center
|
||||
#define GUI_GRID_TOPCENTER_WAbs GUI_GRID_WAbs
|
||||
#define GUI_GRID_TOPCENTER_HAbs GUI_GRID_HAbs
|
||||
#define GUI_GRID_TOPCENTER_W GUI_GRID_W
|
||||
#define GUI_GRID_TOPCENTER_H GUI_GRID_H
|
||||
#define GUI_GRID_TOPCENTER_X GUI_GRID_CENTER_X
|
||||
#define GUI_GRID_TOPCENTER_Y safezoneY
|
||||
|
||||
//--- Screen Bottom Center
|
||||
#define GUI_GRID_BOTTOMCENTER_WAbs GUI_GRID_WAbs
|
||||
#define GUI_GRID_BOTTOMCENTER_HAbs GUI_GRID_HAbs
|
||||
#define GUI_GRID_BOTTOMCENTER_W GUI_GRID_W
|
||||
#define GUI_GRID_BOTTOMCENTER_H GUI_GRID_H
|
||||
#define GUI_GRID_BOTTOMCENTER_X GUI_GRID_CENTER_X
|
||||
#define GUI_GRID_BOTTOMCENTER_Y GUI_GRID_Y
|
||||
|
||||
//--- 2D Editor - TEST A3
|
||||
#define GUI_GRID_EDITOR_WAbs GUI_GRID_CENTER_WAbs
|
||||
#define GUI_GRID_EDITOR_HAbs GUI_GRID_CENTER_HAbs
|
||||
#define GUI_GRID_EDITOR_W GUI_GRID_CENTER_W
|
||||
#define GUI_GRID_EDITOR_H GUI_GRID_CENTER_H
|
||||
#define GUI_GRID_EDITOR_X (safezoneX)
|
||||
#define GUI_GRID_EDITOR_Y (safezoneY)
|
||||
|
||||
//--- Diary
|
||||
#define GUI_GRID_DIARY_WAbs GUI_GRID_WAbs
|
||||
#define GUI_GRID_DIARY_HAbs GUI_GRID_HAbs
|
||||
#define GUI_GRID_DIARY_W GUI_GRID_W
|
||||
#define GUI_GRID_DIARY_H GUI_GRID_H
|
||||
#define GUI_GRID_DIARY_X (safezoneX)
|
||||
#define GUI_GRID_DIARY_Y (safezoneY)
|
||||
|
||||
//--- Top left
|
||||
#define GUI_GRID_TOPLEFT_WAbs GUI_GRID_WAbs
|
||||
#define GUI_GRID_TOPLEFT_HAbs GUI_GRID_HAbs
|
||||
#define GUI_GRID_TOPLEFT_W GUI_GRID_W
|
||||
#define GUI_GRID_TOPLEFT_H GUI_GRID_H
|
||||
#define GUI_GRID_TOPLEFT_X (safezoneX)
|
||||
#define GUI_GRID_TOPLEFT_Y (safezoneY)
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/// iGUI
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//--- IGUI Vehicle
|
||||
#define IGUI_GRID_VEHICLE_WAbs (10 * GUI_GRID_W)
|
||||
#define IGUI_GRID_VEHICLE_HAbs (4.5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_VEHICLE_XDef (safezoneX + 0.5 * GUI_GRID_W)
|
||||
#define IGUI_GRID_VEHICLE_YDef (safezoneY + 0.5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_VEHICLE_X (profilenamespace getvariable ["IGUI_GRID_VEHICLE_X",IGUI_GRID_VEHICLE_XDef])
|
||||
#define IGUI_GRID_VEHICLE_Y (profilenamespace getvariable ["IGUI_GRID_VEHICLE_Y",IGUI_GRID_VEHICLE_YDef])
|
||||
#define IGUI_GRID_VEHICLE_W GUI_GRID_W
|
||||
#define IGUI_GRID_VEHICLE_H GUI_GRID_H
|
||||
|
||||
//--- IGUI Radar
|
||||
#define IGUI_GRID_RADAR_WAbs (5.6 * GUI_GRID_W)
|
||||
#define IGUI_GRID_RADAR_HAbs (5.6 * GUI_GRID_H)
|
||||
#define IGUI_GRID_RADAR_XDef (safezoneX + safezoneW / 2 - 2.8 * GUI_GRID_W)
|
||||
#define IGUI_GRID_RADAR_YDef (safezoneY + 0.5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_RADAR_X (profilenamespace getvariable ["IGUI_GRID_RADAR_X",IGUI_GRID_RADAR_XDef])
|
||||
#define IGUI_GRID_RADAR_Y (profilenamespace getvariable ["IGUI_GRID_RADAR_Y",IGUI_GRID_RADAR_YDef])
|
||||
#define IGUI_GRID_RADAR_W GUI_GRID_W
|
||||
#define IGUI_GRID_RADAR_H GUI_GRID_H
|
||||
|
||||
//--- IGUI Weapon
|
||||
#define IGUI_GRID_WEAPON_WAbs (10 * GUI_GRID_W)
|
||||
#define IGUI_GRID_WEAPON_HAbs (4.5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_WEAPON_XDef ((safezoneX + safezoneW) - IGUI_GRID_WEAPON_WAbs - 4.3 * GUI_GRID_W)
|
||||
#define IGUI_GRID_WEAPON_YDef (safezoneY + 0.5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_WEAPON_X (profilenamespace getvariable ["IGUI_GRID_WEAPON_X",IGUI_GRID_WEAPON_XDef])
|
||||
#define IGUI_GRID_WEAPON_Y (profilenamespace getvariable ["IGUI_GRID_WEAPON_Y",IGUI_GRID_WEAPON_YDef])
|
||||
#define IGUI_GRID_WEAPON_W GUI_GRID_W
|
||||
#define IGUI_GRID_WEAPON_H GUI_GRID_H
|
||||
|
||||
//--- IGUI Stance indicator
|
||||
#define IGUI_GRID_STANCE_WAbs (3.7 * GUI_GRID_W)
|
||||
#define IGUI_GRID_STANCE_HAbs (3.7 * GUI_GRID_H)
|
||||
#define IGUI_GRID_STANCE_XDef ((safezoneX + safezoneW) - IGUI_GRID_STANCE_WAbs - 0.5 * GUI_GRID_W)
|
||||
#define IGUI_GRID_STANCE_YDef (safezoneY + 0.5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_STANCE_X (profilenamespace getvariable ["IGUI_GRID_STANCE_X",IGUI_GRID_STANCE_XDef])
|
||||
#define IGUI_GRID_STANCE_Y (profilenamespace getvariable ["IGUI_GRID_STANCE_Y",IGUI_GRID_STANCE_YDef])
|
||||
#define IGUI_GRID_STANCE_W GUI_GRID_W
|
||||
#define IGUI_GRID_STANCE_H GUI_GRID_H
|
||||
|
||||
//--- IGUI Stamina Bar
|
||||
#define IGUI_GRID_STAMINA_WAbs (10 * GUI_GRID_W)
|
||||
#define IGUI_GRID_STAMINA_HAbs (1 * GUI_GRID_H)
|
||||
#define IGUI_GRID_STAMINA_XDef IGUI_GRID_WEAPON_XDef
|
||||
#define IGUI_GRID_STAMINA_YDef (safezoneY + 4.05 * GUI_GRID_H)
|
||||
#define IGUI_GRID_STAMINA_X (profilenamespace getvariable ["IGUI_GRID_STAMINA_X",IGUI_GRID_STAMINA_XDef])
|
||||
#define IGUI_GRID_STAMINA_Y (profilenamespace getvariable ["IGUI_GRID_STAMINA_Y",IGUI_GRID_STAMINA_YDef])
|
||||
#define IGUI_GRID_STAMINA_W GUI_GRID_W
|
||||
#define IGUI_GRID_STAMINA_H GUI_GRID_H
|
||||
|
||||
//--- IGUI Notification
|
||||
#define IGUI_GRID_NOTIFICATION_WAbs (12 * GUI_GRID_W)
|
||||
#define IGUI_GRID_NOTIFICATION_HAbs (6 * GUI_GRID_H)
|
||||
#define IGUI_GRID_NOTIFICATION_XDef (0.5 - 6 * GUI_GRID_W)
|
||||
#define IGUI_GRID_NOTIFICATION_YDef (safezoneY + 6.5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_NOTIFICATION_X (profilenamespace getvariable ["IGUI_GRID_NOTIFICATION_X",IGUI_GRID_NOTIFICATION_XDef])
|
||||
#define IGUI_GRID_NOTIFICATION_Y (profilenamespace getvariable ["IGUI_GRID_NOTIFICATION_Y",IGUI_GRID_NOTIFICATION_YDef])
|
||||
#define IGUI_GRID_NOTIFICATION_W GUI_GRID_W
|
||||
#define IGUI_GRID_NOTIFICATION_H GUI_GRID_H
|
||||
|
||||
//--- IGUI Action / Command Menu
|
||||
#define IGUI_GRID_MENU_WAbs (4.5 * GUI_GRID_W)
|
||||
#define IGUI_GRID_MENU_HAbs (13.5 * IGUI_TEXT_SIZE_MEDIUM)
|
||||
#define IGUI_GRID_MENU_XDef (1.5 * GUI_GRID_W + safezoneX)
|
||||
#define IGUI_GRID_MENU_YDef (5 * GUI_GRID_H + safezoneY)
|
||||
#define IGUI_GRID_MENU_X (profilenamespace getvariable ["IGUI_GRID_MENU_X",IGUI_GRID_MENU_XDef])
|
||||
#define IGUI_GRID_MENU_Y (profilenamespace getvariable ["IGUI_GRID_MENU_Y",IGUI_GRID_MENU_YDef])
|
||||
#define IGUI_GRID_MENU_W GUI_GRID_W
|
||||
#define IGUI_GRID_MENU_H GUI_GRID_H
|
||||
|
||||
//--- IGUI Communication menu icons
|
||||
#define IGUI_GRID_COMM_WAbs (1.5 * GUI_GRID_W)
|
||||
#define IGUI_GRID_COMM_HAbs (15 * GUI_GRID_H)
|
||||
#define IGUI_GRID_COMM_XDef (0 * GUI_GRID_W + safezoneX)
|
||||
#define IGUI_GRID_COMM_YDef (5 * GUI_GRID_H + safezoneY)
|
||||
#define IGUI_GRID_COMM_X (profilenamespace getvariable ["IGUI_GRID_COMM_X",IGUI_GRID_COMM_XDef])
|
||||
#define IGUI_GRID_COMM_Y (profilenamespace getvariable ["IGUI_GRID_COMM_Y",IGUI_GRID_COMM_YDef])
|
||||
#define IGUI_GRID_COMM_W GUI_GRID_W
|
||||
#define IGUI_GRID_COMM_H GUI_GRID_H
|
||||
|
||||
//--- IGUI Hint
|
||||
#define IGUI_GRID_HINT_WAbs (12 * GUI_GRID_W)
|
||||
#define IGUI_GRID_HINT_HAbs (8 * GUI_GRID_H)
|
||||
#define IGUI_GRID_HINT_XDef ((safezoneX + safezoneW) - IGUI_GRID_HINT_WAbs - 1 * GUI_GRID_W)
|
||||
#define IGUI_GRID_HINT_YDef (safezoneY + 6 * GUI_GRID_H)
|
||||
#define IGUI_GRID_HINT_X (profilenamespace getvariable ["IGUI_GRID_HINT_X",IGUI_GRID_HINT_XDef])
|
||||
#define IGUI_GRID_HINT_Y (profilenamespace getvariable ["IGUI_GRID_HINT_Y",IGUI_GRID_HINT_YDef])
|
||||
#define IGUI_GRID_HINT_W GUI_GRID_W
|
||||
#define IGUI_GRID_HINT_H GUI_GRID_H
|
||||
|
||||
//--- IGUI GPS
|
||||
#define IGUI_GRID_GPS_XDef (safezoneX + safezoneW - 11 * GUI_GRID_W)
|
||||
#define IGUI_GRID_GPS_YDef (safezoneY + safezoneH - 20.5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_GPS_WDef (10 * GUI_GRID_W)
|
||||
#define IGUI_GRID_GPS_HDef (10 * GUI_GRID_H)
|
||||
#define IGUI_GRID_GPS_X (profilenamespace getvariable ['IGUI_GRID_GPS_X',IGUI_GRID_GPS_XDef])
|
||||
#define IGUI_GRID_GPS_Y (profilenamespace getvariable ['IGUI_GRID_GPS_Y',IGUI_GRID_GPS_YDef])
|
||||
#define IGUI_GRID_GPS_WAbs (profilenamespace getvariable ['IGUI_GRID_GPS_W',IGUI_GRID_GPS_WDef])
|
||||
#define IGUI_GRID_GPS_HAbs (profilenamespace getvariable ['IGUI_GRID_GPS_H',IGUI_GRID_GPS_HDef])
|
||||
|
||||
//--- IGUI AV Camera
|
||||
#define IGUI_GRID_AVCAMERA_XDef (safezoneX + safezoneW - 11.6 * GUI_GRID_W)
|
||||
#define IGUI_GRID_AVCAMERA_YDef (safezoneY + safezoneH - 17.2 * GUI_GRID_H)
|
||||
#define IGUI_GRID_AVCAMERA_WDef (10.6 * GUI_GRID_W)
|
||||
#define IGUI_GRID_AVCAMERA_HDef (6.7 * GUI_GRID_H)
|
||||
#define IGUI_GRID_AVCAMERA_X (profilenamespace getvariable ['IGUI_GRID_AVCAMERA_X',IGUI_GRID_AVCAMERA_XDef])
|
||||
#define IGUI_GRID_AVCAMERA_Y (profilenamespace getvariable ['IGUI_GRID_AVCAMERA_Y',IGUI_GRID_AVCAMERA_YDef])
|
||||
#define IGUI_GRID_AVCAMERA_WAbs (profilenamespace getvariable ['IGUI_GRID_AVCAMERA_W',IGUI_GRID_AVCAMERA_WDef])
|
||||
#define IGUI_GRID_AVCAMERA_HAbs (profilenamespace getvariable ['IGUI_GRID_AVCAMERA_H',IGUI_GRID_AVCAMERA_HDef])
|
||||
|
||||
//--- IGUI IGUI Chat Log
|
||||
#define IGUI_GRID_CHAT_XDef (safezoneX + 1 * GUI_GRID_W)
|
||||
#define IGUI_GRID_CHAT_YDef (safezoneY + safezoneH - 10.5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_CHAT_WDef (20 * GUI_GRID_W)
|
||||
#define IGUI_GRID_CHAT_HDef (5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_CHAT_X (profilenamespace getvariable ["IGUI_GRID_CHAT_X",IGUI_GRID_CHAT_XDef])
|
||||
#define IGUI_GRID_CHAT_Y (profilenamespace getvariable ["IGUI_GRID_CHAT_Y",IGUI_GRID_CHAT_YDef])
|
||||
#define IGUI_GRID_CHAT_WAbs (profilenamespace getvariable ["IGUI_GRID_CHAT_W",IGUI_GRID_CHAT_WDef])
|
||||
#define IGUI_GRID_CHAT_HAbs (profilenamespace getvariable ["IGUI_GRID_CHAT_H",IGUI_GRID_CHAT_HDef])
|
||||
|
||||
//--- IGUI Command Bar
|
||||
#define IGUI_GRID_BAR_WAbs (36 * GUI_GRID_W)
|
||||
#define IGUI_GRID_BAR_HAbs (4 * GUI_GRID_H)
|
||||
#define IGUI_GRID_BAR_XDef (safezoneX + 1 * GUI_GRID_W)
|
||||
#define IGUI_GRID_BAR_YDef (safezoneY + safezoneH - 4.5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_BAR_X (profilenamespace getvariable ["IGUI_GRID_BAR_X",IGUI_GRID_BAR_XDef])
|
||||
#define IGUI_GRID_BAR_Y (profilenamespace getvariable ["IGUI_GRID_BAR_Y",IGUI_GRID_BAR_YDef])
|
||||
#define IGUI_GRID_BAR_W GUI_GRID_W
|
||||
#define IGUI_GRID_BAR_H GUI_GRID_H
|
||||
|
||||
//--- IGUI MP Progress
|
||||
#define IGUI_GRID_MP_WAbs (2.5 * GUI_GRID_W)
|
||||
#define IGUI_GRID_MP_HAbs (15 * GUI_GRID_H)
|
||||
#define IGUI_GRID_MP_XDef (safezoneX + safezoneW - 2 * GUI_GRID_W)
|
||||
#define IGUI_GRID_MP_YDef (5 * GUI_GRID_H + safezoneY)
|
||||
#define IGUI_GRID_MP_X (profilenamespace getvariable ["IGUI_GRID_MP_X",IGUI_GRID_MP_XDef])
|
||||
#define IGUI_GRID_MP_Y (profilenamespace getvariable ["IGUI_GRID_MP_Y",IGUI_GRID_MP_YDef])
|
||||
#define IGUI_GRID_MP_W GUI_GRID_W
|
||||
#define IGUI_GRID_MP_H GUI_GRID_H
|
||||
|
||||
//--- IGUI Custom Mission Display
|
||||
#define IGUI_GRID_MISSION_WAbs (20 * GUI_GRID_W)
|
||||
#define IGUI_GRID_MISSION_HAbs (5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_MISSION_XDef (safezoneX + safezoneW - 21 * GUI_GRID_W)
|
||||
#define IGUI_GRID_MISSION_YDef (safezoneY + safezoneH - 10.5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_MISSION_X (profilenamespace getvariable ["IGUI_GRID_MISSION_X",IGUI_GRID_MISSION_XDef])
|
||||
#define IGUI_GRID_MISSION_Y (profilenamespace getvariable ["IGUI_GRID_MISSION_Y",IGUI_GRID_MISSION_YDef])
|
||||
#define IGUI_GRID_MISSION_W GUI_GRID_W
|
||||
#define IGUI_GRID_MISSION_H GUI_GRID_H
|
||||
|
||||
//--- IGUI Custom Info
|
||||
#define IGUI_GRID_CUSTOMINFO_WDef (10 * GUI_GRID_W)
|
||||
#define IGUI_GRID_CUSTOMINFO_HDef (10 * GUI_GRID_H)
|
||||
#define IGUI_GRID_CUSTOMINFOLEFT_XDef (safezoneX + 0.5 * GUI_GRID_W)
|
||||
#define IGUI_GRID_CUSTOMINFOLEFT_YDef (safezoneY + safezoneH - 21 * GUI_GRID_H)
|
||||
#define IGUI_GRID_CUSTOMINFORIGHT_XDef ((safezoneX + safezoneW) - (IGUI_GRID_CUSTOMINFO_WDef + 0.5 * GUI_GRID_W))
|
||||
#define IGUI_GRID_CUSTOMINFORIGHT_YDef (safezoneY + safezoneH - 21 * GUI_GRID_H)
|
||||
|
||||
#define IGUI_GRID_CUSTOMINFOLEFT_X (profilenamespace getvariable ["IGUI_GRID_CUSTOMINFOLEFT_X",IGUI_GRID_CUSTOMINFOLEFT_XDef])
|
||||
#define IGUI_GRID_CUSTOMINFOLEFT_Y (profilenamespace getvariable ["IGUI_GRID_CUSTOMINFOLEFT_Y",IGUI_GRID_CUSTOMINFOLEFT_YDef])
|
||||
#define IGUI_GRID_CUSTOMINFORIGHT_X (profilenamespace getvariable ["IGUI_GRID_CUSTOMINFORIGHT_X",IGUI_GRID_CUSTOMINFORIGHT_XDef])
|
||||
#define IGUI_GRID_CUSTOMINFORIGHT_Y (profilenamespace getvariable ["IGUI_GRID_CUSTOMINFORIGHT_Y",IGUI_GRID_CUSTOMINFORIGHT_YDef])
|
||||
#define IGUI_GRID_CUSTOMINFO_WAbs (profilenamespace getvariable ["IGUI_GRID_CUSTOMINFORIGHT_W",IGUI_GRID_CUSTOMINFO_WDef])
|
||||
#define IGUI_GRID_CUSTOMINFO_HAbs (profilenamespace getvariable ["IGUI_GRID_CUSTOMINFORIGHT_H",IGUI_GRID_CUSTOMINFO_HDef])
|
||||
#define IGUI_GRID_CUSTOMINFO_INNER_WAbs IGUI_GRID_CUSTOMINFO_WAbs - 0.25 * GUI_GRID_W
|
||||
#define IGUI_GRID_CUSTOMINFO_INNER_HAbs IGUI_GRID_CUSTOMINFO_HAbs - 1.25 * GUI_GRID_H
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/// Old
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//--- Old grid, that is used for old A3 and TKOH displays
|
||||
#define GUI_GRID_OLD_WAbs ((safezoneW / safezoneH) min 1.2)
|
||||
#define GUI_GRID_OLD_HAbs (GUI_GRID_OLD_WAbs / 1.2)
|
||||
#define GUI_GRID_OLD_W (GUI_GRID_OLD_WAbs / 32)
|
||||
#define GUI_GRID_OLD_H (GUI_GRID_OLD_HAbs / 20)
|
||||
#define GUI_GRID_OLD_X (safezoneX)
|
||||
#define GUI_GRID_OLD_Y (safezoneY + safezoneH - GUI_GRID_OLD_HAbs)
|
||||
|
||||
//--- Centered
|
||||
//#define GUI_GRID_OLD_X (safezoneX + (safezoneW - GUI_GRID_OLD_CENTER_WAbs)/2)
|
||||
//--- Dark magic
|
||||
//#define GUI_GRID_OLD_X (profilenamespace getvariable ['GUI_GRID_OLD_X',(safezoneX + (safezoneW - GUI_GRID_OLD_CENTER_WAbs)/2)])
|
||||
//#define GUI_GRID_OLD_Y (profilenamespace getvariable ['GUI_GRID_OLD_Y',(safezoneY + safezoneH - GUI_GRID_OLD_HAbs)])
|
||||
|
||||
//MUF-TEST: Anchor near the right edge of the screen - when changing Interface size, this point doesn't change its X position
|
||||
#define GUI_ANCHOR_RIGHT (0.983 * safezoneW + safezoneX)
|
||||
#define GUI_ANCHOR_LEFT 0
|
||||
|
||||
//--- Screen Center
|
||||
#define GUI_GRID_OLD_CENTER_WAbs GUI_GRID_OLD_WAbs
|
||||
#define GUI_GRID_OLD_CENTER_HAbs GUI_GRID_OLD_HAbs
|
||||
#define GUI_GRID_OLD_CENTER_W GUI_GRID_OLD_W
|
||||
#define GUI_GRID_OLD_CENTER_H GUI_GRID_OLD_H
|
||||
#define GUI_GRID_OLD_CENTER_X (safezoneX + (safezoneW - GUI_GRID_OLD_CENTER_WAbs)/2)
|
||||
#define GUI_GRID_OLD_CENTER_Y (safezoneY + (safezoneH - GUI_GRID_OLD_CENTER_HAbs)/2)
|
||||
|
||||
//--- 2D Editor
|
||||
#define GUI_GRID_OLD_EDITOR_WAbs GUI_GRID_OLD_CENTER_WAbs
|
||||
#define GUI_GRID_OLD_EDITOR_HAbs GUI_GRID_OLD_CENTER_HAbs
|
||||
#define GUI_GRID_OLD_EDITOR_W GUI_GRID_OLD_CENTER_W
|
||||
#define GUI_GRID_OLD_EDITOR_H GUI_GRID_OLD_CENTER_H
|
||||
#define GUI_GRID_OLD_EDITOR_X GUI_GRID_OLD_CENTER_X
|
||||
#define GUI_GRID_OLD_EDITOR_Y (safezoneY)
|
||||
|
||||
//--- Debug console (center down)
|
||||
#define GUI_GRID_OLD_DEBUG_WAbs GUI_GRID_OLD_WAbs
|
||||
#define GUI_GRID_OLD_DEBUG_HAbs GUI_GRID_OLD_HAbs
|
||||
#define GUI_GRID_OLD_DEBUG_W GUI_GRID_OLD_W
|
||||
#define GUI_GRID_OLD_DEBUG_H GUI_GRID_OLD_H
|
||||
#define GUI_GRID_OLD_DEBUG_X (safezoneX + (safezoneW - GUI_GRID_OLD_DEBUG_WAbs)/2)
|
||||
#define GUI_GRID_OLD_DEBUG_Y (safezoneY + safezoneH - GUI_GRID_OLD_DEBUG_HAbs)
|
||||
|
||||
//--- IGUI Common
|
||||
#define IGUI_GRID_OLD_WAbs GUI_GRID_OLD_WAbs
|
||||
#define IGUI_GRID_OLD_HAbs GUI_GRID_OLD_HAbs
|
||||
#define IGUI_GRID_OLD_W GUI_GRID_OLD_W
|
||||
#define IGUI_GRID_OLD_H GUI_GRID_OLD_H
|
||||
#define IGUI_GRID_OLD_X (safezoneX + (safezoneW - IGUI_GRID_OLD_WAbs) / 2)
|
||||
#define IGUI_GRID_OLD_Y (safezoneY + safezoneH - IGUI_GRID_OLD_HAbs)
|
||||
|
||||
//--- IGUI Bottom
|
||||
#define IGUI_GRID_OLD_BOTTOM_WAbs IGUI_GRID_OLD_WAbs
|
||||
#define IGUI_GRID_OLD_BOTTOM_HAbs IGUI_GRID_OLD_HAbs
|
||||
#define IGUI_GRID_OLD_BOTTOM_W IGUI_GRID_OLD_W
|
||||
#define IGUI_GRID_OLD_BOTTOM_H IGUI_GRID_OLD_H
|
||||
#define IGUI_GRID_OLD_BOTTOM_X (safezoneX + (safezoneW - IGUI_GRID_OLD_BOTTOM_WAbs) / 2)
|
||||
#define IGUI_GRID_OLD_BOTTOM_Y (safezoneY + safezoneH - IGUI_GRID_OLD_BOTTOM_HAbs)
|
||||
|
||||
//--- IGUI Analogue Gauges -----------------------------------------------------------------------------------------------------
|
||||
//--- Analogue gauge - Speed
|
||||
#define IGUI_GRID_GAUGESPEED_XDef (safezoneX + (safezoneW / 2) - 19.75 * GUI_GRID_W)
|
||||
#define IGUI_GRID_GAUGESPEED_YDef (safezoneY + safezoneH - 11.7 * GUI_GRID_H)
|
||||
#define IGUI_GRID_GAUGESPEED_X (profilenamespace getvariable ['IGUI_GRID_GAUGESPEED_X',IGUI_GRID_GAUGESPEED_XDef])
|
||||
#define IGUI_GRID_GAUGESPEED_Y (profilenamespace getvariable ['IGUI_GRID_GAUGESPEED_Y',IGUI_GRID_GAUGESPEED_YDef])
|
||||
#define IGUI_GRID_GAUGESPEED_WAbs (7.5 * GUI_GRID_W)
|
||||
#define IGUI_GRID_GAUGESPEED_HAbs (7.5 * GUI_GRID_H)
|
||||
|
||||
//--- Analogue gauge - Alt
|
||||
#define IGUI_GRID_GAUGEALT_XDef (safezoneX + (safezoneW / 2) - 11.75 * GUI_GRID_W)
|
||||
#define IGUI_GRID_GAUGEALT_YDef (safezoneY + safezoneH - 11.7 * GUI_GRID_H)
|
||||
#define IGUI_GRID_GAUGEALT_X (profilenamespace getvariable ['IGUI_GRID_GAUGEALT_X',IGUI_GRID_GAUGEALT_XDef])
|
||||
#define IGUI_GRID_GAUGEALT_Y (profilenamespace getvariable ['IGUI_GRID_GAUGEALT_Y',IGUI_GRID_GAUGEALT_YDef])
|
||||
#define IGUI_GRID_GAUGEALT_WAbs (7.5 * GUI_GRID_W)
|
||||
#define IGUI_GRID_GAUGEALT_HAbs (7.5 * GUI_GRID_H)
|
||||
|
||||
//--- Analogue gauge - Horizon
|
||||
#define IGUI_GRID_GAUGEHORIZON_XDef (safezoneX + ((safezoneW - 7.5 * GUI_GRID_W) / 2))
|
||||
#define IGUI_GRID_GAUGEHORIZON_YDef (safezoneY + safezoneH - 11.7 * GUI_GRID_H)
|
||||
#define IGUI_GRID_GAUGEHORIZON_X (profilenamespace getvariable ['IGUI_GRID_GAUGEHORIZON_X',IGUI_GRID_GAUGEHORIZON_XDef])
|
||||
#define IGUI_GRID_GAUGEHORIZON_Y (profilenamespace getvariable ['IGUI_GRID_GAUGEHORIZON_Y',IGUI_GRID_GAUGEHORIZON_YDef])
|
||||
#define IGUI_GRID_GAUGEHORIZON_WAbs (7.5 * GUI_GRID_W)
|
||||
#define IGUI_GRID_GAUGEHORIZON_HAbs (7.5 * GUI_GRID_H)
|
||||
|
||||
//--- Analogue gauge - Stability
|
||||
#define IGUI_GRID_GAUGESTABILITY_XDef (safezoneX + (safezoneW / 2) + 4.25 * GUI_GRID_W)
|
||||
#define IGUI_GRID_GAUGESTABILITY_YDef (safezoneY + safezoneH - 11.7 * GUI_GRID_H)
|
||||
#define IGUI_GRID_GAUGESTABILITY_X (profilenamespace getvariable ['IGUI_GRID_GAUGESTABILITY_X',IGUI_GRID_GAUGESTABILITY_XDef])
|
||||
#define IGUI_GRID_GAUGESTABILITY_Y (profilenamespace getvariable ['IGUI_GRID_GAUGESTABILITY_Y',IGUI_GRID_GAUGESTABILITY_YDef])
|
||||
#define IGUI_GRID_GAUGESTABILITY_WAbs (7.5 * GUI_GRID_W)
|
||||
#define IGUI_GRID_GAUGESTABILITY_HAbs (7.5 * GUI_GRID_H)
|
||||
|
||||
//--- Analogue gauge - Compass
|
||||
#define IGUI_GRID_GAUGECOMPASS_XDef (safezoneX + (safezoneW / 2) + 12.25 * GUI_GRID_W)
|
||||
#define IGUI_GRID_GAUGECOMPASS_YDef (safezoneY + safezoneH - 11.7 * GUI_GRID_H)
|
||||
#define IGUI_GRID_GAUGECOMPASS_X (profilenamespace getvariable ['IGUI_GRID_GAUGECOMPASS_X',IGUI_GRID_GAUGECOMPASS_XDef])
|
||||
#define IGUI_GRID_GAUGECOMPASS_Y (profilenamespace getvariable ['IGUI_GRID_GAUGECOMPASS_Y',IGUI_GRID_GAUGECOMPASS_YDef])
|
||||
#define IGUI_GRID_GAUGECOMPASS_WAbs (7.5 * GUI_GRID_W)
|
||||
#define IGUI_GRID_GAUGECOMPASS_HAbs (7.5 * GUI_GRID_H)
|
||||
|
||||
//--- Analogue gauge - Damage indicators
|
||||
// #define IGUI_GRID_GAUGEDAMAGE_XDef (safezoneX + (safezoneW / 2) - 19 * GUI_GRID_W)
|
||||
// #define IGUI_GRID_GAUGEDAMAGE_YDef (safezoneY + safezoneH - 7 * GUI_GRID_H)
|
||||
// #define IGUI_GRID_GAUGEDAMAGE_X (profilenamespace getvariable ['IGUI_GRID_GAUGEDAMAGE_X',IGUI_GRID_GAUGEDAMAGE_XDef])
|
||||
// #define IGUI_GRID_GAUGEDAMAGE_Y (profilenamespace getvariable ['IGUI_GRID_GAUGEDAMAGE_Y',IGUI_GRID_GAUGEDAMAGE_YDef])
|
||||
// #define IGUI_GRID_GAUGEDAMAGE_WAbs (9.6 * GUI_GRID_W)
|
||||
// #define IGUI_GRID_GAUGEDAMAGE_HAbs (2.4 * GUI_GRID_H)
|
||||
//--- IGUI Analogue Gauges -----------------------------------------------------------------------------------------------------
|
||||
|
||||
//--- Sling Load Assistant
|
||||
#define IGUI_GRID_SLINGLOADASSISTANT_XDef (safezoneX + safezoneW - 8 * GUI_GRID_W)
|
||||
#define IGUI_GRID_SLINGLOADASSISTANT_YDef (safezoneY + safezoneH - 19.5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_SLINGLOADASSISTANT_WDef (7 * GUI_GRID_W)
|
||||
#define IGUI_GRID_SLINGLOADASSISTANT_HDef (9.5 * GUI_GRID_H)
|
||||
#define IGUI_GRID_SLINGLOADASSISTANT_X (profilenamespace getvariable ['IGUI_GRID_SLINGLOADASSISTANT_X',IGUI_GRID_SLINGLOADASSISTANT_XDef])
|
||||
#define IGUI_GRID_SLINGLOADASSISTANT_Y (profilenamespace getvariable ['IGUI_GRID_SLINGLOADASSISTANT_Y',IGUI_GRID_SLINGLOADASSISTANT_YDef])
|
||||
#define IGUI_GRID_SLINGLOADASSISTANT_WAbs (profilenamespace getvariable ['IGUI_GRID_SLINGLOADASSISTANT_W',IGUI_GRID_SLINGLOADASSISTANT_WDef])
|
||||
#define IGUI_GRID_SLINGLOADASSISTANT_HAbs (profilenamespace getvariable ['IGUI_GRID_SLINGLOADASSISTANT_H',IGUI_GRID_SLINGLOADASSISTANT_HDef])
|
||||
|
||||
//--- Squad Radar
|
||||
// #define IGUI_GRID_SQUADRADAR_XDef (safezoneX + (safezoneW / 2) - 3 * GUI_GRID_W)
|
||||
// #define IGUI_GRID_SQUADRADAR_YDef (safezoneY + safezoneH - 10.9 * GUI_GRID_H)
|
||||
// #define IGUI_GRID_SQUADRADAR_X (profilenamespace getvariable ['IGUI_GRID_SQUADRADAR_X',IGUI_GRID_SQUADRADAR_XDef])
|
||||
// #define IGUI_GRID_SQUADRADAR_Y (profilenamespace getvariable ['IGUI_GRID_SQUADRADAR_Y',IGUI_GRID_SQUADRADAR_YDef])
|
||||
// #define IGUI_GRID_SQUADRADAR_WAbs (6 * GUI_GRID_W)
|
||||
// #define IGUI_GRID_SQUADRADAR_HAbs (6 * GUI_GRID_H)
|
||||
|
||||
// #define IGUI_GRID_SQUADRADAR_LIST1_XDef (IGUI_GRID_SQUADRADAR_XDef + IGUI_GRID_SQUADRADAR_WAbs)
|
||||
// #define IGUI_GRID_SQUADRADAR_LIST1_YDef (IGUI_GRID_SQUADRADAR_YDef)
|
||||
// #define IGUI_GRID_SQUADRADAR_LIST1_X (profilenamespace getvariable ['IGUI_GRID_SQUADRADAR_LIST1_X',IGUI_GRID_SQUADRADAR_LIST1_XDef])
|
||||
// #define IGUI_GRID_SQUADRADAR_LIST1_Y (profilenamespace getvariable ['IGUI_GRID_SQUADRADAR_LIST1_Y',IGUI_GRID_SQUADRADAR_LIST1_YDef])
|
||||
// #define IGUI_GRID_SQUADRADAR_LIST1_WAbs (6 * GUI_GRID_W)
|
||||
// #define IGUI_GRID_SQUADRADAR_LIST1_HAbs (6 * GUI_GRID_H)
|
||||
|
||||
// #define IGUI_GRID_SQUADRADAR_LIST2_XDef (IGUI_GRID_SQUADRADAR_LIST1_XDef + IGUI_GRID_SQUADRADAR_LIST1_WAbs)
|
||||
// #define IGUI_GRID_SQUADRADAR_LIST2_YDef (IGUI_GRID_SQUADRADAR_LIST1_YDef)
|
||||
// #define IGUI_GRID_SQUADRADAR_LIST2_X (profilenamespace getvariable ['IGUI_GRID_SQUADRADAR_LIST2_X',IGUI_GRID_SQUADRADAR_LIST2_XDef])
|
||||
// #define IGUI_GRID_SQUADRADAR_LIST2_Y (profilenamespace getvariable ['IGUI_GRID_SQUADRADAR_LIST2_Y',IGUI_GRID_SQUADRADAR_LIST2_YDef])
|
||||
// #define IGUI_GRID_SQUADRADAR_LIST2_WAbs (6 * GUI_GRID_W)
|
||||
// #define IGUI_GRID_SQUADRADAR_LIST2_HAbs (6 * GUI_GRID_H)
|
||||
|
||||
//--- IGUI Action / Command Menu
|
||||
#define IGUI_GRID_OLD_MENU_WAbs (4.5 * IGUI_GRID_OLD_W)
|
||||
#define IGUI_GRID_OLD_MENU_HAbs (10 * (IGUI_TEXT_SIZE_MEDIUM * 1.3))
|
||||
#define IGUI_GRID_OLD_MENU_XDef (1 * IGUI_GRID_OLD_W + safezoneX)
|
||||
#define IGUI_GRID_OLD_MENU_YDef (5 * IGUI_GRID_OLD_H + safezoneY)
|
||||
#define IGUI_GRID_OLD_MENU_X (profilenamespace getvariable ["IGUI_GRID_OLD_MENU_X",IGUI_GRID_OLD_MENU_XDef])
|
||||
#define IGUI_GRID_OLD_MENU_Y (profilenamespace getvariable ["IGUI_GRID_OLD_MENU_Y",IGUI_GRID_OLD_MENU_YDef])
|
||||
#define IGUI_GRID_OLD_MENU_W IGUI_GRID_OLD_W
|
||||
#define IGUI_GRID_OLD_MENU_H IGUI_GRID_OLD_H
|
||||
|
||||
//--- E3
|
||||
/*
|
||||
#define IGUI_GRID_OLD_MENU_WAbs (4.5 * IGUI_GRID_OLD_W)
|
||||
#define IGUI_GRID_OLD_MENU_HAbs (10 * (IGUI_TEXT_SIZE_MEDIUM * 1.3))
|
||||
#define IGUI_GRID_OLD_MENU_XDef (0.6)
|
||||
#define IGUI_GRID_OLD_MENU_YDef (0.55)
|
||||
#define IGUI_GRID_OLD_MENU_X (profilenamespace getvariable ["IGUI_GRID_OLD_MENU_X",IGUI_GRID_OLD_MENU_XDef])
|
||||
#define IGUI_GRID_OLD_MENU_Y (profilenamespace getvariable ["IGUI_GRID_OLD_MENU_Y",IGUI_GRID_OLD_MENU_YDef])
|
||||
#define IGUI_GRID_OLD_MENU_W IGUI_GRID_OLD_W
|
||||
#define IGUI_GRID_OLD_MENU_H IGUI_GRID_OLD_H
|
||||
*/
|
||||
|
||||
//--- IGUI Task
|
||||
#define IGUI_GRID_OLD_TASK_WAbs (12 * IGUI_GRID_OLD_W)
|
||||
#define IGUI_GRID_OLD_TASK_HAbs (2 * IGUI_GRID_OLD_H)
|
||||
#define IGUI_GRID_OLD_TASK_XDef (10 * IGUI_GRID_OLD_W + IGUI_GRID_OLD_X)
|
||||
#define IGUI_GRID_OLD_TASK_YDef (1 * IGUI_GRID_OLD_H + safezoneY)
|
||||
#define IGUI_GRID_OLD_TASK_X IGUI_GRID_OLD_TASK_XDef
|
||||
#define IGUI_GRID_OLD_TASK_Y IGUI_GRID_OLD_TASK_YDef
|
||||
#define IGUI_GRID_OLD_TASK_W IGUI_GRID_OLD_W
|
||||
#define IGUI_GRID_OLD_TASK_H IGUI_GRID_OLD_H
|
||||
|
||||
//--- IGUI PIP
|
||||
#define IGUI_GRID_OLD_PIP_XDef (safezoneX + safezoneW - 6.8 * IGUI_GRID_OLD_W)
|
||||
#define IGUI_GRID_OLD_PIP_YDef (7 * IGUI_GRID_OLD_H + IGUI_GRID_OLD_Y)
|
||||
#define IGUI_GRID_OLD_PIP_WDef (6 * IGUI_GRID_OLD_W)
|
||||
#define IGUI_GRID_OLD_PIP_HDef (IGUI_GRID_OLD_PIP_WDef)
|
||||
//#define IGUI_GRID_OLD_PIP_X (profilenamespace getvariable ['IGUI_GRID_OLD_PIP_X',IGUI_GRID_OLD_PIP_XDef])
|
||||
//#define IGUI_GRID_OLD_PIP_Y (profilenamespace getvariable ['IGUI_GRID_OLD_PIP_Y',IGUI_GRID_OLD_PIP_YDef])
|
||||
//#define IGUI_GRID_OLD_PIP_WAbs (profilenamespace getvariable ['IGUI_GRID_OLD_PIP_W',IGUI_GRID_OLD_PIP_WDef])
|
||||
#define IGUI_GRID_OLD_PIP_X IGUI_GRID_OLD_PIP_XDef
|
||||
#define IGUI_GRID_OLD_PIP_Y IGUI_GRID_OLD_PIP_YDef
|
||||
#define IGUI_GRID_OLD_PIP_WAbs IGUI_GRID_OLD_PIP_WDef
|
||||
#define IGUI_GRID_OLD_PIP_HAbs (IGUI_GRID_OLD_PIP_WAbs)
|
||||
|
||||
|
||||
//--- MUF - experimental optics grid
|
||||
// #define GUI_GRID_OLD_OPTICS_X (SafezoneX + ((SafezoneW - SafezoneH) / 2))
|
||||
// #define GUI_GRID_OLD_OPTICS_Y (SafezoneY)
|
||||
// #define GUI_GRID_OLD_OPTICS_W (0.01875)
|
||||
// #define GUI_GRID_OLD_OPTICS_H (0.025)
|
||||
// #define GUI_GRID_OLD_OPTICS_WAbs ((SafezoneX + ((SafezoneW - SafezoneH) / 2)) / 0.01875)
|
||||
// #define GUI_GRID_OLD_OPTICS_HAbs (SafezoneH / 0.01875)
|
||||
|
||||
#define GUI_GRID_OLD_OPTICS_X (SafezoneX + ((SafezoneW - SafezoneH) / 2))
|
||||
#define GUI_GRID_OLD_OPTICS_Y (SafezoneY)
|
||||
#define GUI_GRID_OLD_OPTICS_W (0.01875 * SafezoneH)
|
||||
#define GUI_GRID_OLD_OPTICS_H (0.025 * SafezoneH)
|
||||
#define GUI_GRID_OLD_OPTICS_WAbs (SafezoneH)
|
||||
#define GUI_GRID_OLD_OPTICS_HAbs (SafezoneH)
|
||||
|
||||
//--- MUF - experimental AV Terminal grid
|
||||
#define GUI_GRID_OLD_AV_TERMINAL_X (safezoneX)
|
||||
#define GUI_GRID_OLD_AV_TERMINAL_Y (safezoneY)
|
||||
#define GUI_GRID_OLD_AV_TERMINAL_W (safezoneW / 64)
|
||||
#define GUI_GRID_OLD_AV_TERMINAL_H (safezoneH / 40)
|
||||
#define GUI_GRID_OLD_AV_TERMINAL_WAbs (safezoneW)
|
||||
#define GUI_GRID_OLD_AV_TERMINAL_HAbs (safezoneH)
|
190
include/a3/ui_f/hpp/defineDIKCodes.inc
Normal file
190
include/a3/ui_f/hpp/defineDIKCodes.inc
Normal file
@ -0,0 +1,190 @@
|
||||
#ifndef DIK_ESCAPE
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* DirectInput keyboard scan codes
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#define DIK_ESCAPE 0x01
|
||||
#define DIK_1 0x02
|
||||
#define DIK_2 0x03
|
||||
#define DIK_3 0x04
|
||||
#define DIK_4 0x05
|
||||
#define DIK_5 0x06
|
||||
#define DIK_6 0x07
|
||||
#define DIK_7 0x08
|
||||
#define DIK_8 0x09
|
||||
#define DIK_9 0x0A
|
||||
#define DIK_0 0x0B
|
||||
#define DIK_MINUS 0x0C /* - on main keyboard */
|
||||
#define DIK_EQUALS 0x0D
|
||||
#define DIK_BACK 0x0E /* backspace */
|
||||
#define DIK_TAB 0x0F
|
||||
#define DIK_Q 0x10
|
||||
#define DIK_W 0x11
|
||||
#define DIK_E 0x12
|
||||
#define DIK_R 0x13
|
||||
#define DIK_T 0x14
|
||||
#define DIK_Y 0x15
|
||||
#define DIK_U 0x16
|
||||
#define DIK_I 0x17
|
||||
#define DIK_O 0x18
|
||||
#define DIK_P 0x19
|
||||
#define DIK_LBRACKET 0x1A
|
||||
#define DIK_RBRACKET 0x1B
|
||||
#define DIK_RETURN 0x1C /* Enter on main keyboard */
|
||||
#define DIK_LCONTROL 0x1D
|
||||
#define DIK_A 0x1E
|
||||
#define DIK_S 0x1F
|
||||
#define DIK_D 0x20
|
||||
#define DIK_F 0x21
|
||||
#define DIK_G 0x22
|
||||
#define DIK_H 0x23
|
||||
#define DIK_J 0x24
|
||||
#define DIK_K 0x25
|
||||
#define DIK_L 0x26
|
||||
#define DIK_SEMICOLON 0x27
|
||||
#define DIK_APOSTROPHE 0x28
|
||||
#define DIK_GRAVE 0x29 /* accent grave */
|
||||
#define DIK_LSHIFT 0x2A
|
||||
#define DIK_BACKSLASH 0x2B
|
||||
#define DIK_Z 0x2C
|
||||
#define DIK_X 0x2D
|
||||
#define DIK_C 0x2E
|
||||
#define DIK_V 0x2F
|
||||
#define DIK_B 0x30
|
||||
#define DIK_N 0x31
|
||||
#define DIK_M 0x32
|
||||
#define DIK_COMMA 0x33
|
||||
#define DIK_PERIOD 0x34 /* . on main keyboard */
|
||||
#define DIK_SLASH 0x35 /* / on main keyboard */
|
||||
#define DIK_RSHIFT 0x36
|
||||
#define DIK_MULTIPLY 0x37 /* * on numeric keypad */
|
||||
#define DIK_LMENU 0x38 /* left Alt */
|
||||
#define DIK_SPACE 0x39
|
||||
#define DIK_CAPITAL 0x3A
|
||||
#define DIK_F1 0x3B
|
||||
#define DIK_F2 0x3C
|
||||
#define DIK_F3 0x3D
|
||||
#define DIK_F4 0x3E
|
||||
#define DIK_F5 0x3F
|
||||
#define DIK_F6 0x40
|
||||
#define DIK_F7 0x41
|
||||
#define DIK_F8 0x42
|
||||
#define DIK_F9 0x43
|
||||
#define DIK_F10 0x44
|
||||
#define DIK_NUMLOCK 0x45
|
||||
#define DIK_SCROLL 0x46 /* Scroll Lock */
|
||||
#define DIK_NUMPAD7 0x47
|
||||
#define DIK_NUMPAD8 0x48
|
||||
#define DIK_NUMPAD9 0x49
|
||||
#define DIK_SUBTRACT 0x4A /* - on numeric keypad */
|
||||
#define DIK_NUMPAD4 0x4B
|
||||
#define DIK_NUMPAD5 0x4C
|
||||
#define DIK_NUMPAD6 0x4D
|
||||
#define DIK_ADD 0x4E /* + on numeric keypad */
|
||||
#define DIK_NUMPAD1 0x4F
|
||||
#define DIK_NUMPAD2 0x50
|
||||
#define DIK_NUMPAD3 0x51
|
||||
#define DIK_NUMPAD0 0x52
|
||||
#define DIK_DECIMAL 0x53 /* . on numeric keypad */
|
||||
#define DIK_OEM_102 0x56 /* < > | on UK/Germany keyboards */
|
||||
#define DIK_F11 0x57
|
||||
#define DIK_F12 0x58
|
||||
|
||||
#define DIK_F13 0x64 /* (NEC PC98) */
|
||||
#define DIK_F14 0x65 /* (NEC PC98) */
|
||||
#define DIK_F15 0x66 /* (NEC PC98) */
|
||||
|
||||
#define DIK_KANA 0x70 /* (Japanese keyboard) */
|
||||
#define DIK_ABNT_C1 0x73 /* / ? on Portugese (Brazilian) keyboards */
|
||||
#define DIK_CONVERT 0x79 /* (Japanese keyboard) */
|
||||
#define DIK_NOCONVERT 0x7B /* (Japanese keyboard) */
|
||||
#define DIK_YEN 0x7D /* (Japanese keyboard) */
|
||||
#define DIK_ABNT_C2 0x7E /* Numpad . on Portugese (Brazilian) keyboards */
|
||||
#define DIK_NUMPADEQUALS 0x8D /* = on numeric keypad (NEC PC98) */
|
||||
#define DIK_PREVTRACK 0x90 /* Previous Track (DIK_CIRCUMFLEX on Japanese keyboard) */
|
||||
#define DIK_AT 0x91 /* (NEC PC98) */
|
||||
#define DIK_COLON 0x92 /* (NEC PC98) */
|
||||
#define DIK_UNDERLINE 0x93 /* (NEC PC98) */
|
||||
#define DIK_KANJI 0x94 /* (Japanese keyboard) */
|
||||
#define DIK_STOP 0x95 /* (NEC PC98) */
|
||||
#define DIK_AX 0x96 /* (Japan AX) */
|
||||
#define DIK_UNLABELED 0x97 /* (J3100) */
|
||||
#define DIK_NEXTTRACK 0x99 /* Next Track */
|
||||
#define DIK_NUMPADENTER 0x9C /* Enter on numeric keypad */
|
||||
#define DIK_RCONTROL 0x9D
|
||||
#define DIK_MUTE 0xA0 /* Mute */
|
||||
#define DIK_CALCULATOR 0xA1 /* Calculator */
|
||||
#define DIK_PLAYPAUSE 0xA2 /* Play / Pause */
|
||||
#define DIK_MEDIASTOP 0xA4 /* Media Stop */
|
||||
#define DIK_VOLUMEDOWN 0xAE /* Volume - */
|
||||
#define DIK_VOLUMEUP 0xB0 /* Volume + */
|
||||
#define DIK_WEBHOME 0xB2 /* Web home */
|
||||
#define DIK_NUMPADCOMMA 0xB3 /* , on numeric keypad (NEC PC98) */
|
||||
#define DIK_DIVIDE 0xB5 /* / on numeric keypad */
|
||||
#define DIK_SYSRQ 0xB7
|
||||
#define DIK_RMENU 0xB8 /* right Alt */
|
||||
#define DIK_PAUSE 0xC5 /* Pause */
|
||||
#define DIK_HOME 0xC7 /* Home on arrow keypad */
|
||||
#define DIK_UP 0xC8 /* UpArrow on arrow keypad */
|
||||
#define DIK_PRIOR 0xC9 /* PgUp on arrow keypad */
|
||||
#define DIK_LEFT 0xCB /* LeftArrow on arrow keypad */
|
||||
#define DIK_RIGHT 0xCD /* RightArrow on arrow keypad */
|
||||
#define DIK_END 0xCF /* End on arrow keypad */
|
||||
#define DIK_DOWN 0xD0 /* DownArrow on arrow keypad */
|
||||
#define DIK_NEXT 0xD1 /* PgDn on arrow keypad */
|
||||
#define DIK_INSERT 0xD2 /* Insert on arrow keypad */
|
||||
#define DIK_DELETE 0xD3 /* Delete on arrow keypad */
|
||||
#define DIK_LWIN 0xDB /* Left Windows key */
|
||||
#define DIK_RWIN 0xDC /* Right Windows key */
|
||||
#define DIK_APPS 0xDD /* AppMenu key */
|
||||
#define DIK_POWER 0xDE /* System Power */
|
||||
#define DIK_SLEEP 0xDF /* System Sleep */
|
||||
#define DIK_WAKE 0xE3 /* System Wake */
|
||||
#define DIK_WEBSEARCH 0xE5 /* Web Search */
|
||||
#define DIK_WEBFAVORITES 0xE6 /* Web Favorites */
|
||||
#define DIK_WEBREFRESH 0xE7 /* Web Refresh */
|
||||
#define DIK_WEBSTOP 0xE8 /* Web Stop */
|
||||
#define DIK_WEBFORWARD 0xE9 /* Web Forward */
|
||||
#define DIK_WEBBACK 0xEA /* Web Back */
|
||||
#define DIK_MYCOMPUTER 0xEB /* My Computer */
|
||||
#define DIK_MAIL 0xEC /* Mail */
|
||||
#define DIK_MEDIASELECT 0xED /* Media Select */
|
||||
|
||||
/*
|
||||
* Alternate names for keys, to facilitate transition from DOS.
|
||||
*/
|
||||
#define DIK_BACKSPACE DIK_BACK /* backspace */
|
||||
#define DIK_NUMPADSTAR DIK_MULTIPLY /* * on numeric keypad */
|
||||
#define DIK_LALT DIK_LMENU /* left Alt */
|
||||
#define DIK_CAPSLOCK DIK_CAPITAL /* CapsLock */
|
||||
#define DIK_NUMPADMINUS DIK_SUBTRACT /* - on numeric keypad */
|
||||
#define DIK_NUMPADPLUS DIK_ADD /* + on numeric keypad */
|
||||
#define DIK_NUMPADPERIOD DIK_DECIMAL /* . on numeric keypad */
|
||||
#define DIK_NUMPADSLASH DIK_DIVIDE /* / on numeric keypad */
|
||||
#define DIK_RALT DIK_RMENU /* right Alt */
|
||||
#define DIK_UPARROW DIK_UP /* UpArrow on arrow keypad */
|
||||
#define DIK_PGUP DIK_PRIOR /* PgUp on arrow keypad */
|
||||
#define DIK_LEFTARROW DIK_LEFT /* LeftArrow on arrow keypad */
|
||||
#define DIK_RIGHTARROW DIK_RIGHT /* RightArrow on arrow keypad */
|
||||
#define DIK_DOWNARROW DIK_DOWN /* DownArrow on arrow keypad */
|
||||
#define DIK_PGDN DIK_NEXT /* PgDn on arrow keypad */
|
||||
|
||||
/*
|
||||
* Alternate names for keys originally not used on US keyboards.
|
||||
*/
|
||||
#define DIK_CIRCUMFLEX DIK_PREVTRACK /* Japanese keyboard */
|
||||
|
||||
|
||||
/*
|
||||
* Combination keys
|
||||
*/
|
||||
#define INPUT_CTRL_OFFSET 512
|
||||
#define INPUT_SHIFT_OFFSET 1024
|
||||
#define INPUT_ALT_OFFSET 2048
|
||||
|
||||
|
||||
#endif /* DIK_ESCAPE */
|
||||
|
3186
include/a3/ui_f/hpp/defineResincl.inc
Normal file
3186
include/a3/ui_f/hpp/defineResincl.inc
Normal file
File diff suppressed because it is too large
Load Diff
1063
include/a3/ui_f/hpp/defineResinclDesign.inc
Normal file
1063
include/a3/ui_f/hpp/defineResinclDesign.inc
Normal file
File diff suppressed because it is too large
Load Diff
1
include/a3/ui_f_curator/$PBOPREFIX$
Normal file
1
include/a3/ui_f_curator/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
a3\ui_f_curator
|
624
include/a3/ui_f_curator/ui/defineResinclDesign.inc
Normal file
624
include/a3/ui_f_curator/ui/defineResinclDesign.inc
Normal file
@ -0,0 +1,624 @@
|
||||
#include "\a3\ui_f\hpp\defineResincl.inc"
|
||||
|
||||
//--- RscDisplayCurator
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATEBACKGROUND 15505
|
||||
#define IDC_RSCDISPLAYCURATOR_CLOCKDURATION 15506
|
||||
#define IDC_RSCDISPLAYCURATOR_ENTITIESBACKGROUND 15508
|
||||
#define IDC_RSCDISPLAYCURATOR_CLOCKDAYTIME 15509
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATECLASSESBACKGROUND 15510
|
||||
#define IDC_RSCDISPLAYCURATOR_CLOCKCOUNTDOWN 15511
|
||||
#define IDC_RSCDISPLAYCURATOR_FEEDBACKMESSAGE 15512
|
||||
#define IDC_RSCDISPLAYCURATOR_POINTSBACKGROUND 15513
|
||||
#define IDC_RSCDISPLAYCURATOR_POINTS 15515
|
||||
#define IDC_RSCDISPLAYCURATOR_POINTSPREVIEW 15516
|
||||
#define IDC_RSCDISPLAYCURATOR_COMPASSBACKGROUND 15518
|
||||
#define IDC_RSCDISPLAYCURATOR_MODEUNITS 15704
|
||||
#define IDC_RSCDISPLAYCURATOR_MODEGROUPS 15705
|
||||
#define IDC_RSCDISPLAYCURATOR_MODEMODULES 15706
|
||||
#define IDC_RSCDISPLAYCURATOR_MODEMARKERS 15708
|
||||
#define IDC_RSCDISPLAYCURATOR_SIDEBLUFOR 15709
|
||||
#define IDC_RSCDISPLAYCURATOR_SIDEOPFOR 15710
|
||||
#define IDC_RSCDISPLAYCURATOR_SIDEINDEPENDENT 15711
|
||||
#define IDC_RSCDISPLAYCURATOR_SIDECIVILIAN 15712
|
||||
#define IDC_RSCDISPLAYCURATOR_SIDEEMPTY 15713
|
||||
#define IDC_RSCDISPLAYCURATOR_LOGO 15715
|
||||
#define IDC_RSCDISPLAYCURATOR_WATERMARK 15717
|
||||
#define IDC_RSCDISPLAYCURATOR_MISSIONBARTITLE 16104
|
||||
#define IDC_RSCDISPLAYCURATOR_ADDBARTITLE 16105
|
||||
#define IDC_RSCDISPLAYCURATOR_MODEFRAME 16304
|
||||
#define IDC_RSCDISPLAYCURATOR_SIDEFRAME 16305
|
||||
#define IDC_RSCDISPLAYCURATOR_POINTSFRAME 16306
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATEFRAME 16307
|
||||
#define IDC_RSCDISPLAYCURATOR_ENTITIESFRAME 16308
|
||||
#define IDC_RSCDISPLAYCURATOR_ADDBARFRAME 16309
|
||||
#define IDC_RSCDISPLAYCURATOR_CLOCKFRAME 16310
|
||||
#define IDC_RSCDISPLAYCURATOR_MISSIONBARFRAME 16311
|
||||
#define IDC_RSCDISPLAYCURATOR_COMPASSFRAME 16312
|
||||
#define IDC_RSCDISPLAYCURATOR_COMPASSCARET 16314
|
||||
#define IDC_RSCDISPLAYCURATOR_MISSION 16804
|
||||
#define IDC_RSCDISPLAYCURATOR_ADDBAR 16805
|
||||
#define IDC_RSCDISPLAYCURATOR_MAIN 16806
|
||||
#define IDC_RSCDISPLAYCURATOR_ADD 16807
|
||||
#define IDC_RSCDISPLAYCURATOR_CLOCK 16808
|
||||
#define IDC_RSCDISPLAYCURATOR_MISSIONBAR 16809
|
||||
#define IDC_RSCDISPLAYCURATOR_COMPASS 16810
|
||||
|
||||
//--- Engine Curator
|
||||
#define IDD_RSCDISPLAYCURATOR 312
|
||||
#define IDC_RSCDISPLAYCURATOR_SIDEBLUFOR 155
|
||||
#define IDC_RSCDISPLAYCURATOR_SIDEOPFOR 156
|
||||
#define IDC_RSCDISPLAYCURATOR_SIDEINDEPENDENT 157
|
||||
#define IDC_RSCDISPLAYCURATOR_SIDECIVILIAN 158
|
||||
#define IDC_RSCDISPLAYCURATOR_SIDEEMPTY 159
|
||||
#define IDC_RSCDISPLAYCURATOR_MODEUNITS 150
|
||||
#define IDC_RSCDISPLAYCURATOR_MODEGROUPS 151
|
||||
#define IDC_RSCDISPLAYCURATOR_MODEMODULES 152
|
||||
#define IDC_RSCDISPLAYCURATOR_MODEMARKERS 154
|
||||
#define IDC_RSCDISPLAYCURATOR_MODERECENT 170
|
||||
#define IDC_RSCDISPLAYCURATOR_ADD 450
|
||||
#define IDC_RSCDISPLAYCURATOR_MISSION 453
|
||||
#define IDC_RSCDISPLAYCURATOR_MAINMAP 50
|
||||
#define IDC_RSCDISPLAYCURATOR_MOUSEAREA 53
|
||||
#define IDC_RSCDISPLAYCURATOR_POINTS 111
|
||||
#define IDC_RSCDISPLAYCURATOR_POINTSPREVIEW 112
|
||||
#define IDC_RSCDISPLAYCURATOR_ENTITIES 251
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATE_UNITS_WEST 270
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATE_UNITS_EAST 271
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATE_UNITS_GUER 272
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATE_UNITS_CIV 273
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATE_UNITS_EMPTY 274
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATE_GROUPS_WEST 275
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATE_GROUPS_EAST 276
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATE_GROUPS_GUER 277
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATE_GROUPS_CIV 278
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATE_GROUPS_EMPTY 279
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATE_MODULES 280
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATE_MARKERS 281
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATE_RECENT 282
|
||||
#define IDC_RSCDISPLAYCURATOR_CREATE_SEARCH 283
|
||||
//#define IDC_RSCDISPLAYCURATOR_FILTERPLAYERS 282
|
||||
//#define IDC_RSCDISPLAYCURATOR_FILTERAI 283
|
||||
//#define IDC_RSCDISPLAYCURATOR_FILTERCREW 284
|
||||
//#define IDC_RSCDISPLAYCURATOR_FILTERDEAD 285
|
||||
//#define IDC_RSCDISPLAYCURATOR_FILTEREMPTY 286
|
||||
//#define IDC_RSCDISPLAYCURATOR_FILTERMODULE 287
|
||||
#define IDC_RSCDISPLAYCURATOR_BLACK 999
|
||||
|
||||
//--- RscCuratorPing
|
||||
#define IDC_RSCCURATORPING_ICON 10674
|
||||
#define IDC_RSCCURATORPING_PLAYER 10675
|
||||
|
||||
//--- RSCCURATORVISIONMODES
|
||||
#define IDC_RSCCURATORVISIONMODES_VISIONMODE0 10463
|
||||
#define IDC_RSCCURATORVISIONMODES_VISIONMODE1 10464
|
||||
#define IDC_RSCCURATORVISIONMODES_VISIONMODE2 10465
|
||||
#define IDC_RSCCURATORVISIONMODES_VISIONMODE3 10466
|
||||
#define IDC_RSCCURATORVISIONMODES_VISIONMODE4 10467
|
||||
#define IDC_RSCCURATORVISIONMODES_VISIONMODE5 10468
|
||||
#define IDC_RSCCURATORVISIONMODES_VISIONMODE6 10469
|
||||
#define IDC_RSCCURATORVISIONMODES_VISIONMODE7 10470
|
||||
#define IDC_RSCCURATORVISIONMODES_VISIONMODE8 10471
|
||||
#define IDC_RSCCURATORVISIONMODES_VISIONMODE9 10472
|
||||
#define IDC_RSCCURATORVISIONMODES_FRAME 11263
|
||||
#define IDC_RSCCURATORVISIONMODES_VISIONMODES 11763
|
||||
|
||||
//--- RscDisplayModuleSkiptime
|
||||
#define IDC_RSCDISPLAYMODULESKIPTIME_BACKGROUND 1000
|
||||
#define IDC_RSCDISPLAYMODULESKIPTIME_TITLE 1001
|
||||
#define IDC_RSCDISPLAYMODULESKIPTIME_DESCRIPTION 1100
|
||||
#define IDC_RSCDISPLAYMODULESKIPTIME_SLIDERVALUE 1003
|
||||
#define IDC_RSCDISPLAYMODULESKIPTIME_SLIDER 1900
|
||||
#define IDC_RSCDISPLAYMODULESKIPTIME_BUTTONOK 2600
|
||||
#define IDC_RSCDISPLAYMODULESKIPTIME_BUTTONCANCEL 2700
|
||||
|
||||
//--- RscDisplayAttributes
|
||||
#define IDC_RSCDISPLAYATTRIBUTES_BACKGROUND 30001
|
||||
#define IDC_RSCDISPLAYATTRIBUTES_TITLE 30002
|
||||
#define IDC_RSCDISPLAYATTRIBUTES_CONTENT 30003
|
||||
#define IDC_RSCDISPLAYATTRIBUTES_BUTTONCUSTOM 30004
|
||||
#define IDC_RSCDISPLAYATTRIBUTES_BUTTONOK 30005
|
||||
#define IDC_RSCDISPLAYATTRIBUTES_BUTTONCANCEL 30006
|
||||
|
||||
#define IDC_RSCDISPLAYCURATORATTRIBUTES_TEXT 1000
|
||||
#define IDC_RSCDISPLAYCURATORATTRIBUTES_STRUCTUREDTEXT 1100
|
||||
#define IDC_RSCDISPLAYCURATORATTRIBUTES_PICTURE 1200
|
||||
#define IDC_RSCDISPLAYCURATORATTRIBUTES_ACTIVETEXT 1300
|
||||
#define IDC_RSCDISPLAYCURATORATTRIBUTES_EDIT 1400
|
||||
#define IDC_RSCDISPLAYCURATORATTRIBUTES_COMBO 2100
|
||||
#define IDC_RSCDISPLAYCURATORATTRIBUTES_LISTBOX 1500
|
||||
#define IDC_RSCDISPLAYCURATORATTRIBUTES_SLIDER 1900
|
||||
|
||||
//--- RscAttributeRank
|
||||
#define IDC_RSCATTRIBUTERANK_BACKGROUND 13469
|
||||
#define IDC_RSCATTRIBUTERANK_TITLE 13471
|
||||
#define IDC_RSCATTRIBUTERANK_PRIVATE 13669
|
||||
#define IDC_RSCATTRIBUTERANK_CORPORAL 13670
|
||||
#define IDC_RSCATTRIBUTERANK_SERGEANT 13671
|
||||
#define IDC_RSCATTRIBUTERANK_LIEUTENANT 13672
|
||||
#define IDC_RSCATTRIBUTERANK_CAPTAIN 13673
|
||||
#define IDC_RSCATTRIBUTERANK_MAJOR 13674
|
||||
#define IDC_RSCATTRIBUTERANK_COLONEL 13675
|
||||
#define IDC_RSCATTRIBUTERANK_RSCATTRIBUTERANK 14769
|
||||
|
||||
//--- RscAttributeUnitPos
|
||||
#define IDC_RSCATTRIBUTEUNITPOS_BACKGROUND 18976
|
||||
#define IDC_RSCATTRIBUTEUNITPOS_TITLE 18978
|
||||
#define IDC_RSCATTRIBUTEUNITPOS_DOWN 19176
|
||||
#define IDC_RSCATTRIBUTEUNITPOS_CROUCH 19177
|
||||
#define IDC_RSCATTRIBUTEUNITPOS_UP 19178
|
||||
#define IDC_RSCATTRIBUTEUNITPOS_AUTO 19179
|
||||
#define IDC_RSCATTRIBUTEUNITPOS_RSCATTRIBUTEUNITPOS 20276
|
||||
|
||||
//--- RscAttributeDamage
|
||||
#define IDC_RSCATTRIBUTEDAMAGE_TITLE 16502
|
||||
#define IDC_RSCATTRIBUTEDAMAGE_VALUE 17402
|
||||
#define IDC_RSCATTRIBUTEDAMAGE_RSCATTRIBUTEDAMAGE 17802
|
||||
|
||||
//--- RscAttributeFuel
|
||||
#define IDC_RSCATTRIBUTEFUEL_TITLE 13474
|
||||
#define IDC_RSCATTRIBUTEFUEL_VALUE 14374
|
||||
#define IDC_RSCATTRIBUTEFUEL_RSCATTRIBUTEFUEL 14774
|
||||
|
||||
//--- RscAttributeSide
|
||||
#define IDC_RSCATTRIBUTESIDE_BACKGROUND 31000
|
||||
#define IDC_RSCATTRIBUTESIDE_TITLE 31002
|
||||
#define IDC_RSCATTRIBUTESIDE_BLUFOR 31200
|
||||
#define IDC_RSCATTRIBUTESIDE_OPFOR 31201
|
||||
#define IDC_RSCATTRIBUTESIDE_INDEPENDENT 31202
|
||||
#define IDC_RSCATTRIBUTESIDE_CIVILIAN 31203
|
||||
#define IDC_RSCATTRIBUTESIDE_RSCATTRIBUTESIDE 32300
|
||||
|
||||
//--- RscAttributeOwners
|
||||
/*
|
||||
#define IDC_RSCATTRIBUTEOWNERS_BACKGROUND 31000
|
||||
#define IDC_RSCATTRIBUTEOWNERS_TITLE 31002
|
||||
#define IDC_RSCATTRIBUTEOWNERS_BLUFOR 31200
|
||||
#define IDC_RSCATTRIBUTEOWNERS_OPFOR 31201
|
||||
#define IDC_RSCATTRIBUTEOWNERS_INDEPENDENT 31202
|
||||
#define IDC_RSCATTRIBUTEOWNERS_CIVILIAN 31203
|
||||
#define IDC_RSCATTRIBUTEOWNERS_RSCATTRIBUTEOWNERS 32300
|
||||
*/
|
||||
//--- RscAttributeOwners
|
||||
#define IDC_RSCATTRIBUTEOWNERS_BACKGROUND 17408
|
||||
#define IDC_RSCATTRIBUTEOWNERS_TITLE 17410
|
||||
#define IDC_RSCATTRIBUTEOWNERS_BLUFOR 17608
|
||||
#define IDC_RSCATTRIBUTEOWNERS_OPFOR 17609
|
||||
#define IDC_RSCATTRIBUTEOWNERS_INDEPENDENT 17610
|
||||
#define IDC_RSCATTRIBUTEOWNERS_CIVILIAN 17611
|
||||
#define IDC_RSCATTRIBUTEOWNERS_TABSIDE 18010
|
||||
#define IDC_RSCATTRIBUTEOWNERS_TABGROUP 18011
|
||||
#define IDC_RSCATTRIBUTEOWNERS_TABUNIT 18012
|
||||
#define IDC_RSCATTRIBUTEOWNERS_GROUPLIST 18508
|
||||
#define IDC_RSCATTRIBUTEOWNERS_UNITLIST 18509
|
||||
#define IDC_RSCATTRIBUTEOWNERS_RSCATTRIBUTEOWNERS 18708
|
||||
|
||||
|
||||
|
||||
//--- RscAttributeOwners2
|
||||
#define IDC_RSCATTRIBUTEOWNERS2_BACKGROUND1 18308
|
||||
#define IDC_RSCATTRIBUTEOWNERS2_TITLE2 18309
|
||||
#define IDC_RSCATTRIBUTEOWNERS2_TITLE1 18310
|
||||
#define IDC_RSCATTRIBUTEOWNERS2_BACKGROUND2 18311
|
||||
#define IDC_RSCATTRIBUTEOWNERS2_BLUFOR1 18508
|
||||
#define IDC_RSCATTRIBUTEOWNERS2_OPFOR1 18509
|
||||
#define IDC_RSCATTRIBUTEOWNERS2_INDEPENDENT1 18510
|
||||
#define IDC_RSCATTRIBUTEOWNERS2_CIVILIAN1 18511
|
||||
#define IDC_RSCATTRIBUTEOWNERS2_BLUFOR2 18512
|
||||
#define IDC_RSCATTRIBUTEOWNERS2_OPFOR2 18513
|
||||
#define IDC_RSCATTRIBUTEOWNERS2_INDEPENDENT2 18514
|
||||
#define IDC_RSCATTRIBUTEOWNERS2_CIVILIAN2 18515
|
||||
#define IDC_RSCATTRIBUTEOWNERS2_RSCATTRIBUTEOWNERS2 19608
|
||||
|
||||
//--- RscAttributeTaskState
|
||||
#define IDC_RSCATTRIBUTETASKSTATE_BACKGROUND 41000
|
||||
#define IDC_RSCATTRIBUTETASKSTATE_TITLE 41002
|
||||
#define IDC_RSCATTRIBUTETASKSTATE_ASSIGNED 41200
|
||||
#define IDC_RSCATTRIBUTETASKSTATE_CREATED 41201
|
||||
#define IDC_RSCATTRIBUTETASKSTATE_SUCCEEDED 41202
|
||||
#define IDC_RSCATTRIBUTETASKSTATE_FAILED 41203
|
||||
#define IDC_RSCATTRIBUTETASKSTATE_CANCELED 41204
|
||||
#define IDC_RSCATTRIBUTETASKSTATE_RSCATTRIBUTETASKSTATE 42300
|
||||
|
||||
//--- RscAttributeTaskDescription
|
||||
#define IDC_RSCATTRIBUTETASKDESCRIPTION_TITLEMARKER 38091
|
||||
#define IDC_RSCATTRIBUTETASKDESCRIPTION_TITLEDESCRIPTION 38092
|
||||
#define IDC_RSCATTRIBUTETASKDESCRIPTION_TITLETITLE 38093
|
||||
#define IDC_RSCATTRIBUTETASKDESCRIPTION_TITLETEMPLATE 38094
|
||||
#define IDC_RSCATTRIBUTETASKDESCRIPTION_EDITTITLE 38491
|
||||
#define IDC_RSCATTRIBUTETASKDESCRIPTION_EDITMARKER 38492
|
||||
#define IDC_RSCATTRIBUTETASKDESCRIPTION_EDITDESCRIPTION 38493
|
||||
#define IDC_RSCATTRIBUTETASKDESCRIPTION_EDITTEMPLATE 39191
|
||||
#define IDC_RSCATTRIBUTETASKDESCRIPTION_RSCATTRIBUTETASKDESCRIPTION 39391
|
||||
|
||||
//--- RscAttributeSkiptime
|
||||
#define IDC_RSCATTRIBUTESKIPTIME_TITLE 21138
|
||||
#define IDC_RSCATTRIBUTESKIPTIME_TIME 21139
|
||||
#define IDC_RSCATTRIBUTESKIPTIME_BACKGROUND 21140
|
||||
#define IDC_RSCATTRIBUTESKIPTIME_SKIPTIME 21141
|
||||
#define IDC_RSCATTRIBUTESKIPTIME_VALUE 22038
|
||||
#define IDC_RSCATTRIBUTESKIPTIME_RSCATTRIBUTESKIPTIME 22438
|
||||
|
||||
//--- RscAttributeSound
|
||||
#define IDC_RSCATTRIBUTESOUND_TITLE 15406
|
||||
#define IDC_RSCATTRIBUTESOUND_VALUE 16506
|
||||
#define IDC_RSCATTRIBUTESOUND_RSCATTRIBUTESOUND 16706
|
||||
|
||||
//--- RscAttributeMusic
|
||||
#define IDC_RSCATTRIBUTEMUSIC_TITLE 15293
|
||||
#define IDC_RSCATTRIBUTEMUSIC_VALUE 16393
|
||||
#define IDC_RSCATTRIBUTEMUSIC_RSCATTRIBUTEMUSIC 16593
|
||||
|
||||
//--- RscAttributeMusicVolume
|
||||
#define IDC_RSCATTRIBUTEMUSICVOLUME_TITLE 27656
|
||||
#define IDC_RSCATTRIBUTEMUSICVOLUME_VALUE 28556
|
||||
#define IDC_RSCATTRIBUTEMUSICVOLUME_RSCATTRIBUTEMUSICVOLUME 28956
|
||||
|
||||
//--- RscAttributeGenericRadio
|
||||
#define IDC_RSCATTRIBUTEGENERICRADIO_TITLE 29151
|
||||
#define IDC_RSCATTRIBUTEGENERICRADIO_VALUE 29651
|
||||
#define IDC_RSCATTRIBUTEGENERICRADIO_RSCATTRIBUTEGENERICRADIO 30451
|
||||
|
||||
//--- RscAttributeDiaryRecord
|
||||
#define IDC_RSCATTRIBUTEDIARYRECORD_IMAGETITLE 27171
|
||||
#define IDC_RSCATTRIBUTEDIARYRECORD_DESCRIPTIONTITLE 27172
|
||||
#define IDC_RSCATTRIBUTEDIARYRECORD_TITLETITLE 27173
|
||||
#define IDC_RSCATTRIBUTEDIARYRECORD_IMAGETREE 27174
|
||||
#define IDC_RSCATTRIBUTEDIARYRECORD_TEMPLATETITLE 27175
|
||||
#define IDC_RSCATTRIBUTEDIARYRECORD_IMAGEPREVIEW 27371
|
||||
#define IDC_RSCATTRIBUTEDIARYRECORD_TITLEEDIT 27571
|
||||
#define IDC_RSCATTRIBUTEDIARYRECORD_DESCRIPTIONEDIT 27573
|
||||
#define IDC_RSCATTRIBUTEDIARYRECORD_TEMPLATELIST 28271
|
||||
#define IDC_RSCATTRIBUTEDIARYRECORD_RSCATTRIBUTEDIARYRECORD 28471
|
||||
|
||||
//--- RscAttributeOvercast
|
||||
#define IDC_RSCATTRIBUTEOVERCAST_BACKGROUND 21192
|
||||
#define IDC_RSCATTRIBUTEOVERCAST_TITLE 21194
|
||||
#define IDC_RSCATTRIBUTEOVERCAST_VALUE000 21392
|
||||
#define IDC_RSCATTRIBUTEOVERCAST_VALUE025 21393
|
||||
#define IDC_RSCATTRIBUTEOVERCAST_VALUE050 21394
|
||||
#define IDC_RSCATTRIBUTEOVERCAST_VALUE075 21395
|
||||
#define IDC_RSCATTRIBUTEOVERCAST_VALUE100 21396
|
||||
#define IDC_RSCATTRIBUTEOVERCAST_RSCATTRIBUTEOVERCAST 22492
|
||||
|
||||
//--- RscAttributeFog
|
||||
#define IDC_RSCATTRIBUTEFOG_TITLE 11804
|
||||
#define IDC_RSCATTRIBUTEFOG_ALTTITLE 11805
|
||||
#define IDC_RSCATTRIBUTEFOG_VALUE 12704
|
||||
#define IDC_RSCATTRIBUTEFOG_ALTVALUE 12705
|
||||
#define IDC_RSCATTRIBUTEFOG_RSCATTRIBUTEFOG 13104
|
||||
|
||||
//--- RscAttributePostprocess
|
||||
#define IDC_RSCATTRIBUTEPOSTPROCESS_TITLE 28406
|
||||
#define IDC_RSCATTRIBUTEPOSTPROCESS_VALUE 28906
|
||||
#define IDC_RSCATTRIBUTEPOSTPROCESS_RSCATTRIBUTEPOSTPROCESS 29706
|
||||
|
||||
//--- RscAttributeGroupID
|
||||
#define IDC_RSCATTRIBUTEGROUPID_TITLE 17979
|
||||
#define IDC_RSCATTRIBUTEGROUPID_VALUE 18379
|
||||
#define IDC_RSCATTRIBUTEGROUPID_RSCATTRIBUTEGROUPID 19279
|
||||
|
||||
//--- RscAttributeFormation
|
||||
#define IDC_RSCATTRIBUTEFORMATION_BACKGROUND 23316
|
||||
#define IDC_RSCATTRIBUTEFORMATION_TITLE 23318
|
||||
#define IDC_RSCATTRIBUTEFORMATION_COLUMN 23516
|
||||
#define IDC_RSCATTRIBUTEFORMATION_STAG_COLUMN 23517
|
||||
#define IDC_RSCATTRIBUTEFORMATION_WEDGE 23518
|
||||
#define IDC_RSCATTRIBUTEFORMATION_ECH_LEFT 23519
|
||||
#define IDC_RSCATTRIBUTEFORMATION_ECH_RIGHT 23520
|
||||
#define IDC_RSCATTRIBUTEFORMATION_VEE 23521
|
||||
#define IDC_RSCATTRIBUTEFORMATION_LINE 23522
|
||||
#define IDC_RSCATTRIBUTEFORMATION_FILE 23523
|
||||
#define IDC_RSCATTRIBUTEFORMATION_DIAMOND 23524
|
||||
#define IDC_RSCATTRIBUTEFORMATION_DEFAULT 23525
|
||||
#define IDC_RSCATTRIBUTEFORMATION_RSCATTRIBUTEFORMATION 24616
|
||||
|
||||
//--- RscAttributeBehaviour
|
||||
#define IDC_RSCATTRIBUTEBEHAVIOUR_BACKGROUND 23269
|
||||
#define IDC_RSCATTRIBUTEBEHAVIOUR_TITLE 23271
|
||||
#define IDC_RSCATTRIBUTEBEHAVIOUR_STEALTH 23469
|
||||
#define IDC_RSCATTRIBUTEBEHAVIOUR_DEFAULT 23470
|
||||
#define IDC_RSCATTRIBUTEBEHAVIOUR_SAFE 23471
|
||||
#define IDC_RSCATTRIBUTEBEHAVIOUR_AWARE 23474
|
||||
#define IDC_RSCATTRIBUTEBEHAVIOUR_COMBAT 23475
|
||||
#define IDC_RSCATTRIBUTEBEHAVIOUR_RSCATTRIBUTEBEHAVIOUR 24569
|
||||
|
||||
//--- RscAttributeLock
|
||||
#define IDC_RSCATTRIBUTELOCK_BACKGROUND 13425
|
||||
#define IDC_RSCATTRIBUTELOCK_TITLE 13427
|
||||
#define IDC_RSCATTRIBUTELOCK_LOCKED 13627
|
||||
#define IDC_RSCATTRIBUTELOCK_UNLOCKED 13630
|
||||
#define IDC_RSCATTRIBUTELOCK_RSCATTRIBUTELOCK 14725
|
||||
|
||||
//--- RscAttributeMarkerText
|
||||
#define IDC_RSCATTRIBUTEMARKERTEXT_TITLE 25286
|
||||
#define IDC_RSCATTRIBUTEMARKERTEXT_VALUE 25686
|
||||
#define IDC_RSCATTRIBUTEMARKERTEXT_RSCATTRIBUTEMARKERTEXT 26586
|
||||
|
||||
//--- RscAttributeMarkerColor
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_BACKGROUND 27333
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_TITLE 27335
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_COLOR3 27533
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_COLOR4 27534
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_COLOR1 27535
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_COLOR5 27536
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_COLOR6 27537
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_COLOR2 27538
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_COLOR7 27539
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_COLOR8 27540
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_COLOR9 27541
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_COLOR10 27542
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_COLOR11 27543
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_COLOR12 27544
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_COLOR13 27545
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_COLOR14 27546
|
||||
#define IDC_RSCATTRIBUTEMARKERCOLOR_RSCATTRIBUTEMARKERCOLOR 28633
|
||||
|
||||
//--- RscAttributeRespawnVehicle
|
||||
#define IDC_RSCATTRIBUTERESPAWNVEHICLE_BACKGROUND 34763
|
||||
#define IDC_RSCATTRIBUTERESPAWNVEHICLE_TITLE 34765
|
||||
#define IDC_RSCATTRIBUTERESPAWNVEHICLE_START 34963
|
||||
#define IDC_RSCATTRIBUTERESPAWNVEHICLE_WEST 34964
|
||||
#define IDC_RSCATTRIBUTERESPAWNVEHICLE_EAST 34965
|
||||
#define IDC_RSCATTRIBUTERESPAWNVEHICLE_GUER 34966
|
||||
#define IDC_RSCATTRIBUTERESPAWNVEHICLE_CIV 34967
|
||||
#define IDC_RSCATTRIBUTERESPAWNVEHICLE_DISABLED 34968
|
||||
#define IDC_RSCATTRIBUTERESPAWNVEHICLE_RSCATTRIBUTERESPAWNVEHICLE 36063
|
||||
|
||||
//--- RscAttributeSkill
|
||||
#define IDC_RSCATTRIBUTESKILL_TITLE 15284
|
||||
#define IDC_RSCATTRIBUTESKILL_VALUE 16184
|
||||
#define IDC_RSCATTRIBUTESKILL_RSCATTRIBUTESKILL 16584
|
||||
|
||||
//--- RscAttributeRespawnPosition
|
||||
#define IDC_RSCATTRIBUTERESPAWNPOSITION_BACKGROUND 38509
|
||||
#define IDC_RSCATTRIBUTERESPAWNPOSITION_TITLE 38511
|
||||
#define IDC_RSCATTRIBUTERESPAWNPOSITION_WEST 38710
|
||||
#define IDC_RSCATTRIBUTERESPAWNPOSITION_EAST 38711
|
||||
#define IDC_RSCATTRIBUTERESPAWNPOSITION_GUER 38712
|
||||
#define IDC_RSCATTRIBUTERESPAWNPOSITION_CIV 38713
|
||||
#define IDC_RSCATTRIBUTERESPAWNPOSITION_DISABLED 38714
|
||||
#define IDC_RSCATTRIBUTERESPAWNPOSITION_RSCATTRIBUTERESPAWNPOSITION 39809
|
||||
|
||||
//--- RscAttributeText
|
||||
#define IDC_RSCATTRIBUTETEXT_TITLE 13920
|
||||
#define IDC_RSCATTRIBUTETEXT_RSCATTRIBUTETEXT 15120
|
||||
|
||||
//--- RscAttributeAreaSize
|
||||
#define IDC_RSCATTRIBUTEAREASIZE_TITLE 20438
|
||||
#define IDC_RSCATTRIBUTEAREASIZE_VALUE 20439
|
||||
#define IDC_RSCATTRIBUTEAREASIZE_RSCATTRIBUTEAREASIZE 21738
|
||||
|
||||
//--- RscAttributeRespawnTickets
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_BACKGROUND 35332
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_WESTTEXT 35333
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_EASTTEXT 35334
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_GUERTEXT 35335
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_CIVTEXT 35336
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_TITLE 35337
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_VALUE 35338
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_WEST 35532
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_EAST 35533
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_GUER 35534
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_CIV 35535
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_WESTVALUE 36232
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_EASTVALUE 36233
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_GUERVALUE 36234
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_CIVVALUE 36235
|
||||
#define IDC_RSCATTRIBUTERESPAWNTICKETS_RSCATTRIBUTERESPAWNTICKETS 36632
|
||||
|
||||
//--- RscAttributeCountdown
|
||||
#define IDC_RSCATTRIBUTECOUNTDOWN_TITLE 23629
|
||||
#define IDC_RSCATTRIBUTECOUNTDOWN_TIME 23630
|
||||
#define IDC_RSCATTRIBUTECOUNTDOWN_BACKGROUND 23631
|
||||
#define IDC_RSCATTRIBUTECOUNTDOWN_VALUE 24529
|
||||
#define IDC_RSCATTRIBUTECOUNTDOWN_RSCATTRIBUTECOUNTDOWN 24929
|
||||
|
||||
//--- RscAttributeEndMission
|
||||
#define IDC_RSCATTRIBUTEENDMISSION_TITLE 25122
|
||||
#define IDC_RSCATTRIBUTEENDMISSION_TITLEDEBRIEFING 25123
|
||||
#define IDC_RSCATTRIBUTEENDMISSION_DEBRIEFING 25522
|
||||
#define IDC_RSCATTRIBUTEENDMISSION_VALUE 25622
|
||||
#define IDC_RSCATTRIBUTEENDMISSION_RSCATTRIBUTEENDMISSION 26422
|
||||
|
||||
//--- RscAttributeName
|
||||
#define IDC_RSCATTRIBUTENAME_TITLE 13317
|
||||
#define IDC_RSCATTRIBUTENAME_VALUE 13717
|
||||
#define IDC_RSCATTRIBUTENAME_RSCATTRIBUTENAME 14617
|
||||
|
||||
//--- RscAttributeInventory
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_LOAD 23868
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_LISTBACKGROUND 23869
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_FILTERBACKGROUND 23870
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_FILTER0 24068
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_FILTER1 24069
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_FILTER2 24070
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_FILTER3 24071
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_FILTER4 24072
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_FILTER5 24073
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_FILTER6 24074
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_FILTER7 24075
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_FILTER8 24076
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_FILTER9 24077
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_FILTER10 24078
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_FILTER11 24079
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_FILTER12 24080
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_LIST 24368
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_ARROWLEFT 24468
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_ARROWRIGHT 24469
|
||||
#define IDC_RSCATTRIBUTEINVENTORY_RSCATTRIBUTEINVENTORY 25168
|
||||
|
||||
//--- RscAttributeRespawnInventory
|
||||
#define IDC_RSCATTRIBUTERESPAWNINVENTORY_LISTBACKGROUND 41829
|
||||
#define IDC_RSCATTRIBUTERESPAWNINVENTORY_FILTERBACKGROUND 41830
|
||||
#define IDC_RSCATTRIBUTERESPAWNINVENTORY_FILTER0 42028
|
||||
#define IDC_RSCATTRIBUTERESPAWNINVENTORY_FILTER1 42029
|
||||
#define IDC_RSCATTRIBUTERESPAWNINVENTORY_FILTER2 42030
|
||||
#define IDC_RSCATTRIBUTERESPAWNINVENTORY_FILTER3 42031
|
||||
#define IDC_RSCATTRIBUTERESPAWNINVENTORY_TREEWEST 42328
|
||||
#define IDC_RSCATTRIBUTERESPAWNINVENTORY_TREEEAST 42329
|
||||
#define IDC_RSCATTRIBUTERESPAWNINVENTORY_TREEGUER 42330
|
||||
#define IDC_RSCATTRIBUTERESPAWNINVENTORY_TREECIV 42331
|
||||
#define IDC_RSCATTRIBUTERESPAWNINVENTORY_RSCATTRIBUTERESPAWNINVENTORY 43128
|
||||
|
||||
//--- RscAttributeCAS
|
||||
#define IDC_RSCATTRIBUTECAS_TITLE 10890
|
||||
#define IDC_RSCATTRIBUTECAS_VALUE 11390
|
||||
#define IDC_RSCATTRIBUTECAS_RSCATTRIBUTECAS 12190
|
||||
|
||||
//--- RscAttributeExec
|
||||
#define IDC_RSCATTRIBUTEEXEC_TITLE 13366
|
||||
#define IDC_RSCATTRIBUTEEXEC_VALUE 13766
|
||||
#define IDC_RSCATTRIBUTEEXEC_VALUETEMPLATE 14466
|
||||
#define IDC_RSCATTRIBUTEEXEC_RSCATTRIBUTEEXEC 14666
|
||||
|
||||
//--- RSCATTRIBUTEMISSIONNAME
|
||||
#define IDC_RSCATTRIBUTEMISSIONNAME_TITLE 20175
|
||||
#define IDC_RSCATTRIBUTEMISSIONNAME_PREVIEWTITLE 20176
|
||||
#define IDC_RSCATTRIBUTEMISSIONNAME_PREVIEW 20275
|
||||
#define IDC_RSCATTRIBUTEMISSIONNAME_VALUE 20575
|
||||
#define IDC_RSCATTRIBUTEMISSIONNAME_RSCATTRIBUTEMISSIONNAME 21475
|
||||
|
||||
//--- RscAttributeSpeedMode
|
||||
#define IDC_RSCATTRIBUTESPEEDMODE_BACKGROUND 22287
|
||||
#define IDC_RSCATTRIBUTESPEEDMODE_TITLE 22289
|
||||
#define IDC_RSCATTRIBUTESPEEDMODE_DEFAULT 22488
|
||||
#define IDC_RSCATTRIBUTESPEEDMODE_LIMITED 22489
|
||||
#define IDC_RSCATTRIBUTESPEEDMODE_NORMAL 22492
|
||||
#define IDC_RSCATTRIBUTESPEEDMODE_FULL 22493
|
||||
#define IDC_RSCATTRIBUTESPEEDMODE_RSCATTRIBUTESPEEDMODE 23587
|
||||
|
||||
//--- RscAttributeTaskDestination
|
||||
#define IDC_RSCATTRIBUTETASKDESTINATION_BACKGROUND 38009
|
||||
#define IDC_RSCATTRIBUTETASKDESTINATION_VALUE 38010
|
||||
#define IDC_RSCATTRIBUTETASKDESTINATION_TITLE 38011
|
||||
#define IDC_RSCATTRIBUTETASKDESTINATION_RSCATTRIBUTETASKDESTINATION 39309
|
||||
|
||||
//--- RscAttributeWaypointType
|
||||
#define IDC_RSCATTRIBUTEWAYPOINTTYPE_BACKGROUND 30511
|
||||
#define IDC_RSCATTRIBUTEWAYPOINTTYPE_TITLE 30513
|
||||
#define IDC_RSCATTRIBUTEWAYPOINTTYPE_VALUE 31011
|
||||
#define IDC_RSCATTRIBUTEWAYPOINTTYPE_RSCATTRIBUTEWAYPOINTTYPE 31811
|
||||
|
||||
//--- RscAttributeWaypointTimeout
|
||||
#define IDC_RSCATTRIBUTEWAYPOINTTIMEOUT_TITLE 38714
|
||||
#define IDC_RSCATTRIBUTEWAYPOINTTIMEOUT_BUTTONTIME00 39314
|
||||
#define IDC_RSCATTRIBUTEWAYPOINTTIMEOUT_BUTTONTIME05 39316
|
||||
#define IDC_RSCATTRIBUTEWAYPOINTTIMEOUT_BUTTONTIME10 39317
|
||||
#define IDC_RSCATTRIBUTEWAYPOINTTIMEOUT_BUTTONTIME15 39318
|
||||
#define IDC_RSCATTRIBUTEWAYPOINTTIMEOUT_BUTTONTIME20 39319
|
||||
#define IDC_RSCATTRIBUTEWAYPOINTTIMEOUT_BUTTONTIME25 39320
|
||||
#define IDC_RSCATTRIBUTEWAYPOINTTIMEOUT_BUTTONTIME30 39321
|
||||
#define IDC_RSCATTRIBUTEWAYPOINTTIMEOUT_RSCATTRIBUTEWAYPOINTTIMEOUT 40014
|
||||
|
||||
//--- RscAttributeTimeMultiplier
|
||||
#define IDC_RSCATTRIBUTETIMEMULTIPLIER_TITLE 35379
|
||||
#define IDC_RSCATTRIBUTETIMEMULTIPLIER_MULTIPLIER 35380
|
||||
#define IDC_RSCATTRIBUTETIMEMULTIPLIER_BACKGROUND 35381
|
||||
#define IDC_RSCATTRIBUTETIMEMULTIPLIER_EXAMPLE 35382
|
||||
#define IDC_RSCATTRIBUTETIMEMULTIPLIER_VALUE 36279
|
||||
#define IDC_RSCATTRIBUTETIMEMULTIPLIER_RSCATTRIBUTETIMEMULTIPLIER 36679
|
||||
|
||||
//--- RscAttributeHintTopics
|
||||
#define IDC_RSCATTRIBUTEHINTTOPICS_TITLE 25225
|
||||
#define IDC_RSCATTRIBUTEHINTTOPICS_VALUE 25725
|
||||
#define IDC_RSCATTRIBUTEHINTTOPICS_RSCATTRIBUTEHINTTOPICS 26525
|
||||
|
||||
//--- RscAttributeBootcampStage
|
||||
#define IDC_RSCATTRIBUTEBOOTCAMPSTAGE_BACKGROUND 31954
|
||||
#define IDC_RSCATTRIBUTEBOOTCAMPSTAGE_TITLE 31956
|
||||
#define IDC_RSCATTRIBUTEBOOTCAMPSTAGE_INFANTRY 32154
|
||||
#define IDC_RSCATTRIBUTEBOOTCAMPSTAGE_MOTORIZEDVEHICLES 32155
|
||||
#define IDC_RSCATTRIBUTEBOOTCAMPSTAGE_RSCATTRIBUTEBOOTCAMPSTAGE 33254
|
||||
|
||||
//--- RscAttributeHintCustom
|
||||
#define IDC_RSCATTRIBUTEHINTCUSTOM_TITLETITLE 25434
|
||||
#define IDC_RSCATTRIBUTEHINTCUSTOM_EDITTITLE 25832
|
||||
#define IDC_RSCATTRIBUTEHINTCUSTOM_RSCATTRIBUTEHINTCUSTOM 26732
|
||||
|
||||
//--- RscAttributePunishmentAnimation
|
||||
#define IDC_RSCATTRIBUTEPUNISHMENTANIMATION_BACKGROUND 50118
|
||||
#define IDC_RSCATTRIBUTEPUNISHMENTANIMATION_TITLE 50120
|
||||
#define IDC_RSCATTRIBUTEPUNISHMENTANIMATION_PUSHUPS 50318
|
||||
#define IDC_RSCATTRIBUTEPUNISHMENTANIMATION_LEGPUSHUPS 50319
|
||||
#define IDC_RSCATTRIBUTEPUNISHMENTANIMATION_RSCATTRIBUTEPUNISHMENTANIMATION 51418
|
||||
|
||||
//--- RscAttributeTargetPopup
|
||||
#define IDC_RSCATTRIBUTETARGETPOPUP_BACKGROUND 27787
|
||||
#define IDC_RSCATTRIBUTETARGETPOPUP_VALUE 27788
|
||||
#define IDC_RSCATTRIBUTETARGETPOPUP_TITLE 27789
|
||||
#define IDC_RSCATTRIBUTETARGETPOPUP_RSCATTRIBUTETARGETPOPUP 29087
|
||||
|
||||
//--- RscAttributeTargetPopupDelay
|
||||
#define IDC_RSCATTRIBUTETARGETPOPUPDELAY_TITLE 40264
|
||||
#define IDC_RSCATTRIBUTETARGETPOPUPDELAY_VALUE 41164
|
||||
#define IDC_RSCATTRIBUTETARGETPOPUPDELAY_RSCATTRIBUTETARGETPOPUPDELAY 41564
|
||||
|
||||
//--- RscAttributeTargetData
|
||||
#define IDC_RSCATTRIBUTETARGETDATA_VALUE 25001
|
||||
#define IDC_RSCATTRIBUTETARGETDATA_RSCATTRIBUTETARGETDATA 25801
|
||||
|
||||
//--- RscAttributeTargetDataStore
|
||||
#define IDC_RSCATTRIBUTETARGETDATASTORE_BACKGROUND 37135
|
||||
#define IDC_RSCATTRIBUTETARGETDATASTORE_VALUE 37136
|
||||
#define IDC_RSCATTRIBUTETARGETDATASTORE_TITLE 37137
|
||||
#define IDC_RSCATTRIBUTETARGETDATASTORE_RSCATTRIBUTETARGETDATASTORE 38435
|
||||
|
||||
//--- RscAttributeTargetTexture
|
||||
#define IDC_RSCATTRIBUTETARGETTEXTURE_BACKGROUND 32964
|
||||
#define IDC_RSCATTRIBUTETARGETTEXTURE_TITLE 32966
|
||||
#define IDC_RSCATTRIBUTETARGETTEXTURE_PREVIEW 33167
|
||||
#define IDC_RSCATTRIBUTETARGETTEXTURE_TEXTURELIST 33464
|
||||
#define IDC_RSCATTRIBUTETARGETTEXTURE_RSCATTRIBUTETARGETTEXTURE 34264
|
||||
#define IDC_RSCATTRIBUTETARGETTEXTURE_OVERLAP 34265
|
||||
|
||||
//--- RscAttributeTargetState
|
||||
#define IDC_RSCATTRIBUTETARGETSTATE_BACKGROUND 27373
|
||||
#define IDC_RSCATTRIBUTETARGETSTATE_VALUE 27374
|
||||
#define IDC_RSCATTRIBUTETARGETSTATE_TITLE 27375
|
||||
#define IDC_RSCATTRIBUTETARGETSTATE_RSCATTRIBUTETARGETSTATE 28673
|
||||
|
||||
//--- RscDisplayTargetBoard
|
||||
#define IDC_RSCDISPLAYTARGETBOARD_TABLE 22928
|
||||
#define IDC_RSCDISPLAYTARGETBOARD_BACKGROUNDTITLE 23628
|
||||
#define IDC_RSCDISPLAYTARGETBOARD_BACKGROUND 23629
|
||||
#define IDC_RSCDISPLAYTARGETBOARD_BUTTONOK 24028
|
||||
|
||||
//--- RscDisplayFiringRangeBoard
|
||||
#define IDC_RSCDISPLAYFIRINGRANGEBOARD_TABLE 34191
|
||||
#define IDC_RSCDISPLAYFIRINGRANGEBOARD_BACKGROUNDTITLE 34891
|
||||
#define IDC_RSCDISPLAYFIRINGRANGEBOARD_BUTTONOK 35291
|
||||
|
||||
//--- RscDisplayTimeTrialBoard
|
||||
#define IDC_RSCDISPLAYTIMETRIALBOARD_TABLE 29399
|
||||
#define IDC_RSCDISPLAYTIMETRIALBOARD_BACKGROUNDTITLE 30099
|
||||
#define IDC_RSCDISPLAYTIMETRIALBOARD_BUTTONOK 30499
|
||||
|
||||
//--- RscRecruitStatus
|
||||
#define IDC_RSCRECRUITSTATUS_PROGRESSBAR 13986
|
||||
#define IDC_RSCRECRUITSTATUS_TITLE 14086
|
||||
#define IDC_RSCRECRUITSTATUS_DESCRIPTION 14087
|
||||
#define IDC_RSCRECRUITSTATUS_LIST 14486
|
||||
#define IDC_RSCRECRUITSTATUS_BACKGROUND 15186
|
||||
|
||||
#define IDC_RSCMISSIONTEXT 20145
|
||||
#define IDC_RSCMISSIONTEXT_TEXT 20146
|
||||
|
||||
//--- RscVRMeta
|
||||
#define IDC_RSCVRMETA_BACKGROUNDFATIGUE 4478
|
||||
#define IDC_RSCVRMETA_BACKGROUNDSPEED 4479
|
||||
#define IDC_RSCVRMETA_BACKGROUNDLOAD 4480
|
||||
#define IDC_RSCVRMETA_BACKGROUNDTGT 4481
|
||||
#define IDC_RSCVRMETA_PROGRESSLOAD 4482
|
||||
#define IDC_RSCVRMETA_PROGRESSFATIGUE 4483
|
||||
#define IDC_RSCVRMETA_PROGRESSSPEED 4484
|
||||
#define IDC_RSCVRMETA_TEXTLOAD 4485
|
||||
#define IDC_RSCVRMETA_TEXTFATIGUE 4486
|
||||
#define IDC_RSCVRMETA_TEXTSPEED 4487
|
||||
#define IDC_RSCVRMETA_VALUELOAD 4488
|
||||
#define IDC_RSCVRMETA_VALUEFATIGUE 4489
|
||||
#define IDC_RSCVRMETA_VALUESPEED 4490
|
||||
#define IDC_RSCVRMETA_TEXTTGT 4491
|
||||
#define IDC_RSCVRMETA_PROGRESSTGT 4492
|
||||
#define IDC_RSCVRMETA_VALUETGT 4494
|
||||
#define IDC_RSCVRMETA_VALUETGTDMG 4495
|
||||
#define IDC_RSCVRMETA_VRMETA 5778
|
140
include/a3/ui_f_curator/ui/displays/RscDisplayAttributes.sqf
Normal file
140
include/a3/ui_f_curator/ui/displays/RscDisplayAttributes.sqf
Normal file
@ -0,0 +1,140 @@
|
||||
#include "\a3\ui_f_curator\ui\defineResinclDesign.inc"
|
||||
|
||||
_mode = _this select 0;
|
||||
_params = _this select 1;
|
||||
_class = _this select 2;
|
||||
|
||||
switch _mode do {
|
||||
case "onLoad": {
|
||||
|
||||
_display = _params select 0;
|
||||
_displayConfig = configfile >> _class;
|
||||
|
||||
_ctrlBackground = _display displayctrl IDC_RSCDISPLAYATTRIBUTES_BACKGROUND;
|
||||
_ctrlTitle = _display displayctrl IDC_RSCDISPLAYATTRIBUTES_TITLE;
|
||||
_ctrlContent = _display displayctrl IDC_RSCDISPLAYATTRIBUTES_CONTENT;
|
||||
_ctrlButtonOK = _display displayctrl IDC_OK;
|
||||
_ctrlButtonCancel = _display displayctrl IDC_CANCEL;
|
||||
_ctrlButtonCustom = _display displayctrl IDC_RSCDISPLAYATTRIBUTES_BUTTONCUSTOM;
|
||||
|
||||
_ctrlBackgroundPos = ctrlposition _ctrlBackground;
|
||||
_ctrlTitlePos = ctrlposition _ctrlTitle;
|
||||
_ctrlContentPos = ctrlposition _ctrlContent;
|
||||
_ctrlButtonOKPos = ctrlposition _ctrlButtonOK;
|
||||
_ctrlButtonCancelPos = ctrlposition _ctrlButtonCancel;
|
||||
_ctrlButtonCustomPos = ctrlposition _ctrlButtonCustom;
|
||||
|
||||
_ctrlTitleOffsetY = (_ctrlBackgroundPos select 1) - (_ctrlTitlePos select 1) - (_ctrlTitlePos select 3);
|
||||
_ctrlContentOffsetY = (_ctrlContentPos select 1) - (_ctrlBackgroundPos select 1);
|
||||
|
||||
//--- Show fake map in the background
|
||||
_ctrlMap = _display displayctrl IDC_RSCDISPLAYCURATOR_MAINMAP;
|
||||
_ctrlMap ctrlenable false;
|
||||
if (visiblemap) then {
|
||||
_ctrlCuratorMap = (finddisplay IDD_RSCDISPLAYCURATOR) displayctrl IDC_RSCDISPLAYCURATOR_MAINMAP;
|
||||
_ctrlMap ctrlmapanimadd [0,ctrlmapscale _ctrlCuratorMap,_ctrlCuratorMap ctrlmapscreentoworld [0.5,0.5]];
|
||||
ctrlmapanimcommit _ctrlMap;
|
||||
} else {
|
||||
_ctrlMap ctrlshow false;
|
||||
};
|
||||
|
||||
//--- Load default attributes
|
||||
_attributes = if (getnumber (_displayConfig >> "filterAttributes") > 0) then {missionnamespace getvariable ["BIS_fnc_initCuratorAttributes_attributes",[]]} else {["%ALL"]};
|
||||
_allAttributes = "%ALL" in _attributes;
|
||||
|
||||
//--- Initialize attributes
|
||||
_posY = _ctrlContentOffsetY;
|
||||
_contentControls = _displayConfig >> "Controls" >> "Content" >> "Controls";
|
||||
_enableDebugConsole = ["DebugConsole",getnumber (missionconfigfile >> "enableDebugConsole")] call bis_fnc_getParamValue;
|
||||
_enableAdmin = (_enableDebugConsole == 1 && (isserver || serverCommandAvailable "#shutdown")) || _enableDebugConsole == 2;
|
||||
for "_i" from 0 to (count _contentControls - 1) do {
|
||||
_cfgControl = _contentControls select _i;
|
||||
if (isclass _cfgControl) then {
|
||||
_idc = getnumber (_cfgControl >> "idc");
|
||||
_control = _display displayctrl _idc;
|
||||
|
||||
//--- Admin specific attribute
|
||||
_show = if (getnumber (_cfgControl >> "adminOnly") > 0) then {_enableAdmin} else {true};
|
||||
|
||||
if ((_allAttributes || {_x == configname _cfgControl} count _attributes > 0) && _show) then {
|
||||
_controlPos = ctrlposition _control;
|
||||
_controlPos set [0,0];
|
||||
_controlPos set [1,_posY];
|
||||
_control ctrlsetposition _controlPos;
|
||||
_control ctrlcommit 0;
|
||||
_posY = _posY + (_controlPos select 3) + 0.005;
|
||||
ctrlsetfocus _control;
|
||||
} else {
|
||||
_control ctrlsetposition [0,0,0,0];
|
||||
_control ctrlcommit 0;
|
||||
_control ctrlshow false;
|
||||
};
|
||||
};
|
||||
};
|
||||
_posH = ((_posY + _ctrlContentOffsetY) min 0.9) * 0.5;
|
||||
|
||||
_target = missionnamespace getvariable ["BIS_fnc_initCuratorAttributes_target",objnull];
|
||||
_name = switch (typename _target) do {
|
||||
case (typename objnull): {gettext (configfile >> "cfgvehicles" >> typeof _target >> "displayname")};
|
||||
case (typename grpnull): {groupid _target};
|
||||
case (typename []): {format ["%1: %3 #%2",groupid (_target select 0),_target select 1,localize "str_a3_cfgmarkers_waypoint_0"]};
|
||||
case (typename ""): {markertext _target};
|
||||
};
|
||||
_ctrlTitle ctrlsettext format [ctrltext _ctrlTitle,toupper _name];
|
||||
|
||||
_ctrlTitlePos set [1,(0.5 - _posH) - (_ctrlTitlePos select 3) - _ctrlTitleOffsetY];
|
||||
_ctrlTitle ctrlsetposition _ctrlTitlePos;
|
||||
_ctrlTitle ctrlcommit 0;
|
||||
|
||||
_ctrlContentPos set [1,0.5 - _posH];
|
||||
_ctrlContentPos set [3,_posH * 2];
|
||||
_ctrlContent ctrlsetposition _ctrlContentPos;
|
||||
_ctrlContent ctrlcommit 0;
|
||||
|
||||
_ctrlBackgroundPos set [1,0.5 - _posH];
|
||||
_ctrlBackgroundPos set [3,_posH * 2];
|
||||
_ctrlBackground ctrlsetposition _ctrlBackgroundPos;
|
||||
_ctrlBackground ctrlcommit 0;
|
||||
|
||||
_ctrlButtonOKPos set [1,0.5 + _posH + _ctrlTitleOffsetY];
|
||||
_ctrlButtonOK ctrlsetposition _ctrlButtonOKPos;
|
||||
_ctrlButtonOK ctrlcommit 0;
|
||||
ctrlsetfocus _ctrlButtonOK;
|
||||
|
||||
_ctrlButtonCancelPos set [1,0.5 + _posH + _ctrlTitleOffsetY];
|
||||
_ctrlButtonCancel ctrlsetposition _ctrlButtonCancelPos;
|
||||
_ctrlButtonCancel ctrlcommit 0;
|
||||
|
||||
_ctrlButtonCustomPos set [1,0.5 + _posH + _ctrlTitleOffsetY];
|
||||
_ctrlButtonCustom ctrlsetposition _ctrlButtonCustomPos;
|
||||
_ctrlButtonCustom ctrlcommit 0;
|
||||
|
||||
//--- Close the display when entity is altered
|
||||
[_display] spawn {
|
||||
disableserialization;
|
||||
_display = _this select 0;
|
||||
_target = missionnamespace getvariable ["BIS_fnc_initCuratorAttributes_target",objnull];
|
||||
switch (typename _target) do {
|
||||
case (typename objnull): {
|
||||
_isAlive = alive _target;
|
||||
waituntil {isnull _display || (_isAlive && !alive _target)};
|
||||
};
|
||||
case (typename grpnull): {
|
||||
waituntil {isnull _display || isnull _target};
|
||||
};
|
||||
case (typename []): {
|
||||
_grp = _target select 0;
|
||||
_wpCount = count waypoints _grp;
|
||||
waituntil {isnull _display || (count waypoints _grp != _wpCount)};
|
||||
};
|
||||
case (typename ""): {
|
||||
waituntil {isnull _display || markertype _target == ""};
|
||||
};
|
||||
};
|
||||
_display closedisplay 2;
|
||||
};
|
||||
};
|
||||
case "onUnload": {
|
||||
|
||||
};
|
||||
};
|
1
include/sog_dress_id/$PBOPREFIX$
Normal file
1
include/sog_dress_id/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
sog_dress_id
|
BIN
include/sog_dress_id/data/card/IDCardClassic_CIA_Enlisted_co.paa
Normal file
BIN
include/sog_dress_id/data/card/IDCardClassic_CIA_Enlisted_co.paa
Normal file
Binary file not shown.
BIN
include/sog_dress_id/data/card/IDCardClassic_CIA_Officer_co.paa
Normal file
BIN
include/sog_dress_id/data/card/IDCardClassic_CIA_Officer_co.paa
Normal file
Binary file not shown.
Binary file not shown.
BIN
include/sog_dress_id/data/card/IDCardClassic_USAF_Officer_co.paa
Normal file
BIN
include/sog_dress_id/data/card/IDCardClassic_USAF_Officer_co.paa
Normal file
Binary file not shown.
BIN
include/sog_dress_id/data/card/IDCardClassic_USA_Enlisted_co.paa
Normal file
BIN
include/sog_dress_id/data/card/IDCardClassic_USA_Enlisted_co.paa
Normal file
Binary file not shown.
BIN
include/sog_dress_id/data/card/IDCardClassic_USA_Officer_co.paa
Normal file
BIN
include/sog_dress_id/data/card/IDCardClassic_USA_Officer_co.paa
Normal file
Binary file not shown.
Binary file not shown.
BIN
include/sog_dress_id/data/card/IDCardClassic_USMC_Officer_co.paa
Normal file
BIN
include/sog_dress_id/data/card/IDCardClassic_USMC_Officer_co.paa
Normal file
Binary file not shown.
BIN
include/sog_dress_id/data/card/IDCardClassic_USN_Enlisted_co.paa
Normal file
BIN
include/sog_dress_id/data/card/IDCardClassic_USN_Enlisted_co.paa
Normal file
Binary file not shown.
BIN
include/sog_dress_id/data/card/IDCardClassic_USN_Officer_co.paa
Normal file
BIN
include/sog_dress_id/data/card/IDCardClassic_USN_Officer_co.paa
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user