QTfrontend/weapons.h
author nemo
Sun, 04 Jan 2015 00:44:14 -0500
branch0.9.21
changeset 10743 1d16c5414fee
parent 10599 918d6da025a6
child 10789 acbf69e2e5cf
permissions -rw-r--r--
Intent is to allow filtering by arbitrary flag combinations. This isn't actually working yet. No idea why. It seems it should. Tired though, so will look at it tomorrow.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8608
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
     1
/*
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
     2
 * Hedgewars, a free turn based strategy game
8610
6d6b5b529890 correct copyright header on files i added
koda
parents: 8608
diff changeset
     3
 * Copyright (c) 2013 Vittorio Giovara <vittorio.giovara@gmail.com>
8608
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
     4
 *
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
     8
 *
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    12
 * GNU General Public License for more details.
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    13
 *
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    14
 * You should have received a copy of the GNU General Public License
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    15
 * along with this program; if not, write to the Free Software
10108
c68cf030eded update FSF address. note: two sdl include files (by Sam Lantinga) still have the old FSF address in their copyright - but I ain't gonna touch their copyright headers
sheepluva
parents: 10089
diff changeset
    16
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
8608
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    17
 */
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    18
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    19
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    20
// TODO: keep on documenting all the weapons
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    21
//skip---------------------------------|
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    22
//structure------------------------------------------------------------------|
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    23
9785
74445ca0b489 More sane default weapons: remove rc, freezer, portals and landspray
unc0rr
parents: 9784
diff changeset
    24
74445ca0b489 More sane default weapons: remove rc, freezer, portals and landspray
unc0rr
parents: 9784
diff changeset
    25
#define AMMOLINE_DEFAULT_QT     "93919294221991210322351110012000000002111001010111110001"
9784
ce953e6fa1a2 reduce # of freezers to 1
nemo
parents: 9775
diff changeset
    26
#define AMMOLINE_DEFAULT_PROB   "04050405416006555465544647765766666661555101011154111111"
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    27
#define AMMOLINE_DEFAULT_DELAY  "00000000000002055000000400070040000000002200000006000200"
9784
ce953e6fa1a2 reduce # of freezers to 1
nemo
parents: 9775
diff changeset
    28
#define AMMOLINE_DEFAULT_CRATE  "13111103121111111231141111111111111112111111011111111111"
8608
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    29
9775
2b154a2a8852 match girder on this one.
nemo
parents: 9768
diff changeset
    30
#define AMMOLINE_CRAZY_QT       "99999999999999999929999999999999992999999999099999929991"
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    31
#define AMMOLINE_CRAZY_PROB     "11111101111111111111111111111111111111111111011111111111"
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    32
#define AMMOLINE_CRAZY_DELAY    "00000000000000000000000000000000000000000000000000000000"
9784
ce953e6fa1a2 reduce # of freezers to 1
nemo
parents: 9775
diff changeset
    33
#define AMMOLINE_CRAZY_CRATE    "13111103121111111231141111111111111112111101011111111111"
8608
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    34
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    35
#define AMMOLINE_PROMODE_QT     "90900090000000000000090000000000000000000000000000000000"
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    36
#define AMMOLINE_PROMODE_PROB   "00000000000000000000000000000000000000000000000000000000"
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    37
#define AMMOLINE_PROMODE_DELAY  "00000000000002055000000400070040000000002000000000000200"
9784
ce953e6fa1a2 reduce # of freezers to 1
nemo
parents: 9775
diff changeset
    38
#define AMMOLINE_PROMODE_CRATE  "11111101111111111111111111111111111111111001011111111111"
8608
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    39
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    40
#define AMMOLINE_SHOPPA_QT      "00000099000000000000000000000000000000000000000000000000"
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    41
#define AMMOLINE_SHOPPA_PROB    "44444100442444022101121212224220000000020004000100110010"
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    42
#define AMMOLINE_SHOPPA_DELAY   "00000000000000000000000000000000000000000000000000000000"
9784
ce953e6fa1a2 reduce # of freezers to 1
nemo
parents: 9775
diff changeset
    43
#define AMMOLINE_SHOPPA_CRATE   "11111101111111111111111111111111111111111011011111111110"
8608
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    44
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    45
#define AMMOLINE_CLEAN_QT       "10100090000100000110000000000000000000000000000010000000"
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    46
#define AMMOLINE_CLEAN_PROB     "04050405416006555465544647765766666661555101011154111211"
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    47
#define AMMOLINE_CLEAN_DELAY    "00000000000000000000000000000000000000000000000000000200"
9784
ce953e6fa1a2 reduce # of freezers to 1
nemo
parents: 9775
diff changeset
    48
#define AMMOLINE_CLEAN_CRATE    "13111103121111111231141111111111111112111111011111111111"
8608
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    49
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    50
#define AMMOLINE_MINES_QT       "00000099000900000003000000000000000000000000000000000000"
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    51
#define AMMOLINE_MINES_PROB     "00000000000000000000000000000000000000000000000000000000"
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    52
#define AMMOLINE_MINES_DELAY    "00000000000002055000000400070040000000002000000006000200"
9784
ce953e6fa1a2 reduce # of freezers to 1
nemo
parents: 9775
diff changeset
    53
#define AMMOLINE_MINES_CRATE    "11111101111111111111111111111111111111111111011111111111"
8608
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    54
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    55
#define AMMOLINE_PORTALS_QT     "90000090020000000021000000000000001100000900000000000000"
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    56
#define AMMOLINE_PORTALS_PROB   "04050405416006555465544647765766666661555101011154111211"
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    57
#define AMMOLINE_PORTALS_DELAY  "00000000000002055000000400070040000000002000000006000200"
9784
ce953e6fa1a2 reduce # of freezers to 1
nemo
parents: 9775
diff changeset
    58
#define AMMOLINE_PORTALS_CRATE  "13111103121111111231141111111111111112111111011111111111"
8608
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    59
9768
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    60
#define AMMOLINE_ONEEVERY_QT    "11111191111111111111111111111111111111111111111111111111"
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    61
#define AMMOLINE_ONEEVERY_PROB  "11111101111111111111111111111111111111111111111111111111"
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    62
#define AMMOLINE_ONEEVERY_DELAY "00000000000000000000000000000000000000000000000000000000"
08799c901a42 Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
nemo
parents: 8877
diff changeset
    63
#define AMMOLINE_ONEEVERY_CRATE "11111101111111111111111111111111111111111111111111111111"
8608
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    64
10089
c6e5ed83fb83 aaaand remove switch
nemo
parents: 10085
diff changeset
    65
#define AMMOLINE_HIGHLANDER_QT    "11111191111111111111019111111111100101111101111011001101"
10083
b20f9481e5cb Make highlander configurable using weapons, commit weaponset mimicking old values
nemo
parents: 9785
diff changeset
    66
#define AMMOLINE_HIGHLANDER_PROB  "00000000000000000000000000000000000000000000000000000000"
b20f9481e5cb Make highlander configurable using weapons, commit weaponset mimicking old values
nemo
parents: 9785
diff changeset
    67
#define AMMOLINE_HIGHLANDER_DELAY "00000000000000000000000000000000000000000000000000000000"
b20f9481e5cb Make highlander configurable using weapons, commit weaponset mimicking old values
nemo
parents: 9785
diff changeset
    68
#define AMMOLINE_HIGHLANDER_CRATE "00000000000000000000000000000000000000000000000000000000"
b20f9481e5cb Make highlander configurable using weapons, commit weaponset mimicking old values
nemo
parents: 9785
diff changeset
    69
10549
6b08a29cadea Add scheme and weaponset for Construction Mode.
mikade <redgrinner@gmail.com>
parents: 10108
diff changeset
    70
#define AMMOLINE_CONSTRUCTION_QT    "11000190000000100100000000000000000000000000000000000000"
6b08a29cadea Add scheme and weaponset for Construction Mode.
mikade <redgrinner@gmail.com>
parents: 10108
diff changeset
    71
#define AMMOLINE_CONSTRUCTION_PROB  "11111101111111111111111111111111111111111111111111111111"
6b08a29cadea Add scheme and weaponset for Construction Mode.
mikade <redgrinner@gmail.com>
parents: 10108
diff changeset
    72
#define AMMOLINE_CONSTRUCTION_DELAY "00000000000000000000000000000000000000000000000000000000"
6b08a29cadea Add scheme and weaponset for Construction Mode.
mikade <redgrinner@gmail.com>
parents: 10108
diff changeset
    73
#define AMMOLINE_CONSTRUCTION_CRATE "11111101111111111111111111111111111111111111111111111111"
6b08a29cadea Add scheme and weaponset for Construction Mode.
mikade <redgrinner@gmail.com>
parents: 10108
diff changeset
    74
10599
918d6da025a6 weapon set: Shoppa Pro
sheepluva
parents: 10549
diff changeset
    75
#define AMMOLINE_SHOPPAPRO_QT      "00000099000000000000000000000000000000000000000000000000"
918d6da025a6 weapon set: Shoppa Pro
sheepluva
parents: 10549
diff changeset
    76
#define AMMOLINE_SHOPPAPRO_PROB    "44444000440444000000000000004000000000000000000000000000"
918d6da025a6 weapon set: Shoppa Pro
sheepluva
parents: 10549
diff changeset
    77
#define AMMOLINE_SHOPPAPRO_DELAY   "00000000000000000000000000000000000000000000000000000000"
918d6da025a6 weapon set: Shoppa Pro
sheepluva
parents: 10549
diff changeset
    78
#define AMMOLINE_SHOPPAPRO_CRATE   "11111101111111111111111111111111111111111011011111111211"
918d6da025a6 weapon set: Shoppa Pro
sheepluva
parents: 10549
diff changeset
    79
10549
6b08a29cadea Add scheme and weaponset for Construction Mode.
mikade <redgrinner@gmail.com>
parents: 10108
diff changeset
    80
8875
e2b083e3f77b remove low grav from fort mode since players might not appreciate it if they just want to play a quick regular forts match against a challenger.
sheepluva
parents: 8655
diff changeset
    81
//When adding new weapons also insert one element in cDefaultAmmos list (hwconsts.cpp.in)
8608
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    82
50cc0131b109 move weapons line away from hwconsts.h so that modifying it doesn't needlessly recompile everything, introduce a way to try documenting which weapons each number represents
koda
parents:
diff changeset
    83