Add Minimap funcs, Annotate unknown Minimap and Cell related vars, document various vars#81
Merged
emd4600 merged 118 commits intoSpore-Community:masterfrom Jan 21, 2025
Merged
Conversation
Contributor
Valla-Chan
commented
Nov 13, 2024
- Added Simulator::GetMinimapWindow()
- Annotated and documented unknown Minimap, Cell, and misc vars
- Annotated which OTDBParameters actually work (needs further testing)
- Cleaned up a few typos and extraneous comments
- Changed some unknown vars to more likely/readable data types
… add comment to funcC0h in cTribe.h
…lette subcategories in part icon capture. NOTE: UNTESTED! For those who can, please compile this and test it ingame before accepting/rejecting PR.
…ries and ingame community planners
…that i didn't include fallback names)
emd4600
requested changes
Jan 20, 2025
| //--------------------------------------------------- | ||
| // Detours | ||
|
|
||
| PaletteUIPtr pLastPalette; |
Contributor
There was a problem hiding this comment.
Don't use managed pointer for this, use Palettes::PaletteUI directly. Otherwise, there might be problems with memory (as this pointer will only be cleared after the game is closed)
emd4600
approved these changes
Jan 21, 2025
Zarklord
pushed a commit
to Zarklord/Spore-ModAPI
that referenced
this pull request
Oct 8, 2025
…cument various vars (Spore-Community#81) * add function definition for AddCreature * Add MouthTypes to CommonIDs.h * Add name for Unk10 in enum CreaturePersonality * Add definitions to Cursors.h * Fix typo, remove duplicate of auto_METHOD(cEditor, bool, AddCreature, add comment to funcC0h in cTribe.h * Add enum of identity colors to cIdentityColorable * Add several more cursors * ammend comment * remove mouthtypes commit * Add space game cursors * fix compile error in cursors.h * remove erroneous comment * change mIDColorID to use IdentityColors * Add 2 new dev cheats (devEffectLog & PrintCursor), add support for palette subcategories in part icon capture. NOTE: UNTESTED! For those who can, please compile this and test it ingame before accepting/rejecting PR. * fix improper effects detour * document several part unlocking related fields * add comment to cCollectibleItems::sub_597BC0 * Add cursors, Document string format for CursorManager::Load * fix typo * Add Math::GetDistance * Revert "Add Math::GetDistance" This reverts commit cc145ad. * Begin redoing EP1 object system * Revert "change mIDColorID to use IdentityColors" This reverts commit 489f3ad. * Update cIdentityColorable.h * cTribeHut - Document field_218 * cTribeHut - document field_21C * Resolve 4/5 PR change requests * add 'class' to identitycolor enum * SpawnNpcTribe's 4rd interger arg = foodAmount * fix typo * fix typo in LoadBackgroundFiles * Add message enums to SimulatorMessages.h, organize by stage * fix typo * Clarify new simulator messages * Clarify more messages * Add messages, change 1 type * Update SimulatorMessages.h * Update SimulatorMessages.h * fix typo * Document tribe vars * Document cTribe.mbMembersFlee, add Button funcs, fix documentation comments * Annotate unknown func * Resolve PR issues * Revert cTribeTool temp fix * fix HandheldItem enum typos * document tribe vars, rename BakeManager::func4Ch to Bake * Document EditorNamePanel Initialize() * rename mbMembersFlee to mbDefeated * String16 serialization fix * Update cTribe.h * re-sort numgraspers next to numfeet in enum * fix typos, document working OTDB params, reformat func28 in OTDB * Update SimulatorMessages.h * remove unnecessary comment * rename field_80 in cCombatant to mbInvincible * Document Cell Stage vars * Add TribeToolData group ID * Add kCitizenActionWalkTo * document mPaintID * add Simulator::GetMinimapWindow(), Add documentation related to minimap * remove unneeded header * remove messy comment * undo dubious var name * fix GetMinimapWindow crash * add EditorManipulators enum to CommonIDs * fix new enum to type as a uint32 * annotate EditorRigblock field_138 * fix typo * fix typo in EditorRigblockBoolAttributes * change kEditorRigblockModelCanBeParentless to kEditorRigblockModelCannotBeParentless * document creature model related vars and flags * clarify comment * document int arg in cTribe::SpawnMember * Add ColorRGB & ColorRGBA Serializers * rename func78h to GrowUp() * clarify cCreatureBase::IsHerbivore (also returns if creature is omnivore) * Swap AbilityMode enum entries, annotate Editor::AddCreature() * add better description for AnimEditor, Fix icon capture for subcategories and ingame community planners * change IsHervibore to IsHerbivore (recent enough addition to mod API that i didn't include fallback names) * stop tracking editable sdkpathconfigs * gitgnore * fix remaining 'hervibore' typo * undo "Hervibore" fix due to crashes * fix variable annotations * add default var amount to AddCreature * annotate var * Editor::field_14C set to uint32 * change PaletteUIPtr to Palettes::PaletteUI* in thumbnail capture
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.