Commit graph

13016 commits

Author SHA1 Message Date
Christoph Oelckers
45905b9137 - handle_se05, 08, 10. 2020-11-01 08:51:13 +01:00
Christoph Oelckers
2edc7168ca - handle SE02-SE04. 2020-11-01 08:43:24 +01:00
Christoph Oelckers
3e62550489 - consolidated gutsdir functions by making the spawn offset for Duke's commander an actor property. 2020-11-01 08:23:03 +01:00
Christoph Oelckers
80aab4b5f7 - handle_se30. 2020-11-01 08:22:47 +01:00
Christoph Oelckers
a6468970c6 - renamed some variables. 2020-11-01 08:14:40 +01:00
Christoph Oelckers
2dd2ba1469 - handle_SE14 function signature and recordoldspritepos 2020-11-01 08:13:29 +01:00
Christoph Oelckers
d2b4cf6770 - reformatting 2020-11-01 08:03:07 +01:00
Christoph Oelckers
1b6161d472 - SE14 part 4 2020-11-01 08:00:43 +01:00
Christoph Oelckers
1cffc76c4e - SE14 part 3 2020-11-01 08:00:03 +01:00
Christoph Oelckers
92f95ea195 - SE14 part 2 2020-11-01 07:56:49 +01:00
Christoph Oelckers
e13b61f496 - SE14 part 1
Doing this in smaller chunks because this function requires quite extensive adjustments.
2020-11-01 07:51:50 +01:00
Christoph Oelckers
1ce2600a43 - SE 0 and 1 handlers. 2020-11-01 07:36:49 +01:00
Christoph Oelckers
a37cfe2913 - renamed variables in handle_se00. 2020-11-01 07:28:49 +01:00
Christoph Oelckers
e9d6fb2bb5 - jibs, bloodpool, shell, glasspieces and scrap. 2020-11-01 07:27:15 +01:00
Christoph Oelckers
6cbe74e115 - forcesphere, watersplash2, frameeffect and money. 2020-11-01 07:24:00 +01:00
Christoph Oelckers
6e1d3a025a - ooz, reactor and camera. 2020-11-01 07:23:27 +01:00
Christoph Oelckers
876b6d5081 - forcesphere and recon. 2020-11-01 07:20:17 +01:00
Christoph Oelckers
d0e12586ba - added a higher level interface tp clipmove that unmangles its return. 2020-11-01 07:16:44 +01:00
Christoph Oelckers
3d16d9f44a - respawnmarker, rat and queball. 2020-11-01 07:15:57 +01:00
Christoph Oelckers
6257ebc30c - bounce, movetongue and rpgexplode. 2020-11-01 07:11:49 +01:00
Christoph Oelckers
e001b3117f - movetouchplate, moveooz, movecanwithsomething.
# Conflicts:
#	source/games/duke/src/funct.h
2020-11-01 07:07:59 +01:00
Christoph Oelckers
b7f26c064d - 3 smaller functions. 2020-11-01 06:54:14 +01:00
Christoph Oelckers
422d9bfebd - text update. 2020-10-31 14:08:07 +01:00
Christoph Oelckers
91ebe9bcc2 - prepared everything for use of the string table.
# Conflicts:
#	wadsrc/static/language.csv
2020-10-31 14:08:07 +01:00
Christoph Oelckers
fd3303ab2b - set up the Witchaven specific controls and their menu entries.
Sorry, no text file yet.
2020-10-31 14:07:43 +01:00
Christoph Oelckers
7f921be824 - activated weapon code and reverted quick graphics test.
Weapons do not work yet, though.
2020-10-31 14:07:43 +01:00
Christoph Oelckers
e33c7d54ac - added the weapon drawer. 2020-10-31 14:07:43 +01:00
Christoph Oelckers
25a0ce51ba - route the input to the player.
Still very broken.
2020-10-31 14:07:42 +01:00
Christoph Oelckers
dc24dcadf5 - added input code.
Not tested yet!
2020-10-31 14:07:42 +01:00
Christoph Oelckers
725cacb8e8 - added a bit more of the GameInterface. 2020-10-31 14:07:42 +01:00
Christoph Oelckers
a31bc4be6b - added the needed parts to start the game from the menu.
Levels render, but gameplay has not been hooked up yet.
2020-10-31 14:07:42 +01:00
Christoph Oelckers
f09db4c943 - fixed issues with the skill menu. 2020-10-31 14:07:41 +01:00
Christoph Oelckers
629737bd72 - main 3D render function. 2020-10-31 14:07:41 +01:00
Christoph Oelckers
15eae9c4a2 - added native notify text positioning for Witchaven.
Nothing fancy here - just a single line of text in the top left - just offset a bit from the edge of the screen.
2020-10-31 14:07:41 +01:00
Christoph Oelckers
30e96293cf - implemented the game progression interface. 2020-10-31 14:07:40 +01:00
Christoph Oelckers
9952e6d2b0 - added 'dophysics'. 2020-10-31 14:07:40 +01:00
Christoph Oelckers
434e4479a1 - added the loading screen - although this will be disabled just like the other games for now. 2020-10-31 14:07:40 +01:00
Christoph Oelckers
abc61902bb - added the WH! victory sequence. 2020-10-31 14:07:40 +01:00
Christoph Oelckers
18e37577bc - ported the statistics screen. 2020-10-31 14:07:39 +01:00
Christoph Oelckers
0e051a9d96 - precaching for WH. 2020-10-31 14:07:39 +01:00
Christoph Oelckers
33f44c5627 - temporarily reinstated rotatesprite, for easier porting of the 2D code. This will have to be removed again afterward. 2020-10-31 14:07:39 +01:00
Christoph Oelckers
23c6f4434e - analyzesprites function. 2020-10-31 14:07:39 +01:00
Christoph Oelckers
5c22908dc2 - added the screen flash code, although I have no idea how to properly render this.
What's there is an extrapolation of how Exhumed handled a similar blend mode but this needs thorough testing to fine tune.
2020-10-31 14:07:38 +01:00
Christoph Oelckers
fca94d64ed - added savegame code. 2020-10-31 14:07:38 +01:00
Christoph Oelckers
453e273d0c - implemented the WH2 menu.
This is a rather liberal reinterpretation because the original assets are unusable (text as graphics with baked-in highlights) and the highlight graphics used by GDX are too ugly for serious consideration.
As a result this highlights the font like the first Witchaven, i.e. coloring it green.
2020-10-31 14:07:38 +01:00
Christoph Oelckers
0a03331400 - added a bit more code for the main loop. 2020-10-31 14:07:38 +01:00
Christoph Oelckers
82f23a4733 - implemented the sound system for Witchaven.
The sound system itself is as primitive as it can get, the main change was to link sounds to sprites and not just their coordinates.
2020-10-31 14:07:37 +01:00
Christoph Oelckers
c77a072628 - added all needed parts of Witchaven's native looking menu.
This isn't particularly faithful, though, neither with DOS nor GDX because both menus have UX issues.

Main menu items reflect what a modern engine needs, not what DOS had.
The hi-res menu background is not being used because it forces the entire menu into the upper left corner.
The original game had the difficulty only as a setting on the "gore" page and could not start the game from there. This has been changed to a more traditional skill menu.
The only other part that has been ported over is the help screens.
2020-10-31 14:06:12 +01:00
Christoph Oelckers
45d2fd95a9 - implementing the Witchaven menu.
Main menu is working, skill menu still to do.
2020-10-31 14:06:12 +01:00
Christoph Oelckers
6dfd36dba7 - draw the menu background. 2020-10-31 14:06:12 +01:00