Christoph Oelckers
af2c836e54
- unused code cleanup.
2020-08-16 09:04:24 +02:00
Christoph Oelckers
af4464ba16
- remove all sound precaching code in SW
...
We're loading all sounds at game startup anyway so there's no point to do this.
2020-08-16 08:46:51 +02:00
Christoph Oelckers
ef78e8602a
- major cleanup and consolidation of the screen/hud resizing code.
...
This is now being handled by the backend, except for the processing of the key bindings which cannot be done yet.
2020-08-16 02:55:50 +02:00
Christoph Oelckers
5cf54033ed
- removed the demo code.
2020-08-15 22:31:44 +02:00
Christoph Oelckers
deb9b74ce2
- got rid of all remaining rotatesprite calls in SW.
...
Also removed some dead code from player.cpp.
2020-08-15 22:04:37 +02:00
Christoph Oelckers
67b3a38fa3
- draw all menu elements with DrawTexture instead of rotatesprite
2020-08-15 21:09:21 +02:00
Christoph Oelckers
5e81f88907
- replaced SW's stats display with the shared version.
2020-08-15 21:03:42 +02:00
Christoph Oelckers
910ca69484
- migrated all of SW's text display to the backend and removed the various redundant printing functions.
2020-08-15 20:29:13 +02:00
Christoph Oelckers
f0150569a4
- ported the load level screen and deleted some dead code in game.cpp
2020-08-15 16:41:08 +02:00
Christoph Oelckers
aa8113cf06
- ported the level summary screens. Not hooked up yet.
2020-08-15 15:29:47 +02:00
Christoph Oelckers
8595b9fa47
-play SW's intro through the screen job framework.
2020-08-15 13:04:15 +02:00
Christoph Oelckers
3f9cc1412c
- transitioning helper for screen jobs.
2020-08-15 10:55:21 +02:00
Christoph Oelckers
53cf248269
- added a few missing World Tour bits.
...
Looks like GDX missed the redefined new types of the old bosses.
Also guard the commentary sprites by a CVAR.
2020-08-15 10:25:30 +02:00
Christoph Oelckers
a690f44fc8
- use constexpr for translation utilities
2020-08-15 10:22:07 +02:00
Christoph Oelckers
c3ddde02b2
- use consistent types in FileReader's ReadInt* functions.
2020-08-15 07:33:21 +02:00
Christoph Oelckers
3d4177fbb2
- fixed return type of FileReader::ReadUInt64.
...
fixes #181 .
2020-08-14 23:56:31 +02:00
Christoph Oelckers
ff38cfe179
- open the in-game menu only when really inside a game and actually playing.
...
Fixes #182
This isn't foolproof but it's probably the best that can be done.
2020-08-14 22:41:32 +02:00
Christoph Oelckers
2403e8cb2c
- fixed RRRA summary screens.
2020-08-14 22:31:54 +02:00
Christoph Oelckers
37ea207d5a
- fixed another one of those stupidly badly designed iterator loops.
...
Fixes #176 .
2020-08-14 21:49:12 +02:00
Christoph Oelckers
52ddac21b0
- fixed RR's transition to its final map.
2020-08-14 21:30:09 +02:00
Christoph Oelckers
3455610031
- base palette cleanup.
...
Avoid passing this anywhere in the client code. It should only be set right before rendering the 3D view and the only code using the base palette should be the 3D renderer and hud_drawsprite.
Also make the palette override CVARs 3D view only in debug mode.
2020-08-14 21:18:14 +02:00
Christoph Oelckers
249c5b5734
- removed some dead code.
2020-08-14 21:12:32 +02:00
Christoph Oelckers
19635c7bdf
- render Blood's choking hands in the 3D view.
...
This may not be faithful but it looks a lot less buggy than placing these on top of the entire HUD.
2020-08-14 21:08:28 +02:00
Christoph Oelckers
66cb7f61a4
- fixed rendering on narrow screens with an aspect ratio less than 4:3 and removed some parts that are no longer needed.
2020-08-14 21:01:27 +02:00
Christoph Oelckers
a5d9886aa9
- cleaned up the remnants of the old statusbar code.
2020-08-14 00:56:34 +02:00
Christoph Oelckers
67c340b573
- ported the inventory bar.
...
Now the panel system is only used for displaying the weapons.
2020-08-14 00:38:27 +02:00
Christoph Oelckers
70b2215f4e
- ported the minibar HUD.
2020-08-13 22:37:58 +02:00
Christoph Oelckers
8c7b93ceef
- ported the compass.
2020-08-13 22:13:56 +02:00
Christoph Oelckers
9ccf717311
- ported the inventory display on the status bar.
2020-08-13 21:57:53 +02:00
Christoph Oelckers
eafaa56834
- armor and key display.
2020-08-13 21:14:01 +02:00
Christoph Oelckers
188b2d2daa
- ammo and weapon display ported.
2020-08-13 20:14:53 +02:00
Christoph Oelckers
b50bdb1ca1
- SW: started transition of the status bar.
2020-08-13 18:45:55 +02:00
Christoph Oelckers
dc653bbdc0
- thinning out some crap.
2020-08-13 18:19:44 +02:00
Christoph Oelckers
d7f8d1a5bf
- replaced the border drawing code in SW with Blood's.
2020-08-13 17:54:17 +02:00
Christoph Oelckers
0b6f299d0e
- removed the bot code.
...
This would become a refactoring hassle, maybe re-add it later?
2020-08-13 00:45:50 +02:00
Christoph Oelckers
4538068bcc
- more SW cleanup, removed two more files.
2020-08-13 00:04:55 +02:00
Christoph Oelckers
bb6972abb4
- SW: get rid of redundant common_game.h
2020-08-12 23:43:21 +02:00
Christoph Oelckers
9c40c2f6af
- don't draw screenblends when not in a 3D view.
...
Fixed #174 .
2020-08-12 22:52:41 +02:00
Christoph Oelckers
aef59ef523
- migrated SW cheats to the generic system, removed the more pointless of SWP's cheats and filled in a few blanks.
2020-08-12 22:24:51 +02:00
Christoph Oelckers
80d1b71899
- fixed sounds disappearing when the owning actor was deleted.
...
These sounds now get unlinked so that they can play out normally.
Fixes #119 .
2020-08-12 20:15:02 +02:00
Evan Ramos
81f85ee480
SW: Fix regression causing the last heat seeker to be a normal missile
...
It was caused by the fix for crashing when firing outside the map.
Also port said fix to the bunny rockets.
2020-08-12 19:16:25 +02:00
Christoph Oelckers
09a3567f14
- fix some more sloppiness with Blood's global game state.
...
Fixes #171 .
2020-08-12 19:11:16 +02:00
Christoph Oelckers
2dad86a304
- made some adjustments to DMessageBoxMenu to handle screens that must close the menu before performing their option.
...
Fixes #173 . The "End Game" menu option needs this.
2020-08-12 19:04:19 +02:00
Christoph Oelckers
2d545767ef
- completely clear all texture data when setting a frame size.
...
SMK tries to draw a texture from it before the first frame has been rendered. This ensures that it gets a fully black frame.
Fixes #167 .
2020-08-12 01:32:05 +02:00
Christoph Oelckers
05fbfa3f25
- Blood: When starting a new game, reset the global flag immediately.
...
Otherwise the game can get stuck in an endless loop when trying to set up a level.
Fixes 168.
2020-08-12 01:16:29 +02:00
Christoph Oelckers
57edd370a7
- fixed: When quitting the game, first clear the menu.
...
This is to ensure that the menu stack is empty.
Fixes 170
2020-08-12 01:15:03 +02:00
Christoph Oelckers
cbfa8abd34
- fixed some messed up conditionals in RR's switch code.
...
Fixes #166
2020-08-12 00:31:04 +02:00
Christoph Oelckers
83796e9eed
- changed map startup order to first play a cutscene before loading the level.
...
Something with the timers is screwing up here if a cutscene gets played - Blood's timer code is even worse than Duke's.
Fixes #151 .
2020-08-11 23:21:08 +02:00
Christoph Oelckers
4c01f1e073
- don't count chickens as kill.
...
Fixes #160 .
2020-08-11 21:42:41 +02:00
Christoph Oelckers
0686928ee8
- fixed transition to credits in blood.
...
Fixes #150 .
2020-08-11 20:26:50 +02:00