GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ReflectionHLE/note_type_conversion.txt at master · ReflectionHLE/ReflectionHLE

Expand file tree

/

note_type_conversion.txt

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
73 lines (41 loc) · 1.27 KB
/

note_type_conversion.txt

Copy path

File metadata and controls

73 lines (41 loc) · 1.27 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
What do we want to replace...
*** Boolean:
boolean -> id0_boolean_t
*** Chars / 8-bit ints:
unsigned char -> id0_unsigned_char_t
signed char -> id0_signed_char_t
THEN
Same but with tabs
THEN
char -> id0_char_t
THEN
byte -> id0_byte_t (even though it's just an unsigned char in original code by definition...)
*** 16-bit ints:
NOT FOR NOW (see why soon)
*** 32-bit ints:
(unsigned/signed) long int -> Never mentioned in Catacomb 3-D, otherwise convert the "natural" way
THEN
unsigned long -> id0_unsigned_long_t
signed long -> id0_signed_long_t
THEN
Same but with tabs
THEN
long -> id0_long_t
THEN
longword -> id0_longword_t (even though it's just unsigned long by definition...)
*** 16-bit ints:
short -> id0_short_t (mentioned just once in Catacomb 3-D, more in Abyss)
unsigned int -> id0_unsigned_int_t (never really mentioned in Catacomb 3-D)
signed int -> Never mentioned
word -> id0_word_t (same as unsigned int in the original code)
THEN
int -> id0_int_t
unsigned -> id0_unsigned_t
*** floats and doubles??? (c3_draw.c)
Let's keep these as-is for now.
*** doubles??? (c3_draw.c)
*** Replacements of MAXINT and MININT (c3_draw.c)
BONUS (Can be manually swapped since the compiler will probably complain otherwise)
_seg -> id0_seg
far -> id0_far
huge -> id0_huge
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.