Mitchell Richters
|
2e0b9490e1
|
- Change spritetypebase::angle to a DRotator named Angles .
* Major pre-requisite for the next steps I'm undertaking, let's get it into the branch now.
|
2022-12-11 18:41:52 +01:00 |
|
Christoph Oelckers
|
52e5e2f59a
|
- use a sepate file system filter for 'duke-like' games, i.e. Duke, NAM and WW2GI combined.
These 3 all require the same SNDINFO being loaded.
|
2022-12-11 18:41:52 +01:00 |
|
Christoph Oelckers
|
42e02d2956
|
- eliminated firstWall as well.
|
2022-11-15 15:44:33 +01:00 |
|
Christoph Oelckers
|
7d9a4ea70d
|
- eliminated wallsofsector.
|
2022-11-15 15:24:17 +01:00 |
|
Christoph Oelckers
|
84b17a8a53
|
- eliminate wall_count.
|
2022-11-15 14:59:28 +01:00 |
|
Christoph Oelckers
|
bfae5ce1bc
|
- use a TArrayView to store the wall references in a sector.
This is a lot more scripting friendly than hacking around the indices.
|
2022-11-15 14:53:39 +01:00 |
|
Christoph Oelckers
|
9a676ffba6
|
- use local variables for wall_index wherever possible.
|
2022-11-15 14:15:46 +01:00 |
|
Christoph Oelckers
|
34333302f9
|
- wrapped all reading wallptr references.
|
2022-11-15 12:37:14 +01:00 |
|
Christoph Oelckers
|
c23db8ea35
|
- wrapped all reads of sectortype::wallnum and renamed all other wallnum variables.
|
2022-11-15 12:21:21 +01:00 |
|
Christoph Oelckers
|
b7a7584059
|
- renamed wallnum and sectnum functions.
These were creating a lot of search noise because local variables had the same name.
|
2022-11-15 12:03:44 +01:00 |
|
Christoph Oelckers
|
0e113dab79
|
- added true level compatibility map processing and deleted all related map hack code.
|
2022-10-31 10:45:47 +01:00 |
|
Christoph Oelckers
|
3c6b64d621
|
- renamed everything back
|
2022-10-30 16:51:33 +01:00 |
|
Christoph Oelckers
|
81341ce4a6
|
- unwrapped SetScale as well.
Again no edits here - it's one big replace action.
|
2022-10-30 16:51:33 +01:00 |
|
Christoph Oelckers
|
91c318b708
|
- renamed most non-sprite xrepeat and yrepeat as refactpring aid.
These will be renamed back later but now they create too much search noise.
A few local variables have been permanently renamed to scale*.
|
2022-10-30 16:51:20 +01:00 |
|
Christoph Oelckers
|
adb3cb888e
|
- manual repeats in Blood.
|
2022-10-30 16:51:20 +01:00 |
|
Christoph Oelckers
|
4af4983d3e
|
- floatified clipdist and replaced fClipdist wrapper.
This uses a new variable because a few things use clipdist as a flag byte
|
2022-10-30 16:51:14 +01:00 |
|
Christoph Oelckers
|
6dd7fac902
|
- eliminated the sine table and moved tilehasmodelorvoxel to a different file to delete engine.cpp.
|
2022-10-22 12:17:04 +02:00 |
|
Christoph Oelckers
|
ac2a3c443f
|
- got rid of all deprecated updatesector variants.
This required a few changes in the map loader and render interface.
|
2022-10-22 12:17:02 +02:00 |
|
Christoph Oelckers
|
e4ca397898
|
- corrected sector check output in validateSprite.
|
2022-10-22 12:17:02 +02:00 |
|
Christoph Oelckers
|
335df86213
|
- output floating point coordinates in validateSprite
|
2022-10-22 12:17:00 +02:00 |
|
Christoph Oelckers
|
ece8663f5e
|
- floatified calcSlope and cleaned up the get*slope interface
|
2022-10-22 12:17:00 +02:00 |
|
Christoph Oelckers
|
0e1a566d62
|
- added mapangle function for converting angles from map data.
This is just a wrapper around DAngle::fromBuild, its purpose is to clearly highlight data that cannot be refactored and needs to be converted
|
2022-10-18 19:01:45 +02:00 |
|
Christoph Oelckers
|
1ba20c7dce
|
- wrapped most clipdist assignments
|
2022-10-17 17:03:53 +02:00 |
|
Christoph Oelckers
|
aa22e48036
|
- preparations for xvel wrapping.
Mainly providing alternative names for the spritetype members and redirecting all relevant access to those.
|
2022-10-14 23:02:11 +02:00 |
|
Christoph Oelckers
|
81fc066a5e
|
- use zvel's alias inittype where it's not being used for velocity.
|
2022-10-14 20:31:55 +02:00 |
|
Christoph Oelckers
|
6ce01e24d2
|
- renamed walltype::delta and walltype::center
|
2022-10-13 22:54:42 +02:00 |
|
Christoph Oelckers
|
d573ba4cad
|
- pass map start as DVector3
|
2022-10-13 00:59:01 +02:00 |
|
Christoph Oelckers
|
fe6fcdff1f
|
- use DAngle for actors
Note that intangle needs to be kept - primarily for SW's ST tags.
|
2022-10-05 00:36:29 +02:00 |
|
Christoph Oelckers
|
735b9a8fed
|
- renamed ang to __int_angle
|
2022-10-04 23:56:42 +02:00 |
|
Christoph Oelckers
|
a59a771209
|
- use floats for ceilingz/floorz storage.
|
2022-08-27 10:49:59 +02:00 |
|
Christoph Oelckers
|
47a594a96c
|
- renamed setPosFromLoad to setPosFromMap.
|
2022-08-27 10:03:31 +02:00 |
|
Christoph Oelckers
|
0672572e63
|
- renamed sectortype::floorz and ceilingz as preparation for floatification
|
2022-08-27 09:47:48 +02:00 |
|
Christoph Oelckers
|
1231f6025d
|
- handle the last remaining uses of __int_pos that can be done with the function interface.
|
2022-08-26 19:53:10 +02:00 |
|
Christoph Oelckers
|
dc94dedc6b
|
- renaming spritetype::pos
|
2022-08-26 19:53:10 +02:00 |
|
Christoph Oelckers
|
871f0c4ec6
|
- SW: first batch of spr.pos wraps.
|
2022-08-26 19:53:08 +02:00 |
|
Christoph Oelckers
|
ec66f39535
|
- replaced a few naked chars with better types.
|
2022-08-05 17:04:46 +02:00 |
|
Christoph Oelckers
|
9e6fe2cbaa
|
- added workaround to render the crane in WT's 'Docks' map correctly.
This one violates engine specifications by creating overlapping walls when the crane is rotated.
|
2022-06-26 09:36:01 +02:00 |
|
Christoph Oelckers
|
aab13addb7
|
-renamed spritetype’s owner field to ‚intowner‘
Mainly for easier searching.
Also remove the duplicate ‚detail‘ field.
|
2022-05-24 00:30:41 +02:00 |
|
Christoph Oelckers
|
de1cbb9ee0
|
- fixed validation issue with maps that have a wall with nextwall == -1 and nextsector > -1.
In this case the bogus nextsector was not reset.
|
2022-02-15 22:47:53 +01:00 |
|
Christoph Oelckers
|
cf17cffb26
|
- missed one place where wall coordinates are set from map loading.
|
2022-02-15 22:18:23 +01:00 |
|
Christoph Oelckers
|
bc0e8b4a8d
|
- use a method for setting wall coordinates when loading a map.
|
2022-02-15 22:18:23 +01:00 |
|
Christoph Oelckers
|
f44736a5b6
|
-use an access function for reading wall positions so that we have a non-modifiable value wherever this is possible.
|
2022-02-15 22:18:23 +01:00 |
|
Christoph Oelckers
|
89ef81da55
|
- renamed walltype::pos as preparation for refactoring.
no functional changes here
|
2022-02-15 22:18:22 +01:00 |
|
Christoph Oelckers
|
f98765ce95
|
- fixed handling of badly placed sprites in map validation code.
|
2022-01-29 12:33:11 +01:00 |
|
Christoph Oelckers
|
a13612ab9b
|
- Blood: allow bad start spots to pass for modern maps.
These can have alternative start spot definitions.
The error will still be printed, though.
|
2022-01-13 00:21:15 +01:00 |
|
Christoph Oelckers
|
03cad0fe3b
|
- consider slope sprites unavailable in map formats 5 and 6.
Exhumed has several sprites flagged with this combo - they all need to be treated as face sprites.
|
2022-01-04 17:18:25 +01:00 |
|
Christoph Oelckers
|
17de3a08e8
|
- deal with bad start sectors.
The engine will now try to find a proper sector in the map loader if there's a mismatch.
|
2022-01-01 10:39:59 +01:00 |
|
Christoph Oelckers
|
2bb7cecf27
|
- eliminated spritetype::clear.
Most uses were bad anyway, and the legitimate ones are just clearing the object.
|
2021-12-30 17:55:17 +01:00 |
|
Christoph Oelckers
|
5498699faf
|
- use DCoreActor::sector() wherever possible.
|
2021-12-30 16:51:56 +01:00 |
|
Christoph Oelckers
|
f0b7fe4add
|
- use setsector from DCoreActor.
Also did a bit of cleanup
|
2021-12-30 16:36:04 +01:00 |
|