ac-stef
7948212234
add radio buttons and simplify sliders
...
- omit step size for sliders with value descriptions
- optionally auto-determine max value by list length
menuitemslider text min max value display action wrap
menuitemradio text min max value display action
text: menu item text
min: min value
max: max value (or optionally -1 and set by display string length)
value: initial value
display: list of value descriptions or value step size
action: executed on value changes (new value in arg1)
wrap: if 1, wrap slider around (radio buttons always wrap)
DOCREF menuitemslider menuitemradio
2017-06-06 13:17:20 +02:00
ac-stef
1bf36ca2b3
option to turn off flag score hud transparency
...
flagscorehudtransparency 0|1
default: 1
DOCREF flagscorehudtransparency
2017-06-05 01:06:35 +02:00
ac-stef
5e20a2343b
add animated inlined images for console text
...
Images are stored in packages/misc/igraph/*.png and loaded during game
start. Filenames consist of the image shorthand (mnemonic) and optional
frame times, separated by "_". Keep in mind, media file names may only
contain letters, digits and "_-.()".
All texts displayed in the game console are scanned for mnemonics prefixed
with ":". All found matches are replaced by the image.
The images are displayed as squares with width and height the same as the
regular font height. To create animations, put several square images side
by side into the file. For example, a 128x32 image is interpreted as four
frames. Frame duration is encoded in the filename, so, for example the file
"nop_1000_200_100.png" shows the first frame for 1000 milliseconds, the
second frame for 200 msec and the third (as the rest) for 100 msec.
Igraphs "1" to "9" are hardcoded and can be manually encoded in menu texts.
Use the new escape code "\i" plus the number of the image: "\i\1".."\i\9".
Other images can be used in menus as well, but the codes have to be fetched
by getigraph.
new commands:
updateigraphs
Checks for new files in packages/misc/igraph. Only necessary, if new
files are added during the game - for example, by mod package download.
getigraph <mnemonic>
Returns an encoded string to display an image outside the console, or
an empty string, if the mnemonic was not found.
new parameters:
igraphsize 80..300 (default 120)
scales the images (in percent)
igraphsizehardcoded 80..160 (default 106)
scales the hardcoded images "1".."9" (in percent)
igraphanimate 0..1 (default 1)
if 0, only the first frame of every image is displayed
igraphdefaultframetime 5..2000 (default 200)
used for images with multiple frames but no frame duration specified
in the filename
hideigraphs 0..1 (default 0)
if 1, no new images will be shown in the console
DOCREF updateigraphs getigraph igraphsizehardcoded
DOCREF igraphsize igraphanimate igraphdefaultframetime hideigraphs
2017-05-28 23:29:06 +02:00
aurhat
55142cbe41
Add transparent 32x32 icon to AC window
...
It bases on .../docs/images/icon.png from AC website repository,
just removed empty space, edges changed to more noticeable.
Note: on Mac an icon from assaultcube.icns is used.
2016-11-19 18:19:45 +01:00
ac-stef
643328b5a1
properly compress chars_default.png
...
thx BrutalSystem
2016-09-13 21:28:47 +02:00
ac-stef
2fbbb04b76
move menu background texture to packages/misc
...
so that altering the menu background does not change maps that use it
as texture
packages/textures/makke/menu.jpg is being kept, because maps use it
2016-08-04 20:59:03 +02:00
aurhat
b96066031b
Remove items-tmp.png - obsolete temporary file
2015-04-28 20:46:14 +02:00
aurhat
f640b23a95
Revert "test font"
...
This reverts commit f65b11525b .
2015-02-14 16:12:44 +01:00
Lucas GAUTHERON and ac-stef
4fd4e09f43
Added AC icon to SDL window ( fixes #29 )
...
As zeSKB reported, there was no icon for the game window.
This should now be fixed. We might want to make it transparent in the future,
but we would have to make sure it will be supported by any system.
2014-05-14 14:28:54 +02:00
Alejandro V. Garcia
6a59983344
all .jpg files over 10kb optimized (alike what Cleaner proposed) 27.8mb down to 17.7mb
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7174 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-09 08:26:24 +00:00
RandumKiwi
dc4bd08fba
font stuff
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6608 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-21 09:58:29 +00:00
RandumKiwi
e0b45cccfb
minor changes to releasefiles.txt
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6605 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-20 22:44:02 +00:00
RandumKiwi
e96563affe
more unimportantness
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6601 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-20 13:04:24 +00:00
RandumKiwi
93d40b171a
proper naming scheme for font files :P
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6600 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-20 11:50:51 +00:00
Lucas GAUTHERON
e71f257f39
TMP-AM => TMP-M&A (thanks Jamz)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6539 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-15 11:52:02 +00:00
sireus
f9a2e7c52d
rifle -> carbine
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6351 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-26 00:13:42 +00:00
RandumKiwi
d7076ec098
License file updates.
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6203 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-02 22:47:02 +00:00
RandumKiwi
83945793a9
logo licenses
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6194 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-02 00:56:17 +00:00
makke
3226ad5aed
test-particle
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5912 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-20 01:07:30 +00:00
flowtron
72f2198d49
new directory structure & update
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5864 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-14 19:03:15 +00:00
RandumKiwi
d40d709dfd
move crosshairs directory to its own packages path
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5823 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-10 22:44:50 +00:00
flowtron
a8f80df36c
mediapack updates : file-list update & URL output on "checkmapdependencies"
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5561 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-08 00:11:41 +00:00
flowtron
b9953ad76c
some config tweaks
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5549 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-07 01:14:35 +00:00
Alejandro V. Garcia
0f5da9cee9
reverted to a 512x file texture
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5381 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-16 09:45:27 +00:00
makke
822ec7f895
Fixed white transparency bleeding - why is it 640² though ?
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5376 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-15 12:57:43 +00:00
Alejandro V. Garcia
5b8d94d38d
test character set, experimental
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5365 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-14 05:40:36 +00:00
flowtron
70b08ce124
nopreview texture
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5361 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-13 17:48:32 +00:00
Rafael Barreto
741b718afc
nice medals (WiP)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5304 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-07 22:23:31 +00:00
flowtron
713787c6cb
even more improved monospace font image provided by SKB
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5191 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-12 17:07:37 +00:00
flowtron
639f755ce2
much improved version provided by DES|General Disarray
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5188 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-12 16:20:16 +00:00
flowtron
137bdbcd6a
slightly improved monospace font image
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5185 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-12 13:36:50 +00:00
flowtron
3d06fc27db
monospace font (renders a little too softly)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5184 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-12 13:31:42 +00:00
Rafael Barreto
be1d72d7cc
Armor icon hud, and blocking too much open maps
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4937 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-19 20:31:15 +00:00
makke
b6d4722032
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4936 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-19 20:24:11 +00:00
makke
1014963198
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4935 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-19 20:22:12 +00:00
makke
7126e7be4c
armour levels temp
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4934 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-19 20:09:51 +00:00
makke
76aeb5504e
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4895 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-17 00:12:46 +00:00
Lee Salzman
9c20ceeab0
different explosion texture by razgriz
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4867 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-15 19:56:38 +00:00
Rafael Barreto
2dea41a0c6
Fixing the hud icon for the weapons.
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4859 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-14 20:17:40 +00:00
flowtron
fcf4470d3b
fixed aspect ratio of scope.png
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4824 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-08 20:27:59 +00:00
driAn
f65b11525b
test font
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4754 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-01-02 13:05:24 +00:00
flowtron
6f3b9a192c
First Incarnation: contains all png, jpg, ogg and wav files inside packages/
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4650 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-10-04 12:39:34 +00:00
ac_stef
f1e879e7fd
akimbo bug fixed; some new bugs added
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4598 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-08-05 21:21:57 +00:00
makke
6710fb2e51
err not yet, but now
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3781 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-26 23:56:39 +00:00
makke
17ce042a81
now it´s really fixed
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3780 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-26 23:53:30 +00:00
makke
32b1a43990
mippyness fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3777 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-26 23:22:39 +00:00
makke
e338282119
gimp-pain
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3772 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-26 22:57:07 +00:00
makke
5dc91a8f4a
differnt charset files
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3771 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-26 22:25:03 +00:00
Lee Salzman
8b77658168
fixed superfluous alpha channel
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3667 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-19 22:08:37 +00:00
Lee Salzman
ea610ebab3
compressed with pngcrush
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3665 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-19 22:01:03 +00:00