Free Hero Mesh

Check-in [136167067e]
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.
Overview
Comment:Add a comment into class.c describing the use of the hash tables
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 136167067efa4043944272b1808fac84c4322593
User & Date: user on 2021-03-09 00:38:46
Other Links: manifest | tags
Context
2021-03-09
23:15
Implement the %C substitution, and allow %s substitutions to display message names as well. check-in: 5cdca70402 user: user tags: trunk
00:38
Add a comment into class.c describing the use of the hash tables check-in: 136167067e user: user tags: trunk
2021-03-08
06:16
Fix 16-bit writes in compatibility mode check-in: 2bc4991d49 user: user tags: trunk
Changes

Modified class.c from [b307433f16] to [2180751321].

53
54
55
56
57
58
59










60
61
62
63
64
65
66
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76







+
+
+
+
+
+
+
+
+
+








#define HASH_SIZE 8888
#define LOCAL_HASH_SIZE 5555
typedef struct {
  Uint16 id;
  char*txt;
} Hash;

/*
  Global hash:
    2800-2FFF = Variables
    8000-BFFF = Functions
    C000-FFFF = Macros
  Local hash:
    2000-27FF = Variables
    8000-FFFF = Labels
*/

typedef struct InputStack {
  FILE*classfp;
  int linenum;
  struct InputStack*next;
} InputStack;