mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-25 12:10:59 +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));
|
||
|
};
|