Commit graph

1276 commits

Author SHA1 Message Date
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
1ce5d73762 I need to stop changing shit when I'm tired
git-svn-id: https://svn.eduke32.com/eduke32@974 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-12 23:34:55 +00:00
terminx
c9b1da3653 git-svn-id: https://svn.eduke32.com/eduke32@973 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-12 22:38:50 +00:00
terminx
4ce41d5079 Enhancements to -cfg: now offers the option to import existing config settings from duke3d.cfg, and binds.cfg is now cfgname_binds.cfg so individual configs can have their own. This is good for mods that change some of the function names (like Duke Plus) because otherwise running EDuke32 on the same cfg without the mod activated will blow away the controls for functions that don't exist.
git-svn-id: https://svn.eduke32.com/eduke32@972 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-12 12:50:20 +00:00
plagman
68e7e307ae This hopefully corrects the bug where animation smoothing sometimes substitutes models with bags of shit.
git-svn-id: https://svn.eduke32.com/eduke32@971 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-12 06:13:10 +00:00
terminx
317cd92271 git-svn-id: https://svn.eduke32.com/eduke32@970 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-11 23:33:53 +00:00
terminx
e97bb94719 git-svn-id: https://svn.eduke32.com/eduke32@969 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-11 23:22:29 +00:00
terminx
fc1551af49 These changes got lost somehow
git-svn-id: https://svn.eduke32.com/eduke32@968 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-11 10:38:46 +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
0ef5551037 Added a new orientation bit for precise coordinates.
This is simmilar to the rotatesprite16 but it works for other drawing commands now.



git-svn-id: https://svn.eduke32.com/eduke32@966 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-11 09:31:49 +00:00
terminx
b8188a8fc3 git-svn-id: https://svn.eduke32.com/eduke32@965 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-11 09:10:52 +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
hnt_ts
dae0f54b9a Corrected some error checks: MAXSECTORS -> numsectors
git-svn-id: https://svn.eduke32.com/eduke32@963 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-10 13:39:11 +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
terminx
a55cc4479a git-svn-id: https://svn.eduke32.com/eduke32@961 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-10 13:07:07 +00:00
terminx
a71949ed8f More fixes
git-svn-id: https://svn.eduke32.com/eduke32@960 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-10 10:53:55 +00:00
terminx
cf4e3930d5 Fixes for dividing by the result of ldist without checking for 0 first
git-svn-id: https://svn.eduke32.com/eduke32@959 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-10 10:05:30 +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
terminx
87bdbcd9fe git-svn-id: https://svn.eduke32.com/eduke32@957 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-10 07:23:42 +00:00
terminx
4376dc796e git-svn-id: https://svn.eduke32.com/eduke32@956 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-09 22:02:57 +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
01182163a9 git-svn-id: https://svn.eduke32.com/eduke32@954 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-09 12:42:02 +00:00
terminx
846c7701d4 git-svn-id: https://svn.eduke32.com/eduke32@953 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-09 12:29:23 +00:00
terminx
18614505b1 Althud health and ammo numbers flash when value is low... I don't know if I like this yet or not
can be disabled with "hud_flashing 0"


git-svn-id: https://svn.eduke32.com/eduke32@952 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-09 11:19:27 +00:00
hnt_ts
ae32f428cd More CON error messages
git-svn-id: https://svn.eduke32.com/eduke32@951 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-09 10:43:27 +00:00
terminx
ca0987d715 git-svn-id: https://svn.eduke32.com/eduke32@950 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-09 10:42:16 +00:00
terminx
3f9daa6c44 git-svn-id: https://svn.eduke32.com/eduke32@949 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-09 10:16:18 +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
c366d0e9a5 git-svn-id: https://svn.eduke32.com/eduke32@947 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-09 06:08:24 +00:00
terminx
1e2678b892 I have no idea how this happened :p
git-svn-id: https://svn.eduke32.com/eduke32@946 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-09 05:24:40 +00:00
terminx
4755e2594d git-svn-id: https://svn.eduke32.com/eduke32@945 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-09 05:13:13 +00:00
terminx
bdd43da5c0 git-svn-id: https://svn.eduke32.com/eduke32@944 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-08 23:04:05 +00:00
terminx
2a090515e2 Apply crosshair RGB values to 8-bit crosshair tile instead of nearest color in the palette if we're using Polymost
git-svn-id: https://svn.eduke32.com/eduke32@943 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-08 05:56:20 +00:00
terminx
19ac7da999 git-svn-id: https://svn.eduke32.com/eduke32@942 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-08 05:03:56 +00:00
terminx
2030a42763 git-svn-id: https://svn.eduke32.com/eduke32@941 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-08 01:54:43 +00:00
terminx
31b05a433c git-svn-id: https://svn.eduke32.com/eduke32@940 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-08 00:32:16 +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
abc0aeb07c Crosshair color support... not done yet
git-svn-id: https://svn.eduke32.com/eduke32@938 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-07 13:23:08 +00:00
terminx
563f0d81ae git-svn-id: https://svn.eduke32.com/eduke32@937 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-07 11:45:28 +00:00
terminx
ddf53e9516 git-svn-id: https://svn.eduke32.com/eduke32@936 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-07 11:08:08 +00:00
terminx
8ac80b7249 git-svn-id: https://svn.eduke32.com/eduke32@935 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-07 10:48:21 +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
0caeecaf9a git-svn-id: https://svn.eduke32.com/eduke32@933 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-06 11:50:34 +00:00
terminx
524db3d755 fixes for a couple of issues
git-svn-id: https://svn.eduke32.com/eduke32@932 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-04 03:48:46 +00:00
terminx
9e647243fa git-svn-id: https://svn.eduke32.com/eduke32@931 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-03 12:49:25 +00:00
terminx
b8a3c94014 fix sync error
git-svn-id: https://svn.eduke32.com/eduke32@930 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-03 12:14:30 +00:00
terminx
900195a093 git-svn-id: https://svn.eduke32.com/eduke32@929 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-03 11:45:15 +00:00
hnt_ts
2dc6f66dca Added a DEF command: animtilerange <tile1> <tile2> <speed> <type>.
Note: it must be used with dummytiles.


git-svn-id: https://svn.eduke32.com/eduke32@928 1a8010ca-5511-0410-912e-c29ae57300e0
2008-08-02 13:00:41 +00:00
terminx
95297e60e9 git-svn-id: https://svn.eduke32.com/eduke32@927 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-01 12:34:18 +00:00