terminx
e96c05767e
This changes the pistol's autoaim back to how it was in the DOS version of Duke3D. I suspect this behavior was changed during NAM or WW2GI development and just never noticed until now.
...
git-svn-id: https://svn.eduke32.com/eduke32@485 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-11 00:49:03 +00:00
terminx
fd4dfeb6a5
Update the headers of all source files, add CON_SHOWVIEW based on a patch from CONAN, other minor fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@484 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-08 04:19:39 +00:00
terminx
50d1a03dbc
Move screenshot code to getpackets() to allow screenshots in the menu and in cutscenes and add some snd_ cvars and a restartsound console command.
...
git-svn-id: https://svn.eduke32.com/eduke32@472 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 05:16:10 +00:00
terminx
50559c7a32
Re-done player setup menu, support for 4 teams in multiplayer, and separate menu options for weapon switch on pickup and weapon switch when empty. The string with __DATE__ and __TIME__ in it (which is used in the first line of the log file) was moved to global.c so that we're no longer forcing game.c to be recompiled every time something else is changed.
...
git-svn-id: https://svn.eduke32.com/eduke32@471 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 00:28:44 +00:00
terminx
f628faefd8
Misc. fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@469 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-24 03:42:54 +00:00
terminx
d2566913bb
git-svn-id: https://svn.eduke32.com/eduke32@437 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-23 02:38:47 +00:00
terminx
8d6eef5b0f
More tiny optimizations I guess
...
git-svn-id: https://svn.eduke32.com/eduke32@433 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-21 09:33:26 +00:00
terminx
bc4139356a
Prefer passing things between functions as int rather than short or char to avoid the overhead of converting back and forth between formats
...
git-svn-id: https://svn.eduke32.com/eduke32@432 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-20 03:27:25 +00:00
terminx
d93dde5a59
Optimize some of the frequently used CON commands that have nasty overhead
...
git-svn-id: https://svn.eduke32.com/eduke32@428 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-18 08:37:12 +00:00
terminx
15c080e73c
Oops, I forgot to leave a space for the terminating character for the string here
...
git-svn-id: https://svn.eduke32.com/eduke32@426 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-18 04:18:29 +00:00
terminx
aaa84f3574
Stuff, and things.
...
git-svn-id: https://svn.eduke32.com/eduke32@423 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-17 21:20:35 +00:00
terminx
35ea2d7ad1
Make sure map filenames always get slashes prepended to them, to make sure getlevelfromfilename() doesn't fail
...
git-svn-id: https://svn.eduke32.com/eduke32@412 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-12 07:25:01 +00:00
terminx
3509a4dc8c
Fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@404 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 21:18:21 +00:00
terminx
c4147db020
Blah blah blah
...
git-svn-id: https://svn.eduke32.com/eduke32@400 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 21:53:33 +00:00
terminx
169e0c824b
Give most of the gamevar stuff its own object
...
git-svn-id: https://svn.eduke32.com/eduke32@398 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 06:49:01 +00:00
terminx
0bd5f4a9e5
Uhh.. yeah
...
git-svn-id: https://svn.eduke32.com/eduke32@395 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 03:15:56 +00:00
terminx
d48c66b7ad
I guess this is an optimization as well
...
git-svn-id: https://svn.eduke32.com/eduke32@394 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 01:52:35 +00:00
terminx
15ee3431f9
Check to see if the user map filename matches a defined level name and warp to that level instead of opening it as a user map
...
git-svn-id: https://svn.eduke32.com/eduke32@392 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-09 23:41:43 +00:00
terminx
c45445f8aa
Null pointer checks for music filenames
...
git-svn-id: https://svn.eduke32.com/eduke32@389 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-06 23:14:49 +00:00
terminx
c8abb8384d
Happy fun memory usage optimization
...
git-svn-id: https://svn.eduke32.com/eduke32@385 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-05 21:22:19 +00:00
terminx
44e9f75e48
I suppose it's probably a good idea not to crash when someone tries telling the game to warp to an undefined map
...
git-svn-id: https://svn.eduke32.com/eduke32@382 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-04 22:22:07 +00:00
terminx
57042cd9a7
This raises the max number of levels per episode to 32 and alters the game to use dynamically allocated memory for level and music names and filenames. No null pointer checks yet.
...
git-svn-id: https://svn.eduke32.com/eduke32@381 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-04 22:05:30 +00:00
terminx
fb06419c82
updatesectorz() -> updatesector()
...
I now have a clue about updatesectorz() breaking things. :o
git-svn-id: https://svn.eduke32.com/eduke32@376 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-02 06:00:49 +00:00
terminx
36f69beeb6
This should fix a bug with ifgotweaponce where the game had a rare chance of crashing and burning in cooperative
...
git-svn-id: https://svn.eduke32.com/eduke32@375 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-01 22:34:32 +00:00
terminx
f71b2cd2d9
updatesector() -> updatesectorz()
...
I have no clue if this breaks anything.
git-svn-id: https://svn.eduke32.com/eduke32@372 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-30 23:53:44 +00:00
terminx
5dda5b1660
Rename some functions and separate the player's weapon choice back out into its own packet, because we don't need to send it with player updates from the menu.
...
git-svn-id: https://svn.eduke32.com/eduke32@371 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-30 23:37:47 +00:00
terminx
69505e1cc2
git-svn-id: https://svn.eduke32.com/eduke32@369 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-30 06:54:01 +00:00
terminx
4f17d1299b
Lag meter and a couple of MP fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@368 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-30 04:36:20 +00:00
terminx
79f6c600d5
Multiplayer fixes. This solves the crash on map change issue.
...
git-svn-id: https://svn.eduke32.com/eduke32@367 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-30 02:09:51 +00:00
terminx
270d573af3
Hmm..
...
git-svn-id: https://svn.eduke32.com/eduke32@365 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-29 10:30:25 +00:00
terminx
8727166e24
I wish I knew why this doesn't work
...
git-svn-id: https://svn.eduke32.com/eduke32@363 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-28 16:23:37 +00:00
terminx
715bc289e8
Fix "array subscript has type 'char'" warnings
...
git-svn-id: https://svn.eduke32.com/eduke32@352 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-19 08:24:46 +00:00
terminx
bbbccb7b11
Hopefully the last of the formatting changes + sound support for Linux. Previous commit also fixes the mouse cursor grab issue.
...
git-svn-id: https://svn.eduke32.com/eduke32@337 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-16 03:02:42 +00:00
terminx
628ef41cc4
An additional crapload of formatting changes
...
git-svn-id: https://svn.eduke32.com/eduke32@335 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-15 01:16:55 +00:00
terminx
38e3d16aeb
More formatting changes
...
git-svn-id: https://svn.eduke32.com/eduke32@333 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-14 21:35:50 +00:00
terminx
37dea75dc6
Formatting change
...
git-svn-id: https://svn.eduke32.com/eduke32@331 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-13 23:12:47 +00:00
terminx
f80b65cfb3
CON access to getincangle(), and usage of myconnectindex for EVENT_GETMENUTILE and EVENT_GETLOADTILE. This lets us force menu options to certain values while the player is in the menu via setuserdef.
...
git-svn-id: https://svn.eduke32.com/eduke32@329 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-06 22:14:27 +00:00
terminx
28e6c029ce
Move the window title setting code to the beginning of enterlevel(), so that it updates before the loading screen is displayed rather than after
...
git-svn-id: https://svn.eduke32.com/eduke32@319 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-19 17:16:35 +00:00
terminx
eac09688bc
Nothing important
...
git-svn-id: https://svn.eduke32.com/eduke32@317 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-19 00:45:36 +00:00
terminx
784dfe8aa7
Blah blah blah
...
git-svn-id: https://svn.eduke32.com/eduke32@299 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-24 04:44:54 +00:00
terminx
f369ba745c
The bits2 member of the input struct has been renamed to extbits, and a proper fix for the strange OOS issues has been implemented.
...
git-svn-id: https://svn.eduke32.com/eduke32@275 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-22 05:38:59 +00:00
terminx
daa3b7b7a7
Fix for a crash when using rancidmeat network config files, fix for the "vote succeeded" message that's supposed to display when a multiplayer map vote passes, and a fix for an issue with the new game menu that I noticed when I accidentally used 1.4/1.5 CON files with the shareware GRP.
...
git-svn-id: https://svn.eduke32.com/eduke32@274 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-21 21:00:54 +00:00
terminx
827eb34b95
Fix for a problem with the automatic color selection setting for player color and add some additional informational text to the screen when someone has called a vote.
...
git-svn-id: https://svn.eduke32.com/eduke32@273 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-21 07:43:45 +00:00
terminx
511a6517cb
I guess I'll use palette 21 for the red team instead of palette 10, though palette 10 does look better with the original sprites.
...
git-svn-id: https://svn.eduke32.com/eduke32@272 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-21 06:57:39 +00:00
terminx
a7bad3d852
Team DukeMatch support
...
git-svn-id: https://svn.eduke32.com/eduke32@268 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-18 23:52:26 +00:00
terminx
e0bccd9709
Add 'buildlic.txt' to source and binary distributions.
...
git-svn-id: https://svn.eduke32.com/eduke32@263 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-14 20:36:30 +00:00
terminx
897bfa7a0e
Fix building with USE_OPENGL = 0 and POLYMOST = 0
...
git-svn-id: https://svn.eduke32.com/eduke32@259 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-07 19:57:53 +00:00
terminx
42b4208d1e
New startup window from JonoF + some other stuff
...
This was not at all pleasant to merge, and problems should be expected. ;)
git-svn-id: https://svn.eduke32.com/eduke32@194 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-01 01:40:18 +00:00
terminx
e73e8a9b9f
Might as well make this a bit more proper
...
git-svn-id: https://svn.eduke32.com/eduke32@181 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-22 07:25:21 +00:00
terminx
76eb4ada1d
Fix skill sounds when using JAudiolib instead of JFAud
...
git-svn-id: https://svn.eduke32.com/eduke32@179 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-22 01:05:56 +00:00
terminx
c173d310ff
Change ratio correction to always assume a ratio of 1.2. I like this better than how it worked before. Plagman, what say you?
...
git-svn-id: https://svn.eduke32.com/eduke32@172 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-20 14:31:24 +00:00
terminx
cc750739ca
Weapon system changes... added an extra flag to the weapons and reworked portions of the system in order to more correctly emulate Duke 1.5
...
git-svn-id: https://svn.eduke32.com/eduke32@166 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-14 09:16:25 +00:00
terminx
1230ad3914
Per-weapon player death messages, an option to disable the exit button in maps, and voting on map changes
...
git-svn-id: https://svn.eduke32.com/eduke32@147 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-04 03:14:49 +00:00
terminx
d4ffa1f689
Player color selection fix
...
git-svn-id: https://svn.eduke32.com/eduke32@144 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-03 01:42:37 +00:00
terminx
301a6eefd5
Mouse smoothing changes to winlayer that I forgot to commit earlier & a little optional status bar hack for 16 and 32 bit modes that someone requested
...
git-svn-id: https://svn.eduke32.com/eduke32@128 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-30 01:39:58 +00:00
terminx
9d147dcfaa
Allow disabling level load text from within EVENT_GETLOADTILE
...
git-svn-id: https://svn.eduke32.com/eduke32@119 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-27 21:19:54 +00:00
terminx
7563c7ec1f
Fixes
...
git-svn-id: https://svn.eduke32.com/eduke32@101 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-23 08:23:40 +00:00
terminx
2455734c76
Cleanups
...
git-svn-id: https://svn.eduke32.com/eduke32@91 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-22 22:33:52 +00:00
terminx
f47d670028
Mommy, am I going to hell for using goto? :(
...
git-svn-id: https://svn.eduke32.com/eduke32@58 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 17:34:47 +00:00
terminx
5aa9e74e61
Yay for me
...
git-svn-id: https://svn.eduke32.com/eduke32@57 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 16:47:29 +00:00
terminx
5fcd240827
More player setup stuff; the "map" color was changed to "auto" and the mechanism which determines player colors on map load was modified to avoid choosing colors that other players have manually specified
...
git-svn-id: https://svn.eduke32.com/eduke32@56 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 16:30:15 +00:00
terminx
93c14a6984
Player color customization & mid-game name/color updates for multi
...
git-svn-id: https://svn.eduke32.com/eduke32@53 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 06:01:16 +00:00
terminx
b11595ad2e
Brightskins tweak, more whitespace
...
git-svn-id: https://svn.eduke32.com/eduke32@29 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-16 03:42:36 +00:00
terminx
f296ec24e5
Misc changes
...
git-svn-id: https://svn.eduke32.com/eduke32@11 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 03:12:08 +00:00
Plagman
09f0c239b6
Importing source for great justice
...
git-svn-id: https://svn.eduke32.com/eduke32@5 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-13 20:47:06 +00:00
Plagman
c9e58ed4e5
Removed file/folder
...
git-svn-id: https://svn.eduke32.com/eduke32@3 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-13 20:43:19 +00:00
Plagman
d7c9b7db00
git-svn-id: https://svn.eduke32.com/eduke32@2 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-13 20:34:38 +00:00