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