mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-24 13:21:11 +00:00
9 lines
150 B
R
9 lines
150 B
R
|
@extern float (integer i) itof;
|
||
|
|
||
|
void (integer size, integer perc_val) func =
|
||
|
{
|
||
|
local float perc;
|
||
|
|
||
|
perc = itof (perc_val) / (100 / itof (size));
|
||
|
};
|