QTfrontend/weapons.h
author nemo
Sat, 27 Apr 2013 16:56:50 -0400
changeset 8939 b26aaf28c920
parent 8877 928050d58c2b
child 9768 08799c901a42
permissions -rw-r--r--
So. First pass. Add secondary explosions to RateExplosion and RateShotgun. Not yet added to shoves. This is of limited utility at present since the dX has to be small since we can't bother tracing all hog motion. But, should be more useful once shove is added, and tracking of explosives and mines.
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
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
    16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
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
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
    24
#define AMMOLINE_DEFAULT_QT     "9391929422199121032235111001201000000211110101011111121"
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
    25
#define AMMOLINE_DEFAULT_PROB   "0405040541600655546554464776576666666155510101115411121"
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
    26
#define AMMOLINE_DEFAULT_DELAY  "0000000000000205500000040007004000000000220000000600020"
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
    27
#define AMMOLINE_DEFAULT_CRATE  "1311110312111111123114111111111111111211111101111111121"
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
    28
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
#define AMMOLINE_CRAZY_QT       "9999999999999999992999999999999999299999999909999992999"
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
    30
#define AMMOLINE_CRAZY_PROB     "1111110111111111111111111111111111111111111101111111111"
8655
9fa380a18a65 At multiple requests, change ice to be turn based. This is a more modest adjustment of existing code, that can be fairly easily flagged or reverted if desired. It also allows scripts to extend freezing, and preserves fire melting.
nemo
parents: 8610
diff changeset
    31
#define AMMOLINE_CRAZY_DELAY    "0000000000000000000000000000000000000000000000000000000"
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
    32
#define AMMOLINE_CRAZY_CRATE    "1311110312111111123114111111111111111211110101111111121"
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
    33
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
#define AMMOLINE_PROMODE_QT     "9090009000000000000009000000000000000000000000000000000"
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
    35
#define AMMOLINE_PROMODE_PROB   "0000000000000000000000000000000000000000000000000000000"
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
    36
#define AMMOLINE_PROMODE_DELAY  "0000000000000205500000040007004000000000200000000000020"
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
    37
#define AMMOLINE_PROMODE_CRATE  "1111110111111111111111111111111111111111100101111111121"
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
    38
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
#define AMMOLINE_SHOPPA_QT      "0000009900000000000000000000000000000000000000000000000"
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
    40
#define AMMOLINE_SHOPPA_PROB    "4444410044244402210112121222422000000002000400010011001"
8655
9fa380a18a65 At multiple requests, change ice to be turn based. This is a more modest adjustment of existing code, that can be fairly easily flagged or reverted if desired. It also allows scripts to extend freezing, and preserves fire melting.
nemo
parents: 8610
diff changeset
    41
#define AMMOLINE_SHOPPA_DELAY   "0000000000000000000000000000000000000000000000000000000"
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
    42
#define AMMOLINE_SHOPPA_CRATE   "1111110111111111111111111111111111111111101101111111121"
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
    43
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
#define AMMOLINE_CLEAN_QT       "1010009000010000011000000000000000000000000000001000000"
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
    45
#define AMMOLINE_CLEAN_PROB     "0405040541600655546554464776576666666155510101115411121"
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
    46
#define AMMOLINE_CLEAN_DELAY    "0000000000000000000000000000000000000000000000000000020"
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
    47
#define AMMOLINE_CLEAN_CRATE    "1311110312111111123114111111111111111211111101111111121"
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
    48
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
#define AMMOLINE_MINES_QT       "0000009900090000000300000000000000000000000000000000000"
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
    50
#define AMMOLINE_MINES_PROB     "0000000000000000000000000000000000000000000000000000000"
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
    51
#define AMMOLINE_MINES_DELAY    "0000000000000205500000040007004000000000200000000600020"
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
    52
#define AMMOLINE_MINES_CRATE    "1111110111111111111111111111111111111111111101111111121"
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
    53
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
#define AMMOLINE_PORTALS_QT     "9000009002000000002100000000000000110000090000000000000"
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
    55
#define AMMOLINE_PORTALS_PROB   "0405040541600655546554464776576666666155510101115411121"
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
    56
#define AMMOLINE_PORTALS_DELAY  "0000000000000205500000040007004000000000200000000600020"
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
    57
#define AMMOLINE_PORTALS_CRATE  "1311110312111111123114111111111111111211111101111111121"
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
    58
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
#define AMMOLINE_ONEEVERY_QT    "1111119111111111111111111111111111111111111111111111111"
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
    60
#define AMMOLINE_ONEEVERY_PROB  "1111110111111111111111111111111111111111111111111111111"
8877
928050d58c2b remove delays from "one of everything" weaponset
mikade
parents: 8875
diff changeset
    61
#define AMMOLINE_ONEEVERY_DELAY "0000000000000000000000000000000000000000000000000000000"
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
    62
#define AMMOLINE_ONEEVERY_CRATE "1111110111111111111111111111111111111111111111111111111"
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
    63
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
    64
//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
    65
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
    66