Commit graph

1165 commits

Author SHA1 Message Date
terminx
92d52d8071 Fix a bunch of noclip memory errors
git-svn-id: https://svn.eduke32.com/eduke32@918 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-29 07:14:54 +00:00
terminx
a9a1379278 git-svn-id: https://svn.eduke32.com/eduke32@917 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-29 06:34:29 +00:00
terminx
0faa6b0010 Texture quality slider in video setup
git-svn-id: https://svn.eduke32.com/eduke32@916 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-29 05:43:47 +00:00
terminx
424f02f809 New sound setup menu plus some other crap
git-svn-id: https://svn.eduke32.com/eduke32@915 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-28 21:23:10 +00:00
terminx
ba83cbc48a git-svn-id: https://svn.eduke32.com/eduke32@914 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-28 06:59:08 +00:00
terminx
d5add9a2ef Cheap hack to replace "space" in quote 13 with "use"
git-svn-id: https://svn.eduke32.com/eduke32@913 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-28 02:40:23 +00:00
terminx
7e7193c8fe oops
git-svn-id: https://svn.eduke32.com/eduke32@912 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-27 21:41:23 +00:00
terminx
86712a9fc9 Menu slider for map ambient light level
git-svn-id: https://svn.eduke32.com/eduke32@911 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-27 21:33:28 +00:00
terminx
61d665e14d git-svn-id: https://svn.eduke32.com/eduke32@910 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-27 11:35:41 +00:00
terminx
9ebad22ac8 git-svn-id: https://svn.eduke32.com/eduke32@909 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-27 01:22:17 +00:00
terminx
8b9116d1a4 r_cullobstructedmodels 2: only cull if model texture has alpha
git-svn-id: https://svn.eduke32.com/eduke32@908 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-26 07:20:57 +00:00
terminx
b4a353988d Disallow setting rendmode 2... software polymost is so broken that there's not even a point to allowing it anymore
git-svn-id: https://svn.eduke32.com/eduke32@907 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-26 04:16:19 +00:00
terminx
c568a08022 git-svn-id: https://svn.eduke32.com/eduke32@906 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-26 02:15:13 +00:00
terminx
8446a1f2d9 Make the devistator behavior closer to the original Duke code
git-svn-id: https://svn.eduke32.com/eduke32@905 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-26 02:12:44 +00:00
terminx
d1df28e457 git-svn-id: https://svn.eduke32.com/eduke32@904 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-25 23:39:41 +00:00
hnt_ts
f5b049379c 1. Added CON command: cmenu <gamevar>
2. Added gamevar: current_menu(READONLY)

// Example: remove the episode selet screen
gamevar prev_menu 0 0
onevent EVENT_DISPLAYMENU
  ifvare current_menu 100 // Episode select
  {
    ifvare prev_menu 110 // Skill select
      cmenu 0 // Main menu
    else
      cmenu 110 // Skill select
  }

  setvarvar prev_menu current_menu
  // addlogvar current_menu
endevent


git-svn-id: https://svn.eduke32.com/eduke32@903 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-25 18:10:33 +00:00
terminx
7e4d003302 This fixes the cocksucker palette corruption bug that happened when switching video modes back and forth between software and polymost in fullscreen
This has been pissing me off for about 4 years.


git-svn-id: https://svn.eduke32.com/eduke32@902 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-25 13:42:37 +00:00
terminx
0f28a14ba3 Add r_osdhightile in case anyone really wants ugly blurry console text
Will not be given a menu option.


git-svn-id: https://svn.eduke32.com/eduke32@901 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-25 04:33:33 +00:00
terminx
cb1b36fb64 Ran everything through astyle again and disabled hightile when drawing console text because the HRP font looks like shit when scaled down to that size
git-svn-id: https://svn.eduke32.com/eduke32@900 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-25 01:09:39 +00:00
hnt_ts
fe97d1abb1 Opps
git-svn-id: https://svn.eduke32.com/eduke32@899 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-24 21:48:12 +00:00
hnt_ts
553e547c04 1. Added forgotten "break".
2. Added more CON error messages.


git-svn-id: https://svn.eduke32.com/eduke32@898 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-24 21:08:25 +00:00
hnt_ts
e7349339dd 1. Added more CON errors.
2. Killed compiler warnings.
3. Fixed the NUMSECTORS and NUMWALLS. Somehow they didn't make problems in Windows.


git-svn-id: https://svn.eduke32.com/eduke32@897 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-24 19:16:30 +00:00
terminx
85bb717842 Menu fluff
git-svn-id: https://svn.eduke32.com/eduke32@896 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-24 14:08:56 +00:00
terminx
30c9c774eb Fix building with USE_OPENGL=0 and POLYMOST=0 and replace all instances in the game code in which the bpp or rendmode vars are checked directly with calls to getrendermode()
git-svn-id: https://svn.eduke32.com/eduke32@895 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-24 11:16:20 +00:00
terminx
fca9027ab7 git-svn-id: https://svn.eduke32.com/eduke32@894 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-24 04:54:40 +00:00
terminx
b55d4f5d50 Color adjustment bugfixes
git-svn-id: https://svn.eduke32.com/eduke32@893 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-24 02:07:22 +00:00
hnt_ts
18deaab4ca 1. Added a console command: addlogvar.
2. Colorized console in Linux. The font is different now(harder to read). This change can be reverted you like.
3. Added some CON error messages. If the compact form of {} isn't allowed, say so and I won't do in this style anymore.


git-svn-id: https://svn.eduke32.com/eduke32@892 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-23 20:09:22 +00:00
terminx
d1c4c8d7e2 git-svn-id: https://svn.eduke32.com/eduke32@891 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-23 03:56:50 +00:00
terminx
8838d469c1 git-svn-id: https://svn.eduke32.com/eduke32@890 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-22 21:56:28 +00:00
terminx
d8ae04d773 Support for turning vsync on and off
git-svn-id: https://svn.eduke32.com/eduke32@889 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-22 21:03:09 +00:00
terminx
0f607b70dd git-svn-id: https://svn.eduke32.com/eduke32@888 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-22 12:17:05 +00:00
terminx
53bd9bc6a4 Compact spacing for gametext() when used in menus... this lets me fit a few more characters into the option names
git-svn-id: https://svn.eduke32.com/eduke32@887 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-22 10:56:22 +00:00
terminx
11fc1203fa Game name in window title and some other shit
git-svn-id: https://svn.eduke32.com/eduke32@886 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-22 09:05:34 +00:00
terminx
de25cb4392 git-svn-id: https://svn.eduke32.com/eduke32@885 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-22 05:13:20 +00:00
terminx
2e447a3c1d git-svn-id: https://svn.eduke32.com/eduke32@884 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-21 13:59:10 +00:00
terminx
eb43ca8921 git-svn-id: https://svn.eduke32.com/eduke32@883 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-21 13:39:23 +00:00
terminx
bdd109e2c1 git-svn-id: https://svn.eduke32.com/eduke32@882 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-21 10:20:41 +00:00
terminx
86e70d3012 git-svn-id: https://svn.eduke32.com/eduke32@881 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-21 09:05:53 +00:00
terminx
c3cc992d65 git-svn-id: https://svn.eduke32.com/eduke32@880 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-21 03:24:06 +00:00
terminx
4a69a33e36 git-svn-id: https://svn.eduke32.com/eduke32@879 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-21 03:06:34 +00:00
terminx
e4fcc3108a git-svn-id: https://svn.eduke32.com/eduke32@878 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-20 11:18:42 +00:00
terminx
28c0033e8f Crappy temporary brightness adjustment menu and some misc fixes
git-svn-id: https://svn.eduke32.com/eduke32@877 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-20 11:03:57 +00:00
terminx
602a96dc0a git-svn-id: https://svn.eduke32.com/eduke32@876 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-20 05:31:23 +00:00
terminx
cb9e2c1487 git-svn-id: https://svn.eduke32.com/eduke32@875 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-20 04:12:52 +00:00
terminx
a939f0fb48 CON_SCRIPTSIZE, lets mod authors manually increase the script size to whatever the mod needs, decreasing startup time due to not having to constantly reallocate memory.
git-svn-id: https://svn.eduke32.com/eduke32@874 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-20 03:29:00 +00:00
terminx
6cf9c4767b git-svn-id: https://svn.eduke32.com/eduke32@873 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-20 02:34:29 +00:00
terminx
6d9579ed07 git-svn-id: https://svn.eduke32.com/eduke32@872 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-20 00:39:06 +00:00
hnt_ts
e8c0abf7da 1. Runtime CON errors display the line numbers of CON now. It doesn't increase the size of compiled code because the line number assigned to each command of a CON file.
The lower 12 bits are used for the ID of command(up to 4096 IDs).
The rest 20 bits are used to store the line number(up to about 1 000 000 lines).
Perhabs variable errors need this too.

2. Fixed 2 crashes.


git-svn-id: https://svn.eduke32.com/eduke32@871 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-19 19:06:21 +00:00
terminx
b45bb674d1 Better gamma ramp adjustment, uses vid_gamma, vid_brightness and vid_contrast cvars
Will be added to menu during upcoming menu redesign


git-svn-id: https://svn.eduke32.com/eduke32@870 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-19 13:12:20 +00:00
terminx
fcf3f17e30 git-svn-id: https://svn.eduke32.com/eduke32@869 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-19 07:39:51 +00:00
terminx
f7b4de8e6d git-svn-id: https://svn.eduke32.com/eduke32@868 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-19 04:13:53 +00:00
terminx
f98227d6f3 Better line wrapping for multiplayer chat messages
git-svn-id: https://svn.eduke32.com/eduke32@867 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-19 00:50:20 +00:00
terminx
2b85433e4f git-svn-id: https://svn.eduke32.com/eduke32@866 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-18 23:29:20 +00:00
terminx
3aefb0edaa Support for changing shade of console characters by using the 3 high bits of osdfmt to represent a shade value (0-7)
Lower 5 bits are used for palette


git-svn-id: https://svn.eduke32.com/eduke32@865 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-18 13:18:12 +00:00
terminx
6374609c4d colorized OSD text... wastes 32kB memory but in 2008 I don't think anyone really gives half a shit
git-svn-id: https://svn.eduke32.com/eduke32@864 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-18 09:50:44 +00:00
terminx
564e00a3f2 Fix health when loading map state
git-svn-id: https://svn.eduke32.com/eduke32@863 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-18 03:22:20 +00:00
terminx
244a0c1a5e Gamevars in savestates (in savegames)
Still needs debugging


git-svn-id: https://svn.eduke32.com/eduke32@862 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-18 02:46:24 +00:00
terminx
b909597593 git-svn-id: https://svn.eduke32.com/eduke32@861 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-17 23:14:32 +00:00
terminx
f430f20201 git-svn-id: https://svn.eduke32.com/eduke32@860 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-16 21:21:18 +00:00
terminx
b367a392a7 Prototype stuff for hub maps/persistent level states/non-linear level progression
git-svn-id: https://svn.eduke32.com/eduke32@859 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-16 09:27:08 +00:00
terminx
3cf5b60d03 Patch from Bdragon, makes tiles.cfg and its groups determine which sprites are considered effectors, actors, items et cetera for the purposes of 2D mode displayand fixes some bugs in the tile selector
git-svn-id: https://svn.eduke32.com/eduke32@858 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-14 01:48:20 +00:00
terminx
aafd981270 git-svn-id: https://svn.eduke32.com/eduke32@857 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-13 08:35:36 +00:00
terminx
99671274aa Make the tsprite CON stuff into its own commands
git-svn-id: https://svn.eduke32.com/eduke32@856 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-13 07:10:47 +00:00
terminx
5ce5b287fa git-svn-id: https://svn.eduke32.com/eduke32@855 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-12 23:44:07 +00:00
hnt_ts
c660bfb129 1. Removed unneeded the svn:executable proprties. These files aren't actually executable.
2. Added the svn:ignore properties to clean up the output of "svn update" so that it doesn't show some unversioned files anymore sush as compiled binaries and object files(*.a).
3. Converted the end-of-line charapter sequences from Windows(CR LF) to Unix format(LF). It used to be a mixture of both styles that often confuse some programs. If some files have to be in Windows format, you should add the svn:eol-style on them(svn propset svn:eol-style native polymer/eduke32/source/thefile.c).


git-svn-id: https://svn.eduke32.com/eduke32@854 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-12 14:09:52 +00:00
terminx
fb80a8ec28 CON access to tsprite
git-svn-id: https://svn.eduke32.com/eduke32@853 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-12 10:57:52 +00:00
terminx
110bd25989 Oops
git-svn-id: https://svn.eduke32.com/eduke32@852 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-10 05:55:22 +00:00
terminx
681e58ccc4 Keep the startup window open when CON compilation fails so people can copy CON errors out of it directly without looking at eduke32.log
git-svn-id: https://svn.eduke32.com/eduke32@851 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-10 05:37:36 +00:00
terminx
b442e26fb0 git-svn-id: https://svn.eduke32.com/eduke32@850 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-10 04:37:41 +00:00
terminx
a6c68170d0 git-svn-id: https://svn.eduke32.com/eduke32@849 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-10 02:45:24 +00:00
terminx
4ddfc3e9d9 Comment out and refactor some unnecessary (IMO) console startup messages... seems to improve win32 startup times, possibly due to less scrolling of the startup window text buffer.
git-svn-id: https://svn.eduke32.com/eduke32@848 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-09 23:25:38 +00:00
terminx
098c99e3f7 git-svn-id: https://svn.eduke32.com/eduke32@847 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-09 09:34:12 +00:00
terminx
eece4e2b75 Fix a bug that showed up in valgrind
git-svn-id: https://svn.eduke32.com/eduke32@846 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-09 08:54:54 +00:00
terminx
6616dbd31b git-svn-id: https://svn.eduke32.com/eduke32@845 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-08 04:52:39 +00:00
terminx
5907674844 Oops
Fatigue is the mortal enemy of working code and the best friend of oversights, apparently :p


git-svn-id: https://svn.eduke32.com/eduke32@844 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-07 22:03:11 +00:00
terminx
01449fc547 git-svn-id: https://svn.eduke32.com/eduke32@843 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-07 12:35:21 +00:00
terminx
e67f7bd94a OSD history command plus some important fixes
git-svn-id: https://svn.eduke32.com/eduke32@842 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-07 12:17:27 +00:00
terminx
a8edd3e87c Some days, I just add shit for the hell of it
git-svn-id: https://svn.eduke32.com/eduke32@841 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-07 08:04:12 +00:00
terminx
2e82277d65 git-svn-id: https://svn.eduke32.com/eduke32@840 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-07 06:44:41 +00:00
qbix79
852190d512 Fix naming error.
git-svn-id: https://svn.eduke32.com/eduke32@839 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-05 09:12:36 +00:00
terminx
9a29dae7b3 git-svn-id: https://svn.eduke32.com/eduke32@838 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-04 02:13:48 +00:00
terminx
275fdc8552 git-svn-id: https://svn.eduke32.com/eduke32@837 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-04 01:43:45 +00:00
terminx
2abab26c25 Much improved MapKey function
git-svn-id: https://svn.eduke32.com/eduke32@836 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-04 01:15:32 +00:00
terminx
c4db75ca81 git-svn-id: https://svn.eduke32.com/eduke32@835 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-03 07:53:19 +00:00
terminx
13d4b6fb14 More bind shit
git-svn-id: https://svn.eduke32.com/eduke32@834 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-03 07:37:41 +00:00
terminx
c5d1978aa2 Renamed some more cvars, removed osdcompletionstyle and merged the two methods into one
git-svn-id: https://svn.eduke32.com/eduke32@833 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-02 22:45:04 +00:00
terminx
4c8538e0f7 Rename some console commands to be more consistent with each other
git-svn-id: https://svn.eduke32.com/eduke32@832 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-02 04:56:42 +00:00
terminx
7c6881717d Stupid win32 console keyboard input bug fix
git-svn-id: https://svn.eduke32.com/eduke32@831 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-02 01:32:53 +00:00
terminx
a7d9ab4603 git-svn-id: https://svn.eduke32.com/eduke32@830 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-01 11:14:18 +00:00
terminx
9091b75be1 git-svn-id: https://svn.eduke32.com/eduke32@829 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-01 10:33:13 +00:00
terminx
515bed39c8 Adds "osdcompletionstyle" to the console to switch between bash-style tab completion (completes only the longest common prefix) and the previous behavior of cycling through the list with tab
git-svn-id: https://svn.eduke32.com/eduke32@828 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-01 10:31:03 +00:00
terminx
bd94f048ea git-svn-id: https://svn.eduke32.com/eduke32@827 1a8010ca-5511-0410-912e-c29ae57300e0 2008-07-01 02:36:53 +00:00
terminx
95eed1cd2b mouse binds
git-svn-id: https://svn.eduke32.com/eduke32@826 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 19:06:05 +00:00
terminx
71292bb5f1 git-svn-id: https://svn.eduke32.com/eduke32@825 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-30 18:33:04 +00:00
terminx
4348140d55 git-svn-id: https://svn.eduke32.com/eduke32@824 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-30 11:01:58 +00:00
terminx
88120b45eb git-svn-id: https://svn.eduke32.com/eduke32@823 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-30 09:25:06 +00:00
terminx
ef2683418e Keyboard configuration menu <-> binds
git-svn-id: https://svn.eduke32.com/eduke32@822 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 09:00:33 +00:00
terminx
1783253ccd git-svn-id: https://svn.eduke32.com/eduke32@821 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-30 07:30:48 +00:00
terminx
5d2b147658 added support for removing aliases
git-svn-id: https://svn.eduke32.com/eduke32@820 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 01:03:51 +00:00
terminx
2b6f413f9c git-svn-id: https://svn.eduke32.com/eduke32@819 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-30 00:32:05 +00:00
terminx
f6999157f7 More alias shit
git-svn-id: https://svn.eduke32.com/eduke32@818 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 00:18:59 +00:00
terminx
d3e54859c2 Support for console aliases
git-svn-id: https://svn.eduke32.com/eduke32@817 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 22:37:30 +00:00
terminx
5aadb6c114 git-svn-id: https://svn.eduke32.com/eduke32@816 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-29 21:01:07 +00:00
terminx
6c078cfab6 Convert cfg file entries to binds on cfg load
git-svn-id: https://svn.eduke32.com/eduke32@815 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 13:35:52 +00:00
terminx
b60e2a57dc git-svn-id: https://svn.eduke32.com/eduke32@814 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-29 12:53:18 +00:00
terminx
ef183706e6 read/write binds to/from binds.cfg
git-svn-id: https://svn.eduke32.com/eduke32@813 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 12:29:42 +00:00
terminx
f003af45dc make repeating binds the default and added "bind norepeat"
binds which call console commands should use norepeat


git-svn-id: https://svn.eduke32.com/eduke32@812 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 12:13:10 +00:00
terminx
586ad8bab4 git-svn-id: https://svn.eduke32.com/eduke32@811 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-29 11:59:43 +00:00
terminx
9ea5b3febf osdcmd_unbind()
git-svn-id: https://svn.eduke32.com/eduke32@810 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 11:33:51 +00:00
terminx
3c51265878 Formatting changes to jmact
git-svn-id: https://svn.eduke32.com/eduke32@809 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-29 10:41:01 +00:00
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
2a78af4558 negative array acces. ny00123
git-svn-id: https://svn.eduke32.com/eduke32@803 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-13 15:16:14 +00:00
qbix79
d8ea4c5350 doesn't work that :)
git-svn-id: https://svn.eduke32.com/eduke32@802 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-13 14:40:28 +00:00
qbix79
8bef3fed96 fix memleak due to new md2-md3 conversion code.
git-svn-id: https://svn.eduke32.com/eduke32@801 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-13 08:03:30 +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
9c81fa155c suppress video mode switch messages when alt-tabbing out of fullscreen
git-svn-id: https://svn.eduke32.com/eduke32@799 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-11 18:52:39 +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
qbix79
bd039f617e argh forgot one
git-svn-id: https://svn.eduke32.com/eduke32@790 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:23:55 +00:00
qbix79
22085fa9d3 General warning fixes and regular fixes. (64 bit only)
git-svn-id: https://svn.eduke32.com/eduke32@789 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:23:13 +00:00
qbix79
9f361fd293 When doing pointer math use intptr_t
git-svn-id: https://svn.eduke32.com/eduke32@788 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:21:16 +00:00
qbix79
5a4ccf69af leng is now int again. remove some warnings.
git-svn-id: https://svn.eduke32.com/eduke32@787 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:19:30 +00:00
qbix79
5000ff0f52 polymost 64 bit zbuffer modifications.
git-svn-id: https://svn.eduke32.com/eduke32@786 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-10 19:18:45 +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
plagman
b3ac01c04d Skybox VBOs.
git-svn-id: https://svn.eduke32.com/eduke32@780 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-09 09:43:12 +00:00
plagman
77a2adbd62 Skyboxes.
git-svn-id: https://svn.eduke32.com/eduke32@779 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-09 09:25:47 +00:00
plagman
9dd9ccfa46 Changed plotpixels to use DrawPixels() instead of GL_POINTS primitives.
git-svn-id: https://svn.eduke32.com/eduke32@778 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-09 02:36:45 +00:00
terminx
8fbe6b54b6 git-svn-id: https://svn.eduke32.com/eduke32@777 1a8010ca-5511-0410-912e-c29ae57300e0 2008-06-06 23:03:22 +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
plagman
c29194cce9 Model flipping, centering, floor-alignment, color, maphacks.
Next is CON model rotation.

git-svn-id: https://svn.eduke32.com/eduke32@774 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-06 11:35:24 +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
hnt_ts
0ff4f3b736 Fixed a bug which was introduced in the revision #759. Mapster32 would delete many sprites on saving maps.
The latest released snapshot is affected by this bug. This is a critical bug and a new snapshot should be released as soon as possible and users should be asked to not use the corrupted snapshot.

The bug was reported by DeeperThought and Gambini.

P.S. Actually it's the second time this bug has been introduced. See http://forums.3drealms.com/vb/showthread.php?t=29413

git-svn-id: https://svn.eduke32.com/eduke32@772 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-06 08:01:30 +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
34b7ac0714 mousewheel control for circle points insertion
git-svn-id: https://svn.eduke32.com/eduke32@758 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-03 07:54:20 +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
plagman
fa405211ed Interim MD2 support for polymer. Interim because it relies on a change
in the model conversion code that breaks the HRP oozfilter model. It can 
be reverted pretty easily, see comment in mdsprite.c.


git-svn-id: https://svn.eduke32.com/eduke32@755 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-01 09:41:56 +00:00
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
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
9ef96d3033 git-svn-id: https://svn.eduke32.com/eduke32@652 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-21 23:55:36 +00:00
terminx
a624085972 git-svn-id: https://svn.eduke32.com/eduke32@651 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-21 22:24:53 +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
bee008fbc5 git-svn-id: https://svn.eduke32.com/eduke32@648 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-18 11:07:36 +00:00
terminx
43a7dc4d33 git-svn-id: https://svn.eduke32.com/eduke32@647 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-17 07:08:56 +00:00
terminx
5d1abf26a8 git-svn-id: https://svn.eduke32.com/eduke32@646 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-16 06:42:21 +00:00
terminx
bda7764beb git-svn-id: https://svn.eduke32.com/eduke32@645 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-16 06:37:47 +00:00
terminx
cee3078bd5 git-svn-id: https://svn.eduke32.com/eduke32@644 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-15 21:04:35 +00:00
terminx
47763f8cce git-svn-id: https://svn.eduke32.com/eduke32@643 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-14 21:05:30 +00:00
terminx
02c5d0b87b Fixes
git-svn-id: https://svn.eduke32.com/eduke32@642 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-14 21:04:28 +00:00
plagman
9fc846754f More core stuff. There's a bug somewhere but I can't seem to find it at the moment. I'll debug it when it's not 5AM.
git-svn-id: https://svn.eduke32.com/eduke32@641 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-14 12:19:13 +00:00
terminx
dd4a7b5450 git-svn-id: https://svn.eduke32.com/eduke32@640 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-09 08:14:12 +00:00
terminx
68675e28aa git-svn-id: https://svn.eduke32.com/eduke32@639 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-08 19:45:48 +00:00
terminx
3b395263ce git-svn-id: https://svn.eduke32.com/eduke32@638 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-08 09:04:01 +00:00
terminx
6b956dfe2a git-svn-id: https://svn.eduke32.com/eduke32@637 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-08 07:46:30 +00:00
terminx
bc0f8369e6 Dynamic object loader for OpenAL
git-svn-id: https://svn.eduke32.com/eduke32@636 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-08 06:51:53 +00:00
terminx
0701fad3db Forgot these
git-svn-id: https://svn.eduke32.com/eduke32@635 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-08 06:51:04 +00:00
terminx
74d7485a19 OpenAL patch from Hunter_rus... haven't even tried to make this work with MSVC yet
git-svn-id: https://svn.eduke32.com/eduke32@634 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-08 05:23:15 +00:00
terminx
a736fc08e0 Added new warning for con_ifsound
git-svn-id: https://svn.eduke32.com/eduke32@633 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-07 22:33:07 +00:00
terminx
a735c3d1ac Possible win95 fix
git-svn-id: https://svn.eduke32.com/eduke32@632 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-07 21:59:10 +00:00
terminx
aa5360a235 git-svn-id: https://svn.eduke32.com/eduke32@631 1a8010ca-5511-0410-912e-c29ae57300e0 2008-03-02 22:57:54 +00:00
terminx
f13385cf86 git-svn-id: https://svn.eduke32.com/eduke32@630 1a8010ca-5511-0410-912e-c29ae57300e0 2008-02-29 04:37:37 +00:00
terminx
72d2bc1b81 User request
git-svn-id: https://svn.eduke32.com/eduke32@629 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-27 00:10:33 +00:00
terminx
37f95e0349 git-svn-id: https://svn.eduke32.com/eduke32@628 1a8010ca-5511-0410-912e-c29ae57300e0 2008-02-25 07:31:39 +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
plagman
d5cdd523d1 Missed one.
git-svn-id: https://svn.eduke32.com/eduke32@624 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-18 08:54:33 +00:00
plagman
e67e3dc8fc Adds r_parallaxskyclamping and r_parallaxskypanning.
git-svn-id: https://svn.eduke32.com/eduke32@623 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-18 08:46:42 +00:00
terminx
c45bd7dd53 git-svn-id: https://svn.eduke32.com/eduke32@622 1a8010ca-5511-0410-912e-c29ae57300e0 2008-02-18 08:10:54 +00:00
plagman
519fa4cd81 Corrects fog disabling when drawing fullbright shit. Fixes sky #93.
git-svn-id: https://svn.eduke32.com/eduke32@621 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-18 07:55:08 +00:00
plagman
3ca6158794 Disables the sky clamp hack for ART parallaxed skies in polymost.
git-svn-id: https://svn.eduke32.com/eduke32@620 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-18 07:09:18 +00:00
terminx
b3677fc796 This looks like stuff that needs to be changed for proper 64-bit support
git-svn-id: https://svn.eduke32.com/eduke32@619 1a8010ca-5511-0410-912e-c29ae57300e0
2008-02-17 05:08:18 +00:00