Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Warzone 2100

Server hosting for the open-source 3D real-time strategy game Warzone 2100. Also provides server hosting for the open-source turn-based strategy game Freeciv.
Collective - Host: opensource - https://opencollective.com/warzone2100 - Website: https://wz2100.net - Code: https://github.com/Warzone2100

* Add locale directory to raw makefile buildsystem

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2280 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 87c955e52e7853bb074bacbe9f7a36893df41b43 authored over 17 years ago
Workaround for bug#9455. The issue which causes this must sit elsewhere and should be fixed there.

This fix may not be needed for the trunk, since maybe the real issue is already fixed! Commiting ...

github.com/Warzone2100/warzone2100 - f363f0b8a94daa1d66401c2d3f7b0a4f59ea874d authored over 17 years ago
update-po

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2277 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 673ae4aa65b600185b503b6455d7a61ef0e13bd0 authored over 17 years ago
mp-names.patch by Martin Koller.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2276 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - f509873c0e341949c5fb2bf1ee50b4cde6412170 authored over 17 years ago
Fix unused function getLanguage.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2275 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 2fbaec50c4a507d5f1b5521029fd726442c146c1 authored over 17 years ago
Greatly enhanced german translation by Ryo: 2012 translated messages, 16 untranslated messages.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2274 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - ca4810c78a0cb976ea556a76cad16a83db7509ae authored over 17 years ago
Make PNG loader a little less picky about the PNG format being exactly correct.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2273 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 9c6c62ff7f7e06eadcd480b0654b4cd1cd2dacb7 authored over 17 years ago
Roll back the latest, accidential change to this texture page.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2272 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 464e5809678608b0ff5858889621816f52593a8a authored over 17 years ago
Better debuging of not found data.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2270 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 8939a96d2160d0edfbc408b422c07bcf9afd7e71 authored over 17 years ago
Backport r2265,2266,2268 from branches/2.0

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2269 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - f612678624a478575dbd89c4eb7ecbd303fa2596 authored over 17 years ago
* Use dynamic_cast<T*> instead of wxWidgets' own RTTI implementation (t*)->IsKindOf(CLASSINFO(T))

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2267 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 0931065023b60a3ae27341497d688966ea9ba6a3 authored over 17 years ago
* Use dynamic_cast<T*> instead of a C-style (T*) cast (dynamic_cast is safer since it walks the inheritance tree to check whether the pointer is actually of type T)

* Also dynamic_cast<T*> (which is compiler supported) should not be slower (if not faster) than...

github.com/Warzone2100/warzone2100 - 0a310fdd5c49c8d0be7e6b473a77b26d4e73b7fd authored over 17 years ago
* Add conversion functions for converting wxString <-> std::string (we're assuming UTF-8 encoding for std::string here)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2263 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - bab9bd33161c38cb8052c9f62845edbeb9e035e8 authored over 17 years ago
* Add another ported dialog: InitialLimitsDialog; to directory wxDialogs

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2262 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - bba2360eef6b902abe39cdaafc66155cfe022552 authored over 17 years ago
* Don't return a reference to a temporary; instead return by value

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2261 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - c4b9711e466963b9cfdb0fb186edd2c0b4c9aae3 authored over 17 years ago
* Minor cleanup:

* remove some unnecessary #include directives
* add header guards
* declare some member fun...

github.com/Warzone2100/warzone2100 - 32f0b5bb1b653b8346a6cb9e5c4e814f25f35049 authored over 17 years ago
* Replace usage of ListNode<CScrollLimits> by class CHeightMap by std::list<CScrollLimits>

* Some const correctness: "char*" -> "const char*"
* Fix a bug "if (a = b);" -> "if (a == b);"
...

github.com/Warzone2100/warzone2100 - 087703e8015d21ce7d8eed2dbaf3e186908ba35a authored over 17 years ago
Use float texture coordinates in the range 0.0-1.0.

Any fixes, if necessary, should be applied on loading.
In the image code (IMAGEDEF) this did not ...

github.com/Warzone2100/warzone2100 - 723f9bfaa1d55ebd221b83cc30210563dbfda7cc authored over 17 years ago
* Replace usage of ListNode<GateWay> by class CHeightMap by std::list<GateWay>

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2257 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 8310f9170e026aa9aac8b55ea97b00c7be782b6f authored over 17 years ago
Add missing locale directory.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2256 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 87fd4e97f9f86089160a10ab16cd444cb58cf68b authored over 17 years ago
* Replace usage of ListNode<C3DObjectInstance> by class CHeightMap by std::list<C3DObjectInstance>

* Make all member functions of CHeightMap that have an argument list declaration of "(void)" use...

github.com/Warzone2100/warzone2100 - 817e2ace6502de2f0dc69d675c60da49dadc97b1 authored over 17 years ago
* Apply ListNode<T>::iterator in class CBTEditDoc

* Initialize CHeightMap's member variables using the constructor's initalization list rather tha...

github.com/Warzone2100/warzone2100 - cdc92ebfe650621449497bef5b1c4058966f88e5 authored over 17 years ago
Target selection routine update:

- units attached to a commander will now tend to attack units that attack their commander, when ...

github.com/Warzone2100/warzone2100 - 37a658ef06ee7759a752e9a631a518c4a41314a6 authored over 17 years ago
Added nettypes.[ch] to Xcode project file

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2252 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 993ae8e46f1f7feff4725a93d8959dea058ddc4f authored over 17 years ago
* Replace usage of ListNode<C3DObjectInstance> by class CBTEditDoc by std::list<C3DObjectInstance>

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2251 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - d50c04ef6b57eefe92da85b7fdd2f2bb71adf899 authored over 17 years ago
* Some const correctness

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2250 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - bca3e1f5351dd51ea74b310ae5cb68ff62545d5c authored over 17 years ago
Some more minor adjustments.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2249 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 1ade603eb18af41aea037f70fef512eab4d300aa authored over 17 years ago
* Move CBTEditDoc's member initialisation from the constructor's body into the initialization list

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2248 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 4ef9247c6a84b7d138afd76a7ab2c6215a52cd66 authored over 17 years ago
Some renamings and cleanups to simplify the upcoming float uv patch.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2247 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 27f505a3f57e4a312b7ed9805e90487345219fbb authored over 17 years ago
Use anisotropic filtering, if available.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2246 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 9f3301f22a0dfd62ad1cac46df502fd2d870b059 authored over 17 years ago
* Update buildsystems for the addition of lib/netplay/nettypes.[ch] in r2160:

* autoconf/automake buildsystem
* raw makefiles
* Code::Blocks project file
* lib/netplay/...

github.com/Warzone2100/warzone2100 - 393e753f60070435755bc1529f29952912a776e0 authored over 17 years ago
Some long lost change to the NSIS installer.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2244 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 822edbc150739afb214bda2fa21fd06e18cff1e5 authored over 17 years ago
update-po

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2243 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 765ad996cbb8e4a845d6c61cf107d5d3cf96ff33 authored over 17 years ago
inputdoubleclick.patch by Watermelon. (I merged his comments from the email into the patch.)

This patch fixes the following tempting features: ;)
1. Doubleclick to select all droids of the s...

github.com/Warzone2100/warzone2100 - 2c7fcf0cc8801e42035b192bf9f386769e448440 authored over 17 years ago
Translate3.patch by Martin Koller. Had to Wiggle names.txt, but it seems to have cleanly applied.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2241 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - ebb1d7a91864a863a961840c980102b4daac9502 authored over 17 years ago
Fix a compilation error (unused variable 'i')

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2240 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 8b891888c97776c12618660be7026f4449351ed6 authored over 17 years ago
Version 1.1a of Kage's pie_import.py: fixed a bug that prevented team colors from ever importing correctly.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2239 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 0463b3be26b61f39e18349fb423ca958d4af6b53 authored over 17 years ago
* Add function countAssignedDroids which counts the amount of droids assigned to a structure

* Use this new function printStructureInfo to display the amount of droids assigned to selected ...

github.com/Warzone2100/warzone2100 - ceceb0c57b9124c30c4bd14cd2198f8cca787ab5 authored over 17 years ago
* Fix compile error caused by not #including <cassert>

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2237 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 7abcb85aa247c066ab093d48cc803f4065b1f32a authored over 17 years ago
* Add a safety assert to ListNode<T>::iterator to make sure null pointers are asserted on

* Update the TODO list since SaveSegmentDialog has been ported from MFC to wxWidgets already
* ...

github.com/Warzone2100/warzone2100 - 92d0f946bb3f3ec14918af71df86bce34bc721b3 authored over 17 years ago
* Add copy constructor to class scrollLimitStringIterator

* Apply ListNode<T>::iterator for some for-loops
* Make CHeightMap::GetScrollLimits return "Lis...

github.com/Warzone2100/warzone2100 - 21e85b4e621e1e8f0cd981f70245a2849bdf012a authored over 17 years ago
Greater ease in porting to wxWidgets:

* Rename class CInitialLimitsDlg to InitialLimitsDlg
* Add templated constructor to InitialLimi...

github.com/Warzone2100/warzone2100 - 7e2a03a022786905b72560b3149f057266dd543b authored over 17 years ago
* Remove annoying usage of DEBUG_NEW since it seems to be causing compile errors at seemingly random times (which is _no_ fun)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2233 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - d6ee80ee2543153f699a761fa2c196043060be0d authored over 17 years ago
* Add class ListNode<T>::iterator so that we can iterator over a linked list of ListNode<T>s (this will ease porting of code that uses class ListNode<T> to std::list<T> instead

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2232 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 84f7676349a7f18569c427665b856b9711cf8575 authored over 17 years ago
* Put implementation in class declaration of template class ListNode<T> for increased locality and readability

* Enable compilation of RTTI (RunTime Type-Information) compilation (not using any of it, .., ye...

github.com/Warzone2100/warzone2100 - 8010de593a0d04cf9e16aae018e1f2535c4ecf69 authored over 17 years ago
- added some new templates for AI

- fixed some template names

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2230 4a71c877-e1...

github.com/Warzone2100/warzone2100 - 0e4c52b8902df9d3da9d7bfb530bfdb44272cc2e authored over 17 years ago
- made some scripting functions return control to interpRunScript() and report a script error instead of asserting

- added a scripting function to read out droid rank

git-svn-id: svn+ssh://svn.gna.org/svn/warzon...

github.com/Warzone2100/warzone2100 - d2846c56e5aeca23f8d947734a426a7552acf585 authored over 17 years ago
- make EMP weapon more useful by making it avoid structures and "EMPed" droids

- decrease radius that is used to detect targets of friendly units (might completely disable it l...

github.com/Warzone2100/warzone2100 - de3555c3bce669abca4d9c9275da000e306daaad authored over 17 years ago
Sorry, forgot some non-users of texture type in the last commit...

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2227 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 57f9c5f17fee727c05811bb4cf8064d28e72df7d authored over 17 years ago
Remove unused texture 'type'

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2226 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 31fd7b3a8fa41f34c34be8cb3b38c8acc2fe48f7 authored over 17 years ago
Remove unused code and resource parameter

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2225 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - c9fbb60e50f4fe5be5aa80ffb67563b0098915e6 authored over 17 years ago
Remove weapon turret placement hack that would sometimes put a weapon on heavy bodies

midway between two connectors, as suggested by Watermelon.

git-svn-id: svn+ssh://svn.gna.org/sv...

github.com/Warzone2100/warzone2100 - b2291c9143e045f455bb7d9c72c542f49d897e7a authored over 17 years ago
Free texture data from normal memory immediately after uploading to VRAM.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2223 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 8937d19e43cd361b231e739f7e29e668a0828531 authored over 17 years ago
Projectiles bugfix from Watermelon. Now projectiles should hit their targets more often again.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2222 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 8953d16fbd9b26b577e0a4a54a1d1cb3a3edb007 authored over 17 years ago
* Remove some spaces which caused problems with svn:keywords

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2221 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - f73e4e64881da8be01afa1e6689cf7d6936e12f3 authored over 17 years ago
* Use wxStdDialogButtonSizer for the default buttons instead of a wxBoxSizer with some wxButtons in it

* Rename the dialog in savesegmentdialog.xrc from "Dialog" to "Save Map Segment"

git-svn-id: sv...

github.com/Warzone2100/warzone2100 - b4afe5b827dbb10180eca5eb8c5b0cc1cca055de authored over 17 years ago
Remove the code to remake terrain tiles. Instead just free them and make them anew.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2219 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 176be97ec3f5d8f65beee9707e792252667a8269 authored over 17 years ago
* Rename AutoFlagDialog::OnDegree to OnRotate

* Give all parameters of AutoFlagDialog a default value
* Fix typo (used _TogXFlip and _TogYFli...

github.com/Warzone2100/warzone2100 - 3c24ae3d6f527db3e836aa6173efdb18fa948d0e authored over 17 years ago
* Fix some syntax errors (missing semi-colons, or semi-colons where they shouldn't be)

* Add a default constructor for wxNumericTextValidator
* class wxNumericTextValidator:
* add ...

github.com/Warzone2100/warzone2100 - 4a349165495f93f5d9a3ba65d425e89868d8f1cc authored over 17 years ago
More texture cleanup

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2216 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 695c0796e8da8381685bffb92d9377991c524467 authored over 17 years ago
De-globalize the terrain tiles loader code.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2215 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - e6ed6b0cdea9fb1e373103bf7c3183e168adafa2 authored over 17 years ago
* Add another ported dialog: SaveSegmentDialog; to directory wxDialogs

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2214 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - d8b7837c3b5fb75117cfd2ec965a805f5345a346 authored over 17 years ago
* Remove our own "custom" event handler for the cancel button "ID_CANCEL" and use wxDialog::OnCancel instead

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2213 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 22712ec8d187340d25161813d4da0aa99ec661f5 authored over 17 years ago
* Use wxDialog::OK and wxDialog::Cancel in the handlers for ID_OK and ID_CANCEL respectively

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2212 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 31c4a1de54061c4bf563e88f06b12d426e96a205 authored over 17 years ago
* Add special wxValidator derivation: wxNumericTextValidator

* This class validates input for wxTextCtrl to be numeric only
* Also upon initialization of ...

github.com/Warzone2100/warzone2100 - 18bf3bfa9cdda7d31ccfff5e0122915cb0b77117 authored over 17 years ago
Version 1.1 of the Blender scripts by Kage.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2210 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 962a6db92cde72854e484d65d45dee5e1320787f authored over 17 years ago
Greater ease in porting to wxWidgets:

* Rename class CSaveSegmentDialog to SaveSegmentDialog
* Don't allow public access to private d...

github.com/Warzone2100/warzone2100 - e684aed3b6a265cf5b222206a64b0329eea97e05 authored over 17 years ago
1.10 AI Update:

-before starting building a cyborg engineer, make sure it is already researched
-fixed bug #9601...

github.com/Warzone2100/warzone2100 - 7501f09cfff58b56e4841321197a68e154a5a16a authored over 17 years ago
* Update TODO file: we already converted one dialog from MFC to wxWidgets: yay!

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2207 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - e7ff6f8af04ebcfc006e210502c000c24713089e authored over 17 years ago
* Add directory wxDialogs; I'll use this as a temporary storage for dialogs which have been ported from MFC to wxWidgets

* Add first converted dialog: AutoFlagDialog; to directory wxDialogs

git-svn-id: svn+ssh://svn....

github.com/Warzone2100/warzone2100 - c355c4dcdf4549ffb2c40432980c8c46de792197 authored over 17 years ago
Greater ease in porting to wxWidgets:

* Rename class CAutoFlagDialog to AutoFlagDialog
* Don't allow public access to private data me...

github.com/Warzone2100/warzone2100 - 90ca24096407c9ca6187d967a4c4568f6f6f3324 authored over 17 years ago
* Clean out class declaration of CEdgeBrush

* Turn protected section of CEdgeBrush into a private section
* Mark all the functions that hav...

github.com/Warzone2100/warzone2100 - 80c4492003cb09dbbbc5dfbdc165770807770880 authored over 17 years ago
* Remove THIS_FILE from all files; which basically was an unused wrapper around macro __FILE__

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2203 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - a027ced426a188637c2a95d3c596e89965587f28 authored over 17 years ago
* Update EditWorld's TODO file

* Add list of files requiring porting from MFC to wxWidgets

git-svn-id: svn+ssh://svn.gna.org/...

github.com/Warzone2100/warzone2100 - 79ea5bb1995ff4a833729e460dc008f691f6deab authored over 17 years ago
* #include required header <ostream>

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2201 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - b543a89e1313d47c957c2519ebebf0b61225965c authored over 17 years ago
Cleanup:

* Rename class CKeyHandler to KeyHandler (I don't want freaking MFC style classnames being prefi...

github.com/Warzone2100/warzone2100 - 20d790a4fac810148709c514ec3b8ad144cfec7c authored over 17 years ago
* Remove unused files debug.[ch]

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2199 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 6634aa66fa29c1bafcc55f07386e6b4d9dcb4318 authored over 17 years ago
* Make debugprint.c a C++ file instead of C

* Use std::ostream instead of FILE* for debug printing

git-svn-id: svn+ssh://svn.gna.org/svn/wa...

github.com/Warzone2100/warzone2100 - f10cdeb1574274e9b5edeee57ca3c3082febe23c authored over 17 years ago
* Use stack allocated objects instead of heap allocated; since they're safer (don't require explicit deallocation), and it's obvious that the only reason why they where heap allocated is probably that whoever wrote that piece of code was addicted to the "operator new"

* Use std::ostream instead of FILE* for PCXHandler::WritePCX
* Change utility functions EncodeL...

github.com/Warzone2100/warzone2100 - 595c4838ac93811a5171894482fe579de4204063 authored over 17 years ago
* Use std::istream instead of FILE* for PCXHandler::ReadPCX

* Change private member functions of PCXHandler; EncodedGet, EncodeLine and EncodedPut into stat...

github.com/Warzone2100/warzone2100 - 2fcc6e82c2d0430f50f778a90e48ae689fe3a92f authored over 17 years ago
Revisit data loading (image/texture related) and remove unecessary fVertex pietype.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2195 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 6b8e636fc39084aaee37603261330ef3c7ac2e8e authored over 17 years ago
Fix crash in design screen if we draw a weapon component that is really really big.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2194 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - ad5900b2edd29d5f180f29b44dfa7abb8646c650 authored over 17 years ago
Remove some useless comments for iIMDShape, also remove some unnecessary fields and variables.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2193 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 75d5e135c52b57515b45a88d892b561350ef26c7 authored over 17 years ago
Move a lot of code around for cleanup.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2192 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 898b9c5d728d4f3c6530924c46d5b68dd3732e6c authored over 17 years ago
* Revert r2167 since this workaround is no longer required anymore with NSIS versions > 2.25

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2191 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - ecbd74b04f73a7c0bb42216f433ec31bbe877e75 authored over 17 years ago
* Less violation of encapsulation: use private instead of protected (since we don't need access to these members anyway; plus we don't inherit from these classes ATM)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2190 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 06afa3c7a0658a70016670e724cf7a2542f253bf authored over 17 years ago
More cleanup. More debug log message. Send player ID as a single char instead

of the old pointer casting with alignment issues.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone...

github.com/Warzone2100/warzone2100 - c6190a85f2a2876ed763743523a5c4254ce7b25c authored over 17 years ago
Clean up source and add comments to explain what is going on.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2188 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 0cb6023b76eaa2a35388bec6a98e6faad35a587b authored over 17 years ago
* Remove files gateinterface.* which basically where a C<->C++ interface to the gateway* files (these are now C++ files)

* Move previous interface functions into gateway.cpp

git-svn-id: svn+ssh://svn.gna.org/svn/warz...

github.com/Warzone2100/warzone2100 - f54618b6c4ddf1c5174594373ac9f95d333206be authored over 17 years ago
* Fix yet some more dependencies in header files

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2186 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 5a9cc58788d9d679b2f7dcde5c82fc2a69ee1bba authored over 17 years ago
Remove NETsetMessageSize

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2185 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 5d0a52460dbc02ab52484ee21016818656fe2e6b authored over 17 years ago
Remove final pieces of encryption code. Warning: This touches some seriously

unstable code. Bugs may follow!

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2184 4a71c8...

github.com/Warzone2100/warzone2100 - 1df2199ce8d2f31a585c2e8701bc28bfe4d14582 authored over 17 years ago
* Fix some header dependencies

* Indent class CHeightMap in a more readable manner

git-svn-id: svn+ssh://svn.gna.org/svn/warzo...

github.com/Warzone2100/warzone2100 - 2e28b1926ac31c3983be3007e532fae04a6f8439 authored over 17 years ago
* Fix compile error by including dependent header (<windows.h>: ugh)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2182 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - c05b65d53251880995ef9d2981439cdfd699610a authored over 17 years ago
Cleanup

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2181 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 4c7f823d2fdc6ff820d325d11bace230efcbde64 authored over 17 years ago
* Modify function IsPower2 into a static inline

* Make IsPower2 take advantage of the mathematical properties that a number which is a power of ...

github.com/Warzone2100/warzone2100 - 91b10bd4dbc8937463544246d52fbc115b2261f0 authored over 17 years ago
* Make C file gatewaysup.c a C++ file gatewaysup.cpp

* Remove macro MALLOC
* Use reinterpret_cast for the malloc stuff

git-svn-id: svn+ssh://svn.gn...

github.com/Warzone2100/warzone2100 - d48c7f67a405402d81baf47311453e94e60c97d2 authored over 17 years ago
* Remove all stuff which wasn't compiled when EDITORWORLD is not defined; also remove the macro EDITORWORLD itself

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2178 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - b06b660b6ad1cbb871440dd13cfbac9449a04791 authored over 17 years ago
* Turn C file gateway.c into C++ file gateway.cpp

* Turn linked list macro LIST_REMOVE into inline function list_remove
* Remove macro MALLOC and...

github.com/Warzone2100/warzone2100 - 9a630f45f53b313715eeace69915a68f9cb6449a authored over 17 years ago
* Fix warning about implicit declaration of memset

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2176 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 763d707f020436a516be613403bb0788f3d20539 authored over 17 years ago