Commit graph

801 commits

Author SHA1 Message Date
plagman
f661a56e2f Models in VBOs.
git-svn-id: https://svn.eduke32.com/eduke32@754 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-01 08:58:06 +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
plagman
394b0e4423 git-svn-id: https://svn.eduke32.com/eduke32@751 1a8010ca-5511-0410-912e-c29ae57300e0 2008-05-31 08:29:40 +00:00
plagman
512148b9a5 TRUE isn't defined in sdlayer.
git-svn-id: https://svn.eduke32.com/eduke32@750 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-31 07:27:43 +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
d0c714b125 git-svn-id: https://svn.eduke32.com/eduke32@748 1a8010ca-5511-0410-912e-c29ae57300e0 2008-05-31 03:53:53 +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
qbix79
6778e2c201 Fix a bug where stuff was trying to read rotated sprite tspr owners
git-svn-id: https://svn.eduke32.com/eduke32@743 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-27 15:47:24 +00:00
qbix79
43aa2bbc23 Update lzf to 3.2 fixes texturecache on 64 bit.
git-svn-id: https://svn.eduke32.com/eduke32@742 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-25 08:23:53 +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
plagman
710c131835 Second oops.
git-svn-id: https://svn.eduke32.com/eduke32@740 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-24 08:21:53 +00:00
plagman
551937fbc5 Oops. With that, MD3 models should display correctly on 64-bit. The compressed texcache appears to be broken, though.
git-svn-id: https://svn.eduke32.com/eduke32@739 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-24 07:58:21 +00:00
plagman
dd7983a4e8 64-bit compatible MD3 loading.
git-svn-id: https://svn.eduke32.com/eduke32@738 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-24 06:53:56 +00:00
qbix79
0189cf6064 Most functions in kplib.c now use a intptr_t for (da)frameplace
kzopen and kzipopen now retrun a intptr_t as this actually a FILE*

General 64 bit fixss to cache1d.c. Some cast correction for polymost

hrp works now in 64 bit if you make md3load return NULL.



git-svn-id: https://svn.eduke32.com/eduke32@737 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-23 10:00:43 +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
plagman
4e3faa9c00 Reorganize polymer data. Fill sector VBOs.
git-svn-id: https://svn.eduke32.com/eduke32@733 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-18 07:35:35 +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
b7ef82f9d1 git-svn-id: https://svn.eduke32.com/eduke32@730 1a8010ca-5511-0410-912e-c29ae57300e0 2008-05-16 20:27:52 +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
qbix79
09110012e8 Some 64 bit correction.
git-svn-id: https://svn.eduke32.com/eduke32@725 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-11 07:33:16 +00:00
plagman
3af85cab2d Correct MD3 scales. No zoff, flipping or floor alignment yet.
git-svn-id: https://svn.eduke32.com/eduke32@724 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-10 04:28:24 +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
plagman
a56eb92f1c Models. I think the scale may still be a bit off on certain models, but
that may also be just me.


git-svn-id: https://svn.eduke32.com/eduke32@722 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-05 09:05:07 +00:00
terminx
21fc17b70b git-svn-id: https://svn.eduke32.com/eduke32@721 1a8010ca-5511-0410-912e-c29ae57300e0 2008-05-02 07:52:13 +00:00
plagman
6b0f2d5956 Fixes palette/shade for swapped underwalls (toxic waterfall in The Abyss).
git-svn-id: https://svn.eduke32.com/eduke32@720 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-29 04:46:06 +00:00
plagman
6c11addc08 Correct relative floor texture alignment (with slopes too). Also avoids
a crash with mirrors in the editor.


git-svn-id: https://svn.eduke32.com/eduke32@719 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-28 08:29:40 +00:00
plagman
72867ff880 Fuck.
git-svn-id: https://svn.eduke32.com/eduke32@718 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-27 22:48:18 +00:00
plagman
3895de1e06 Polymer external view when above and below sectors. Noclip in the editor
also works for vertical movement now. (Hunter)


git-svn-id: https://svn.eduke32.com/eduke32@717 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-27 22:47:47 +00:00
terminx
1c88276aab win32 build fix
git-svn-id: https://svn.eduke32.com/eduke32@716 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-27 06:55:17 +00:00
terminx
9bfd183cec Negative gamearray access
git-svn-id: https://svn.eduke32.com/eduke32@715 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-27 06:54:28 +00:00
qbix79
48dae664b8 8-bit classic renderer works on my system now in 64 bit. (at least no crashes)
git-svn-id: https://svn.eduke32.com/eduke32@714 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-25 11:21:08 +00:00
qbix79
b63ef25d6e Fix door opening
git-svn-id: https://svn.eduke32.com/eduke32@713 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-25 10:22:22 +00:00
qbix79
9ed478a719 Fix timing. Added comment to reverse changes incase we ever go to offsets.
git-svn-id: https://svn.eduke32.com/eduke32@712 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-25 08:14:08 +00:00
terminx
9285600313 Oops
git-svn-id: https://svn.eduke32.com/eduke32@711 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-25 07:28:51 +00:00
terminx
2ad666c159 SDL and GTK+ version check patches from Ozkan Sezer
git-svn-id: https://svn.eduke32.com/eduke32@710 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-25 01:46:19 +00:00
qbix79
168573d5aa Minimal changes to get it compiling (and not crashing when ran under
valgrind. Changes don't affect 32 bit mode).
Changed aplWeaponClip and friends to int* ,but intptr_t* works as well for me.
Final type will determined once the con code has been checked.



git-svn-id: https://svn.eduke32.com/eduke32@709 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-24 09:53:16 +00:00
terminx
60fbc40611 Hunter_rus patch
git-svn-id: https://svn.eduke32.com/eduke32@708 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-15 01:08:04 +00:00
plagman
c9d48ef096 Correct sprite offsets.
git-svn-id: https://svn.eduke32.com/eduke32@707 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-13 00:46:31 +00:00
plagman
9f14ec92bd Oops.
git-svn-id: https://svn.eduke32.com/eduke32@706 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-13 00:29:13 +00:00
plagman
68393132c9 Leaking doors.
git-svn-id: https://svn.eduke32.com/eduke32@705 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-12 08:27:09 +00:00
plagman
22dc84d4ca Corrected parallax problems. (_zoo and e3l10).
git-svn-id: https://svn.eduke32.com/eduke32@704 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-12 08:16:01 +00:00
plagman
c247c3540b ART offsets (with support for Hunter's definetile stuff) and correct sprite positions.
git-svn-id: https://svn.eduke32.com/eduke32@703 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-12 05:44:16 +00:00
plagman
1db4ea8f36 Lost, in a dream of mirrors, lost, in a paradox...
git-svn-id: https://svn.eduke32.com/eduke32@702 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-10 08:39:05 +00:00
plagman
e872a59fa5 The dream is true...
git-svn-id: https://svn.eduke32.com/eduke32@701 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-10 08:24:06 +00:00
plagman
7b03cef01a BUT YOU DONT KNOW HOW.. ?
git-svn-id: https://svn.eduke32.com/eduke32@700 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-09 07:59:37 +00:00
plagman
7c7b1c6590 THE FUTURE IS THE PAST
git-svn-id: https://svn.eduke32.com/eduke32@699 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-09 07:27:17 +00:00
terminx
65d095f88a Patch from hunter_rus
git-svn-id: https://svn.eduke32.com/eduke32@698 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-07 00:43:09 +00:00
plagman
dff876f1d0 HAVE YOU EVER FELT
git-svn-id: https://svn.eduke32.com/eduke32@697 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-06 23:35:48 +00:00
plagman
369d848650 Clean stuff for mirrors.
git-svn-id: https://svn.eduke32.com/eduke32@696 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-06 03:00:39 +00:00
plagman
dec6b86722 I can live with a broken build. Can you live with a broken kneecap?
git-svn-id: https://svn.eduke32.com/eduke32@695 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-06 00:05:40 +00:00
terminx
527c35941e Mouse input patch from hunter_rus
git-svn-id: https://svn.eduke32.com/eduke32@694 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-05 23:01:58 +00:00
terminx
4e58984de5 git-svn-id: https://svn.eduke32.com/eduke32@693 1a8010ca-5511-0410-912e-c29ae57300e0 2008-04-05 04:18:48 +00:00
plagman
ec7c642585 Added pr_billboarding mode to control whether face sprites look like classic (and clip into walls) or if they look like polymost (and suck cock).
git-svn-id: https://svn.eduke32.com/eduke32@692 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-04 08:07:11 +00:00
plagman
405a5f878f One-sided sprites are now one-sided.
git-svn-id: https://svn.eduke32.com/eduke32@691 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-04 07:40:15 +00:00
plagman
9942e1de54 Wall sprites are now one-sided.
git-svn-id: https://svn.eduke32.com/eduke32@690 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-04 07:33:59 +00:00
plagman
b587d4087e Correct masks.
git-svn-id: https://svn.eduke32.com/eduke32@689 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-04 07:28:25 +00:00
plagman
32955f4415 Fix animated sector textures.
git-svn-id: https://svn.eduke32.com/eduke32@688 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-03 07:25:56 +00:00
plagman
5c0276882e One way walls and masks. Masks don't really have correct texture coordinates yet but they should be sorted like polymost is or so.
git-svn-id: https://svn.eduke32.com/eduke32@687 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-03 06:58:36 +00:00
plagman
1d320f6eec Delay between occlusion queries for visible sectors (controlled by the value of pr_occlusionculling).
git-svn-id: https://svn.eduke32.com/eduke32@686 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-02 09:29:58 +00:00
plagman
e2a1a89eba (somewhat) smart wall updating.
git-svn-id: https://svn.eduke32.com/eduke32@685 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-02 08:49:21 +00:00
plagman
00ae08496a Smarter sector updating.
git-svn-id: https://svn.eduke32.com/eduke32@684 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-02 06:58:26 +00:00
plagman
d50b4726e9 Better sprite code.
git-svn-id: https://svn.eduke32.com/eduke32@683 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-02 06:01:12 +00:00
plagman
a1a587c202 Fixes typo making moving stuff crap itself.
git-svn-id: https://svn.eduke32.com/eduke32@682 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-02 04:40:07 +00:00
terminx
d9500e18e0 git-svn-id: https://svn.eduke32.com/eduke32@681 1a8010ca-5511-0410-912e-c29ae57300e0 2008-04-01 22:28:42 +00:00
terminx
51fdffe93e git-svn-id: https://svn.eduke32.com/eduke32@680 1a8010ca-5511-0410-912e-c29ae57300e0 2008-04-01 09:06:29 +00:00
terminx
67591ce3a3 git-svn-id: https://svn.eduke32.com/eduke32@679 1a8010ca-5511-0410-912e-c29ae57300e0 2008-04-01 03:53:56 +00:00
terminx
eb8fde73b2 Array support for addlogvar
git-svn-id: https://svn.eduke32.com/eduke32@678 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-01 03:32:36 +00:00
terminx
f90f48e439 "Unfortunetly, 2560x1600 is not supported."
git-svn-id: https://svn.eduke32.com/eduke32@677 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-01 03:04:12 +00:00
terminx
91145d9582 array support based on a patch from Peter Green (plugwash)
git-svn-id: https://svn.eduke32.com/eduke32@676 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-01 02:50:44 +00:00
terminx
ad97b339cc fixes
git-svn-id: https://svn.eduke32.com/eduke32@675 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-31 23:08:32 +00:00
terminx
e586fa650a Con access to ud.levelstats
git-svn-id: https://svn.eduke32.com/eduke32@674 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-31 02:55:50 +00:00
plagman
833ec4d3e8 Alternate way of updating stuff. Restores interpolation.
git-svn-id: https://svn.eduke32.com/eduke32@673 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-30 19:13:24 +00:00
plagman
ffa2d63c0e I like my sprites sorted thank you very much.
git-svn-id: https://svn.eduke32.com/eduke32@672 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-30 16:08:18 +00:00
plagman
e59df55f41 Fixes a crash when pressing Home/End/PgUp/PgDown in a user map directory with no maps.
git-svn-id: https://svn.eduke32.com/eduke32@671 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-30 15:39:22 +00:00
plagman
d576ee5c40 Even less flickering.
git-svn-id: https://svn.eduke32.com/eduke32@670 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-30 14:22:03 +00:00
plagman
f01a8f5b2b Stop raping the Z-buffer. Less flickering that way for now.
git-svn-id: https://svn.eduke32.com/eduke32@669 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-30 12:22:50 +00:00
plagman
d62d9ddaed TODO lists: because speaking to oneself is awesome.
git-svn-id: https://svn.eduke32.com/eduke32@668 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-30 11:43:24 +00:00
plagman
e2db8921e2 I have the fire... I have the force... I have the power to make my evil take its course (it's not like anyone will read this anyway). In other news, sprites are done.
git-svn-id: https://svn.eduke32.com/eduke32@667 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-30 11:16:21 +00:00
plagman
e9ec2f5f70 Face sprites placeholders.
git-svn-id: https://svn.eduke32.com/eduke32@666 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-30 09:16:39 +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
plagman
697b640ea7 Fixes the crossed slopes problem, fixed stuff rendering behind
parallaxed stuff. Tier Drops had those two problems.


git-svn-id: https://svn.eduke32.com/eduke32@664 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-26 12:04:00 +00:00
terminx
a598f36502 git-svn-id: https://svn.eduke32.com/eduke32@663 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-26 09:28:21 +00:00
plagman
de9731692f Fast polymer.
git-svn-id: https://svn.eduke32.com/eduke32@662 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-26 09:24:25 +00:00
plagman
cdc8b11ad4 I guess those warnings stay. :|
Fixed more warnings without DEBUGGINGAIDS.


git-svn-id: https://svn.eduke32.com/eduke32@661 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-26 04:11:26 +00:00
plagman
6970f27e72 Warnings and fix broken build (my fault).
git-svn-id: https://svn.eduke32.com/eduke32@660 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-26 03:53:54 +00:00
plagman
74a2a05ec2 Kill warnings.
git-svn-id: https://svn.eduke32.com/eduke32@659 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-25 09:21:18 +00:00
plagman
fd45e6663a allows sdlmusic.c to build with SDL 1.2.11
git-svn-id: https://svn.eduke32.com/eduke32@658 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-25 09:07:10 +00:00
terminx
ff33c80132 git-svn-id: https://svn.eduke32.com/eduke32@657 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-23 00:41:08 +00:00
terminx
fe2862eb91 git-svn-id: https://svn.eduke32.com/eduke32@656 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-23 00:14:22 +00:00
terminx
546e361166 Warnings
git-svn-id: https://svn.eduke32.com/eduke32@655 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-23 00:06:42 +00:00