下载
加入VIP
  • 专属下载特权
  • 现金文档折扣购买
  • VIP免费专区
  • 千万文档免费下载

上传资料

关闭

关闭

关闭

封号提示

内容

首页 游戏开发大全-game.programming.all.in.one

游戏开发大全-game.programming.all.in.one.pdf

游戏开发大全-game.programming.all.in.…

jwx83897
2010-03-30 0人阅读 举报 0 0 0 暂无简介

简介:本文档为《游戏开发大全-game.programming.all.in.onepdf》,可适用于IT/计算机领域

TEAMFLYTeamFly®GameProgrammingAllinOneThispageintentionallyleftblankGameProgrammingAllinOneBrunoMiguelTeixeiradeSousa©byPremierPressAllrightsreservedNopartofthisbookmaybereproducedortransmittedinanyformorbyanymeans,electronicormechanical,includingphotocopying,recording,orbyanyinformationstorageorretrievalsystemwithoutwrittenpermissionfromPremierPress,exceptfortheinclusionofbriefquotationsinareviewPremierPress,IncisaregisteredtrademarkofPremierPress,IncPublisher:StacyLHiquetMarketingManager:HeatherBuzzinghamManagingEditor:SandyDoellAcquisitionsEditor:MitziFosterSeriesEditor:AndréLaMotheProjectEditor:HeatherTalbotTechnicalReviewer:AndréLaMotheCopyEditor:JennyDavidsonInteriorLayout:MarianHartsoughCoverDesign:MikeTanamachiCDROMProducer:KeithDavenportIndexer:KellyTalbotProofreaders:AnneOwen,FranBlauw,LindaSeifertMicrosoft,DirectX,DirectSound,andDirectInputareregisteredtrademarksofMicrosoftCorporationJascandPaintShopProaretrademarksorregisteredtrademarksofJascSoftware,IncAllothertrademarksarethepropertyoftheirrespectiveownersImportant:PremierPresscannotprovidesoftwaresupportPleasecontacttheappropriatesoftwaremanufacturer’stechnicalsupportlineorWebsiteforassistancePremierPressandtheauthorhaveattemptedthroughoutthisbooktodistinguishproprietarytrademarksfromdescriptivetermsbyfollowingthecapitalizationstyleusedbythemanufacturerInformationcontainedinthisbookhasbeenobtainedbyPremierPressfromsourcesbelievedtobereliableHowever,becauseofthepossibilityofhumanormechanicalerrorbyoursources,PremierPress,orothers,thePublisherdoesnotguaranteetheaccuracy,adequacy,orcompletenessofanyinformationandisnotresponsibleforanyerrorsoromissionsortheresultsobtainedfromuseofsuchinformationReadersshouldbeparticularlyawareofthefactthattheInternetisaneverchangingentitySomefactsmayhavechangedsincethisbookwenttopressISBN:LibraryofCongressCatalogCardNumber:PrintedintheUnitedStatesofAmericaRIDetodasascoisasquequero,ésaúnicacoisaqueeuprecisoParati,AnaAcknowledgmentsNowisthetimeIshouldgouptothestage,gettheOscar,andreciteabooklengthscriptofallthepeoplethathelpedmakethisbookHowever,thethankyouwouldprobablybeasbigasthisbook,sotopreventfromforgettinganyone,IwouldliketothankeveryonethatdirectlyorindirectlymadethisbookpossibleOnthetechnicalside,IwouldliketothankthepeopleatPremierPressforgivingmetheopportunitytowritethisbookIwouldalsoliketothankmyeditors,EmiSmith,MitziFoster,HeatherTalbot,andJennyDavidsonforalltheirpatienceandalltheyhadtoputupwith(Yes,theusualdelaysandtheincessantquestions)PleaserememberthatwhatyouarereadingisnotabookthatIwrotemyself,butonethatcomprisestheworkofmanytalentedpeoplewhoareusuallyforgottenIwouldalsoliketothankAndréLaMotheforreviewingthebookOnthepersonalside,Iwouldliketothankmymomanddadfortheirsupportandloveduringmylife,andofcourse,forpayingthoseenormousInternetbillswhenIwasstilllearninggameprogrammingIwouldalsoliketothankallofmyfriendsandrelativesfortheirsupportnotonlywiththebook,butalsowithmylifeIwouldliketosendaspecialthankstoDianaforalwaysbeingthereformewheneverIneededherLast,andprobablymostimportant,IwouldliketothankAnaforherlove,support,patience,andjustabouteverythingIloveyoufromthebottomofmyheartAbouttheAuthorBRUNOMIGUELTEIXEIRADESOUSAbeganprogrammingatageAlthoughhebeganhisprogrammingcareeratageasadatabaseprogrammerinVisualBasic,heneverlosthispassionforgamedevelopmentTwoyearslater,hebeganafulltimecareerperforminggeneralgameprogrammingforaUKbasedcompanyHehasbeenusingCformorethanyearsandremainsanavidgamehobbyistRONALDPENTONwroteChapterRonstartedprogrammingonhisTandyTLwaybackin,whenhebecameinterestedinmakinggames,ratherthanjustplayingthemEversincethen,hehasbeenonaneverendingquesttolearnmoreaboutcomputersandbecomemoreefficientatprogrammingthemHestartedschoolattheRochesterInstituteofTechnologyin,andiscurrentlyfinishinghisbachelor’sdegreeincomputerscienceatTheUniversityofBuffaloContentsataGlanceIntroductionxxxviPartOneCProgrammingChapterIntroductiontoCProgrammingChapterVariablesandOperatorsChapterFunctionsandProgramFlowChapterMultipleFilesandthePreprocessorChapterArrays,Pointers,andStringsChapterClassesChapterDevelopingMonsterChapterStreamsChapterBasicSoftwareArchitecturePartTwoWindowsProgrammingChapterDesigningYourGameLibrary:MirusChapterBeginningWindowsProgrammingChapterIntroductiontoDirectXChapterDirectXGraphicsChapterDirectInputChapterDirectSoundPartThreeHardcoreGameProgrammingChapterIntroductiontoGameDesignChapterDataStructuresandAlgorithmsChapterTheMathematicalSideofGamesChapterIntroductiontoArtificialIntelligenceChapterIntroductiontoPhysicsModelingChapterBuildingBreakingThroughChapterPublishingYourGamePartFourAppendixesAppendixAWhat’sontheCDROMAppendixBDebuggingUsingMicrosoftVisualCAppendixCBinary,Hexadecimal,andDecimalSystemAppendixDACPrimerAppendixEAnswerstotheExercisesAppendixFCKeywordsAppendixGUsefulTablesAppendixHMoreResourcesIndexixContentsataGlanceContentsLetterfromtheSeriesEditorxxxivIntroductionxxxviPartOneCProgrammingChapterIntroductiontoCProgrammingWhyUseCSettingUpVisualCCreatingaWorkspaceCreatingProjectsCreatingandAddingFilesYourFirstProgram:“Helloallyouhappypeople”StructureofaCProgramProgramDesignLanguageProgramSourceandCompilingObjectsandLinkingExecutableCommentingCatchingErrorsWarningsSummaryQuestionsandAnswersExercisesTEAMFLYTeamFly®ChapterVariablesandOperatorsVariablesandMemoryWhatTypeofVariablesAreThereUsingVariablesinYourProgramsDeclaringaVariableUsingVariablesInitializingVariablesVariableModifiersConstRegisterVariableNamingRedefiningTypesWhatIsanOperatorAssignmentOperatorMathematicalOperatorsUnaryOperatorsBinaryOperatorsCompoundAssignmentOperatorsBitwiseShiftOperatorsRelationalOperatorsConditionalOperatorLogicalOperatorsOperatorPrecedenceSummaryQuestionsandAnswersExercisesxiContentsChapterFunctionsandProgramFlowFunctions:WhatAreTheyandWhatAreTheyUsedForCreatingandUsingFunctionsDeclaringthePrototypeReturnTypeNameParametersFunctionBodyDefaultParametersVariableScopeLocalsGlobalStaticRecursionThingstoRememberWhenUsingFunctionsProgramFlowCodeBlocksandStatementsif,elseif,elseStatementsifelsewhile,dowhile,andforLoopswhiledowhileforBreakingandContinuingbreakcontinueSwitchingtoswitchRandomizingFirstGame:“Craps”ObjectiveRulesxiiContentsDesignImplementationSummaryQuestionsandAnswersExercisesChapterMultipleFilesandthePreprocessorDifferencesbetweenSourceandHeaderFilesHandlingMultipleFilesWhatIsthePreprocessorAvoidingMultipleIncludesUsing#pragmaUsing#ifdef,#define,and#endifMacrosOtherPreprocessorDirectivesSummaryExercisesChapterArrays,Pointers,andStringsWhatIsanArrayDeclaringandUsinganArrayDeclarationUsingInitializinganArrayMultiDimensionalArraysPointerstoWhatPointersandVariablesDeclaringandInitializingUsingPointersxiiiContentsPointersandArraysRelationofPointerstoArraysPassingArraystoFunctionsDeclaringandAllocatingMemorytoaPointerAllocatingtheMemoryFreeingtheMemoryPointerOperatorsManipulatingMemorymemcpy

用户评价(0)

关闭

新课改视野下建构高中语文教学实验成果报告(32KB)

抱歉,积分不足下载失败,请稍后再试!

提示

试读已结束,如需要继续阅读或者下载,敬请购买!

评分:

/49

VIP

在线
客服

免费
邮箱

爱问共享资料服务号

扫描关注领取更多福利