Overview
Comment: | Remove memory pool |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
0097baa3a78b36f6358e9877ad0c14ed |
User & Date: | js on 2025-03-08 01:09:36 |
Other Links: | manifest | tags |
Context
2025-03-08
| ||
02:38 | Improve clang-format check-in: 6f5dd50626 user: js tags: trunk | |
01:09 | Remove memory pool check-in: 0097baa3a7 user: js tags: trunk | |
00:58 | More string migration check-in: 245efe8045 user: js tags: trunk | |
Changes
Modified src/clientgame.mm from [ce2ec26dd6] to [2ddec801b6].
︙ | |||
96 97 98 99 100 101 102 | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | - + | d->ammo[GUN_SG] = 5; }; }; dynent * newdynent() // create a new blank player or monster { |
︙ | |||
182 183 184 185 186 187 188 | 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 | - + | }; }; void zapdynent(dynent *&d) { if (d) |
︙ |
Modified src/commands.mm from [ac6583caf8] to [2917ffb85d].
︙ | |||
15 16 17 18 19 20 21 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | - - + + | { sprintf_s(s)("%d", i); } char * exchangestr(char *o, const char *n) { |
︙ | |||
128 129 130 131 132 133 134 | 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | - + | brak--; else if (!c) { p--; conoutf(@"missing \"%c\"", right); return NULL; } } |
︙ | |||
150 151 152 153 154 155 156 | 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | - + - + | p += strspn(p, " \t\r"); if (p[0] == '/' && p[1] == '/') p += strcspn(p, "\n\0"); if (*p == '\"') { p++; char *word = p; p += strcspn(p, "\"\r\n\0"); |
︙ |
Modified src/console.mm from [2969d1193c] to [de4b6af5c1].
︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | + - - + + + - - + | } COMMANDN(conskip, setconskip, ARG_1INT) static void conline(OFString *sf, bool highlight) // add a line to the console buffer { cline cl; // constrain the buffer size |
︙ |
Modified src/monster.mm from [34205145ec] to [6306bf3f2c].
︙ | |||
98 99 100 101 102 103 104 | 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | - + | basicmonster(type, rnd(360), M_SEARCH, 1000, 1); }; void monsterclear() // called after map start of when toggling edit mode to // reset/spawn all monsters to initial state { |
︙ |
Modified src/tools.h from [217eb7d86e] to [a99286d792].
︙ | |||
115 116 117 118 119 120 121 | 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + | } #define sprintf_sdv(d, fmt) sprintf_sdlv(d, fmt, fmt) #define fast_f2nat(val) ((int)(val)) extern void endianswap(void *, int, int); |
︙ | |||
267 268 269 270 271 272 273 | 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 | - - - + | qsort(buf, ulen, sizeof(T), (int(__cdecl *)(const void *, const void *))cf); } void realloc() { |
︙ | |||
302 303 304 305 306 307 308 | 241 242 243 244 245 246 247 248 | - - - - - - - - - - - - - - - - - - | } else \ for (int i = 0; i < (v).length(); i++) #define loopvrev(v) \ if (false) { \ } else \ for (int i = (v).length() - 1; i >= 0; i--) |
Modified src/tools.mm from [06a94d32b1] to [d7e6269b15].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | // implementation of generic tools #include "tools.h" #include <new> |
︙ |