⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 Linux游戏编程源码
💻
字号:
Code Listings for Programming Linux GamesCopyright (c) 2001 by Loki Software, Inc.This directory contains the code listings for the book Programming Linux Games, ISBN 1-886411-49-2, published by No Starch Press.LICENSE TERMS-------------Although this material is intended primarily for readers of the book, the code and associated data is released under the GNU General Public License, version 2 or later, with the following exceptions:-The files fbmodedb.c and fbmodedb.h are released into the public domain, without any warranty whatsoever. They were trivial but tedious to write, and hopefully with these in the public domain nobody else will have to deal with the headache of parsing /etc/fb.modes.-The file reflux.ogg is a copyrighted work by Matt Friedly and may only be redistributed with his permission, or along with the rest of the Penguin Warrior game code. You may contact him via http://phluid.acid.org.-The Tux images (penguin.bmp and smallpenguin.bmp) are the work of Larry Ewing, but may be redistributed as long as credit is given.Please see the file COPYING for the terms of the GNU General Public License.CONTENTS--------This archive should contain the following directories:audio/       Audio-related code (Chapter 5)fb/          Framebuffer device code (Chapter 8)lines/       Line drawing examples (Chapter 9)net/         Network programming examples (Chapter 7)pw-ch4/      Penguin Warrior code, initial version (Chapter 4)pw-ch5/      Penguin Warrior with audio (Chapter 5)pw-ch6/      Penguin Warrior with scripting (Chapter 6)pw-ch7/      Penguin Warrior with networking (Chapter 7)pw-data/     Shared Penguin Warrior data filespw-final/    Final version of Penguin Warrior (Chapter 9)In addition, there is a master Makefile for building all of the archive's code in one shot. Run 'make' for instructions.To properly compile all examples, you'll need the following libraries and packages:Required software:	-Recent version of gcc (2.95 or 3.0 should be fine)	-Associated libraries (standard with any distribution)	-Linux kernel 2.2 or 2.4 (others may work), or possibly	 FreeBSD. If you have any trouble using this code with	 FreeBSD, please let me know and I'll correct it.	 Unfortunately I was unable to test the final version	 of this code with FreeBSD.Basic audio support (at least one of the following):	-OSS (some drivers included with kernel,         some available from http://www.opensound.com)	-Latest ALSA (http://www.alsa-project.org)	 (tested with version 0.5.9)Optional audio support:	-Latest ESD (http://www.tux.org/~ricdude/EsounD.html)Required libraries:	-SDL 1.2.x (http://www.libsdl.org)	 I recommend installing from source.	 If you use RPMs, be sure to install the development libraries	 as well as the runtime libraries. There are two packages.	-Latest libsndfile (http://www.zipworld.com.au/~erikd/libsndfile)	-Ogg Vorbis development libraries, all of them (http://www.vorbis.com)	 You'll need libvorbis, libogg, libvorbisfile, and libao.	-Tcl 8.3, including development libraries.	 Most Linux distributions come with Tcl.	-OpenAL, latest Linux release (http://www.openal.org)Please report any errors you find in this archive to http://fenris.lokigames.com.Enjoy!-John R. Hall overcode@lokigames.com

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -