Commit graph

146 commits

Author SHA1 Message Date
terminx
19c34b09ef dynamically allocated player structs
git-svn-id: https://svn.eduke32.com/eduke32@564 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-27 06:46:31 +00:00
terminx
a2f4bdb2c8 Wanna buy some crack?
git-svn-id: https://svn.eduke32.com/eduke32@563 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-27 00:20:15 +00:00
terminx
ad5c98d66f config file global variable rape
git-svn-id: https://svn.eduke32.com/eduke32@561 1a8010ca-5511-0410-912e-c29ae57300e0
2007-08-26 10:35:52 +00:00
terminx
b5a81483f2 git-svn-id: https://svn.eduke32.com/eduke32@559 1a8010ca-5511-0410-912e-c29ae57300e0 2007-08-25 01:05:00 +00:00
terminx
0b1f6f91a9 grp shit
git-svn-id: https://svn.eduke32.com/eduke32@552 1a8010ca-5511-0410-912e-c29ae57300e0
2007-07-04 09:15:08 +00:00
terminx
35afa5ff53 git-svn-id: https://svn.eduke32.com/eduke32@546 1a8010ca-5511-0410-912e-c29ae57300e0 2007-05-17 19:31:14 +00:00
terminx
b54b8e1e6b git-svn-id: https://svn.eduke32.com/eduke32@529 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-24 23:17:56 +00:00
terminx
8e86c02364 git-svn-id: https://svn.eduke32.com/eduke32@511 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-01 00:50:59 +00:00
terminx
33985f1650 This adds a menu option for network packet rate, and more conversion of passing things as char or short to passing things as int
git-svn-id: https://svn.eduke32.com/eduke32@509 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-28 09:12:41 +00:00
terminx
23dbb55689 Bug fixes
git-svn-id: https://svn.eduke32.com/eduke32@508 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-26 01:46:38 +00:00
terminx
0dfc03afa0 Fixes the skybox problem, the problem with the default keyboard configuration, and adds cl_viewbob and cl_weaponsway
git-svn-id: https://svn.eduke32.com/eduke32@506 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-23 22:27:22 +00:00
terminx
b48a0a933b git-svn-id: https://svn.eduke32.com/eduke32@498 1a8010ca-5511-0410-912e-c29ae57300e0 2007-02-15 01:45:38 +00:00
terminx
e1fed262d6 OOPS.
git-svn-id: https://svn.eduke32.com/eduke32@494 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-13 03:00:25 +00:00
terminx
4dcb01ae6e This removes the bullet spread from the pistol if the player is aiming directly at something aim() would target, allowing the special enhanced auto-aim for the pistol to be mimicked when auto-aim is disabled.
git-svn-id: https://svn.eduke32.com/eduke32@493 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-13 02:56:10 +00:00
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
90c4f271b2 git-svn-id: https://svn.eduke32.com/eduke32@482 1a8010ca-5511-0410-912e-c29ae57300e0 2007-02-05 01:33:08 +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
76c2340c83 Support for -game_dir similar to Duke3d_w32
git-svn-id: https://svn.eduke32.com/eduke32@465 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-22 02:35:54 +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
cb90dc8c83 This probably fixes something with projectiles
git-svn-id: https://svn.eduke32.com/eduke32@427 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-18 04:18:46 +00:00
terminx
a236be837c git-svn-id: https://svn.eduke32.com/eduke32@421 1a8010ca-5511-0410-912e-c29ae57300e0 2006-12-17 01:08:39 +00:00
terminx
ccb6ff7141 Minor fixes and a couple of improvements to the fake AI players
git-svn-id: https://svn.eduke32.com/eduke32@419 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-15 01:09:25 +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
6b7ef5cd75 More optimizations
git-svn-id: https://svn.eduke32.com/eduke32@397 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 04:17:26 +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
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
da317ac063 One less hack :o
git-svn-id: https://svn.eduke32.com/eduke32@370 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-30 09:22:54 +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
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
cbade0ca16 git-svn-id: https://svn.eduke32.com/eduke32@309 1a8010ca-5511-0410-912e-c29ae57300e0 2006-10-10 23:04:38 +00:00
terminx
ae3a91cc06 git-svn-id: https://svn.eduke32.com/eduke32@308 1a8010ca-5511-0410-912e-c29ae57300e0 2006-10-05 07:39:37 +00:00
terminx
6db5e70888 git-svn-id: https://svn.eduke32.com/eduke32@292 1a8010ca-5511-0410-912e-c29ae57300e0 2006-09-10 17:40:34 +00:00
terminx
c1bb2adb2c Fix an OOS problem with TDM. I want to punch whoever came up with sync based networking in the balls. :D
git-svn-id: https://svn.eduke32.com/eduke32@287 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-31 19:05:23 +00:00
terminx
b4ed27fa7d Somebody needed an 'ezshootvar'. These commands are getting ridiculous.
git-svn-id: https://svn.eduke32.com/eduke32@276 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-22 21:02:06 +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
20b89b70b3 More TDM stuff and a potential fix for a networking problem.
git-svn-id: https://svn.eduke32.com/eduke32@271 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-20 22:17:12 +00:00
terminx
c312a89e02 A couple more TDM things, including making the built in bots not attack players on the same team. However, this can leave them in a rather hilarious state in which they twitch in place in the middle of a room. It's almost as funny as watching them spin around kicking the walls.
git-svn-id: https://svn.eduke32.com/eduke32@270 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-19 01:30:40 +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
665a322312 Mapster32 crash fix and a couple of small projectile system changes
git-svn-id: https://svn.eduke32.com/eduke32@252 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-30 01:48:52 +00:00
terminx
1bab48f5be Cleaning out the tree
git-svn-id: https://svn.eduke32.com/eduke32@185 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-30 06:14:25 +00:00
terminx
5859c681e3 La la la
git-svn-id: https://svn.eduke32.com/eduke32@184 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-25 04:27:33 +00:00
terminx
119f878dc6 git-svn-id: https://svn.eduke32.com/eduke32@176 1a8010ca-5511-0410-912e-c29ae57300e0 2006-05-21 00:28:59 +00:00
terminx
51ba738aa0 I guess this is right
git-svn-id: https://svn.eduke32.com/eduke32@175 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-21 00:05:50 +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
c6e003ee9b Input changes from JonoF
git-svn-id: https://svn.eduke32.com/eduke32@171 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-17 03:13:39 +00:00
terminx
85452ab0d5 More weapon system changes
git-svn-id: https://svn.eduke32.com/eduke32@170 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-16 02:37:37 +00:00
terminx
ac14852079 Rework findnearactor3d/findnearsprite3d/findnearactor3dvar/findnearsprite3dvar and add a findnearactorz/findnearspritez/findnearactorzvar/findnearspritezvar. This breaks the previous syntax of all of the "3d" variants.
git-svn-id: https://svn.eduke32.com/eduke32@169 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-16 01:48:33 +00:00
terminx
bfa46aa711 More weapon changes + don't apply ratio correction to HUD models (because people are whiners)
git-svn-id: https://svn.eduke32.com/eduke32@168 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-14 21:15:55 +00:00
terminx
ac622add66 my tree of souls is melting
git-svn-id: https://svn.eduke32.com/eduke32@167 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-14 09:28:18 +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
4e704d39dc Change version to 1.4.0 beta 1, add draft of new ChangeLog and the nsi script used for creating the installer
git-svn-id: https://svn.eduke32.com/eduke32@160 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-11 07:17:40 +00:00
terminx
9b45f1ba55 Some sound fixes and a cl_smoothinput cvar to allow people to disable the lastinfo.dyaw and lastinfo.dz stuff in getinput()
git-svn-id: https://svn.eduke32.com/eduke32@159 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-10 21:00:56 +00:00
terminx
a8abb5e046 Blar
git-svn-id: https://svn.eduke32.com/eduke32@158 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-09 23:55:42 +00:00
terminx
e1fcaa3d40 Mouse input filtering and some player name length fixes
git-svn-id: https://svn.eduke32.com/eduke32@157 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-09 04:24:44 +00:00
terminx
414d486de5 Add a display for the name of the player you're aiming at and make the death messages into quotes so they can be redefined in the CONs
git-svn-id: https://svn.eduke32.com/eduke32@152 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-05 22:39:34 +00:00
terminx
d6530ed294 Add support for color codes to gametext_() and in various places in supporting code and increase quote length to 128
git-svn-id: https://svn.eduke32.com/eduke32@151 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-05 07:10:36 +00:00
terminx
c26cc6fad6 More death messages. Apparently, I think I'm funny. :p
git-svn-id: https://svn.eduke32.com/eduke32@149 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-04 23:51:11 +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
834d2c9a9b Add a message into the chat buffer whenever a player is killed, as well as define some dummy names for the fake AI players
git-svn-id: https://svn.eduke32.com/eduke32@146 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-03 04:49:54 +00:00
terminx
2f99dd111b Increase vertical aiming precision
git-svn-id: https://svn.eduke32.com/eduke32@142 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-02 21:36:09 +00:00
terminx
111c923844 Revert some of the aim changes as well as add the start of support for loading Duke3d_w32 network configuration files. The wrapper application reformats a Duke3d_w32 command line sent from Dukester X into something EDuke32 can work with.
Still left to be done: sort IPs (they aren't in the same order on all machines in Rancidmeat config files) and construct a proper string of network parameters for Ken's netcode.


git-svn-id: https://svn.eduke32.com/eduke32@130 1a8010ca-5511-0410-912e-c29ae57300e0
2006-05-01 05:03:44 +00:00
terminx
7d8048482a Peer-to-peer multiplayer with > 2 players now works, some other minor changes
git-svn-id: https://svn.eduke32.com/eduke32@129 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-30 21:14:12 +00:00
terminx
aa042016b7 Better mouse movement
git-svn-id: https://svn.eduke32.com/eduke32@127 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-30 00:40:41 +00:00
terminx
05844d093d git-svn-id: https://svn.eduke32.com/eduke32@125 1a8010ca-5511-0410-912e-c29ae57300e0 2006-04-29 12:54:25 +00:00
terminx
0d9f8199cd Don't perform a switch back to the last full weapon when switching to an empty weapon if the player happened to pick up ammo for the weapon during the time it took to ready it.
git-svn-id: https://svn.eduke32.com/eduke32@124 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-29 06:45:46 +00:00
terminx
76af69d72d Mouse aim fixes
git-svn-id: https://svn.eduke32.com/eduke32@123 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-29 06:06:30 +00:00
terminx
7567925e87 Fix a few issues reported by aaBlueDragon
git-svn-id: https://svn.eduke32.com/eduke32@122 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-29 02:23:07 +00:00
terminx
a1db735f69 Improved error checking for savegames
git-svn-id: https://svn.eduke32.com/eduke32@120 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-28 00:46:09 +00:00
terminx
e316013c1d *yawn*
git-svn-id: https://svn.eduke32.com/eduke32@117 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-26 17:48:43 +00:00
terminx
0aa8fffdf7 Added CON_DEFINEGAMEFUNCNAME to allow the end user to redefine the strings used on the keyboard setup screen and in the cfg, several small fixes, and a modernization of the default controls.
git-svn-id: https://svn.eduke32.com/eduke32@110 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-25 01:56:24 +00:00
terminx
fe5671e812 Fix a couple of tiny leaks and a couple of minor issues I noticed last night in multiplayer
git-svn-id: https://svn.eduke32.com/eduke32@108 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-24 18:52:29 +00:00
terminx
8d6f8eecda Made fta_quotes dynamically allocated at compile time
git-svn-id: https://svn.eduke32.com/eduke32@92 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-23 02:20:42 +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
0df6714942 More multiplayer text chat tweaks, a new cfg option to control the length of time (in tics) that the chat messages are displayed, a new macro configuration menu, and some cvar renaming
git-svn-id: https://svn.eduke32.com/eduke32@88 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-22 06:10:28 +00:00
terminx
73eb097921 Fixed a couple of bugs and made the show opponent weapon option a bit less hard coded for modders
git-svn-id: https://svn.eduke32.com/eduke32@72 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-19 21:00:41 +00:00
terminx
3d4ac88590 This is better
git-svn-id: https://svn.eduke32.com/eduke32@59 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 19:23:53 +00:00
terminx
d8aa1a588f More whitespace... I really need to remember to run "astyle" /before/ committing
git-svn-id: https://svn.eduke32.com/eduke32@50 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 02:02:52 +00:00
terminx
257b446320 Tweaked the weapon system to act a bit more like vanilla Duke for great gameplay accuracy and not caring if your mod breaks ;)
git-svn-id: https://svn.eduke32.com/eduke32@46 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-18 00:24:24 +00:00
terminx
9e711bc90c Fixed a long-standing animation bug with quick kick that was pissing me off and removed a bunch of debugging crap/comments that haven't been used in 5 years and were only obfuscating the code
git-svn-id: https://svn.eduke32.com/eduke32@45 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-17 23:36:02 +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
22abcdef79 Made the "Duke Talk" and "HUD weapon" menu options into 3 way toggles, Duke Talk now toggles between off, local player sounds and all player sounds, and HUD weapon display now toggles between full weapon drawing, weapon icon drawing and no weapon drawing.
git-svn-id: https://svn.eduke32.com/eduke32@22 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 22:34:44 +00:00
terminx
cdb4c63e1f Whitespace
git-svn-id: https://svn.eduke32.com/eduke32@19 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 18:40:10 +00:00
terminx
13d3cfaffa Modified shoot() to have an extra parameter for the projectile tilenum and added an option to disable autoaim on RPG type projectiles. Also added "advanced options" to the "video settings" menu.
git-svn-id: https://svn.eduke32.com/eduke32@18 1a8010ca-5511-0410-912e-c29ae57300e0
2006-04-15 08:05:02 +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