1. Torr_Samaho
  2. skulltag

Source

skulltag / src / sc_man.h

The default branch has multiple heads

Author Commit Message Date Builds
Torr_Samaho
Ported changes from ZDoom revision 1420-1425 and maintenance changes from GZDoom revision 301: - Stopped sending double the number of wheel events as appropriate to the console under Linux. - Added middle mouse button selection pasting for X systems. - Changed I_InitInput() to acquire the IDirectInput8A interface by using DirectInput8Create() instead of CoCreateInstance(). This allows the Steam GameOverlayRenderer.dll to properly hook it. - Moved the V_InitFontColors() call earlier in the startup sequence so that colored error messages appear colored in the startup window. Also lightened up the "Flat" red to contrast better with the startup background. - Added MF5_CANTSEEK flag to prevent seeker missiles from homing in on certain actors and added an option to APowerInvisibility to set this… SVN r2028 (latestzdoom)
Torr_Samaho
Ported changes from ZDoom revision 1370-1401 and maintenance changes from GZDoom revision 297: - Decal changes as per Xaser's suggestions: Smaller decal for PhoenixFX2, CrossbowFX2 and MaceFX4 were missing decals, and HornRodFX2 gets a whole new decal. - Fixed: bfgscrc2.png had some holes in the middle that did not look so good. (From previously being handled through WinTex, maybe?) - Fixed: Some OPL state needs to be restored before calculating rhythm. Also, since only the rhythm section uses the RNG, it doesn't need to be advanced for the normal voice processing. - More GCC warning removal, the most egregious of which was the potential vulnerability "format not a string literal and no format arguments". - Added APROP_Dropped actor property. - Fixed: The compatmode CVAR needs CVAR_NOINITC… SVN r2026 (latestzdoom)
Torr_Samaho
Ported changes from ZDoom revision 1334-1355 and maintenance changes from GZDoom revision 282-293: - Made several DECORATE errors which do not involve parsing non-fatal. - Added a static error counter to FScriptPosition class. - Changed initialization of actor class type properties: fuglyname is gone as is the postprocessing in FinishThingdef. Instead an empty placeholder class is now created when a class is first referenced and this placeholder is later filled in. - Added option to replace backslash with '^' in state frame definitions because the backslash is just causing too many problems because it's also an escape character. - disabled debug messages. - Fixed: FMOD calls for setting the water reverb must check the return code for errors. - Fixed: Hexen's dual attack weapons must check … SVN r2024 (latestzdoom)
Torr_Samaho
Ported changes from ZDoom revision 1303-1314 and maintenance changes from GZDoom revision 251-260: - Restored the multiplayer scoreboard's former centering so that it doesn't look awful on widescreen intermissions. Also changed the column widths to be font-dependant rather than fixed proportions of the screen width. - Fixed horizontal positioning of 'finished' on the Raven games when scaled. - Fixed: G_DoPlayDemo did not free the demobuffer or the CVAR backups when it failed to start the demo. - Added a MF5_BRIGHT flag to always render an actor fullbright. - Fixed: Calling Door_Animated with a non-zero tag created a new thinker for each two-sided line of the sector. - Added Karate Chris's submission for making 'spray' a cheat. - Added CO2's default parameter additions for several Doom code… SVN r1977 (latestzdoom)
Torr_Samaho
Ported changes from ZDoom revision 1253-1283 and maintenance changes from GZDoom revision 187-196: - Finally has the right idea how to restore Doom's original clipping of projectiles against decorations without breaking anything newer: Added a new 'projectilepassheight' property that defines an alternative height that is only used when checking a projectile's movement against this actor. If the value is positive it is used regardless of other settings, if it is negative, its absolute will be used if a new compatibility option is enabled and if it is 0 the normal height will be used. - State parser fixes. - added dumpstates CCMD for debugging. - Fixed: Cheats in demos must not access the weapon slots. - Fixed: S_ChannelEnded didn't check for a NULL SfxInfo. - Fixed: R_InitTables did a typec… SVN r1974 (latestzdoom)
Torr_Samaho
Ported changes from ZDoom revision 1230-1252 and maintenance changes from GZDoom revision 181-186: - Changed: Replaced weapons should not be given by generic cheats, only when explicitly giving them. - Changed 'give weapon' cheat so that in single player it only gives weapons belonging to the current game or are placed in a weapon slot to avoid giving the Chex Quest weapons in Doom and vice versa. - Fixed: The texture manager must be the first thing to be initialized because MAPINFO and DECORATE both can reference textures and letting them create their own textures is not safe. - Fixed: src/CMakeLists.txt was broken for 32-bit MinGW Makefiles builds. - Apparently, YASM is not a suitable substitute for NASM when doing Win32 builds. - Removed extraneous printf parameter for Texman.Init start… Note: I also ported a more recent change to p_states.cpp. Without it, this revision would have been extremely unstable. SVN r1973 (latestzdoom)
Torr_Samaho
Warning: Insane amount of changes ahead. IMHO Graf cramped way too many changes in the *single* GZDoom revision this commit is based on. So I was forced to put all his changes and the necessary changes to Skulltag (which are also a lot) into a single commit. Ported changes from ZDoom revision 1110-1146 and maintenance changes from GZDoom revision 151: - Removed DECORATE's ParseClass because it was only used to add data to fully internal actor classes which no longer exist. - Changed the state structure so that the Tics value doesn't need to be hacked into misc1 with SF_BIGTIC anymore. - Changed sprite processing so that sprite names are converted to i…
Torr_Samaho
Ported changes from ZDoom revision 978-994 / GZDoom revision 110: - Fixed coordinate checks for objects on 3DMidtex lines. - Fixed: When FTextureManager::CheckForTexture finds a matching NULL texture it should always return 0, not the actual texture's index. - May 18, 2008 (SBarInfo Update #20) - Added: hasweaponpiece command to check for custom weapon pieces. - Added: usessecondaryammo command to check if the current weapon has a second ammo type. - Most of SBarInfo's mugshot scripting can be used with the default Doom status bar. - Fixed: By default drawmugshot would never come out of normal god mode state. In addition the state change to and from god mode was not quite as responsive as the original code. - Replaced all instances of "flags +=" in sbarinfo_parser.cpp with "flags |… SVN r1373 (latestzdoom)
Torr_Samaho
Added a TODO list, currently only mentioning all the stuff that needs to be fixed because of the changes in this revision. Ported changes from ZDoom revision 872-910 / GZDoom revision 86-92: - Added support for dumping from RAW/DRO/IMF files, so now anything that can be played as OPL can also be dumped. - Removed the opl_enable cvar, since OPL playback is now selectable as just another MIDI device. - Added support for DRO playback and dual-chip RAW playback. - Removed MUS support from OPLMUSSong, since using the OPLMI…
Torr_Samaho
Ported changes from ZDoom revision 863-872 / GZDoom revision 82-85: - Changed the output of the OPL emulator from 32-bit integers to 32-bit floats, so I can write its output directly to the stream buffer. In addition, this lets me bring the OPL volume level much closer to the standard MIDI volume. - Moved sound sample rate, buffer size, and buffer count to the advanced sound options menu. Removed opl_enable from the menu. - Added OPL synth as MIDI device -3. Since this is based on the MUS player code, it only supports those events and controllers supported by MUS. Some of Duke's MIDIs sound awful, but I think that may be more because it's using different instruments... There's a thread in the MIDI streamer class that could be taken out for Linux, since it doesn't need to deal with the Wind… SVN r1305 (latestzdoom)
Torr_Samaho
Due to the extensive changes in ZDoom's sound code, I had to remove Skulltag's COMPATF_ORIGINALSOUNDCURVE handling. Ported changes from ZDoom revision 808-862 / GZDoom revision 62-81: - Fixed: FreshThinkers's max. index is MAX_STATNUM so the code shouldn't to access FreshThinkers[MAX_STATNUM+1]. - VC++ doesn't seem to like the TArray serializer so I added a workaround to be able to save the 3dMidtex attachment info. - Fixed: The TArray serializer needs to be declared as a friend of TArray in order to be able to…
Torr_Samaho
Upgraded the GZDoom renderer to 1.1.00. Ported changes from ZDoom revision 710-748: - Updated lempar.c to v1.31. - Added .txt files to the list of types (wad, zip, and pk3) that can be loaded without listing them after -file. - Fonts that are created by the ACS setfont command to wrap a texture now support animated textures. - FON2 fonts can now use their full palette for CR_UNTRANSLATED when drawn with the hardware 2D path instead of being restricted to the game palette. - Fixed: Toggling vid_vsync would reset the displayed fullscreen gamma to 1 on a Radeon 9000. - Added back the off-by-one palette handling, but in a much more limited scope than before. The skipped entry is assumed to always be at 248, and it is assumed that all Shader Model 1.4 cards suffer from this. That's because all … SVN r1254 (latestzdoom)
Torr_Samaho
Ported changes from ZDoom revision 538: - Split thingdef.cpp into several files so that the state and property code no longer gets in the way of the main parser. - Changed A_MissileAttack, A_MeleeAttack and A_ComboAttack so that they use metadata. Now all the hack code associated with these functions can be removed. SVN r827 (trunk)
Torr_Samaho
Ported changes from ZDoom revision 537: - Fixed: deadthings.txt contained a superfluous ';' which created parsing errors with my changed code. - Cleaned up DECORATE parser a little - moved the old style parsing code into its own file and rearranged a few things. - Made ProcessStates non-static so that it doesn't need to be passed as an argument to all functions in the DECORATE parser. - Moved DECORATE parser files into their own subdirectory. - Optimization: SC_GetToken no longer sets sc_name for identifiers. In most cases this creates needless overhead by adding a potentially unneeded name to the name table and looking up the name. In almost all cases where a name is needed it's as easy to assign sc_String to the name variable. - Added enum definitions to DECORATE. SVN r826 (trunk)
Torr_Samaho
Unified Skulltag's ML_BLOCKPLAYERS and ZDoom's ML_BLOCK_PLAYERS Ported changes from ZDoom revision 530-536: - Added a compatibility option to restore the original behavior of the Invisibility powerup. - Changed: Weapons are no longer checked for the EXTREMEDEATH and NOEXTREMEDEATH flags. For all damage related actions it will always be the projectile (or puff for hitscan attacks) that is treated as the damage inflictor. - Fixed: Hexen's fourth weapons made extreme death depend on the weapon the player is holding, not the projectile that did the kill. The WIF_EXTREME_DEATH flag no longer exists as a result. - Expanded PowerSpeed so that subclasses can be derived that alter the speed factor. - Added an MF5_USESPECIAL flag that allows using things to execute their specials. - added MF4_FORCER… SVN r817 (trunk)
Torr_Samaho
Ported changes from ZDoom revision 427-437: - Converted the Communicator to DECORATE. - Separated all armor related code from a_pickups.cpp into a_armor.cpp. - Fixed all the warnings from GCC 4.2, including a handful that were present in older GCCs. - Fixed: APlayerPawn::GiveDefaultInventory() used two different variables both named item. - Fixed: Several actors for Doom were missing their spawn ID. - Fixed: The ANIMATED parser must read the bytes for the speed as unsigned bytes. - Fixed: The screen wipe must be disabled for Heretic's underwater ending. If not, the wipe will try to mix pictures with different palettes. - Added customizable border textures. They will be defined with the MAPINFO keyword 'bordertexture' and are settable per map. - Fixed: When used in DECORATE A_Explode must u… SVN r745 (trunk)
Torr_Samaho
Ported changes from ZDoom revision 403: - Finished the framework for specifying all action functions externally, including restricting them to particular classes. SVN r736 (trunk)
Torr_Samaho
Ported changes from ZDoom revision 394-401: - Started adding action function declarations to objects. - Added integer constant declarations to objects. - Added some new token-based functions to sc_man.cpp that know about keywords and record proper type information, so parsers don't need to treat everything as strings. - Added a simple symbol table to PClass. - Fixed: The StrifePlayer couldn't obtain his default inventory because APlayerPawn::GiveDefaultInventory gave him some HexenArmor even though he doesn't need it. - Added custom blood type properties to DECORATE. - made some minor changes to the code in preparation for custom blood types. - Added damage type specific crash states. - Added global constants to DECORATE so that I can define meaningful flag names for some DECORATE function… SVN r735 (trunk)
Torr_Samaho
Upgraded the GZDoom renderer to 1.0.25, also needed to update some ZDoom things for this. SVN r726 (trunk)
Torr_Samaho
set svn:eol-style to native SVN r180 (trunk)
Torr_Samaho
Updated more files to include the changes contained in GZDoom 1.0.22. Not all changes are included though, I didn't touch the state stuff yet. SVN r142 (trunk)
Torr_Samaho
original Skulltag 0.97c2 source from Carnevil except: - cleaned from all absolute paths and temporary files - some makefile.mgw replaced by the ones from ZDoom 2.1.7 SVN r3 (trunk)
Tags
0.97c2