Commit Graph

616 Commits

Author SHA1 Message Date
terminx 2fa3153a84 Better keybinding... still needs some work but seems to be functional
Example:

bind w repeat gamefunc_move_forward
bind s repeat gamefunc_move_backward
bind a repeat gamefunc_strafe_left
bind d repeat gamefunc_strafe_right
bind space gamefunc_jump
bind leftcontrol repeat gamefunc_crouch
bind f12 quit



git-svn-id: https://svn.eduke32.com/eduke32@808 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 10:40:37 +00:00
hnt_ts 5308a328c5 Fixed CON error with the "readgamevar".
http://forums.3drealms.com/vb/showpost.php?p=717842&postcount=742

git-svn-id: https://svn.eduke32.com/eduke32@807 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-23 22:01:24 +00:00
qbix79 8ac9ff3ff0 Clear memory before using it. (the buffer is read to get the old value before adding a voice to it and clipping it)
git-svn-id: https://svn.eduke32.com/eduke32@806 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-20 13:29:45 +00:00
hnt_ts 88c8e0681f Fixed crash that happened with WW2GI. Thanks to supergoofy for helping me to find the problem.
The problem was there(GAME.CON)
// loading screen
onevent EVENT_GETLOADTILE
{
sound AAVE // uses spritesound and crashes
}
endevent

Note: the sound was supposed to be played once but with my approach it plays several sounds simultaneously and that's bad. I have chosen not to limit the sound command usage for WW2GI compatibility. I doubt whether I should commit this and decided that it's better to do after all.
If you have a better approach, you're welcome.

git-svn-id: https://svn.eduke32.com/eduke32@805 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-18 08:46:20 +00:00
terminx 03b98ea54c git-svn-id: https://svn.eduke32.com/eduke32@804 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-14 09:25:22 +00:00
qbix79 8107341e87 mem leakie in helpsystem.
git-svn-id: https://svn.eduke32.com/eduke32@800 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-13 08:00:34 +00:00
terminx fbc4633fef winlayer fullscreen polymost alt-tab mouse cursor fix
git-svn-id: https://svn.eduke32.com/eduke32@798 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-11 09:25:58 +00:00
hnt_ts fa46b7d155 Added a new CON command:
getticks <VAR>

It's isn't synced and should be using for animation and profiling(=speed measure). Using it for gameplay will desync multiplayer game.

git-svn-id: https://svn.eduke32.com/eduke32@797 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-11 07:35:30 +00:00
hnt_ts 2922adb278 Improved formating of the help.
Known problem: due to using color markers(^14, ^O) the max length of the line is reduced by 3 symbols per marker.

I think the keyboard commands should be sorted. I mean they should be split into smaller groups. There is no need anymore to keep the order which was in the source code.

git-svn-id: https://svn.eduke32.com/eduke32@796 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-11 07:06:10 +00:00
terminx 0fe0777ab3 Fix building on MinGW by using PRIdPTR instead of %td and add a MSVC compatible inttypes.h/stdint.h for compatibility
git-svn-id: https://svn.eduke32.com/eduke32@795 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-11 02:33:23 +00:00
qbix79 21519fddff 64 bit fixes for weaponstuff, gamevars, vars readable from con, warnings
git-svn-id: https://svn.eduke32.com/eduke32@794 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:32:14 +00:00
qbix79 567288d392 Fix warnings
git-svn-id: https://svn.eduke32.com/eduke32@793 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:29:57 +00:00
qbix79 b23047f722 Fix 64 bit game saving and loading.
git-svn-id: https://svn.eduke32.com/eduke32@792 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:28:56 +00:00
qbix79 e61ca5120a Fix a 64 bit warning. Possibly a crash.
git-svn-id: https://svn.eduke32.com/eduke32@791 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:27:39 +00:00
terminx 3d2820f1bc Help file... needs a lot of work
git-svn-id: https://svn.eduke32.com/eduke32@785 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 05:56:34 +00:00
terminx fa6cb48383 use ^P instead of blank lines to designate a new page in help files
git-svn-id: https://svn.eduke32.com/eduke32@784 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 02:40:06 +00:00
terminx 41cfe16a61 git-svn-id: https://svn.eduke32.com/eduke32@783 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-10 02:29:58 +00:00
terminx b6b3716373 git-svn-id: https://svn.eduke32.com/eduke32@782 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-09 23:41:54 +00:00
hnt_ts 5edc3d6096 Added the "qgetsysstr" command that copies game strings to quotes so they can be displayed.
qgetsysstr <quoteID> <strID>

<strID> can be:
STR_MAPNAME
STR_MAPFILENAME
STR_PLAYERNAME
STR_VERSION

The list of strings may need some additions and renaming.

onevent EVENT_DISPLAYMENU
  qgetsysstr 2 STR_MAPNAME
  minitext 10 10 2 0 0

  qgetsysstr 2 STR_MAPFILENAME
  minitext 10 20 2 0 0

  qgetsysstr 2 STR_PLAYERNAME // it shouldn't work in this event, though
  minitext 10 30 2 0 0

  qgetsysstr 2 STR_VERSION
  minitext 10 40 2 0 0
endevent

git-svn-id: https://svn.eduke32.com/eduke32@781 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-09 10:39:32 +00:00
hnt_ts 3f14c6aaad Fixed name conflict with mods
git-svn-id: https://svn.eduke32.com/eduke32@776 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-06 17:18:07 +00:00
plagman 2eab017106 Model animation interpolation.
git-svn-id: https://svn.eduke32.com/eduke32@775 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-06 14:00:12 +00:00
qbix79 3ad3dfc9be Silence a warning
git-svn-id: https://svn.eduke32.com/eduke32@773 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-06 10:43:16 +00:00
terminx 36a4e54b56 git-svn-id: https://svn.eduke32.com/eduke32@771 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-06 01:06:43 +00:00
hnt_ts 72e0302353 Added new variable for CONs:
numwalls
numsectors

There is a sufficient need for these variables because user may access uninitialized data if he/she uses MAXWALLS/MAXSECTOR. The numsprites is absent since the sprite array has gaps as the result of continual birth/dying/suiciding of sprites.

git-svn-id: https://svn.eduke32.com/eduke32@770 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-05 20:07:34 +00:00
hnt_ts e84130c650 Fixed a recently introduced memory leak with the helppage.
git-svn-id: https://svn.eduke32.com/eduke32@769 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-05 19:10:34 +00:00
qbix79 61a3223bd8 Remove unneeded (and thus confusing) casts.
git-svn-id: https://svn.eduke32.com/eduke32@768 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-05 14:39:13 +00:00
qbix79 3e7abf87f4 64 bit fix for caching sounds. Maybe nyXXXX will be happy now.
git-svn-id: https://svn.eduke32.com/eduke32@767 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-05 14:10:18 +00:00
qbix79 bb24d228c7 actor 64 bit fixes.
git-svn-id: https://svn.eduke32.com/eduke32@766 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-05 14:04:49 +00:00
terminx dbd4e83d6e colorized printext16()
git-svn-id: https://svn.eduke32.com/eduke32@765 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-05 10:10:26 +00:00
terminx 5c6a1ae789 Help file reader patch from Philipp Kutin
git-svn-id: https://svn.eduke32.com/eduke32@764 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-05 02:51:58 +00:00
terminx 97f98dcdfc Formatting + beginnings of editor enhanced map preview mode. Currently supports light switch sector effectors
git-svn-id: https://svn.eduke32.com/eduke32@763 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-05 02:29:18 +00:00
hnt_ts 0602988743 New events:
EVENT_DISPLAYBONUSSCREEN
EVENT_DISPLAYMENU
EVENT_DISPLAYMENUREST
EVENT_DISPLAYLOADINGSCREEN

git-svn-id: https://svn.eduke32.com/eduke32@762 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-04 21:08:47 +00:00
hnt_ts c634a708aa 1. Fixed this crash (http://forums.3drealms.com/vb/showpost.php?p=706802&postcount=533)
2. Optimized the setactorvar,setplayervar,getactorvar,getplayervar commands. They may be compiled as the setvarvar command.

git-svn-id: https://svn.eduke32.com/eduke32@761 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-04 13:36:37 +00:00
terminx 1747bc460e win32 gcc 4.3.0 fixes
git-svn-id: https://svn.eduke32.com/eduke32@760 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-04 08:58:02 +00:00
terminx 65c2fd394a fixes
git-svn-id: https://svn.eduke32.com/eduke32@759 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-04 07:38:11 +00:00
terminx 53577209f5 git-svn-id: https://svn.eduke32.com/eduke32@757 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-02 21:35:51 +00:00
hnt_ts 2dbbf9c505 Fix for the autosave
git-svn-id: https://svn.eduke32.com/eduke32@756 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-01 10:20:39 +00:00
terminx 59b8d7b757 git-svn-id: https://svn.eduke32.com/eduke32@753 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-01 01:57:01 +00:00
hnt_ts b0a2d52771 Fixed this problem: http://duke3d.bur.st/forum/index.php?topic=8.msg1938#msg1938.
Also it was impossible to assign "no action" to the left mouse button.

git-svn-id: https://svn.eduke32.com/eduke32@752 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-31 13:18:02 +00:00
terminx e2e461bcc8 update list of contributors
git-svn-id: https://svn.eduke32.com/eduke32@749 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-31 04:19:39 +00:00
terminx ca83297b10 git-svn-id: https://svn.eduke32.com/eduke32@747 1a8010ca-5511-0410-912e-c29ae57300e0 2008-05-31 01:57:14 +00:00
hnt_ts 8e40b85cfa The ifpdistl and ifpdistg commands are fixed now.
git-svn-id: https://svn.eduke32.com/eduke32@746 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-30 22:45:43 +00:00
hnt_ts c380f40bc6 Oops. Minute have 60 seconds not 3.
git-svn-id: https://svn.eduke32.com/eduke32@745 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-30 17:48:28 +00:00
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
plagman 67e777a899 Map VBOs. pr_vbos to enable them.
git-svn-id: https://svn.eduke32.com/eduke32@741 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-24 09:37:09 +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