From: Jaka K. <lyn...@us...> - 2012-11-20 22:20:07
|
gemrb: Infinity Engine emulator The annotated tag v0.7.2 has been created at 9e47e7d1466352234e41a7f38ac81d4efb3654bd (tag) tagging 4ef88105831777ad04855b54c461abbf46c4785b (commit) replaces v0.7.1 tagged by Jaka Kranjc on Tue Nov 20 23:16:09 2012 +0100 - Log ----------------------------------------------------------------- GemRB 0.7.2 Adam Miartus (1): shortcircuit some bad attacks in attackcore already Alyssa Milburn (9): GSUtils: replace missing dialog script objects with Myself GSUtils: Skip dialog interruption checks if target==speaker. GSUtils: remove outdated commented-out code Game: Remove the last ValidTarget check from SelectPCSingle. Store: Check whether buying/selling from/to stores is allowed. OpenAL: Stop music thread before shutting down OpenAL. BIKPlayer: Don't crash if audio can't play. cmake: explicitly link core to libdl instead (see 1430f824) targetting fixes Avenger (90): fixed Illusionist strref implemented ToBEx flags (for effect damage): bypass mirror image, ignore difficulty don't break frozen/stone if damage is not positive fix stacked flag which interfered with TakePartyItemNum (for example cespenar bug) Merge branch 'master' of ssh://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb implemented VVC_HEIGHT flag fixed the hold projectile but probably broke something on the way class specific bio strrefs for bg1 Merge branch 'master' of ssh://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb HasSpell returns spell index (-1 equals no spell) check int only on difficulty > normal int check is default for fx_learn_spell Merge branch 'master' of ssh://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb improved gamepause learn spells even when game state is paused implemented confusion actions (not perfect, but better than nothing) fixed Confusion attack update action bar when a disable button effect becomes inactive (reenable hide in shadows after a failure) no item immunity based on school/sectype? moved UpdateAnimationID into Actor (so it could be used in pcf) fixed previous commit fixed item effect resistances - check if book of infinite spells is broken fixed book of infinite spells fixed attacking in confusion fixed a deprecation warning fix a possible crasher when moving actors (EscapeAreaMove) between areas neutrals are not enemy of anyone (fixes phaere casting silence on githyanki) remove persistence after a finished area transition - so actors will be saved again in the area missed file made imprisonment and maze use the derived stat not the base stat (should fix freedom) added a helper method - MovementCommand move familiars with the party implemented PRO_CLASS / CLASS tokens fx 0xdb - Selective AC Bonus is also granting saving throws improved lockpicking sounds use the other item cursed string (comes with the pretty sound) Merge branch 'master' of ssh://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb implemented generic effects (SpellFocus and SpellResistance) implemented SpellFocus/SpellResistance opcodes timing mode in ApplyEffect fixed crasher by previous commit implemented spell focus feats off by one debug print restricted some object filters to party only to maintain compatibility - fixes self attacking beholders Merge branch 'master' of ssh://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb escapearea should always succeed, even if there is no exit fixed portrait change opcode previous commit was wrong fixed cespenar (destroyitem isn't listed as an instant, but it should be) load chase/actsleep action flag tables for future use fixed previous commit don't error out if chase/actsleep don't exist something for the SpellTarget object - might even work added an assertion - lets hope it never crashes :) Merge branch 'master' of ssh://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb implemented FS_ and FA_ prefixes in iwd2 clab Merge branch 'master' of ssh://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb defrost / freezing death fix fix bill opening door in ar0200 ensure names are zero terminated fixed sticky imoen small fx improves different button rendering order - clock depends on it Merge branch 'master' of ssh://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb fixed sedjinni (ar9708) in HoW, possible breakage in other scripts parse silly spawn ini lines (for example initial area rule of three zombie) update animation ID of PC's when it should be changed (girdle of gender) fixed compile warning display the cursed string if the item is cursed fix for Berserk BERSERKSTAGE2 = attack anyone on sight swapped anyone with enemy (in berserk) fixed compilation warning fix compilation error added ValidTarget guiscript interface changed berserk to 50% attacking neutrals/allies fixed equipping weapons while wielding cursed weapons (no longer possible) add dplayer3 to protagonist when creating game fixed APR display - almost fixed 1/4 -> 1/2 in APR display use APR of GetCombatDetails synced PST guirec fixed iwd2 apr always display the race of the selected character fix for machine of lum, may break dialogs elsewhere fixed a couple of effect bugs fixed CLASS token fixed double textscreen and not playing textscreen in chapter 2 in bg2 Merge branch 'master' of ssh://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb Brad Allred (93): Font: remove some garbage. No idea what this was, but it wasn't being used. TTF: fix palette leak. Font: remove redundant initialization. Xcode: fix SDLVideo.so not being copied to application bundle after build. Multitouch: fix triggering a mouse up event after scrolling the viewport and prevent very unlikely crash when focusCtrl is NULL. Font: use named index for whiteSpace Video: let BlitSprite take an optional palette that will allow us to override the sprite palette when blitting. Font: simplify fonts by using the sprite array instead of flattening it into a single sprite map and maintaining size entries for blitting. Video: remove now unused BlitSpriteRegion() BAMFontManager: use an animation factory to get the font. BAMImporter: remove now unused GetFont() method. Merge branch 'font' Font: remove unused variable 'enablecap' TTF: begin process of eliminating SDL_ttf dependency by initializing and destroying freetype ourselves. TTF: add function to translate FT error codes into messages and log them. BAM Font: BAMFontManager creates the font now. easiest fix ever. fixes tooltip palette problem. Font: fix drop-caps pushing down instead of scrolling off-screen. Font: fix improperly calculated text width. i accidentally was calculating width using the width for the fonts character instead of the width of the cap font character. SDLVideo: simpler, more efficient GetScreenshot Font: fix slight miscalculation in the number of characters we can fix in a row following a capped row. Interface: rename Quit() to ExitGemRB() to alleviate confusion between terminating the program and "quitting" a game. Interface: implement AskAndExit() which will display the window with "save", "quit", and "cancel" options. Interface: check QuitFlag for QF_KILL instead of relying on SwapBuffers() to return an "error" Video: remove unused Quit() method TTF: use freetype library directly to create our sprite fonts. Update build settings for TTFImporter cmake: fix building on a mac when there is a space in the path. Font: consolidate logic for checking initials==this Font: fix leaking our whitespace glyphs and use SetPalette(NULL) to be safer about releasing the palette. Font: for safety reasons, if a glyph is NULL reassign it to our BLANK glyph instead. Merge branch 'TTF' Merge branch 'master' of ssh://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb TTF: fix the Freetype error list define uint8_t so this compiles on platforms/compilers that dont define it natively. TTF: remove an unused variable. GameControl: make DrawArrowMarker take a color argument. GameControl: implement directional arrow for indicating offscreen position of characters when their portrait is hovered. Merge branch 'master' of ssh://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb GameControl: if you want a colored arrow pass a flag! Add a MessageWindowLogger class Logging: add a method to remove loggers Add a MessageWindowLogger class Add a GUIScript command to add/remove a MessageWindowLogger TextArea: prevent recursion when using a MessageWindowLogger Merge branch 'MessageWindowLogger' Font: fix printing text labels. Logger: add ability to set a log level such that we can filter messages on a per-logger basis. Add documentation for GUIScript command "GemRB.MessageWindowDebug" Logger: use LogInternal for forced messages. Docs: forgot to document logger values for disabling message window logger. DialogHandler: only clear SF_DISABLEMOUSE and SF_LOCKSCROLL if cutscene mode is not active. Merge branch 'master' of ssh://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb DialogHandler: apparently InCutSceneMode checks more than i thought. Xcode: add missing project files. Font: change signature of Print to take a pointer to a clip rect so that the default print method can pass NULL. MessageWindowLogger: dynamically calculate the length of the format sting. convert log level to a string for conveniently passing integer based levels. Tooltips: center the tooltip background instead of always anchoring the left edge to the left "curl". Tooltips: fix some minor miscalculations. Interface: un-pop the console before presenting the nice exit window. Logger: remove this unwanted and unused function. ChapterText: internalize the tick calculation to TextArea. SDL2: implement SDL soft keyboard API and remove obsolete proprietary code. SDL2: better SetFullscreenMode(). TextArea: calling Font::Print now expects us to pass our own clipping rect if we want one since it can no longer assume one or it breaks overhead text. Font: fix initials_rows calculation. BAM fonts: hack around original data flaws BAM fonts: re-factor the "states" hack to work with non-english Labels expect font alignment, not button alignment GUIOPT BG1/IWD2: remove unused variables. Begin merging GUIOPT by using BG2/GUIOPT as a base Merge IWD1 GUIOPT into master IWD2 GUIOPT: use shared GUIOPTControls module Enhance behavior of the "Nice Exit" Font: consistant alignment padding Button: reduce number of calculations / complexity of the image coordinates StatusIcons: add a separate label for the top row of flags StatusIcons: bottom align status icons for all games StatusIcons: refactor icon printing Button: constrain status icons to the portrait image bounds. Fonts: normalize all font types to the same baseline Merge branch 'master' of ssh://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb Xcode: update project and remove pkg Xcode: make ios lib/include dir a variable TouchInput: fix case where there are simultaneous firstFingerDown events StatusIcon fixes SDL2Video: fix type error causing squished video SDL2Video: use SDLs new "logical" render size API SDL2Video: remove now useless variables. CocoaWrapper: log the contents of the document folder. SDL20Video: ensure that the keyboard swipe event cannot cause a console pop in the same event Android touches now emulate mouse events in SDL Edheldil (2): Fix auto-conversion of Button and Label case Let user specify encoding in GemRB.cfg Jaka Kranjc (208): Release.txt: use a variable, so the instruction are easier to c/p start the 0.7.1-git cycle removed obsolete section, use --author="name <email>" for non-git patches made ValidTarget take an optional Scriptable, so the GA_NO_HIDDEN check moved shared code to IsInvisibleTo and fixed a silly crash on the way Release.txt: added gembot info only remove invisibility for non-instant casting simplified caster level logic in CastSpell*End always check the caster level fallback in CastSpell*End removed the ea check from IsInvisibleTo as it is no longer needed renamed SetTarget to FaceTarget to reflect what it really does AreaType/IsExtendedNight/AreaFlag/AreaRestDisabled: dont crash when the map also play selection sounds when selecting via the keyboard also whine when selected via the portrait window renamed Actor::SelectActor to reflect what it really does made GetShieldItemType and GetArmorItemType invalid slot safe SeeCore: ignore invisibles guirec: fixed a few bg1 resistance strings guirec: fixed bg1 and iwd fire resistance strref cmake: don't propagate alignment warnings to errors and produce more with clang play the "initial meeting" vc when talking for the first time AreaCheck: avoid an odd ios crash GetLastActor does not guarantee a valid actor return fixed a comment typo bg1/iwd: fixed bad lookup when checking if there are free prof slots left LUCommon: fixed a few bugs preventing levelup at edges of available data take the boni into consideration when checking skill assignment limits GemRB_RemoveSpell: clear pyerr buffer, so we don't print wrong parsing errors only bg1 actors start active by default moved the StartActive flag to the right section fixed crash from two commits ago gemrb.ini: sorted all game flags synced gemrb.inis so they all contain all the settable game flags ups, it's bg2 that has active actors gemrb_ini.txt: sorted gemrb_ini.txt: documented the rest of the options gemrb_ini.txt: unified the parameter type for booleans gemrb_ini.txt: added note about variables that may be interesting to players Inventory::EquipBestWeapon: don't change the weapon if a cursed weapon is equipped guiscripts: externalised window visibility adjustment vs. state also grey out windows when berserking 100 revisions are by - NEWS update changed GemRB_MessageWindowDebug to take ints directly play the tooltip unrolling sound fixed regression from 58c5d0b92, thanks fuzzie GameScript::InParty: don't exclude invisible party members the hack from c8c12d751d4731c is not needed anymore bg1 has no DISABLEDMAGE string gcw: fixed the size and position of the portrait button selection border CanDualClass: handle bad alignments CommonTables: preload aligns.2da missing chunks from last two commits fx_alignment_invert: fixed to invert properly (was mismapped) iwd1 inventory slots have the count at the bottom iwd uses the states(1) font for status icons turns out all the games align stack counts to the bottom removed stack counter alignment resetting from bg1 and iwd2 guistore: fixed stack counter alignment guistore: unselect items before changing store windows UseContainer: add the (harmless)opened trigger Game::RestParty: use a named constant GameScript::OpenDoor: pass the global id forward, so it can be used by triggers iwd2::guirec: fixed turning strref and extraneus newline Main: stop processing quit flags if only the unhandled kill flag is passed fix msvc build error - no strcasecmp iwd: fixed regression from ca9334719e Move Option Control code to its own module Merge BG1 GUIOPT into master GUIOPT: when closing the character sounds window reopen the audio one GUIOPT: make the quit win's exit button the default cmake: use find_package's version check if available cmake: removed extraneus python module include Revert "IWD2 GUIOPT: use shared GUIOPTControls module" IWD2 GUIOPT: use shared GUIOPTControls module guiopt: functionally synced main and iwd2 iwd2: removed the now extraneus guiopt guiopt: fixed a few bad bg2 and iwd2 control ids guiopt: added gamma bounds checking, since iwd2 has a larger range guiopt: use named constants for the cancel strings PST GUIOPT: use shared GUIOPTControls module guiopt: consolidated string setters into shared functions guiopt: safer check in the exiting dialog and fix for stuck cursor AskAndExit: print a hint about needing to double-close to quit guiopt: added general (sub)window closing routines and used one to remove guiopt: remove (game)optionswindow confusion guiopt: removed non-bg1 (sane) windowing codepaths in the gameplay windows guiopt: removed remaining non-bg1 (sane) windowing codepaths guiopt: moved parent window visibility toggling into a shared function guiopt: make closesub* work also when there is no parent window bg2: merged out-of-game guiopt with the main one cmake: incorporated part of netbsd's downstream patch cmake: converted rogue space indentation autogen: sh compliance fix from Thomas Klausner cmake: added a separate path var for the example configs cmake: explicitly link to libdl, hopefully fixes -flto uses renamed IE_GUI_BUTTON_SECOND/THIRD for clarity guiopt: map the noop hotkey accessor to the appropriate button callback guiopt: fixed checkbox regression from aec75fc54f2fdc6 guiopt: disabled the movie gamevar checks, so movies work out of the game too iwd2: removed external guiopt in favour of the shared one GetArmorFailure: use the static 3ed check reset the whole party's area/bored comment timers if anyone is in a modal state iwd2: removed some more dead/unreachable guiopt code guiopt: print a message instead of having just a comment about the missing fix uninit warnings about picXPos/picYPos guiopt: fixed pst gamma slider range guiopt: fixed the bg2 trap found/spell cast feedback mapping ups, missed the regular NEWS bump pst: converted guiopt to the generalised window handling pst: use lambdas for the slider callbacks pst: use lambdas for guiopt buttons too pst: use lambdas for guiopt checkboxes too pst: sliders don't have mouse entry/exit events added a bunch of other ini settings to the whitelist ini: autopause state default is 0 in all the games PSTOptCheckbox: no need to manually (re)set the button state guiopt: merged label setting into a function, since it is probably a good pst::guiopt: keyboard scrolling speed does not need extra callbacks guiopt: remove needless pst autopause gymnastics party member dying decreases the party's morale morale gravitates to 10 converted a commented out check to an assert guiopt: consolidated checkbox code guiopt: consolidated slider code fx_to_hit_modifier: mark as permanent effect, since it can modify the base value fixed the return value of remaining bad HandleBonus users InMyGroup was always returning true Map::Shout: skip the original source sorted the config var whitelist whitelist: added two other vars we already use implemented the Weather config var implemented the Cheats config var AND made it on by default, so it is implemented the "Suppress Extra Difficulty Damage" config var change the default difficulty xp adjustment, since only bg1 has an override use a named constant instead of a magic number only apply detect.spl each tick in iwd2 (since it bundles dayblindess) GUICommon: make a few functions not throw on unknown classes GUICommon: factored out mc/dc field lookup into HasMultiClassBits iwd/CharGen.py: use named columns in ClassPress pass the silent flag to the simpler ResourceHolder ctor too TextArea::RefreshSprite: do a silent lookup instead of hardcoding a resref DisplayStringName: if there is no name, use the script name BAMFontManager::Open: fixed valgrind warning in the states hack deselect confused characters and make them unselectable simplify timestop code in Map::UpdateScripts Actor::dump: move ambiguous level display and print action queue size confusion: don't keep queueing actions + debug print fixed leak in Item::GetEffectBlock EvaluateObject: fixed regression by reverting part of c666f11ec721 EvaluateObject: added fuzzie's comment fixed mistake from 712872e80b705e6 gcw: reset the flag label, so pcs are not stuck with extra icons fix monks not getting their magic fists Actor: factored out DisplayHeadHPRatio implemented the "HP Over Head" config option apply the specific damage bonus before resistance, so immunity still works removed dead code from 224a0647f1124 (verified) implemented the Subtitles config option and improved some comments fix compilation error on older gcc how gives extra xp at higher difficulty ... but not if "Suppress Extra Difficulty Damage" is enabled NEWS bump fixed morale decreasing when negative, instead of increasing with time AttackCore: added more logging output IsInvisibleTo: renamed a variable to lower the language barrier AttackCore: assert the sanity of Sender type SeeCore: don't ignore invisible Senders added remaining config vars used by guiscripts to the whitelist cleared the Subtitles confusion and added iwd2's Darkvision config option fixed comment about file_exists Interface: added config saving/reading function to dump whitelisted vars added GemRB_SaveConfig and used it when exiting the main options windows removed stale entries from the TODO add targetunreachable and unusable triggers fixed bork from 7ba63eeba - the gam name is derived from the config name GUIScript: added a method to print an actor's debug dump Spellbook: initialise the sorcerer member Spellbook: added a bitfield for innates and used it to fix innate granting Spellbook: move the innate init to the constructor, so it can be used in cg renamed two members of CRESpellMemorization for greater clarity Game: added GameTime to the debug dump (ctrl-g) GameScript::AdvanceTime really has a parameter in seconds advance time when travelling check_level: handle negative data added monk debug output to Actor::GetNumberOfAttacks fixed regression from d781e9411a3: restore the gamecontrol "NearestEnemyOf(Myself) == Myself" is only proverbially true SeeCore: ignore yourself made Interface::GetStrengthBonus 3ed compatible added encumbrance for iwd2 too - uses the same table in bg2 enemies can't get encumbered use strmodex only when str==18 split out Scriptable::ResetCastingState to reduce duplication be defensive when applying spells, fixes a crash on area move SeeCore: Detect can see everything DoObjectFiltering: ignore dead targets patched the monk apr heisenbug fx_cast_spell: abort if the host is now dead set the maximum visual range higher than 30 how does not disable containers on Deactivate fixed two trivial compiler warnings MBA: only remove/readd the npcs if the area actually changed MBA: map1 can be null cmake: removed excessive -Weverything 0.7.2 NEWS ResolveStatBonus: increased the buffer size in case we get a wierd value initialise askExit, so it is always set when checked version 0.7.2 Willem Jan Palenstijn (6): Fix build (symbol visibility) Fix string width with chars > 127 Remove duplicate file from CMakeLists Revert "Font: change signature of Print to take a pointer to a clip rect" Handle non-anchored clipping rects in Font::Print. Revert "TextArea: calling Font::Print now expects us to [...]" ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |