Commit Graph

215 Commits

Author SHA1 Message Date
Marco Cawthorne e503b8b7d9 Menu: Adjusted some minor text spacing in the custom game install dialog 2020-09-06 09:10:28 +02:00
Marco Cawthorne ac68be9f67 Menu: Add ability to set custom readme filenames inside the manifests. 2020-09-06 08:52:10 +02:00
Marco Cawthorne 58d420861f Menu: Integrated package manager functions into the Custom game menu. Mods and so on will now be installed remotely from there. 2020-09-06 08:37:36 +02:00
Marco Cawthorne b60fd3a6b5 Menu: Fixed crash in CUpdateList when the list starts becoming scollable 2020-09-05 06:19:39 +02:00
Marco Cawthorne 50ccbf4b9a Add func_tank, func_tankmortar and generally faff about with input code. 2020-09-04 21:28:06 +02:00
Marco Cawthorne 97a651fc58 Menu: Make sure CScrollbar has a minimum height of 20px for the... what's that thing called? The thing that slides. Whatever 2020-09-01 20:11:22 +02:00
Marco Cawthorne 870b9e5923 Menu: Added 'Advanced controls' submenu to 'Controls' 2020-09-01 00:46:16 +02:00
Marco Cawthorne 1d111506ea Menu: Improve the scrollbar by making the bar variable height. 2020-08-31 04:36:09 +02:00
Marco Cawthorne 85d7dc98e2 Menu: Fixed scrollbar not showing, using a wrong max-item value for reference 2020-08-16 01:31:49 +02:00
Marco Cawthorne 19b565b202 Menu: Cleaned up gamma hack. 2020-08-09 00:53:18 +02:00
Marco Cawthorne 36a80aea38 Menu: Added brightness hack. This is to avoid Half-Life cfg's from turning the screen white because of different interpretations of cvar values. 2020-08-08 17:37:25 +02:00
Marco Cawthorne 17f3333bd3 Menu: Allow setting of the default chatroom to join. 2020-08-06 23:26:51 +02:00
Marco Cawthorne effc455b04 Menu: Rearranged and relabeled some buttons in the Update menu. Added ability to double-click entries to stage files for install/removal for improved UX. 2020-07-30 09:54:46 +02:00
Marco Cawthorne 9d58f78548 Menu: Move version info down so it doesn't hide some images in certain menus. 2020-07-25 00:50:51 +02:00
Marco Cawthorne d286fac6cc Menu: Add build date information. 2020-07-11 20:59:45 +02:00
Marco Cawthorne 1fca666a5f Menu: Fix memory leak that'll when preparing some TCP streams. Fix a name display issue in the IRC log. 2020-07-11 15:55:03 +02:00
Marco Cawthorne 8d1270a5d1 Menu: Make the CTextBox widget recognize K_KP_ENTER 2020-07-09 22:03:35 +02:00
Marco Cawthorne de9ec013af Menu: Add 'Content control' configuration page. This sets the violence_ variables and whatnot. 2020-07-09 21:17:13 +02:00
Marco Cawthorne 7eee535e39 Menu: Added readme menu page, allow inserting of text that'll get wrapped
automatically. Mods can have their own readme.txt files parsed too now.
2020-07-09 20:00:16 +02:00
Marco Cawthorne f54826986f Half-Life: Fix WEAPON_TRIPMINE spawning in multiplayer. 2020-07-06 19:30:19 +02:00
Marco Cawthorne c033f5d88e Menu: Fix warning by casting explicitly. 2020-07-01 08:31:16 +02:00
Marco Cawthorne a0ba14d5de Menu: Ignore K_ESCAPE in CTextBox's input 2020-06-30 19:10:59 +02:00
Marco Cawthorne 419ee9ae8d Menu: Fix chat message passing to CSQC 2020-06-30 18:41:00 +02:00
Marco Cawthorne 7365dd27e6 Menu: Close cached TCP socket and fix timeout dialog 2020-06-30 18:08:31 +02:00
Marco Cawthorne 081d541e9e Menu: IRC based Chat is now completely implemented using QuakeC. It already works quite well but will need a lot more testing! 2020-06-30 17:14:06 +02:00
Marco Cawthorne d8f9c545a6 Initial commit of the TCP helper backend that we'll need for the next-gen chat 2020-06-30 13:07:54 +02:00
Marco Cawthorne c709117209 Switch to using spriteframe() for HUD sprites in valve, scihunt 2020-05-31 12:54:04 +02:00
Marco Cawthorne 828a41eff8 Fix new compiler warnings. 2020-05-30 23:08:11 +02:00
Marco Cawthorne fcb99ad427 Add support for func_breakable its spawnobject key. 2020-05-30 14:57:01 +02:00
Marco Cawthorne 7c1921ae05 Opposing Force: Added stubs for the upcoming CTF logic. 2020-04-28 06:11:44 +02:00
Marco Cawthorne 922b6f4c55 Added sub-directory makefile to ease the building of specific games/mods. 2020-04-21 00:30:54 +02:00
Marco Cawthorne 2cee375ce5 Lots of commits bundled into one:
- Added GamePMove_Fall and GamePMove_Jump for controlling either.
- Tweaked maxspeed for Counter-Strike heavily.
- Worked on the Counter-Strike WEAPON_KNIFE (fully functional!).
- Worked on the Counter-Strike WEAPON_AWP (mainly zoom).
- The WEAPON_C4 in Counter-Strike will no longer unfreeze you during warmup
- Added cl_showtriggers for displaying brush-based triggers.
- Removed muzzleflash dynamic light, as it seems GoldSrc doesn't have any.
- Fixed bug in which the server-list would run into an infinite loop error.
- Fixed weapon pricing in Counter-Strike.
- To rescue hostages means to earn $$$
2020-04-20 06:45:14 +02:00
Marco Cawthorne 142e6c9cf3 Possible memalloc corruption mititagions. 2020-04-12 19:40:09 +02:00
Marco Cawthorne 9e8c779c74 Menu: Added a basic Load-Game menu. 2020-04-12 18:45:02 +02:00
Marco Cawthorne 324fadd668 Spring cleaning. Prepare for summer! Fixed lots of bugs too:
v_camroll is now working again.
Counter-Strike is finally getting somewhere again.
Counter-Strike has pseudo spray-patterns now! They're all the same.
func_button now can be programmed to use Sound-Shaders.
The menu handles the vid_conautoscale command autonomously. Set r_autoscale
to 0 if you don't like it.
The menu has an updater, requires a not-yet-pushed build of FTE.
Don't use it yet.
Moved a lot of globals into pSeat's structs to fix splitscreen with them.
Made explosion decals be handled client-side!
Added trigger_look, env_sun and light_environment entities.
2020-04-12 15:50:42 +02:00
Marco Cawthorne b992dd472d Menu: Fixed dumping path. 2020-04-08 09:12:22 +02:00
Marco Cawthorne c6f40c2590 Moved shared Nuclide data into its own folder. 2020-04-08 08:01:52 +02:00
Marco Cawthorne b2ef0db018 Fix misc warnings. 2020-04-07 15:02:36 +02:00
Marco Cawthorne f43bc2cf32 update copyright dates because I've been forgetting all year. 2020-04-07 14:46:23 +02:00
Marco Cawthorne cf136dbd6c Cstrike: Finished most of the essential gun logic. 2020-04-07 02:47:21 +02:00
Marco Cawthorne 1f0e93d35a Precaching CS weapon sounds via sound-shaders... 2020-04-06 10:53:26 +02:00
Marco Cawthorne 5e936559ea Menu now can scan for non .bmp sprays. 2020-04-04 00:18:05 +02:00
Marco Cawthorne ab1338bab6 Moved the music-switching logic into the menu, for good reasons. 2020-04-03 15:01:55 +02:00
Marco Cawthorne 7f2f32efb1 Menu/Manifests: Allow games to execute commands for the button reserved
for training. Gunman uses this to play a Smacker/Bink video file.
2020-04-03 14:09:17 +02:00
Marco Cawthorne 5ba72a224c Menu: Filter through the gameinfo defined types to clean up the mess
other people like to put in it.
2020-04-03 13:36:42 +02:00
Marco Cawthorne 4f44d96be9 Pulled over Sound-Shader code from TW. We'll use this soon over hard-coded
sounds.
2020-04-02 22:43:37 +02:00
Marco Cawthorne 5dde0fb486 Menu: Switch to the new manifest based mod/game info stuff 2020-04-01 12:27:45 +02:00
Marco Cawthorne cf13c4faf4 Menu: Make the scrollbar not appear with too few entries. 2020-04-01 12:24:07 +02:00
Marco Cawthorne c813e49b56 Menu: Lots of work done, like switching player models, sprays -
IRC chat, custom game installs and listings.
2020-04-01 01:08:01 +02:00
Marco Cawthorne b8621deea5 Menu: Customgame count fixed, stop-music after changing mods 2020-03-30 23:48:13 +02:00
Marco Cawthorne a1ea45a682 Menu: Polished the scrollbar code. 2020-03-30 23:29:33 +02:00
Marco Cawthorne 576547f249 Menu: Added some fancy menu guff, enjoy it while it lasts 2020-03-30 14:46:55 +02:00
Marco Cawthorne d20c3f1db3 Menu: Set the difficulty in the New Game menu 2020-03-26 08:24:27 +01:00
Marco Cawthorne cdb1bbddfd Menu: Fix a crash when we've got no entries or are out of bounds 2020-03-26 07:04:32 +01:00
Marco Cawthorne 80d06e7dcd Cleaned up warnings. 2020-03-25 17:42:36 +01:00
Marco Cawthorne 4bdefa4cd7 Big commit, list of additions:
Added stubs for a variety of monsters for 'valve' which a few mods inherit.
Added support for the 'vote' and 'callvote' command.
Made env_laser network some info to the clients, kinda rough because
we're working around some engine iffyness with CSQC ents right now.
Updated the menu so that the server-lists for Internet and LAN games are
a bit more helpful.
Made the CBaseMonster class for useful for the future.
Fixed setting of transparency for all entities.
2020-03-25 13:58:19 +01:00
Marco Cawthorne a9e2a37f51 Controls menu now sorta works half-way. We still need to parse defaults. 2020-03-24 16:25:22 +01:00
Marco Cawthorne f1190cd282 Fixed compiling against the latest entity-codebase 2020-03-24 07:26:49 +01:00
Marco Cawthorne c5b0e0146f Some fixes to get FreeHL to compile without TW. 2019-11-09 02:09:17 +01:00
Marco Cawthorne 8985a8f373 Added ammo culling for Half-Life 2019-09-15 23:55:18 +02:00
Marco Cawthorne 27707e37b6 Move things from the root src/ dir into the src/shared folder, as that
makes the most sense.
2019-09-07 05:50:44 +02:00
Marco Cawthorne 5aa167d4af Added graphical obituaries for HL/SH.
The way the weapon is chosen is not yet final. I'm just tired and don't
feel like engineering the damage stuff right now.
2019-09-04 18:11:55 +02:00
Marco Cawthorne d577f378e2 Menu: Error checking for strings.lst parsing, as some mods (The Ship) can't
do access out-of-bounds string indices.
2019-09-03 10:41:13 +02:00
Marco Cawthorne e23dc04d26 Menu: Stop mod print spamming for now. It's solid as it is. 2019-09-02 15:53:13 +02:00
Marco Cawthorne b604077d0b Renamed /Source to /src 2019-09-01 04:35:37 +02:00