Commit Graph

275 Commits

Author SHA1 Message Date
hendricks266 bc1ed207d6 CON parser: Merge some cases for code size savings.
git-svn-id: https://svn.eduke32.com/eduke32@6413 1a8010ca-5511-0410-912e-c29ae57300e0
2017-08-01 09:48:55 +00:00
hendricks266 c3fcd92db3 Menus: Fix RangeInt32.
git-svn-id: https://svn.eduke32.com/eduke32@6412 1a8010ca-5511-0410-912e-c29ae57300e0
2017-08-01 09:48:52 +00:00
terminx a1d17f3a49 Continuation of r6409
git-svn-id: https://svn.eduke32.com/eduke32@6411 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-31 03:14:51 +00:00
hendricks266 2a75137f79 Fix two warnings. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6410 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-31 01:53:16 +00:00
terminx fe05c5dcc1 Unimportant menu changes to kick off synthesis
git-svn-id: https://svn.eduke32.com/eduke32@6409 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-31 01:34:54 +00:00
hendricks266 bb13b0db85 CON: Fix checkavailweapon command.
git-svn-id: https://svn.eduke32.com/eduke32@6408 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-30 21:23:51 +00:00
hendricks266 3e8c80a3d3 Fix a warning. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6406 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-30 04:27:44 +00:00
hendricks266 8c5fe26b14 CON: Fix playervar quick structure access.
git-svn-id: https://svn.eduke32.com/eduke32@6404 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-29 20:40:00 +00:00
hendricks266 d414d15b52 Menus: Disable compilation of all code pertaining to MenuRangeDouble_t, since we're not using any.
git-svn-id: https://svn.eduke32.com/eduke32@6403 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-29 20:39:57 +00:00
hendricks266 88d5da2859 Menus: Clean up MenuRanges.
git-svn-id: https://svn.eduke32.com/eduke32@6402 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-29 20:39:53 +00:00
hendricks266 0f54975751 Yet another round of trailing whitespace.
git-svn-id: https://svn.eduke32.com/eduke32@6400 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-29 20:39:46 +00:00
terminx 7c7f550100 Useless change to force a synthesis build
git-svn-id: https://svn.eduke32.com/eduke32@6398 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 20:24:54 +00:00
hendricks266 32ed49e5c5 Slightly change readarrayfromfile so that attempting to read arrays of a size that does not evenly divide into the requested type rounds up instead of down and zero-pads the difference.
This should help hackish persuits such as reading map files through this command.

git-svn-id: https://svn.eduke32.com/eduke32@6394 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 08:27:38 +00:00
hendricks266 201ee80f87 Fix readarrayfromfile with bitmaps and uint32s. Also improve it.
git-svn-id: https://svn.eduke32.com/eduke32@6393 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 08:27:35 +00:00
hendricks266 6e7daf6d1b Introduce GAMEARRAY_SIZE_MASK.
git-svn-id: https://svn.eduke32.com/eduke32@6392 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 08:27:31 +00:00
hendricks266 b01b25bc93 Revise part of r6385 for clarity.
git-svn-id: https://svn.eduke32.com/eduke32@6391 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 08:27:28 +00:00
hendricks266 9eaf935757 Connect minitext_ to MF_Minifont.
git-svn-id: https://svn.eduke32.com/eduke32@6390 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 08:27:24 +00:00
terminx 652a56e3d3 Derp. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6389 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 20:05:48 +00:00
terminx eeaf1f1d54 Build fix
git-svn-id: https://svn.eduke32.com/eduke32@6387 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 10:08:52 +00:00
terminx 494f09f80c Build fix
git-svn-id: https://svn.eduke32.com/eduke32@6386 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 10:02:13 +00:00
terminx 769b1255f6 I think this fixes readarrayfromfile and writearraytofile
git-svn-id: https://svn.eduke32.com/eduke32@6385 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 09:13:37 +00:00
terminx 1fd79171d8 Fix console background when using oversized font characters
git-svn-id: https://svn.eduke32.com/eduke32@6383 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 09:13:26 +00:00
terminx b00266b47f CON-solidation
Sorry for the shitty pun

git-svn-id: https://svn.eduke32.com/eduke32@6382 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 09:13:21 +00:00
terminx 9b9b6baecd Set default number of voices to 256, remove voices option from menu when compiled with SIMPLE_MENU=1
git-svn-id: https://svn.eduke32.com/eduke32@6380 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 09:13:09 +00:00
hendricks266 715d2ec25a Menu stuff
git-svn-id: https://svn.eduke32.com/eduke32@6377 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-22 04:00:26 +00:00
hendricks266 e87f1591f9 Duke 3D: Make the OSD use tilesizes to determine character positioning instead of hardcoded constants.
git-svn-id: https://svn.eduke32.com/eduke32@6376 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-22 04:00:23 +00:00
terminx ef8bd42b49 Another attempt at fixing the problems caused by my recent changes to gamearrays
git-svn-id: https://svn.eduke32.com/eduke32@6372 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-20 08:57:50 +00:00
terminx efcdd0cde0 derp
git-svn-id: https://svn.eduke32.com/eduke32@6371 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-19 06:06:19 +00:00
terminx dad337add8 Fix gcc 7.1.0 warnings
git-svn-id: https://svn.eduke32.com/eduke32@6370 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:53:41 +00:00
terminx 484f640f71 Maybe, possibly, unfuck gamearrays.
git-svn-id: https://svn.eduke32.com/eduke32@6368 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:53:22 +00:00
terminx af0a291a59 Improve C_AddDefaultDefinitions()
git-svn-id: https://svn.eduke32.com/eduke32@6367 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:53:15 +00:00
terminx dc282fcb7c Remove extraneous "updated cfgname.cfg" message
git-svn-id: https://svn.eduke32.com/eduke32@6366 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:53:10 +00:00
terminx fd19569099 Drop libpng and zlib in favor of a custom < 100 line .png writer and a drop-in zlib replacement called miniz.
git-svn-id: https://svn.eduke32.com/eduke32@6365 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:53:00 +00:00
terminx bf18114d31 Fix compiler warning
git-svn-id: https://svn.eduke32.com/eduke32@6363 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:52:36 +00:00
hendricks266 494c778feb Fix some int/int32_t mismatches. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6362 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-15 21:56:21 +00:00
hendricks266 1b1fd9e0eb CON: ifspawnedby and ifwasweapon are really the same command. Merge the code to execute them.
git-svn-id: https://svn.eduke32.com/eduke32@6360 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-15 21:56:12 +00:00
terminx d703ac2c62 Fix issue with changing settings in the startup window
git-svn-id: https://svn.eduke32.com/eduke32@6359 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-12 04:10:37 +00:00
terminx f4e1012081 "qputs" alias for "redefinequote"
git-svn-id: https://svn.eduke32.com/eduke32@6358 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-12 04:10:29 +00:00
terminx 3141084a65 More array work: support for reading and writing the new array types from disk. Not tested.
git-svn-id: https://svn.eduke32.com/eduke32@6357 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-11 04:03:01 +00:00
terminx 01d92aeed2 Syntax changes for gamevar and gamearray declarations:
Gamevar: default value and flags are now optional. A var declared without a value will default to 0 and a var declared without flags will default to global. Multiple flags can now be stacked one after another in a var declaration, and the most useful ones (GAMEVAR_PERPLAYER, GAMEVAR_PERACTOR, GAMEVAR_NODEFAULT, and GAMEVAR_NORESET) are now pre-defined tokens for easy use.

Gamearray: flags field now allows stacking of multiple flags as described above. Arrays can now be defined with specific data types, including int16_t, uint8_t, and a new bit-packed boolean data type. The tokens GAMEARRAY_RESTORE, GAMEARRAY_INT16, GAMEARRAY_UINT8, and GAMEARRAY_BOOLEAN are pre-defined for use of this feature.

This is all still pretty experimental.

git-svn-id: https://svn.eduke32.com/eduke32@6356 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-11 04:02:52 +00:00
hendricks266 b702ebb085 Menus: Draw most text using YCenter and YOffsetZero modes to facilitate certain kinds of visual cues.
git-svn-id: https://svn.eduke32.com/eduke32@6354 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-10 13:44:07 +00:00
hendricks266 bbff77b20e Add a THISACTOR for tiledata and paldata, referring to the current actor's picnum and pal.
git-svn-id: https://svn.eduke32.com/eduke32@6351 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-10 13:43:57 +00:00
hendricks266 ebe2e67439 Fix a bug with undefinegamefunc breaking the key configuration menu.
git-svn-id: https://svn.eduke32.com/eduke32@6350 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-10 13:43:54 +00:00
hendricks266 c980410ecc Remove special limitations on CON customization access to the DNCGS cheat.
git-svn-id: https://svn.eduke32.com/eduke32@6349 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-10 13:43:50 +00:00
terminx f164fde06b What a hilarious typo
git-svn-id: https://svn.eduke32.com/eduke32@6348 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-08 22:01:59 +00:00
terminx 3706ac1b43 Allow scripts to change MAXSPRITESONSCREEN before calls to drawrooms() and friends
git-svn-id: https://svn.eduke32.com/eduke32@6347 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-08 19:42:11 +00:00
terminx 4c981137be Check constants before THISACTOR in Gv_GetManyVars(). Seems much more likely to be true.
git-svn-id: https://svn.eduke32.com/eduke32@6346 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-08 19:42:01 +00:00
terminx 8be8ae8743 Revise some CON VM error messages for consistency. Upgrade a couple of CON VM errors to a new critical error type which pops up a dialog box when the error is encountered. If you've been writing crappy scripts that spam "divide by zero!" errors into the log that you've been ignoring, you're gonna have a bad time.
git-svn-id: https://svn.eduke32.com/eduke32@6345 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-08 19:41:55 +00:00
terminx da0cc1b9bd Some work on CON arrays. Hopefully nothing is broken!
git-svn-id: https://svn.eduke32.com/eduke32@6343 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-08 19:41:43 +00:00
terminx 19c58edb40 Add support for bitmap gamearrays and expose gotpic to CON
git-svn-id: https://svn.eduke32.com/eduke32@6342 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-08 19:41:36 +00:00
terminx c23b1fe076 Read setup again after compiling scripts
git-svn-id: https://svn.eduke32.com/eduke32@6339 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-08 05:18:51 +00:00
terminx b3b40c9581 Allow writing to 8 and 16-bit CON arrays
git-svn-id: https://svn.eduke32.com/eduke32@6338 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-08 05:18:43 +00:00
terminx 2b7cd33fc2 script command aliases
git-svn-id: https://svn.eduke32.com/eduke32@6336 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-07 22:50:47 +00:00
terminx 15b2186696 Internal menu tweaks
git-svn-id: https://svn.eduke32.com/eduke32@6335 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-07 22:50:42 +00:00
terminx 224475402f Remove errant EDUKE32_PREDICT_FALSE
git-svn-id: https://svn.eduke32.com/eduke32@6333 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-07 22:50:29 +00:00
hendricks266 a6842482de Allow certain debugging-specific cheats to be used from the console even in skill 4.
git-svn-id: https://svn.eduke32.com/eduke32@6332 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-06 14:43:17 +00:00
hendricks266 4f1343adfc Menus: Use screentext's newline support for more mgametext.
git-svn-id: https://svn.eduke32.com/eduke32@6330 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-06 14:43:11 +00:00
hendricks266 3e7f9ad276 Menu stuff
git-svn-id: https://svn.eduke32.com/eduke32@6329 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-06 14:43:07 +00:00
terminx 5ce9e2b208 Combine CONTROL_KeyBinds and CONTROL_MouseBinds
git-svn-id: https://svn.eduke32.com/eduke32@6328 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:42:54 +00:00
terminx bea9a73047 More command line parameter help text cleanup
git-svn-id: https://svn.eduke32.com/eduke32@6327 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:42:47 +00:00
terminx 3b1cf74fea Revise the error message for the default case in VM_Execute()
git-svn-id: https://svn.eduke32.com/eduke32@6326 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:42:42 +00:00
terminx a9e513ecaf Add OSD_PROTECTED flag, set when gamefunc_Show_Console has been undefined from CON. Currently just requires you hold down shift when pressing the console key to open the console.
git-svn-id: https://svn.eduke32.com/eduke32@6325 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:42:37 +00:00
terminx 6af5f3b478 "Keyboard Keys" -> "Key Configuration"
git-svn-id: https://svn.eduke32.com/eduke32@6324 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:42:29 +00:00
hendricks266 8d3e0a630e Gv_FillWithVars
git-svn-id: https://svn.eduke32.com/eduke32@6323 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:38:11 +00:00
hendricks266 93d8d8a890 Add "activatecheat" console command.
git-svn-id: https://svn.eduke32.com/eduke32@6322 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:38:08 +00:00
hendricks266 980b2be584 Move addammo into own function.
git-svn-id: https://svn.eduke32.com/eduke32@6321 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:38:05 +00:00
hendricks266 fb337a80b1 Move addinventory command code into its own function.
git-svn-id: https://svn.eduke32.com/eduke32@6320 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:38:02 +00:00
hendricks266 57a7802f6c Factor out modification of DukePlayer_t->actors_killed into P_AddKills().
git-svn-id: https://svn.eduke32.com/eduke32@6319 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:37:58 +00:00
hendricks266 ad32eaeee0 Don't execute setcfgname if the provided name is the same as the one already in place.
git-svn-id: https://svn.eduke32.com/eduke32@6317 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:37:52 +00:00
hendricks266 0992cdb03f Menu stuff
git-svn-id: https://svn.eduke32.com/eduke32@6316 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:37:49 +00:00
hendricks266 d372800b3c Menus: Wrap Menu_Find in Menu_FindFiltered to factor out id filtering for all cases that need it.
git-svn-id: https://svn.eduke32.com/eduke32@6315 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:37:46 +00:00
hendricks266 d032721aa1 Menus: Improve handling of the color correction screen.
git-svn-id: https://svn.eduke32.com/eduke32@6314 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:37:43 +00:00
hendricks266 150eb8fd7c Fix a small regression with actions and improve performance while we're at it.
git-svn-id: https://svn.eduke32.com/eduke32@6313 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-05 05:37:39 +00:00
terminx 7d020e3338 Derp
git-svn-id: https://svn.eduke32.com/eduke32@6311 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-02 00:44:36 +00:00
terminx 72dadcbece Revert part of r6230
git-svn-id: https://svn.eduke32.com/eduke32@6309 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-02 00:44:24 +00:00
hendricks266 0bf330b2c6 Revise r6305.
git-svn-id: https://svn.eduke32.com/eduke32@6308 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-28 10:55:41 +00:00
hendricks266 4a69eecc9f Optimize getofs_viewtype for precision and speed.
git-svn-id: https://svn.eduke32.com/eduke32@6307 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 11:01:38 +00:00
hendricks266 42a26b5f3c Add action viewtypes 12 (like 7 but not mirrored), 9, and 16.
git-svn-id: https://svn.eduke32.com/eduke32@6306 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 11:01:34 +00:00
hendricks266 ea0179bd9b Templatize getofs_viewtype functions.
git-svn-id: https://svn.eduke32.com/eduke32@6305 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 11:01:30 +00:00
hendricks266 f55758bc2e When calculating which rotation to use for CON action viewtype 7, offset the frame intervals by 15 degrees instead of 22.5, clearly a copypaste error from viewtypes 5 or 8. Now these are properly centered.
git-svn-id: https://svn.eduke32.com/eduke32@6304 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 11:01:26 +00:00
hendricks266 01b6047377 Trailing whitespace.
git-svn-id: https://svn.eduke32.com/eduke32@6303 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 11:01:22 +00:00
hendricks266 bf76269906 What the last commit said.
git-svn-id: https://svn.eduke32.com/eduke32@6302 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 11:01:12 +00:00
terminx 1568cabdce Derp
git-svn-id: https://svn.eduke32.com/eduke32@6301 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 02:44:11 +00:00
terminx bb75d0fbde Texcache cleanups. No longer allocates a 256 byte buffer for every cache entry's name.
git-svn-id: https://svn.eduke32.com/eduke32@6300 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 02:24:34 +00:00
terminx f490e5b2cb Fix flickering text on the bonus screen. Derp.
git-svn-id: https://svn.eduke32.com/eduke32@6298 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 02:24:22 +00:00
terminx c25aa4a790 OSD (console) cleanup
git-svn-id: https://svn.eduke32.com/eduke32@6297 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 02:24:14 +00:00
terminx 6aa1d36f99 Inconsequential formatting
git-svn-id: https://svn.eduke32.com/eduke32@6296 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 02:24:02 +00:00
terminx 1e06189f03 Fix something stupid I noticed
git-svn-id: https://svn.eduke32.com/eduke32@6295 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 02:23:57 +00:00
terminx 0f788963b6 Fix bug with setuserdef vm_sprite
git-svn-id: https://svn.eduke32.com/eduke32@6294 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 02:23:51 +00:00
terminx d37c26cc2a Respect APPBASENAME when showing command line help
git-svn-id: https://svn.eduke32.com/eduke32@6291 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 02:22:42 +00:00
hendricks266 6bbfbb5e1d Fix crash when attempting to play an IVF video in 8-bit.
git-svn-id: https://svn.eduke32.com/eduke32@6290 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 01:50:59 +00:00
hendricks266 4b15e4629e Menu stuff
git-svn-id: https://svn.eduke32.com/eduke32@6289 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 01:50:55 +00:00
hendricks266 6487dc0db6 Fix standalone warnings.
git-svn-id: https://svn.eduke32.com/eduke32@6288 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 01:50:48 +00:00
hendricks266 10d478eba8 When playing an IVF upgraded from an ANM and no sound list has been defined for the IVF, use the ANM's sound list by converting framerates.
git-svn-id: https://svn.eduke32.com/eduke32@6287 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-25 11:24:43 +00:00
hendricks266 35b3cea5a6 If an ANM is upgraded to an IVF, use the sounds defined for the .ivf if any have been.
git-svn-id: https://svn.eduke32.com/eduke32@6286 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-25 11:24:39 +00:00
hendricks266 d57234e668 Replace sound_func function pointer parameter and associate functions for hardcoded ANMs with equivalent animsounds arrays.
git-svn-id: https://svn.eduke32.com/eduke32@6285 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-25 11:24:34 +00:00
hendricks266 5f8c99c3a1 Let animsound value -1 stop all sounds.
git-svn-id: https://svn.eduke32.com/eduke32@6284 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-25 11:24:27 +00:00
hendricks266 018bc98ecb Game defs: Add sounds sub-token to cutscene token that functions identically to animsounds.
git-svn-id: https://svn.eduke32.com/eduke32@6283 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-25 11:24:23 +00:00
hendricks266 4db07ee9af Structify animsounds arrays.
git-svn-id: https://svn.eduke32.com/eduke32@6282 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-25 11:24:19 +00:00
hendricks266 6b880ccb06 Structify the hardcoded Anim_Setup calls.
git-svn-id: https://svn.eduke32.com/eduke32@6281 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-25 11:24:14 +00:00