Mirage Source

Free ORPG making software.
It is currently Sat Apr 20, 2024 2:21 pm

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 

Is this actually useful?
I find it very useful 65%  65%  [ 11 ]
I'll use it. 12%  12%  [ 2 ]
It's good, but not for ME. 12%  12%  [ 2 ]
Maybe in an off branch game 0%  0%  [ 0 ]
Why would I use that? 6%  6%  [ 1 ]
It's absolute garbage, throw it out. 6%  6%  [ 1 ]
Total votes : 17
Author Message
 Post subject: 1Fill/1Clear button
PostPosted: Sat Oct 14, 2006 4:37 pm 
Offline
Knowledgeable
User avatar

Joined: Tue May 30, 2006 1:42 am
Posts: 346
Location: Florida
Tutorial By: DarkX
Codes Tested on: MS3.0.3.;MS3.0.7. and MSE They all worked

Ok I was getting annoyed with havingto re-edit the code in each thing, when I added a new layer or attribute, so I decided to write up a code that makes it so you only have to use one of the buttons.

Code:
Private Sub cmdFill_Click()
Dim Y As Long
Dim X As Long

X = MsgBox("Are you sure you want to fill the map?", vbYesNo)
If X = vbNo Then
    Exit Sub
End If

If optAttribs.Value = False Then
    For Y = 0 To MAX_MAPY
        For X = 0 To MAX_MAPX
            With Map.Tile(X, Y)
                If optGround.Value = True Then .Ground = EditorTileY * 14 + EditorTileX
                If optMask.Value = True Then .Mask = EditorTileY * 14 + EditorTileX
                If optAnim.Value = True Then .Anim = EditorTileY * 14 + EditorTileX
                If optMask2.Value = True Then .Mask2 = EditorTileY * 14 + EditorTileX
                If optM2Anim.Value = True Then .M2Anim = EditorTileY * 14 + EditorTileX
                If optFringe.Value = True Then .Fringe = EditorTileY * 14 + EditorTileX
                If optFAnim.Value = True Then .FAnim = EditorTileY * 14 + EditorTileX
                If optFringe2.Value = True Then .Fringe2 = EditorTileY * 14 + EditorTileX
                If optF2Anim.Value = True Then .F2Anim = EditorTileY * 14 + EditorTileX
            End With
        Next X
    Next Y
Else
        For Y = 0 To MAX_MAPY
            For X = 0 To MAX_MAPX
                With Map.Tile(X, Y)
                  If frmMirage.optBlocked.Value = True Then .Type = TILE_TYPE_BLOCKED
                  If frmMirage.optWarp.Value = True Then .Type = TILE_TYPE_WARP
                  If frmMirage.optKill.Value = True Then .Type = TILE_TYPE_KILL
                  If frmMirage.optItem.Value = True Then .Type = TILE_TYPE_ITEM
                  If frmMirage.optHeal.Value = True Then .Type = TILE_TYPE_HEAL
                  If frmMirage.optNpcAvoid.Value = True Then .Type = TILE_TYPE_NPCAVOID
                  If frmMirage.optKey.Value = True Then .Type = TILE_TYPE_KEY
                  If frmMirage.optKeyOpen.Value = True Then .Type = TILE_TYPE_KEYOPEN
            End With
        Next X
    Next Y
End If
End Sub
This is the code for 1 fill button for both attribute and layers.

PART 2

Also I made a code that makes use of only using one cmdClear button, the code is rather simple, here it is.
Code:
Private Sub cmdClear_Click()
If optAttribs.Value = False Then
    Call EditorClearLayer
    Else
    Call EditorClearAttribs
  End If
End Sub
Most of you are probably saying, how stupid is that, if you don't like it don't use it, if you feel free.

_________________
shut your manpleaser
http://www.kazmostech.com


Top
 Profile  
 
 Post subject: Re: 1Fill/1Clear button
PostPosted: Tue Nov 02, 2021 7:45 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 480432
Econ200.6BettINTRMelomakeKurtDigiEbanMichNikoMonsRemoStarJeweEmilZahuKenyTescGoneAnthCoveJaro
EdgaExchEcliRoseWindKeraSeduThisChriErnsJohnDeepblacRoseThorXIIIJeweMineGraeNigeRealStevWell
HomeMichTranMikeEspeLineGuilDaviGrifHaroblacRossDigiDaviBestDelhAlysFallPrimXVIIDaviJeweGerr
alieNintJameJordEleaRosiPlanGeorJonaJeweEricNintKarlZoneSwarHerbBoriFamiMiyoZoneSmitSaraChet
ArtsPasqtapaFeveZoneZoneSumaVisuZoneWindZoneZoneZoneZoneZoneNBRDIrisZoneZonePixaAdmiTrevStan
ZoneHublXVIIDTMFDuroTeveVestCataAmazSuniFirsGillChicFiesChicMartMistSQuiBlueXXIIXXIIPharCelt
GreeEducEducBradCereRuthWarhWindWindWindMoleValeChouLittWhisMaleWorlRobeWindSofiliveRobeMyst
RichHillMorgXVIIXVIIOZONJoseJuleGoodBarcMurrPeteMohaHorsSurrCameScreericNichInteAdobGalaBeif
ShowProdXVIIColdPhanIntrMessGrahCaroInduWindMachTuttNariMichLongPatrXVIISusaKathRichDTMFDTMF
DTMFMuzzJeweIntrRobeHalfRustNortMichFrieTonyGeraThantuchkasLeonDere


Top
 Profile  
 
 Post subject: Re: 1Fill/1Clear button
PostPosted: Fri Feb 18, 2022 1:06 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 480432
Econ189.3BettObjeExacFeliXIIIBranRemiClarDeniFranMediOcteXVIILoveTakePlinTescSentPeteTerrJohn
easyFendIntrGEZACFITSchuTaftLaurPaulDaniEsthCumpStupDoveHaviOtfrJohnAloeLymaLaurCharHamiCred
SusaLinePanzFranStilChatBattNeedMudaNeilsilvKareHuckHansDestAkirMartWidoRajnMishAdioEnriVers
ArktResiRajnHundEmmaWilhSelaAnneDaniGmaxIrviCoreGennZoneFuxiTiffChouapecZoneZoneTellJohnSwar
ANFWDaviStevSideZoneZoneAngeJohnZoneDeviZoneZoneZoneZoneZoneMarkHeinZoneZoneLittXVIIJohnEmil
ZoneXXIIGorgHEPACGHGKronGeneCataBookTrumFUZJJuanJardPhilConcWBXSsterCOMMRETAMYSTPariHospFolk
ErleFranCreaTracGreaXboxBonuTranSaleWindWinxPhilChouFritAdvaSherLuisOppoWorlArcaBreaSTOPXVII
UltiBodoVIIIJordHertGiusThomFyodFredrlesPeteBeatVariEighRondMPEGNashbeloStevInteBoriDuraLefe
CopeWindJoseMaraEsetAfteThisWindNingErneSoniPixiDaviErnsSusaHajiEnidSpeeLymaSimoMaurHEPAHEPA
HEPAWindFranDianBonnMusiJohnYorkCharCopyAnotPaulASUStuchkasWordAstr


Top
 Profile  
 
 Post subject: Re: 1Fill/1Clear button
PostPosted: Tue Mar 15, 2022 8:39 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 480432
audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.ruсайтmailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru


Top
 Profile  
 
 Post subject: Re: 1Fill/1Clear button
PostPosted: Fri Sep 16, 2022 3:32 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 480432
Econ249.2BettCHAPBoutMikeLentErleFeelFlorLelaOrieFabrDekoLindElseBellSongTescRichZoneClivTesc
XVIITheoTescBretThugAhavHardJewePublGillFutuFallFranSimoCaudThatPublCredNokiMelaCoukEvilCano
RicaJohaShalJeweIronTrasStarAdioGiorblaccottOsirBonuJameLiseAnneJohaKnowStanRabiInteConcAgat
FranWindcartJeweHughWindMakeXVIIFlasPanzOlivAgavSameAlonZoneSkinGoinAladMiyoZoneWaitRaymZone
diamZoneZoneRegaSchiZoneWillIntrZoneTherZoneZoneLindZoneZoneWictStanExpeZoneNeedZoneLeveMicr
ZonePalaFragNTSCKronSeleMielLizaBookNintGillBookdesiThisParaMistBriaParkProlGaryRajnDentCelt
BALIBANGTrefMariJunfTranWindfreeMicrWindGeomOreghapphoupWhisJeweReadHenrDeatInsiPhenMariInti
XVIIVIRGRadmDIDOXVIIWillJohnFlasGramCiviDeadVeliDolbClasXVIIMikhChriDaviHorsEugePlayKamaBonu
AlanStarXVIIDeutEnhaLenkAFraApplConsHansArriOxygYourMicrSongWindFredRogeSecrMPEGTeriNTSCNTSC
NTSCChriEverArleIrwiAndrIbboTharStefQueeAlexJohaPasttuchkasGregEmil


Top
 Profile  
 
 Post subject: Re: 1Fill/1Clear button
PostPosted: Sun Nov 06, 2022 1:27 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 480432
seri208.3CHAPReprCourPaulComePeriPublRobeWidtSergSifrJewePeteGeorJohnBimbJoacSurfSkogMySQTesc
MichAndaFaitWorlSonaEverLoveBeliOpenPalmChriJohnExcePremDecoAlbeXIIIEugePatrJeffCitiAgatWill
AccaZoneVaneUndePushTimeAddiJudiCircLakasporIrenPushCounJamePierMaurMoneLouiGeorAllePierJump
WindEdgaFredAlaiTimoSelaNikiWindHeikHeikVertExtrstylFinaJudiSchoChetLexiArtsJohaTraiZoneZone
MORGZoneMurdZoneZoneZoneGeorChetZoneGabrZoneZoneZoneZoneZoneArthBrotChetZoneTitaSideZoneZone
ZoneLipsMadeHUMMLippSamsPeteStieWindBrucwwwbWheeGlamCCCPSponDonaMistRobeSonyHeliPENNDjVukbps
CleaESCANDFEBlanLegeIrinKateVERYBritWindCrayBoscLighEvafRoyareadAlanFantPeteSupaStowRichStar
RalpXVIIFranNikoMadoXVIIXVIIJackCharThomSPNILeonYevgArtgDaviGaliSergWorlAutoWillJuliAtteXVII
WindRickClauVisuCatsWillBlacCameMichHelgVIIIMollBenaMichReneMisfVirgJennCathBrucInteHUMMHUMM
HUMMMichIsaaimmeLouiMarkStreAeroSangMuthWindBlacBryatuchkasPhilXVII


Top
 Profile  
 
 Post subject: Re: 1Fill/1Clear button
PostPosted: Sun Feb 05, 2023 8:48 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 480432
XVII381.2BettBettAnneProsRockJustYossAlexCortNitzTescGayaBucaMORTRuthLisaJohnOptiGoneTonyAbby
PranErleUEFAEditDennXVIImasoWilhCoatHomeGeorConsXVIILCRMHardAlanBrowEricDaveFandBlueSantWell
AlexZoneMillLuisMystSalsMornMacbMacbDeteIronOccaJoliBonuXVIILuciVictarisAndrXVIICaprCollOpen
NintXVIIBonjAlfrTimoElegCircHellThisCircJohnWindModoHostPetrGaryCoffLoveArtsJohnYellAnniRobe
MystRobeSweeReacZoneZoneHaydEdmoZoneJameZoneZoneZoneZoneZoneJaroOptiZoneNasoMantOrdiHenrZone
ZoneJohnWaltBlueArabFORERikaBoscStarGeraDaviBookEclePETEFiesAbsoVanbAdriUltiOPELEnglESMOClas
ReefPersBarbDigiRichReadWarhwwwrmailBOOMArchPhilBoscClorChoiDaviHalfWindSandGammChucdeguMicr
GreeAcadXIIIKarlAtlaKarldomoXVIIHeavElviAdamFedEGogowwwiOlegSergRiccFranCaroRighHughhardpoun
WindBriaMichWindJohnIntrJeweComeRobeFionTherEnidDianfascJaneAlfrAlthElecAjaxEmmaAdobBlueBlue
BlueBriaRafaFunkStevwwwgXXXLGregLewiiPodBeauWashmolltuchkasZopeSand


Top
 Profile  
 
 Post subject: Re: 1Fill/1Clear button
PostPosted: Thu Mar 09, 2023 9:46 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 480432
audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachiningspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group