mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
[gamecode] Add missed long and ulong info
Both pr_type_size and pr_type_name. I want to macroize the enum, but need to sort out the clutter of headers first, just need to decide on naming. This at least sorts out the missed values for now.
This commit is contained in:
parent
f5be54b6d2
commit
ed6b84fbde
1 changed files with 4 additions and 0 deletions
|
@ -57,6 +57,8 @@ VISIBLE const pr_ushort_t pr_type_size[ev_type_count] = {
|
||||||
1, // ev_uinteger
|
1, // ev_uinteger
|
||||||
0, // ev_short value in opcode
|
0, // ev_short value in opcode
|
||||||
2, // ev_double
|
2, // ev_double
|
||||||
|
2, // ev_long
|
||||||
|
2, // ev_ulong
|
||||||
0, // ev_invalid not a valid/simple type
|
0, // ev_invalid not a valid/simple type
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -74,6 +76,8 @@ VISIBLE const char * const pr_type_name[ev_type_count] = {
|
||||||
"uinteger",
|
"uinteger",
|
||||||
"short",
|
"short",
|
||||||
"double",
|
"double",
|
||||||
|
"long",
|
||||||
|
"ulong",
|
||||||
"invalid",
|
"invalid",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue