helixhorned
03000a52b9
CON parser cleanup: make labelcode save offsets to CON code instead of
...
pointers and make it into an int32_t*.
git-svn-id: https://svn.eduke32.com/eduke32@2152 1a8010ca-5511-0410-912e-c29ae57300e0
2011-12-04 21:20:17 +00:00
helixhorned
fabbcdcf56
CON parser cleanup: when getting a value from labelcode[], assume that it
...
represents a pointer into the script for label types other than LABEL_DEFINE
instead of checking inclusion of the value in the script bounds. This
assertion was tested with WGR2 SVN.
git-svn-id: https://svn.eduke32.com/eduke32@2150 1a8010ca-5511-0410-912e-c29ae57300e0
2011-12-04 21:19:41 +00:00
helixhorned
3285cfef8c
CON: Add the following commands to those which shouldn't be optimized away
...
with empty branches: ifcanseetarget, ifpdistl, ifpdistg, ifgotweapononce.
git-svn-id: https://svn.eduke32.com/eduke32@2149 1a8010ca-5511-0410-912e-c29ae57300e0
2011-12-04 18:10:06 +00:00
terminx
8ac88ab4da
Fix issue reported at http://forums.duke4.net/topic/5068-bug-introduced-in-old-versions-of-eduke32
...
git-svn-id: https://svn.eduke32.com/eduke32@2147 1a8010ca-5511-0410-912e-c29ae57300e0
2011-12-04 00:31:20 +00:00
helixhorned
e94243d7db
New CON command
...
setactorsoundpitch <actor#> <sound#> <pitchoffset>
which can be used to change the pitch of a playing sound.
The pitch offset has the same meaning as the definesound pitch range endpoints,
i.e. the units are 1/100th of a seminote. Note that just like the random pitch
offset, increasing the pitch makes the sound duration shorter (and vice versa).
git-svn-id: https://svn.eduke32.com/eduke32@2104 1a8010ca-5511-0410-912e-c29ae57300e0
2011-11-03 23:08:54 +00:00
helixhorned
b9a4b92bc8
Eliminate one uinitialized mem access related to projectiles (it's the filler
...
member, so maybe not *that* bad) and an invalid memory access when trying to
access a per-player gamevar in a player-less context (e.g. WGR2 SVN r25
WGR2GAME.CON line 10448).
git-svn-id: https://svn.eduke32.com/eduke32@2102 1a8010ca-5511-0410-912e-c29ae57300e0
2011-11-01 22:03:09 +00:00
helixhorned
aae60f64c2
Eliminate all 'variable ... set but not used [-Wunused-but-set-variable]'
...
warnings with GCC 4.6 except one in kplib.c
git-svn-id: https://svn.eduke32.com/eduke32@2079 1a8010ca-5511-0410-912e-c29ae57300e0
2011-10-17 18:42:10 +00:00
helixhorned
83a359973c
fix a stupid copy&paste error that made sector[].ceilingbunch/floorbunch not functioning
...
git-svn-id: https://svn.eduke32.com/eduke32@2050 1a8010ca-5511-0410-912e-c29ae57300e0
2011-09-30 14:30:33 +00:00
helixhorned
54f345f78f
Add a warning when calling {save,load}mapstate from EVENT_ANIMATESPRITES (forgotten from earlier changes).
...
git-svn-id: https://svn.eduke32.com/eduke32@1956 1a8010ca-5511-0410-912e-c29ae57300e0
2011-08-03 17:22:46 +00:00
helixhorned
85fba8755b
maint 2: refactor bits of code that twiddle/untwiddle pointers for persistent storage into a G_Util_PtrToIdx() function
...
git-svn-id: https://svn.eduke32.com/eduke32@1950 1a8010ca-5511-0410-912e-c29ae57300e0
2011-07-29 22:07:49 +00:00
hendricks266
8b5761c14d
My first commit!
...
The main feature is the addition of -mx and -mh command-line parameters to EDuke32 and Mapster32. These parameters include a con and def "module" respectively. This translates into essentially including the file from the bottom of the compiled script.
I fixed the classic buggy behavior of the BROKEHYDROPLANT and REACTOR2 sprites.
I also fixed a small, long-standing bug where FRAMEEFFECT1 blurs are not affected by sector floorpal. You can see one example of this by shrinking the Enforcer on the upper inside of the toppled building in E3L11: Freeway.
I tweaked the Makefile so that it would automatically regenerate the keep.me files in the $(OBJ) and $(EOBJ) directories after they are deleted for cleaning.
One final change is a slight positioning cleanup of both programs' --help dialog boxes.
git-svn-id: https://svn.eduke32.com/eduke32@1937 1a8010ca-5511-0410-912e-c29ae57300e0
2011-07-21 22:39:29 +00:00
helixhorned
a9290a0d29
Make useractor's <actortype> bit 4 mean 'this actor will not move by itself' to make it possible to have it in a rotating sector with full rounding correction. No token name is provided because the three others come from CON and I don't want to clutter the namespace; fix the editor issue where the box wasn't shown on occasion in the tile selector (8-bit)
...
git-svn-id: https://svn.eduke32.com/eduke32@1934 1a8010ca-5511-0410-912e-c29ae57300e0
2011-07-20 22:08:05 +00:00
helixhorned
a15d8bfb98
* new editor cfg options: corruptcheck_noalreadyrefd (silinces 'already referenced warning'), r_usenewaspect, r_screenxy
...
* Read-only CON access to sector bunchnums by adding the labels '.ceilingbunch' and '.floorbunch' to the CON sector structure
git-svn-id: https://svn.eduke32.com/eduke32@1931 1a8010ca-5511-0410-912e-c29ae57300e0
2011-07-10 15:39:21 +00:00
terminx
9a14859e68
Fix embedded gog.com duke3d URLs... zero functional changes in this commit
...
git-svn-id: https://svn.eduke32.com/eduke32@1929 1a8010ca-5511-0410-912e-c29ae57300e0
2011-07-05 04:56:51 +00:00
terminx
ef61e48c25
Patch from Hendricks266 and whatever changes happened to be in my tree. I hope they work ;)
...
"The most noticeable change is the addition of the "includedefault" CON and DEF command, which will attempt to include eduke.con (or nam.con, or ww2gi.con), then game.con, or duke3d.def, or nam.def, or ww2gi.def. This is useful for TCs like my add-ons, where for my pseudo-mutators I currently say "include EDUKE.CON", but I also have to juggle this terrible order of paths, so that I can have an EDUKE.CON file in my HRP which says "include GAME.CON" to allow the mainline game to actually run, but also allow DukePlus to load its EDUKE.CON file (since it uses that and not an -x switch), and also allow any custom EDUKE.CON files in the root to be used."
git-svn-id: https://svn.eduke32.com/eduke32@1909 1a8010ca-5511-0410-912e-c29ae57300e0
2011-06-19 00:11:52 +00:00
terminx
5a7183ab79
Fix CON_SCRIPTSIZE
...
git-svn-id: https://svn.eduke32.com/eduke32@1897 1a8010ca-5511-0410-912e-c29ae57300e0
2011-05-27 21:24:01 +00:00
helixhorned
e92099b2f7
Polymost:
...
* rudimentary TROR support
* free mixing of multi- and single-tile pskies
* Don't cull models behind you. That is, treat them like floor sprites in that respect. This way large models like corpses don't disappear from the view unexpectedly.
Classic:
* tweak the last row and column of the translucency table so that e.g. a transparent sprite against a FANSPRITE wall doesn't show up purple (only if Duke3D table is found)
Misc.:
* fixes TROR-nextwall corruption when deleting sectors
* tile selector 'goto' now has also completion
* I forgot a file for the non-OpenGL build last time
git-svn-id: https://svn.eduke32.com/eduke32@1892 1a8010ca-5511-0410-912e-c29ae57300e0
2011-05-22 21:52:22 +00:00
terminx
8e75a11188
Fix some CON compile errors I introduced in r1857
...
git-svn-id: https://svn.eduke32.com/eduke32@1891 1a8010ca-5511-0410-912e-c29ae57300e0
2011-05-20 02:34:41 +00:00
terminx
1fdafcdad6
Cleaning out my tree... mostly internal changes. Adds workaround to disable texture compression with the crappy fglrx driver on Linux, fixes FIRE sprites so that they don't render at their sector's floorz all the time, changes CON compiler around a bit to use a loop instead of calling C_ParseCommand() 10 million times.
...
git-svn-id: https://svn.eduke32.com/eduke32@1857 1a8010ca-5511-0410-912e-c29ae57300e0
2011-04-07 01:16:29 +00:00
terminx
b774cfb9ff
Fix http://forums.duke4.net/index.php?s=&showtopic=2961&view=findpost&p=60758
...
git-svn-id: https://svn.eduke32.com/eduke32@1825 1a8010ca-5511-0410-912e-c29ae57300e0
2011-03-05 00:29:27 +00:00
terminx
323008432a
Consolidate POLYMOST preprocessor define into USE_OPENGL, remove SUPERBUILD preprocessor define, add additional mode to neartag() to skip sprite searches and speed up processing (and enable for CON_OPERATE), fix issue with nearby single instance sounds not playing due to out of range sounds blocking their playback, fix issue with settings.cfg being reset to default bindings when running a mod that specifies its own cfg base name, improve CON structure member interface read/write performance, fix a bug with CON "move" pointer validation
...
git-svn-id: https://svn.eduke32.com/eduke32@1820 1a8010ca-5511-0410-912e-c29ae57300e0
2011-03-04 08:50:58 +00:00
terminx
043bb208b3
Multiplayer improvements
...
git-svn-id: https://svn.eduke32.com/eduke32@1802 1a8010ca-5511-0410-912e-c29ae57300e0
2011-02-25 21:50:19 +00:00
helixhorned
2428b11152
More OSX build fixery and printf/scanf cleanup for 64-bit systems
...
git-svn-id: https://svn.eduke32.com/eduke32@1791 1a8010ca-5511-0410-912e-c29ae57300e0
2011-02-12 13:25:24 +00:00
helixhorned
92223c2c85
Atrributify various function declarations. Right now the attributes used are noreturn, nonnull and format, the latter allowing us to catch silly printf errors. Again, these range from relatively benign to disastrous.
...
git-svn-id: https://svn.eduke32.com/eduke32@1740 1a8010ca-5511-0410-912e-c29ae57300e0
2010-12-19 22:47:10 +00:00
terminx
c0fd65345e
remove obsolete CON compile warnings about affecting multiplayer sync, add -nodinput compatibility parameter to work around DirectInput crash issues on certain systems, fix http://forums.duke4.net/index.php?s=&showtopic=2961&view=findpost&p=60752
...
git-svn-id: https://svn.eduke32.com/eduke32@1729 1a8010ca-5511-0410-912e-c29ae57300e0
2010-11-23 22:30:27 +00:00
helixhorned
e0874390ff
New aspect determination code for classic/Polymost, controlled with r_usenewaspect and r_screenaspect cvars; print stack traces with SDL/GCC; change signature of app_main in game.c to match declarations found in other places and return different positive values on init error.
...
git-svn-id: https://svn.eduke32.com/eduke32@1712 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-17 14:49:39 +00:00
helixhorned
cb321a9d76
New CON command 'clipmovenoslide', doing the same as clipmove but stopping at collisions before sliding calculations. Fixes a problem with Mapster32 where names.h was tried to be read before setting up the search path.
...
git-svn-id: https://svn.eduke32.com/eduke32@1711 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-09 22:59:17 +00:00
helixhorned
91250f081c
New CON commands:
...
* sectsetinterpolation <sector>
* sectclearinterpolation <sector>
* clipmove <<ret>> <<x>> <<y>> <z> <<sectnum>> <xvect> <yvect> <walldist> <floordist> <ceildist> <clipmask>
* lineintersect <x1> <y1> <z1> <x2> <y2> <z2> <x3> <y3> <x4> <y4> <<intx>> <<inty>> <<intz>> <<ret>>
* rayintersect <x1> <y1> <z1> <xv> <yv> <zv> <x3> <y3> <x4> <y4> <<intx>> <<inty>> <<intz>> <<ret>>
* calchypotenuse <<ret>> <x> <y>
(all except *interpolation also in m32script). Also fixes Sect_ClearInterpolation to be symmetrical to its Set counterpart (shouldnt change anything since it was unused). Added "-conversion YYYYMMDD" switch for keyword-compatibility with old mods.
Mapster32: invisible sprite preview with Quote-i.
git-svn-id: https://svn.eduke32.com/eduke32@1708 1a8010ca-5511-0410-912e-c29ae57300e0
2010-09-27 21:52:04 +00:00
terminx
a7eb0418d1
Global thermonuclear code rape
...
git-svn-id: https://svn.eduke32.com/eduke32@1677 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-02 08:13:51 +00:00
terminx
8a3dd08b14
more multiplayer fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@1673 1a8010ca-5511-0410-912e-c29ae57300e0
2010-07-22 20:29:09 +00:00
terminx
013ac85e2d
Emit RPG_EXPLODE, PIPEBOMB_EXPODE and LASERTRIP_EXPLODE from the actual EXPLOSION2 sprite instead of whatever spawned EXPLOSION2, to prevent the sound from being owned by whatever sprite happens to spawn with the ID the RPG/pipebomb/whatever had before it was removed
...
Add brightness/gamma/contrast cvars to Mapster32
Fix bug with WEAPON_SEMIAUTO flag for custom weapons
Fix VM error with starttrack when specifying an invalid music track
Fix detection of 0x1a EOF characters in CON files
Fix a couple of additional sound issues
Fix crash in pushmove()
Fix Mapster32 textured 2D mode display being a few pixels off from the actual lines drawn
Fix crash when clicking "cancel" in Mapster32 startup window
Add Makefile detection to build with -march=pentium3 -mtune=generic on i686
git-svn-id: https://svn.eduke32.com/eduke32@1665 1a8010ca-5511-0410-912e-c29ae57300e0
2010-07-03 08:53:57 +00:00
terminx
0b5de0800a
Final round (I hope!) of sound fixes. Should also fix the crash on exit on Windows and the REACTOR sprite size bug.
...
git-svn-id: https://svn.eduke32.com/eduke32@1662 1a8010ca-5511-0410-912e-c29ae57300e0
2010-06-26 08:51:42 +00:00
terminx
9143833fc8
rotatesprite and multivoc have a rape baby
...
No, seriously. Adds widescreen aware rotatesprite and works out half a dozen huge problems in the sound system, among other things.
git-svn-id: https://svn.eduke32.com/eduke32@1658 1a8010ca-5511-0410-912e-c29ae57300e0
2010-06-22 21:50:01 +00:00
terminx
ac7767986a
Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes
...
git-svn-id: https://svn.eduke32.com/eduke32@1652 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-25 10:56:00 +00:00
terminx
8120821f8d
fix some breakage with the "load last game" screen that pops up when you die
...
git-svn-id: https://svn.eduke32.com/eduke32@1647 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-21 05:53:21 +00:00
terminx
45052b8273
minor changes from my tree that I'm committing to test automated synthesis builds
...
git-svn-id: https://svn.eduke32.com/eduke32@1645 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-19 10:02:35 +00:00
terminx
65b29ab092
win32 stuck input fix among other minor changes
...
git-svn-id: https://svn.eduke32.com/eduke32@1642 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-16 22:53:08 +00:00
terminx
cda6330cc2
fixes weird problems
...
git-svn-id: https://svn.eduke32.com/eduke32@1630 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-04 23:40:49 +00:00
terminx
b2baba827c
git-svn-id: https://svn.eduke32.com/eduke32@1626 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-03 01:03:06 +00:00
terminx
45d93544a6
Source code "cleanup," herein referred to as "rape"
...
git-svn-id: https://svn.eduke32.com/eduke32@1625 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-02 23:27:30 +00:00
helixhorned
36564f5070
fixes line numbering in CONs
...
git-svn-id: https://svn.eduke32.com/eduke32@1616 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-14 15:49:03 +00:00
terminx
33780b42e9
Fix a couple of bugs
...
git-svn-id: https://svn.eduke32.com/eduke32@1605 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-03 01:37:27 +00:00
terminx
ebeee01510
Rewrote gametext_z() and renamed it to G_PrintGameText(). Other (very) minor changes.
...
git-svn-id: https://svn.eduke32.com/eduke32@1604 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-02 22:49:26 +00:00
terminx
c369aec8cc
Minor formatting changes, fix nedmalloc on BSD, fix win32 joystick detection issue, fix for ambient sounds, possible fix for stopsound malfunctioning after extended play time, add CON compilation error for duplicate "break" in switch statement
...
git-svn-id: https://svn.eduke32.com/eduke32@1599 1a8010ca-5511-0410-912e-c29ae57300e0
2010-02-23 18:13:46 +00:00
qbix79
eb464d45f9
Fix some 64 bit casts.
...
git-svn-id: https://svn.eduke32.com/eduke32@1597 1a8010ca-5511-0410-912e-c29ae57300e0
2010-02-10 18:20:30 +00:00
terminx
e65891aad6
Very few actual changes... mostly formatting fixes from astyle
...
git-svn-id: https://svn.eduke32.com/eduke32@1593 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-23 22:12:02 +00:00
terminx
66e7dd15c2
Clean out remaining changes from tree... this is mostly crap like variable name cleanup
...
git-svn-id: https://svn.eduke32.com/eduke32@1587 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-16 23:08:17 +00:00
terminx
44575d7e2c
Ball-busting true client-server multiplayer prototype/alpha/whatever
...
git-svn-id: https://svn.eduke32.com/eduke32@1552 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-05 09:22:43 +00:00
terminx
433c2cb607
some CON compilation fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@1545 1a8010ca-5511-0410-912e-c29ae57300e0
2009-11-20 03:54:40 +00:00
terminx
1770c60af6
Second gtk startup window patch from bioman, other random fixes I can't be bothered to remember
...
git-svn-id: https://svn.eduke32.com/eduke32@1544 1a8010ca-5511-0410-912e-c29ae57300e0
2009-11-18 01:17:56 +00:00
terminx
a6dec44579
Fixes mouse on win32 and some other relatively minor issues, drops win9x support, adds BUILD_NOLARGEPAGES and BUILD_WIN9X environment var support to disable large page support and force 9x to pass OS version check, fixes issue with crosshair turning white during the next run after starting the game with a new cfg but quitting at the menu instead of entering a level
...
git-svn-id: https://svn.eduke32.com/eduke32@1532 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-15 23:08:47 +00:00
terminx
577e3bd124
Misc
...
git-svn-id: https://svn.eduke32.com/eduke32@1502 1a8010ca-5511-0410-912e-c29ae57300e0
2009-09-28 00:01:06 +00:00
terminx
fe6e27e819
Use C versions of divscale##() instead of asm to work around an overflow with drawmapview(), get rid of leftover custom 'int64' type in favor of int64_t, other minor fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@1492 1a8010ca-5511-0410-912e-c29ae57300e0
2009-09-09 07:19:14 +00:00
terminx
a9c8d071a6
Couple weeks worth of random bs changes
...
git-svn-id: https://svn.eduke32.com/eduke32@1490 1a8010ca-5511-0410-912e-c29ae57300e0
2009-08-28 23:08:00 +00:00
terminx
68e35cb442
this commit is broken
...
git-svn-id: https://svn.eduke32.com/eduke32@1468 1a8010ca-5511-0410-912e-c29ae57300e0
2009-07-27 05:33:12 +00:00
terminx
98a359f3e1
Clean out tree... misc changes
...
git-svn-id: https://svn.eduke32.com/eduke32@1465 1a8010ca-5511-0410-912e-c29ae57300e0
2009-07-24 02:31:34 +00:00
terminx
f0f56a6738
Added ifactorsound & stopactorsound, fixed qsprintf issues, removed dead unfinished fmod support code, fiddled with structure packing and data sizes to increase the max concurrent playbacks of the same sound from 4 to 8, fixed several sound bugs where when one player's jetpack or scuba sounds stopped in multiplayer, everyone's hitched, increased max sound voices to 96 (was 32)
...
git-svn-id: https://svn.eduke32.com/eduke32@1461 1a8010ca-5511-0410-912e-c29ae57300e0
2009-07-15 01:26:38 +00:00
terminx
1538f39289
fix building with MSVC after Helixhorned's commit
...
fix FastLZ mipmap corruption issue
fix Polymer MSVC warnings
rewrote qsprintf to take up to 32 parameters, either quotes or gamevars
added qstrncat to concatenate n characters of one quote to another
exposed internal sectorofwall() function to CON
changed CON parser to count ( ) ; and , as whitespace so people can make their code more readable
added ACTIVATOR and ACTIVATORLOCKED support to SE49 and SE50
added SPRITE_USEACTIVATOR flag to allow actor execution based on whether a sector is "locked" or not
rearranged a few structures for faster array lookups
fixed EVENT_HOLSTER
git-svn-id: https://svn.eduke32.com/eduke32@1457 1a8010ca-5511-0410-912e-c29ae57300e0
2009-07-12 01:55:34 +00:00
terminx
3aaab4b63d
Remove dead copy protection and watcom support code, fix structure alignment and packing issues preventing Polymer from working with MSVC, enable link time code generation (whole program optimization) for MSVC builds, fix most warnings showing up in MSVC with /w2, add pulsating dynamic lights when holding the shrinker or expander
...
git-svn-id: https://svn.eduke32.com/eduke32@1454 1a8010ca-5511-0410-912e-c29ae57300e0
2009-07-09 02:29:48 +00:00
terminx
8d930bf35d
ROR support... mostly working but obviously not finished yet
...
git-svn-id: https://svn.eduke32.com/eduke32@1450 1a8010ca-5511-0410-912e-c29ae57300e0
2009-07-04 09:28:21 +00:00
terminx
3d0c34863d
Generic non-descript commit message
...
git-svn-id: https://svn.eduke32.com/eduke32@1440 1a8010ca-5511-0410-912e-c29ae57300e0
2009-06-24 08:20:10 +00:00
terminx
64f4c975c2
CON stuff
...
git-svn-id: https://svn.eduke32.com/eduke32@1436 1a8010ca-5511-0410-912e-c29ae57300e0
2009-06-19 01:10:10 +00:00
terminx
cc58eafd29
Fix for stupid con programmers making stupid con errors and a couple of other extremely minor changes
...
git-svn-id: https://svn.eduke32.com/eduke32@1435 1a8010ca-5511-0410-912e-c29ae57300e0
2009-06-18 05:57:10 +00:00
terminx
47a9332a16
More memory pool crap, startup window log update fixes, gameland light changes and minor polymer fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@1430 1a8010ca-5511-0410-912e-c29ae57300e0
2009-06-13 21:06:45 +00:00
terminx
4e5bde3a79
git-svn-id: https://svn.eduke32.com/eduke32@1393 1a8010ca-5511-0410-912e-c29ae57300e0
2009-05-28 02:55:46 +00:00
terminx
8474211c95
Misc small fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@1390 1a8010ca-5511-0410-912e-c29ae57300e0
2009-05-22 23:49:25 +00:00
plagman
d097ebc8e3
Fix the build with USE_OPENGL=0 and/or POLYMER=0.
...
git-svn-id: https://svn.eduke32.com/eduke32@1365 1a8010ca-5511-0410-912e-c29ae57300e0
2009-05-07 16:00:49 +00:00
terminx
f3d93e8406
Undo/redo support for Mapster32 and some other minor changes
...
git-svn-id: https://svn.eduke32.com/eduke32@1361 1a8010ca-5511-0410-912e-c29ae57300e0
2009-05-05 16:21:33 +00:00
terminx
7c036eb073
Remove jmact/types.h in favor of standardized inttypes.h stuff
...
git-svn-id: https://svn.eduke32.com/eduke32@1346 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-26 05:57:42 +00:00
terminx
9dc32d2ded
git-svn-id: https://svn.eduke32.com/eduke32@1344 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-24 06:04:13 +00:00
terminx
b7b016383f
Sector effector based light sources, basic Mapster32 light support, additional sprite/model alpha control, sprite selection in Mapster32 3D mode with Polymer
...
git-svn-id: https://svn.eduke32.com/eduke32@1341 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-24 02:53:50 +00:00
terminx
dba312e61b
git-svn-id: https://svn.eduke32.com/eduke32@1336 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-23 07:09:24 +00:00
terminx
1889e9151b
git-svn-id: https://svn.eduke32.com/eduke32@1327 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-15 05:58:38 +00:00
terminx
3d7a6a3572
git-svn-id: https://svn.eduke32.com/eduke32@1316 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-13 06:53:03 +00:00
terminx
22a7ec1b3b
git-svn-id: https://svn.eduke32.com/eduke32@1315 1a8010ca-5511-0410-912e-c29ae57300e0
2009-04-13 06:01:50 +00:00
terminx
fb8ccf22af
git-svn-id: https://svn.eduke32.com/eduke32@1245 1a8010ca-5511-0410-912e-c29ae57300e0
2009-03-14 02:55:39 +00:00
terminx
151189efab
new version of astyle
...
git-svn-id: https://svn.eduke32.com/eduke32@1229 1a8010ca-5511-0410-912e-c29ae57300e0
2009-02-19 16:47:54 +00:00
terminx
4ff6023244
git-svn-id: https://svn.eduke32.com/eduke32@1228 1a8010ca-5511-0410-912e-c29ae57300e0
2009-02-19 09:39:19 +00:00
terminx
768f3ad6d6
git-svn-id: https://svn.eduke32.com/eduke32@1221 1a8010ca-5511-0410-912e-c29ae57300e0
2009-02-02 01:49:14 +00:00
terminx
a56ab804a8
git-svn-id: https://svn.eduke32.com/eduke32@1215 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-18 07:32:35 +00:00
terminx
7b9448d868
git-svn-id: https://svn.eduke32.com/eduke32@1214 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-16 07:24:15 +00:00
terminx
7e54f9a756
this isn't done yet
...
git-svn-id: https://svn.eduke32.com/eduke32@1213 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-16 06:11:25 +00:00
terminx
16084e989e
git-svn-id: https://svn.eduke32.com/eduke32@1207 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-13 04:40:56 +00:00
terminx
9095a4911d
git-svn-id: https://svn.eduke32.com/eduke32@1206 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-10 07:38:50 +00:00
terminx
d6914ed108
ass rape
...
git-svn-id: https://svn.eduke32.com/eduke32@1205 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-09 09:29:17 +00:00
terminx
b53c959919
git-svn-id: https://svn.eduke32.com/eduke32@1204 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-07 14:05:13 +00:00
terminx
1cc73560f2
git-svn-id: https://svn.eduke32.com/eduke32@1203 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-06 06:59:18 +00:00
terminx
94d1fc6bfe
git-svn-id: https://svn.eduke32.com/eduke32@1202 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-06 00:00:11 +00:00
terminx
68ab9ebeaa
git-svn-id: https://svn.eduke32.com/eduke32@1201 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-05 14:43:12 +00:00
terminx
0614f0b64c
I bet this breaks something
...
git-svn-id: https://svn.eduke32.com/eduke32@1200 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-04 22:22:33 +00:00
terminx
a3ed643794
git-svn-id: https://svn.eduke32.com/eduke32@1199 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-03 22:47:16 +00:00
terminx
475d582283
git-svn-id: https://svn.eduke32.com/eduke32@1198 1a8010ca-5511-0410-912e-c29ae57300e0
2009-01-02 01:03:41 +00:00
terminx
ac7607a8bb
git-svn-id: https://svn.eduke32.com/eduke32@1197 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-31 09:07:49 +00:00
terminx
663cbc37a5
git-svn-id: https://svn.eduke32.com/eduke32@1189 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-21 22:46:55 +00:00
terminx
bfd5282986
Fix the shrinker problem for real this time
...
git-svn-id: https://svn.eduke32.com/eduke32@1185 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-15 13:56:30 +00:00
terminx
ac36ad3943
git-svn-id: https://svn.eduke32.com/eduke32@1179 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-13 07:23:13 +00:00
terminx
8ec01d5ea2
git-svn-id: https://svn.eduke32.com/eduke32@1178 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-10 11:36:53 +00:00
terminx
1aed7f53f8
git-svn-id: https://svn.eduke32.com/eduke32@1171 1a8010ca-5511-0410-912e-c29ae57300e0
2008-12-01 10:44:18 +00:00
terminx
cc73a2d7c6
new texcache stuff
...
git-svn-id: https://svn.eduke32.com/eduke32@1155 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-25 13:06:36 +00:00
terminx
26a97cb6b7
git-svn-id: https://svn.eduke32.com/eduke32@1150 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-24 09:22:07 +00:00
terminx
f2a2b491d6
git-svn-id: https://svn.eduke32.com/eduke32@1149 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-23 03:09:34 +00:00
terminx
4910928877
source code rape
...
git-svn-id: https://svn.eduke32.com/eduke32@1143 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-20 14:06:36 +00:00
terminx
4efb91b376
git-svn-id: https://svn.eduke32.com/eduke32@1121 1a8010ca-5511-0410-912e-c29ae57300e0
2008-11-05 11:49:13 +00:00
terminx
a5eb2ea255
Added filename based loading of mids and oggs for user map music and fixed some memory corruption which occurred in the CON compiler when it couldn't find a definition
...
git-svn-id: https://svn.eduke32.com/eduke32@1119 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-27 10:36:13 +00:00
hnt_ts
db38400dab
Reduce warnings
...
git-svn-id: https://svn.eduke32.com/eduke32@1118 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-25 11:21:50 +00:00
terminx
efcd34c135
EDuke32: now with multiplayer text scaling hacks and nastiness
...
git-svn-id: https://svn.eduke32.com/eduke32@1095 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-11 09:20:04 +00:00
terminx
ccafc41189
Weapon sprite scaling, still needs a rotatespritescaled CON command
...
git-svn-id: https://svn.eduke32.com/eduke32@1090 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-05 11:51:59 +00:00
terminx
8dc599fc28
git-svn-id: https://svn.eduke32.com/eduke32@1089 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-05 09:23:55 +00:00
terminx
328011fae4
Adds r_maxfps and some better error messages for cases where the user didn't even copy a grp into their EDuke32 dir
...
git-svn-id: https://svn.eduke32.com/eduke32@1086 1a8010ca-5511-0410-912e-c29ae57300e0
2008-10-01 04:38:14 +00:00
terminx
4437919385
git-svn-id: https://svn.eduke32.com/eduke32@1083 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-29 07:38:12 +00:00
terminx
16cd3c353d
Fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@1082 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-29 02:12:53 +00:00
terminx
ca8f8d21ae
git-svn-id: https://svn.eduke32.com/eduke32@1080 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-28 11:00:59 +00:00
terminx
3776d580eb
Cleaning uncommitted changes out of tree
...
git-svn-id: https://svn.eduke32.com/eduke32@1068 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-15 02:47:02 +00:00
terminx
18f4481d86
Use bit packing for the bytecode pointer map
...
git-svn-id: https://svn.eduke32.com/eduke32@1064 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-12 02:07:44 +00:00
terminx
60526dbb26
git-svn-id: https://svn.eduke32.com/eduke32@1062 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-11 09:24:45 +00:00
hnt_ts
0c77f4a6f5
Adds logic CON commands:
...
ifvaror |
ifvarxor ^
ifvareither || (rename?)
git-svn-id: https://svn.eduke32.com/eduke32@1060 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-07 12:36:20 +00:00
terminx
166019082f
git-svn-id: https://svn.eduke32.com/eduke32@1046 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-01 21:59:53 +00:00
terminx
ef3c5e6ad8
A bunch of random shit
...
git-svn-id: https://svn.eduke32.com/eduke32@1044 1a8010ca-5511-0410-912e-c29ae57300e0
2008-09-01 07:15:16 +00:00
terminx
882fbd6851
git-svn-id: https://svn.eduke32.com/eduke32@1043 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-28 23:15:11 +00:00
terminx
824e9d5664
git-svn-id: https://svn.eduke32.com/eduke32@1040 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-28 11:35:35 +00:00
terminx
6640e6e284
Case insensitivity for structure members in CONs because they weren't case sensitive before for some reason
...
git-svn-id: https://svn.eduke32.com/eduke32@1039 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-28 07:22:10 +00:00
terminx
8bbe48c219
git-svn-id: https://svn.eduke32.com/eduke32@1037 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-28 05:57:46 +00:00
terminx
f0032888fe
git-svn-id: https://svn.eduke32.com/eduke32@1034 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-26 08:39:45 +00:00
terminx
69dbba841c
git-svn-id: https://svn.eduke32.com/eduke32@1033 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-26 04:00:42 +00:00
terminx
951edcaa78
git-svn-id: https://svn.eduke32.com/eduke32@1032 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-25 23:48:00 +00:00
hnt_ts
8ce121a895
1. Small corrections to hash code.
...
2. Use hash for dynnames.
3. On crash EDuke32 throws info about CON code.
git-svn-id: https://svn.eduke32.com/eduke32@1031 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-25 20:25:49 +00:00
terminx
af0ad5fb0a
git-svn-id: https://svn.eduke32.com/eduke32@1030 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-25 10:43:24 +00:00
terminx
127bc3fe91
git-svn-id: https://svn.eduke32.com/eduke32@1029 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-25 10:27:18 +00:00
terminx
8fddaf82a3
git-svn-id: https://svn.eduke32.com/eduke32@1026 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-25 02:33:25 +00:00
terminx
352ace8bbc
Move hash table code into engine and use hash table for OSD symbol lookup
...
git-svn-id: https://svn.eduke32.com/eduke32@1025 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-25 02:12:02 +00:00
terminx
25adc68899
Patch from hunter_rus to use hash tables for CON compiling
...
This was sent to me broken, but after some investigation it looks like the only problem was in CON_STATE. This should speed up CON compilation speed about 500%or so.
git-svn-id: https://svn.eduke32.com/eduke32@1024 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-25 00:49:12 +00:00
terminx
553658aa67
git-svn-id: https://svn.eduke32.com/eduke32@1018 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-24 09:01:17 +00:00
terminx
60cce1f206
This breaks members with LABEL_HASPARM2 on them so it's reverted
...
git-svn-id: https://svn.eduke32.com/eduke32@1011 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-24 00:22:36 +00:00
terminx
37bce2588f
git-svn-id: https://svn.eduke32.com/eduke32@1010 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-23 23:37:01 +00:00
hnt_ts
0e3ee1289d
1. EDuke32 didn't load ART files from the mod_dir. Fixed via the "root" string in "game.c".
...
2. Saving mod_dir to CFG is a bad idea IMHO so I commented it out. When I tried to load the standard game, EDuke32 would use the last used mod_dir.
3. Fixed tsprites.
4. EDSuke32 doesn't throw errors after 4096-th error. Resets the counter in ResetGameVars.
5. Restored 999 revision. Member names are changed. Extra members can be commented out.
6. Added an option(-sloppycmd) to allow execting of bad commands. This option should be renamed to something else.
git-svn-id: https://svn.eduke32.com/eduke32@1007 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-23 15:37:30 +00:00
terminx
292672fdc7
git-svn-id: https://svn.eduke32.com/eduke32@1006 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-23 10:34:59 +00:00
terminx
9dbba623b8
New errors for when someone tries to use "define" to give something the same name as a gamevar
...
Some constantly used loops in the compiler have also been flipped around for faster execution. Seems to speed up CON compilation a little bit.
git-svn-id: https://svn.eduke32.com/eduke32@1004 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-23 07:32:15 +00:00
terminx
dcc6d730a6
Revert commit 999 by hnt_ts
...
Access to the tspr's owner in EVENT_ANIMATESPRITES is through the THISACTOR variable. The extra members of the sprite struct aren't represented in the tsprite CON implementation because they aren't referenced when rendering the sprite.
git-svn-id: https://svn.eduke32.com/eduke32@1002 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-23 01:21:17 +00:00
hnt_ts
73a9dbc80e
1. Improved access to tsprites. It even didn't have access to the owner member that points at the real sprite.
...
2. I don't know why the filler member(of the sprite/sector structure) was renamed in CONs but now it can be addressed by his real name as well.
git-svn-id: https://svn.eduke32.com/eduke32@999 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-22 16:31:03 +00:00
terminx
6def1b0a65
Use mod_dir for savegames
...
git-svn-id: https://svn.eduke32.com/eduke32@994 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-20 09:27:17 +00:00
terminx
b411c3b205
Force startup window to be displayed if the cfg wasn't saved with an EDuke32 build of matching BYTEVERSION_JF, and use a wrapper around kopen4load to access files from mod_dir first.
...
git-svn-id: https://svn.eduke32.com/eduke32@992 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-20 08:39:07 +00:00
terminx
28fedd72e8
Ignore r_downsize for textures with nocompress and some other minor crap
...
git-svn-id: https://svn.eduke32.com/eduke32@990 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-19 11:05:21 +00:00
terminx
1a39458bb5
minor changes
...
git-svn-id: https://svn.eduke32.com/eduke32@989 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-18 07:20:36 +00:00
terminx
da6b206673
Rename definegamename to setgamename and alter the "map" console command to show a listing of all available maps if no map name is given
...
git-svn-id: https://svn.eduke32.com/eduke32@987 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-17 11:07:28 +00:00
terminx
63e5850a86
CON_SETCFGNAME: sets the name of the cfg during CON compile if a cfg wasn't specified on the command line
...
git-svn-id: https://svn.eduke32.com/eduke32@986 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-17 09:57:36 +00:00
terminx
132db81381
Beginnings of support for selecting mods in the startup window... win32 only for now
...
git-svn-id: https://svn.eduke32.com/eduke32@984 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-17 09:01:31 +00:00
terminx
fa2b8cb9ec
git-svn-id: https://svn.eduke32.com/eduke32@981 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-16 11:30:43 +00:00
hnt_ts
36d1cbd995
Added a new CON command: setgamepalette <pal>
...
git-svn-id: https://svn.eduke32.com/eduke32@980 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-16 11:20:08 +00:00
terminx
2f14763197
git-svn-id: https://svn.eduke32.com/eduke32@979 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-16 11:04:51 +00:00
terminx
f0de675642
git-svn-id: https://svn.eduke32.com/eduke32@978 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-16 10:54:10 +00:00
terminx
4033b2b9c3
git-svn-id: https://svn.eduke32.com/eduke32@977 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-16 09:07:41 +00:00
terminx
4ad4350d48
Line numbering stuff... this still needs work
...
git-svn-id: https://svn.eduke32.com/eduke32@976 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-16 07:53:29 +00:00
hnt_ts
92b3e13d3d
Implemented another approach of storing of line numbers.
...
Good news: one can load old savegame.
Bad news: the code takes twice the space then before.
I had change it to this way because:
1.Opcodes could be interpreted as pointers.
2.Some CON command aren’t compiled in the code and cause problems too.
3.Ideal method would be converting pointers to offsets related to the script(as TerminX suggested). But it’s quite difficult to do and the next snapshot might be unstable(crashy).
git-svn-id: https://svn.eduke32.com/eduke32@975 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-14 17:18:16 +00:00
terminx
f79f6f803b
Use keyword names for CON error messages
...
git-svn-id: https://svn.eduke32.com/eduke32@967 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-11 10:17:18 +00:00
hnt_ts
d706c31766
Added an new CON command: activatecheat <cheatID>
...
git-svn-id: https://svn.eduke32.com/eduke32@964 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-10 16:28:25 +00:00
terminx
c2356cceb9
git-svn-id: https://svn.eduke32.com/eduke32@962 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-10 13:13:24 +00:00
hnt_ts
79e2616dfc
Renamed a CON command: getdate->gettimedate
...
git-svn-id: https://svn.eduke32.com/eduke32@958 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-10 08:58:34 +00:00
hnt_ts
5062ab8773
Added a CON command:
...
getdate <sec> <min> <hour> <mday> <mon> <year> <wday> <yday>
sec seconds after the minute
min minutes after the hour
hour hours since midnight
mday day of the month
mon months since January
year years since 1900
wday days since Sunday
yday days since January
git-svn-id: https://svn.eduke32.com/eduke32@955 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-09 19:59:41 +00:00
terminx
ff18979277
CON_ADDLOG and CON_ADDLOGVAR don't need to explicitly store the line number anymore
...
git-svn-id: https://svn.eduke32.com/eduke32@948 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-09 07:41:09 +00:00
terminx
b9895ca078
CON access to hittype[].flags, better crosshair coloring code
...
git-svn-id: https://svn.eduke32.com/eduke32@939 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-07 23:32:18 +00:00
terminx
a5f12d9f55
New alternate mini-hud
...
git-svn-id: https://svn.eduke32.com/eduke32@934 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-07 07:52:36 +00:00
terminx
b1a5b6be67
useless shit changes that aren't even worth looking at
...
git-svn-id: https://svn.eduke32.com/eduke32@926 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-31 10:35:23 +00:00
terminx
e344cf477e
git-svn-id: https://svn.eduke32.com/eduke32@920 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-30 01:00:40 +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
61d665e14d
git-svn-id: https://svn.eduke32.com/eduke32@910 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-27 11:35: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
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
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
86e70d3012
git-svn-id: https://svn.eduke32.com/eduke32@881 1a8010ca-5511-0410-912e-c29ae57300e0
2008-07-21 09:05:53 +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
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
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
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
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
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
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
71292bb5f1
git-svn-id: https://svn.eduke32.com/eduke32@825 1a8010ca-5511-0410-912e-c29ae57300e0
2008-06-30 18:33:04 +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
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
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
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
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
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
3844f1eb55
Part of a patch from Philipp Kutin (Helixhorned) plus MSVC build fix
...
git-svn-id: https://svn.eduke32.com/eduke32@726 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-15 03:16:38 +00:00
terminx
67e2466b0e
Patch from hunter_rus
...
git-svn-id: https://svn.eduke32.com/eduke32@723 1a8010ca-5511-0410-912e-c29ae57300e0
2008-05-10 01:29:37 +00:00
terminx
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
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
4e58984de5
git-svn-id: https://svn.eduke32.com/eduke32@693 1a8010ca-5511-0410-912e-c29ae57300e0
2008-04-05 04:18:48 +00:00