This commit is contained in:
commit
e67607bac0
21
.gitea/workflows/test.yml
Normal file
21
.gitea/workflows/test.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: test
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test-linux:
|
||||||
|
name: Test on Linux
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out files
|
||||||
|
uses: actions/checkout@main
|
||||||
|
|
||||||
|
- name: Setup gsc-tool
|
||||||
|
uses: diamante0018/setup-gsc-tool@main
|
||||||
|
with:
|
||||||
|
version: "1.4.0"
|
||||||
|
|
||||||
|
- name: Compile scripts
|
||||||
|
run: |
|
||||||
|
gsc-tool -m comp -g iw5 -s pc .
|
29
LICENSE
Normal file
29
LICENSE
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
BSD 3-Clause License
|
||||||
|
|
||||||
|
Copyright (c) 2024, AlterWare
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
1. Redistributions of source code must retain the above copyright notice, this
|
||||||
|
list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer in the documentation
|
||||||
|
and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
3. Neither the name of the copyright holder nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived from
|
||||||
|
this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||||
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||||
|
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||||
|
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||||
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
7
README.md
Normal file
7
README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# IW5 Rawfiles
|
||||||
|
This repo contains the IW5 Rawfiles for iw5-mod.
|
||||||
|
|
||||||
|
Contributions are welcome! Please follow the guidelines below:
|
||||||
|
|
||||||
|
- Sign [AlterWare CLA](https://alterware.dev/cla) and send a pull request or email your patch at patches@alterware.dev
|
||||||
|
- Make sure that PRs have only one commit, and deal with one issue only
|
10
raw/scripts/sp/_cp.gsc
Normal file
10
raw/scripts/sp/_cp.gsc
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
main()
|
||||||
|
{
|
||||||
|
if ( getdvar( "scr_damagefeedback" ) == "" )
|
||||||
|
setdvar( "scr_damagefeedback", "0" );
|
||||||
|
|
||||||
|
if ( !getdvarint( "scr_damagefeedback", 0 ) )
|
||||||
|
return;
|
||||||
|
|
||||||
|
maps\_utility::_id_17E5();
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user