Commit graph

552 commits

Author SHA1 Message Date
hnt_ts
7f9e4157fa 1. Mapster32 saves autosave variable in the cfg.
2. Autosaving interval is configurable.
3. Sprite noclip is on by default(CTRL+N to toggle).
4. Fixed the devastator crash. Thanks to Nukey for helping me to track it down.

Notes about the devastator crash.
The yvel of projectile may point to an already removed sprite(its sectnum is MAXSECT). If some code tries to access the sector of the removed sprite, the crash might happen.

How to reproduce crashes.
True story: Nukey recorded a demo(*.dmo) and send me his demo and map so that I could easily reproduce it and eventually fix the crash.

git-svn-id: https://svn.eduke32.com/eduke32@744 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-30 09:07:50 +00:00
terminx
3cf48e1f1a git-svn-id: https://svn.eduke32.com/eduke32@736 1a8010ca-5511-0410-912e-c29ae57300e0 2008-05-22 10:08:17 +00:00
terminx
8a0a8c8a36 git-svn-id: https://svn.eduke32.com/eduke32@735 1a8010ca-5511-0410-912e-c29ae57300e0 2008-05-18 22:40:33 +00:00
terminx
b0ceecbdee git-svn-id: https://svn.eduke32.com/eduke32@734 1a8010ca-5511-0410-912e-c29ae57300e0 2008-05-18 21:09:30 +00:00
terminx
1c29512812 Fixes
todo:
add option to swap CTRL modifier behavior in tile selector
add cfg option for how many rows to scroll per wheel click in tile selector
add cfg options for pk_turnaccel, pk_turndecel and pk_uedaccel


git-svn-id: https://svn.eduke32.com/eduke32@732 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-17 21:44:49 +00:00
terminx
2efcb2bf95 git-svn-id: https://svn.eduke32.com/eduke32@731 1a8010ca-5511-0410-912e-c29ae57300e0 2008-05-17 01:37:17 +00:00
terminx
f7e8583a52 git-svn-id: https://svn.eduke32.com/eduke32@729 1a8010ca-5511-0410-912e-c29ae57300e0 2008-05-16 20:15:43 +00:00
terminx
310c7240e1 Huge, awesome patch from Hunter_rus
git-svn-id: https://svn.eduke32.com/eduke32@728 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-16 19:51:38 +00:00
terminx
26de39bc2e Cleanup patch from Hunter_rus
git-svn-id: https://svn.eduke32.com/eduke32@727 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-16 00:23:33 +00:00
terminx
3844f1eb55 Part of a patch from Philipp Kutin (Helixhorned) plus MSVC build fix
git-svn-id: https://svn.eduke32.com/eduke32@726 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-15 03:16:38 +00:00
terminx
67e2466b0e Patch from hunter_rus
git-svn-id: https://svn.eduke32.com/eduke32@723 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-10 01:29:37 +00:00
terminx
c5d5cdc879 Patch from hunter_rus
git-svn-id: https://svn.eduke32.com/eduke32@665 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-27 21:32:23 +00:00
terminx
408ca47fbd git-svn-id: https://svn.eduke32.com/eduke32@654 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-22 10:23:57 +00:00
terminx
3496113ca4 git-svn-id: https://svn.eduke32.com/eduke32@653 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-22 00:22:48 +00:00
terminx
0e3fbdf05e Patch from hunter_rus
git-svn-id: https://svn.eduke32.com/eduke32@650 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-21 20:18:45 +00:00
terminx
945e1b2357 Remove -Wno-unused from Makefile
git-svn-id: https://svn.eduke32.com/eduke32@649 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-21 04:01:38 +00:00
terminx
25ac5770c0 git-svn-id: https://svn.eduke32.com/eduke32@627 1a8010ca-5511-0410-912e-c29ae57300e0 2008-02-24 00:46:57 +00:00
terminx
d6beeac46e "noautoload" command for defs to disable autoload & makes the vidmode command work in Mapster32 2d mode
git-svn-id: https://svn.eduke32.com/eduke32@626 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-21 05:11:41 +00:00
terminx
ee5ff9050e git-svn-id: https://svn.eduke32.com/eduke32@625 1a8010ca-5511-0410-912e-c29ae57300e0 2008-02-18 22:12:10 +00:00
terminx
4aa6cf2ea3 patch from hunter_rus
git-svn-id: https://svn.eduke32.com/eduke32@587 1a8010ca-5511-0410-912e-c29ae57300e0
2007-12-20 19:14:38 +00:00
terminx
31a901b7eb git-svn-id: https://svn.eduke32.com/eduke32@584 1a8010ca-5511-0410-912e-c29ae57300e0 2007-12-12 17:42:14 +00:00
terminx
75cca4cd5c git-svn-id: https://svn.eduke32.com/eduke32@583 1a8010ca-5511-0410-912e-c29ae57300e0 2007-12-12 15:27:34 +00:00
terminx
2376ac3806 git-svn-id: https://svn.eduke32.com/eduke32@580 1a8010ca-5511-0410-912e-c29ae57300e0 2007-09-11 05:26:38 +00:00
terminx
997883a2f9 git-svn-id: https://svn.eduke32.com/eduke32@579 1a8010ca-5511-0410-912e-c29ae57300e0 2007-09-11 02:23:08 +00:00
terminx
b5a81483f2 git-svn-id: https://svn.eduke32.com/eduke32@559 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-25 01:05:00 +00:00
terminx
c9e97fa954 git-svn-id: https://svn.eduke32.com/eduke32@558 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-19 00:15:30 +00:00
terminx
4e0f8281c7 git-svn-id: https://svn.eduke32.com/eduke32@556 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-17 03:16:46 +00:00
terminx
0b1f6f91a9 grp shit
git-svn-id: https://svn.eduke32.com/eduke32@552 1a8010ca-5511-0410-912e-c29ae57300e0
2007-07-04 09:15:08 +00:00
terminx
b54842fbdc git-svn-id: https://svn.eduke32.com/eduke32@550 1a8010ca-5511-0410-912e-c29ae57300e0 2007-06-12 19:53:18 +00:00
terminx
d8dfd8beb4 Misc fixes
git-svn-id: https://svn.eduke32.com/eduke32@549 1a8010ca-5511-0410-912e-c29ae57300e0
2007-06-12 19:47:34 +00:00
terminx
35afa5ff53 git-svn-id: https://svn.eduke32.com/eduke32@546 1a8010ca-5511-0410-912e-c29ae57300e0 2007-05-17 19:31:14 +00:00
terminx
e2fe946d35 Crash fix
git-svn-id: https://svn.eduke32.com/eduke32@542 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-28 21:24:36 +00:00
terminx
d7b35528a0 git-svn-id: https://svn.eduke32.com/eduke32@541 1a8010ca-5511-0410-912e-c29ae57300e0 2007-04-23 23:36:21 +00:00
terminx
2148b4bebc Window position memory for win32
git-svn-id: https://svn.eduke32.com/eduke32@540 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-22 03:44:54 +00:00
terminx
ddb9379fce git-svn-id: https://svn.eduke32.com/eduke32@539 1a8010ca-5511-0410-912e-c29ae57300e0 2007-04-21 23:59:56 +00:00
terminx
fecedb9ad1 Rawr
git-svn-id: https://svn.eduke32.com/eduke32@537 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-21 21:01:07 +00:00
terminx
fc287ec735 Prototype for user-defined tile groups
git-svn-id: https://svn.eduke32.com/eduke32@536 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-21 20:25:07 +00:00
terminx
62ae233489 Newer tile selector from Mapfun and some other stuff
git-svn-id: https://svn.eduke32.com/eduke32@534 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-17 05:54:12 +00:00
terminx
a5388fc0a4 git-svn-id: https://svn.eduke32.com/eduke32@532 1a8010ca-5511-0410-912e-c29ae57300e0 2007-04-15 20:04:52 +00:00
terminx
4785f64476 git-svn-id: https://svn.eduke32.com/eduke32@528 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-22 20:58:13 +00:00
terminx
7c7b8c2869 Whitespace
git-svn-id: https://svn.eduke32.com/eduke32@522 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-11 00:47:32 +00:00
terminx
cb77e41236 git-svn-id: https://svn.eduke32.com/eduke32@520 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-08 21:07:10 +00:00
terminx
67efe33c18 Small things
git-svn-id: https://svn.eduke32.com/eduke32@514 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-04 19:52:57 +00:00
terminx
8e86c02364 git-svn-id: https://svn.eduke32.com/eduke32@511 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-01 00:50:59 +00:00
terminx
33985f1650 This adds a menu option for network packet rate, and more conversion of passing things as char or short to passing things as int
git-svn-id: https://svn.eduke32.com/eduke32@509 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-28 09:12:41 +00:00
terminx
23dbb55689 Bug fixes
git-svn-id: https://svn.eduke32.com/eduke32@508 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-26 01:46:38 +00:00
terminx
f889e552b2 Support for automatically loading all grp/zip/pk3 files in a directory. Files go into the "autoload" directory if they're to be loaded by all main grp files that are supported, or into autoload/grpname to be loaded only if a specific grp is used. For example, autoload/duke3d.grp/hrp.zip would only be loaded if duke3d.grp was specified as the main group file (and not nam.grp, et cetera).
git-svn-id: https://svn.eduke32.com/eduke32@507 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-25 21:11:59 +00:00
terminx
0dfc03afa0 Fixes the skybox problem, the problem with the default keyboard configuration, and adds cl_viewbob and cl_weaponsway
git-svn-id: https://svn.eduke32.com/eduke32@506 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-23 22:27:22 +00:00
terminx
eb35e8b927 git-svn-id: https://svn.eduke32.com/eduke32@505 1a8010ca-5511-0410-912e-c29ae57300e0 2007-02-18 22:16:01 +00:00
terminx
d3af85c064 Some crap I didn't commit before
git-svn-id: https://svn.eduke32.com/eduke32@500 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-16 00:11:25 +00:00
terminx
e96c05767e This changes the pistol's autoaim back to how it was in the DOS version of Duke3D. I suspect this behavior was changed during NAM or WW2GI development and just never noticed until now.
git-svn-id: https://svn.eduke32.com/eduke32@485 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-11 00:49:03 +00:00
terminx
fd4dfeb6a5 Update the headers of all source files, add CON_SHOWVIEW based on a patch from CONAN, other minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@484 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-08 04:19:39 +00:00
terminx
90c4f271b2 git-svn-id: https://svn.eduke32.com/eduke32@482 1a8010ca-5511-0410-912e-c29ae57300e0 2007-02-05 01:33:08 +00:00
terminx
72ec04ff88 Allow use of grp files which exist outside of the game directory
git-svn-id: https://svn.eduke32.com/eduke32@481 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-30 09:03:51 +00:00
terminx
0a1afbd3f3 Minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@480 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-30 02:04:14 +00:00
terminx
ef81aee7be The mouse wheel was backwards on Win32... I think this fixes that.
git-svn-id: https://svn.eduke32.com/eduke32@478 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-29 03:21:12 +00:00
terminx
f628faefd8 Misc. fixes
git-svn-id: https://svn.eduke32.com/eduke32@469 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-24 03:42:54 +00:00
terminx
23a468d956 git-svn-id: https://svn.eduke32.com/eduke32@468 1a8010ca-5511-0410-912e-c29ae57300e0 2007-01-22 05:00:57 +00:00
terminx
8ca2a3f33b This adds -game_dir for Mapster, too.
git-svn-id: https://svn.eduke32.com/eduke32@467 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-22 03:10:09 +00:00
terminx
76c2340c83 Support for -game_dir similar to Duke3d_w32
git-svn-id: https://svn.eduke32.com/eduke32@465 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-22 02:35:54 +00:00
terminx
fe9004fafe Support for -ww2gi, -nam, -cfg, -usecwd, -h, and -j in Mapster32. Because I am lazy, this is all code from game.c.
git-svn-id: https://svn.eduke32.com/eduke32@464 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-21 23:49:07 +00:00
terminx
44e869c8d9 Misc minor things
git-svn-id: https://svn.eduke32.com/eduke32@463 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-20 03:10:32 +00:00
terminx
699f26d1e7 This changes the map scaling feature to operate on sectors selected in the editor rather than the whole map
git-svn-id: https://svn.eduke32.com/eduke32@457 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 00:59:49 +00:00
terminx
8e84d072c2 It looks like handleevents() returns true when the window loses focus, so the processor was maxing out again if Mapster was running but wasn't the active window. This fixes that.
git-svn-id: https://svn.eduke32.com/eduke32@451 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-12 05:49:09 +00:00
terminx
cd4e66b71a Faster movement in Mapster32.
git-svn-id: https://svn.eduke32.com/eduke32@418 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-14 08:50:18 +00:00
terminx
dc0dea7c09 Update checking for win32...
git-svn-id: https://svn.eduke32.com/eduke32@416 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-14 03:34:55 +00:00
terminx
e7d1346248 This makes the editor quite a bit friendlier in terms of CPU usage. After checking for input, we wait for 1 ms if none was reported.
git-svn-id: https://svn.eduke32.com/eduke32@406 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 21:56:00 +00:00
terminx
3d867963b9 Support for a version string to stick in the lower right hand corner of the OSD
git-svn-id: https://svn.eduke32.com/eduke32@403 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 04:38:10 +00:00
terminx
169e0c824b Give most of the gamevar stuff its own object
git-svn-id: https://svn.eduke32.com/eduke32@398 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 06:49:01 +00:00
terminx
b93ae5baa9 Blar.
git-svn-id: https://svn.eduke32.com/eduke32@377 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-03 00:27:43 +00:00
terminx
20c261babd git-svn-id: https://svn.eduke32.com/eduke32@353 1a8010ca-5511-0410-912e-c29ae57300e0 2006-11-19 08:43:27 +00:00
terminx
715bc289e8 Fix "array subscript has type 'char'" warnings
git-svn-id: https://svn.eduke32.com/eduke32@352 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-19 08:24:46 +00:00
terminx
80c51ac2de Fix some gcc4 warnings
git-svn-id: https://svn.eduke32.com/eduke32@344 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-18 08:13:33 +00:00
terminx
3413ff8dd9 A couple of SDL-related fixes
git-svn-id: https://svn.eduke32.com/eduke32@342 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-17 05:05:16 +00:00
terminx
bbbccb7b11 Hopefully the last of the formatting changes + sound support for Linux. Previous commit also fixes the mouse cursor grab issue.
git-svn-id: https://svn.eduke32.com/eduke32@337 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-16 03:02:42 +00:00
terminx
628ef41cc4 An additional crapload of formatting changes
git-svn-id: https://svn.eduke32.com/eduke32@335 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-15 01:16:55 +00:00
terminx
38e3d16aeb More formatting changes
git-svn-id: https://svn.eduke32.com/eduke32@333 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-14 21:35:50 +00:00
terminx
37dea75dc6 Formatting change
git-svn-id: https://svn.eduke32.com/eduke32@331 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-13 23:12:47 +00:00
terminx
44d1866c5a Fix http://forums.3drealms.com/vb/showpost.php?p=439437 and bump demo/savegame version number due to a change in the size of the spriteext struct
git-svn-id: https://svn.eduke32.com/eduke32@328 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-05 06:54:22 +00:00
terminx
59f5ab835f Fix building without GL and Polymost
git-svn-id: https://svn.eduke32.com/eduke32@324 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-29 20:18:04 +00:00
terminx
4f021f4736 New event/userdef CON extensions to allow fiddling with the movement interpolation in multiplayer.
git-svn-id: https://svn.eduke32.com/eduke32@296 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-19 23:02:33 +00:00
terminx
c0f93c2aad Add a missing header, fix a config file bug and switch "exponentially" for "dramatically" in the texture caching dialog.
git-svn-id: https://svn.eduke32.com/eduke32@288 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-02 01:40:20 +00:00
terminx
8765f0a215 Added some commands for getting the current compiled CON ptr and jumping to another location
git-svn-id: https://svn.eduke32.com/eduke32@277 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-28 19:18:05 +00:00
terminx
cc1925110a This makes the dialog that asks you on first startup whether or not you want to enable the on-disk texture caching work again.
git-svn-id: https://svn.eduke32.com/eduke32@261 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-10 02:10:24 +00:00
terminx
665a322312 Mapster32 crash fix and a couple of small projectile system changes
git-svn-id: https://svn.eduke32.com/eduke32@252 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-30 01:48:52 +00:00
terminx
a66440c908 A few cleanups
We're also no longer using upx -9 in MakeDistributions, because it breaks binaries


git-svn-id: https://svn.eduke32.com/eduke32@249 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-26 01:10:33 +00:00
terminx
d33bcb97a8 Misc cleanups
git-svn-id: https://svn.eduke32.com/eduke32@232 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-21 22:25:05 +00:00
terminx
17f698c991 Add "aborted" messages for special function menu options
git-svn-id: https://svn.eduke32.com/eduke32@227 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-20 20:52:18 +00:00
terminx
f752e9a873 More boredom
git-svn-id: https://svn.eduke32.com/eduke32@226 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-20 17:33:56 +00:00
terminx
d9e51bc8ac Boredom.
git-svn-id: https://svn.eduke32.com/eduke32@225 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-20 05:02:55 +00:00
terminx
a99b97689e More polymost shading stuff
git-svn-id: https://svn.eduke32.com/eduke32@206 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-04 00:46:24 +00:00
terminx
50474b8e5a Attempt to make Polymost look closer to the classic renderer in terms of shading and fix a couple of minor things I noticed in the game and editor
git-svn-id: https://svn.eduke32.com/eduke32@200 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-02 04:01:28 +00:00
terminx
42b4208d1e New startup window from JonoF + some other stuff
This was not at all pleasant to merge, and problems should be expected. ;)


git-svn-id: https://svn.eduke32.com/eduke32@194 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-01 01:40:18 +00:00
terminx
1bab48f5be Cleaning out the tree
git-svn-id: https://svn.eduke32.com/eduke32@185 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-30 06:14:25 +00:00
terminx
66a36e564b Fix building without OpenGL support and rip out the DYNAMIC_OPENGL toggle
git-svn-id: https://svn.eduke32.com/eduke32@163 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-12 21:55:05 +00:00
terminx
e1fcaa3d40 Mouse input filtering and some player name length fixes
git-svn-id: https://svn.eduke32.com/eduke32@157 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-09 04:24:44 +00:00
terminx
2455734c76 Cleanups
git-svn-id: https://svn.eduke32.com/eduke32@91 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-22 22:33:52 +00:00
terminx
b11595ad2e Brightskins tweak, more whitespace
git-svn-id: https://svn.eduke32.com/eduke32@29 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-16 03:42:36 +00:00
terminx
f296ec24e5 Misc changes
git-svn-id: https://svn.eduke32.com/eduke32@11 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 03:12:08 +00:00
Plagman
09f0c239b6 Importing source for great justice
git-svn-id: https://svn.eduke32.com/eduke32@5 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-13 20:47:06 +00:00
Plagman
c9e58ed4e5 Removed file/folder
git-svn-id: https://svn.eduke32.com/eduke32@3 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-13 20:43:19 +00:00
Plagman
d7c9b7db00 git-svn-id: https://svn.eduke32.com/eduke32@2 1a8010ca-5511-0410-912e-c29ae57300e0 2006-04-13 20:34:38 +00:00